/* Get a quote on this rack + shared-design view (quote-share.js, 2026-10-27). */

/* Header buttons (desktop). Hidden until a rack with parts is on screen. */
.pss-qs-actions{display:none;align-items:center;gap:8px;margin-left:auto;padding-left:12px}
body.pss-quote-ready .pss-qs-actions{display:flex}
.pss-qs-quote,.pss-qs-share{font:inherit;cursor:pointer;border-radius:8px;white-space:nowrap;font-weight:800}
.pss-qs-quote{padding:8px 14px;font-size:12px;border:1px solid #f57832;background:#f57832;color:#102432;box-shadow:0 0 0 1px rgba(245,120,50,.35),0 4px 18px rgba(245,120,50,.28)}
.pss-qs-quote:hover{background:#ff8a45}
.pss-qs-share{padding:7px 12px;font-size:11px;border:1px solid rgba(83,183,228,.55);background:rgba(10,43,61,.85);color:#bfeaff}
.pss-qs-quote:focus-visible,.pss-qs-share:focus-visible,.pss-qs-footer-quote:focus-visible{outline:3px solid #84d4f5;outline-offset:2px}

/* Guided footer: beside the budget figure. */
#guidedPanel footer>div:first-child{position:relative}
#guidedPanel button.pss-qs-footer-quote{display:none;margin-top:6px;padding:6px 10px;font-size:12px;font-weight:800;border:1px solid #f57832;background:transparent;color:#ffb37a;border-radius:7px}
body.pss-quote-ready #guidedPanel button.pss-qs-footer-quote{display:inline-flex}

/* Phone action bar (Full editor): the quote button only once a rack exists. */
html body .phone-action-bar>#phoneQuoteButton{display:none}
html body.pss-quote-ready .phone-action-bar>#phoneQuoteButton{display:inline-flex;align-items:center;justify-content:center}
#phoneReviewMenuItem{display:none}
html body.pss-quote-ready .phone-action-bar>#phoneReviewButton{display:none}
body.pss-quote-ready #phoneReviewMenuItem{display:block}

@media(max-width:1050px){
  .pss-qs-actions{display:none!important}
  #guidedPanel footer>div:first-child{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}
  body.pss-quote-ready #guidedPanel button.pss-qs-footer-quote{margin:0 0 0 auto;min-height:36px;font-size:14px}
}

/* The quote form. */
.pss-quote-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.pss-quote-dialog form>p{margin:0 0 12px}
.pss-quote-dialog form>div.pss-quote-design{display:block;margin:0 0 10px;padding:10px 12px;border:1px solid #2f6f8f;border-radius:8px;background:#0b2a3d;font-size:13px}
.pss-quote-design ul{margin:6px 0 0;padding-left:18px;color:#b7cbd7}
.pss-quote-design li span{color:#84d4f5}
.pss-quote-est{font-size:13px}
.pss-quote-est b{color:#ffb37a}
.pss-quote-lead{font-size:12.5px}
.pss-quote-dialog form>div.pss-quote-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;margin-top:4px}
.pss-quote-dialog label{font-size:13px;font-weight:600}
.pss-quote-dialog label span{font-weight:400;color:#8fa9b8}
.pss-quote-dialog input{margin:6px 0 12px!important;padding:10px!important}
.pss-quote-dialog textarea{display:block;box-sizing:border-box;width:100%;margin:6px 0 10px;padding:10px;background:#092032;color:#fff;border:1px solid #52758b;border-radius:7px;font:inherit;resize:vertical}
.pss-quote-dialog .pss-quote-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
#pssQuoteStatus,#pssShareStatus{min-height:1.3em;margin:0;color:#ffd2b3}
@media(max-width:520px){.pss-quote-dialog form>div.pss-quote-grid{grid-template-columns:1fr}.pss-quote-dialog{padding:18px}.pss-quote-dialog h2{font-size:19px}}

/* The share dialog. */
.pss-share-dialog{width:min(560px,calc(100vw - 24px))}
.pss-share-boxes{padding:8px 10px;border:1px solid #2f6f8f;border-radius:7px;background:#0b2a3d;font-size:13px}
.pss-share-dialog form>div.pss-share-link{display:flex;justify-content:stretch;margin-top:0;gap:8px;align-items:center}
.pss-share-link input{margin:0!important;flex:1;min-width:0;font-size:12px}
.pss-share-dialog form>div:last-child a{display:inline-flex;align-items:center;padding:10px 16px;color:#bfeaff;border:1px solid #507185;border-radius:7px;text-decoration:none}
#pssShareLinks{margin-top:8px;font-size:13px}
#pssShareLinks ul{list-style:none;margin:8px 0 0;padding:0}
#pssShareLinks li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;border-top:1px solid #1f3d50}
#pssShareLinks li button{padding:4px 10px;font-size:12px}

/* A shared design, view only: the 3D view and its camera tools, nothing that edits the design, no cost figures (the
   range is a planning model; a customer sent a link gets PSS's quote, not the Studio's range). */
.pss-share-banner{position:fixed;z-index:125;top:62px;left:50%;transform:translateX(-50%);width:min(860px,calc(100vw - 24px));box-sizing:border-box;
  display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #2f6f8f;border-radius:12px;
  background:rgba(7,26,38,.94);color:#eaf2f7;box-shadow:0 12px 40px #0008;font:13px/1.45 Inter,system-ui,sans-serif}
.pss-share-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.pss-share-text strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pss-share-pill{align-self:flex-start;padding:2px 8px;border:1px solid #f57832;border-radius:999px;color:#ffb37a;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.pss-share-note{color:#b7cbd7}
.pss-share-parts summary{cursor:pointer;color:#84d4f5}
.pss-share-parts ul{margin:4px 0 0;padding-left:18px;max-height:30vh;overflow:auto}
.pss-share-parts li span{color:#8fa9b8}
.pss-share-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.pss-share-view .studio-sidebar,body.pss-share-view #guidedPanel,body.pss-share-view #guidedModeBar,body.pss-share-view #studioPanelsRail,
body.pss-share-view .studio-tuning-top,body.pss-share-view #conceptSummaryDock,body.pss-share-view #conceptSummaryPanel,body.pss-share-view .concept-summary,
body.pss-share-view .packout-recommendation-dock,body.pss-share-view #vcOutputGroup,body.pss-share-view #vcRotateGroup,body.pss-share-view .part-context-tools,
body.pss-share-view .pss-chat-launcher,body.pss-share-view .pss-qs-actions,body.pss-share-view #phoneActionBar,body.pss-share-view .mobile-controls-toggle,
body.pss-share-view .studio-release-nav,body.pss-share-view .viewer-overlay,body.pss-share-view #undoButton,body.pss-share-view #panelRailToggle,body.pss-share-view .phone-view-toggle{display:none!important}
/* The 3D view takes the whole width in either mode while the editing panels are hidden. */
body.pss-share-view .studio-main{left:0!important;width:100%!important}
@media(max-width:1050px){
  .pss-share-banner{top:auto;bottom:10px;flex-direction:column;align-items:stretch;gap:10px;padding:12px}
  .pss-share-text strong{white-space:normal}
  .pss-share-actions{justify-content:stretch}
  .pss-share-actions button{flex:1;min-height:42px;font-size:14px}
  /* The 3D view fills the screen above the banner (quote-share.js measures the banner into --pss-share-banner-h). */
  html body.pss-share-view:not(.guided-preview) #viewer .studio-main{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;
    height:calc(100dvh - 66px - var(--pss-share-banner-h,240px))!important;max-height:none!important}
}

/* The next step, once the visitor's own part is in a rack (quote-share.js syncNextStep, studio-funnel-1030). Under the Guided
   step heading, or above the Full editor's summary tiles. One quiet card: both doors, side by side, and a way to hide it. */
.pss-next-step{position:relative;margin:4px 0 14px;padding:12px 34px 12px 12px;border:1px solid rgba(245,120,50,.65);border-radius:10px;background:linear-gradient(180deg,rgba(245,120,50,.13),rgba(245,120,50,.05));box-shadow:inset 3px 0 #f57832;color:#eef6fb}
.pss-next-step[hidden]{display:none!important}
.pss-next-step .pss-ns-text b{display:block;font-size:13px;color:#ffb37a;margin:0 0 2px}
.pss-next-step .pss-ns-text span{display:block;font-size:11.5px;line-height:1.4;color:#d7e4eb}
.pss-next-step .pss-ns-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.pss-next-step .pss-ns-actions button{flex:1 1 140px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;border-radius:8px;padding:8px 10px;min-height:36px;white-space:nowrap}
.pss-next-step button.pss-ns-quote{border:1px solid #f57832;background:#f57832;color:#102432}
.pss-next-step button.pss-ns-quote:hover{background:#ff8a45}
.pss-next-step button.pss-ns-review{border:1px solid rgba(83,183,228,.6);background:rgba(10,43,61,.85);color:#bfeaff}
.pss-ns-free,.guided-free{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:99px;background:rgba(120,214,160,.16);border:1px solid rgba(120,214,160,.55);color:#9de6bb;font-size:10px;font-weight:800;letter-spacing:.02em;vertical-align:1px}
.pss-next-step button.pss-ns-hide{position:absolute;top:6px;right:6px;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#9fb6c4;font-size:18px;line-height:1;cursor:pointer}
.pss-next-step button.pss-ns-hide:hover{color:#fff;background:rgba(255,255,255,.08)}
.pss-next-step button:focus-visible{outline:3px solid #84d4f5;outline-offset:2px}
/* Full editor: the card heads the Concept summary column, which is narrower, so the two doors stack. */
#conceptSummaryDock>.pss-next-step{margin:0 0 10px;flex:0 0 auto}
body:not(.guided-mode) .pss-next-step .pss-ns-actions button{flex-basis:100%}
/* Phones: the step panel is half the screen, so the card keeps its title and the two doors, side by side. */
@media(max-width:1050px){
  .pss-next-step{margin:2px 0 12px;padding:10px 32px 10px 10px}
  .pss-next-step .pss-ns-text span{display:none}
  .pss-next-step .pss-ns-actions{flex-wrap:nowrap}
  .pss-next-step .pss-ns-actions button,#guidedPanel .pss-next-step .pss-ns-actions button,body:not(.guided-mode) .pss-next-step .pss-ns-actions button{flex:1 1 0;min-width:0;min-height:42px;white-space:normal;line-height:1.2;font-size:var(--ph-body,12px)}
}

/* Inside Guided setup the panel's own button rule (#guidedPanel button) would otherwise win. */
#guidedPanel .pss-next-step .pss-ns-actions button{padding:9px 10px;font-size:12px;font-weight:800;border-radius:8px}
#guidedPanel .pss-next-step button.pss-ns-quote{border-color:#f57832;background:#f57832;color:#102432}
#guidedPanel .pss-next-step button.pss-ns-quote:hover{background:#ff8a45}
#guidedPanel .pss-next-step button.pss-ns-review{border-color:rgba(83,183,228,.6);background:rgba(10,43,61,.85);color:#bfeaff}
#guidedPanel .pss-next-step button.pss-ns-hide{padding:0;border:0;background:transparent;color:#9fb6c4;font-size:18px;width:26px;height:26px}
#guidedPanel .pss-next-step .pss-ns-text span{margin:0}
