/* A2 Request Quote page: booth size tool + AR + quote form. Every rule is scoped to #a2q (page body only); the live
   header, footer and sticky bar keep the live inline CSS untouched. Colors, type and buttons follow the live sheet. */
#a2q{padding:0 0 40px}
#a2q h2{margin:0 0 22px}
#a2q h3{margin:0 0 14px}
#a2q .a2q-tools p,#a2q .a2q-formcol p{margin:0}
.a2q-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.a2q-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
/* >=1024: live hero split (intro left, 3D where the live photo was), form full width below */
@media(min-width:1024px){.a2q-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px 44px;align-items:start}.a2q-formcol{grid-column:1/-1}}
/* 3D view */
.a2q-tools{position:relative;min-width:0}
.a2q-stage{position:relative;width:100%;aspect-ratio:4/3;border:1px solid #354650;border-radius:8px;overflow:hidden;background:#0c1b26;touch-action:pan-y}
.a2q-stage:focus-visible{outline:3px solid #9be8ff;outline-offset:3px}
html[data-rotating] .a2q-stage{cursor:grab}
#a2q .stage-loader{position:absolute;inset:0;z-index:1;padding:0;border:0;border-radius:8px;background:#0c1b26;transition:opacity .3s ease;pointer-events:none}
#a2q .stage-loader.sl-stuck{background:#0c1b26f2}
#a2q .stage-loader.sl-done{opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s .3s}
#a2q .sl-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:16px}
#a2q .sl-txt{width:22ch;max-width:100%;color:#c9dce6;font-size:15px}
#a2q .sl-bar{position:relative;width:min(240px,60%);height:3px;background:#a7dfed2e;overflow:hidden;border-radius:2px}
#a2q .sl-bar i{position:absolute;top:0;bottom:0;left:0;width:35%;background:#a7dfed;animation:a2qind 1.4s ease-in-out infinite}
#a2q .sl-bar.det i{animation:none;width:var(--p,0%);transition:width .2s linear}
#a2q .sl-bar.almost i{animation:a2qpulse 1.2s ease-in-out infinite;width:100%}
@keyframes a2qind{0%{transform:translateX(-100%)}100%{transform:translateX(290%)}}
@keyframes a2qpulse{0%,100%{opacity:.45}50%{opacity:1}}
#a2q .sl-slow{max-width:34ch;color:#ffd9a8;font-size:15px;pointer-events:auto}
#a2q .sl-slow[hidden],#a2q .sl-retry[hidden],#a2q .sl-card[hidden],#a2q .sl-acts[hidden],#a2q .sl-ar[hidden]{display:none}
#a2q .stage-loader.sl-stuck .sl-bar,#a2q .stage-loader.sl-stuck .sl-txt{display:none}
#a2q .sl-card{margin:0;width:min(420px,86%);pointer-events:auto}
#a2q .sl-fig{aspect-ratio:16/10;background:#071018;border:1px solid #354650;border-radius:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#a2q .sl-fig img,#a2q .sl-fig svg{width:100%;height:100%;object-fit:contain;display:block;border-radius:0}
#a2q .sl-cap{margin:6px 0 0;font-size:13px;color:#a9bac6}
#a2q .sl-acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;pointer-events:auto}
@media(prefers-reduced-motion:reduce){#a2q .stage-loader{transition:none}#a2q .sl-bar i{animation:none;width:100%;opacity:.5}}
/* size tool */
#a2q .tool{display:grid;gap:14px;margin-top:18px}
#a2q .tool-row{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;align-items:end}
#a2q .tool-row[hidden]{display:none}
#a2q .f-wide{grid-column:1/-1}
#a2q .f>span{display:block}
#a2q .t-msg{font-size:14px;color:#b9cad4;min-height:0}#a2q .t-msg:empty{display:none}#a2q .t-msg.err{color:#ffb4a8}
#a2q .t-note{font-size:14px;color:#b9cad4;line-height:1.45}
#a2q .t-arrow{display:grid;gap:10px}
#a2q .t-ar{display:flex;width:100%;min-height:56px;align-items:center;justify-content:center;gap:12px;padding:8px 16px}
#a2q .t-ar[hidden],#a2q .t-armsg[hidden],#a2q .t-qr[hidden],#a2q .t-qrcap[hidden],#a2q .t-arlink[hidden]{display:none}
#a2q .t-ar-i{flex:none}#a2q .t-ar-l{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.15}#a2q .t-ar-s{min-height:1em;font-size:13px;font-weight:600}
#a2q .t-armsg{font-size:14px;line-height:1.45;color:#b9cad4}#a2q .t-armsg.err{color:#ffb4a8}
#a2q .t-qrrow{display:flex;align-items:center;gap:18px}
#a2q .t-qr{flex:none}
#a2q .t-qr-img{width:140px;height:140px;background:#0c1b26;box-shadow:inset 0 0 0 1px #354650;border-radius:4px;overflow:hidden}
#a2q .t-side{display:flex;flex-direction:column;gap:8px;min-width:0}
#a2q .t-qrcap{font-size:15px;color:#e8f0f4}

#a2q .a2q-link{background:none;border:0;padding:8px 0;min-height:44px;color:#a7dfed;font:600 15px/1.2 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#a2q .a2q-link:hover{color:#fff}

#a2q .chk{display:flex;align-items:center;gap:10px;min-height:49px;align-self:end}
#a2q input[type=checkbox]{width:22px;height:22px;min-height:0;margin:0;padding:0;flex:none;accent-color:#a7dfed}
#a2q .t-rot{display:flex;flex-wrap:wrap;gap:8px}
#a2q .t-btn{min-height:44px;min-width:44px;padding:8px 14px;background:transparent;color:#d7f2f7;border:1px solid #506774;border-radius:4px;font:700 14px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
#a2q .t-btn:hover:not(:disabled){border-color:#c5ebf4}
#a2q .t-btn[aria-pressed="true"]{background:#d7f2f7;color:#071018;border-color:#c5ebf4}
#a2q .t-btn:disabled{opacity:.5;cursor:not-allowed}
@keyframes a2qar{0%,100%{box-shadow:0 0 0 0 #a7dfedb3}50%{box-shadow:0 0 0 10px #a7dfed00}}
#a2q .t-ar.pulse{animation:a2qar 1.4s ease-out 3}
@media(prefers-reduced-motion:reduce){#a2q .t-ar.pulse{animation:none;outline:3px solid #9be8ff;outline-offset:2px}}
/* form */
#a2q .qform,#a2q .q-done{background:#0c1b26;border:1px solid #354650;border-radius:6px;padding:24px;scroll-margin-top:16px}
#a2q .qform[hidden],#a2q .q-done[hidden]{display:none}
#a2q .q-chip{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin:0 0 10px;padding:4px 4px 4px 14px;border:1px solid #506774;border-radius:4px;background:#11222e;font-size:15px}
#a2q .q-chip[hidden]{display:none}
#a2q .q-chip-l{color:#a9bac6;font-size:13px}#a2q .q-chip-v{font-weight:700;color:#fff}
#a2q .q-chip-a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;margin-left:auto;font-weight:600}
#a2q .q-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;align-items:baseline;margin:14px 0 14px}
#a2q .q-step{color:#a7dfed;font-size:14px;font-weight:700}
#a2q .form-note{color:#b9cad4;font-size:13px}
#a2q .q-pane{border:0;margin:0;padding:0;min-width:0}#a2q .q-pane[hidden]{display:none}
#a2q .grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#a2q .f label .req{color:#a7dfed}
#a2q textarea{font:16px Arial,sans-serif;display:block;width:100%;margin-top:8px;padding:14px 12px;background:#11222e;color:#fff;border:1px solid #698491;border-radius:4px;min-height:110px;resize:vertical}
#a2q textarea::placeholder{color:#aebfc8}
#a2q input[aria-invalid="true"],#a2q select[aria-invalid="true"]{border-color:#ffb4a8}
#a2q input,#a2q select,#a2q textarea{scroll-margin:96px 0 200px}
#a2q .f-err{margin:6px 0 0;color:#ffb4a8;font-size:14px}#a2q .f-err[hidden]{display:none}
#a2q .q-check{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:14px;line-height:1.5;color:#ccdce5;cursor:pointer}
#a2q .q-check input{margin-top:2px}
#a2q .q-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:22px 0 0}
#a2q .q-actions .q-next{margin-left:auto}
#a2q .q-back[hidden],#a2q [id=cta-txt][hidden],#a2q [id=q-next-txt][hidden]{display:none}
#a2q .form-msg{margin-top:10px;font-size:14px;color:#ffb4a8}#a2q .form-msg:empty{display:none}
#a2q .q-done{padding:24px}
#a2q #q-done-h{scroll-margin-top:24px}#a2q #q-done-h:focus{outline:none}#a2q #q-done-h:focus-visible{outline:3px solid #9be8ff;outline-offset:5px}
#a2q #q-done-lead{color:#c9dce6}
#a2q .q-dl{margin:14px 0;display:grid}
#a2q .q-dl div{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:12px;padding:9px 0;border-top:1px solid #354650}
#a2q .q-dl dt{color:#a9bac6;font-size:14px}#a2q .q-dl dd{margin:0;overflow-wrap:anywhere}
#a2q .q-payload{max-width:none;margin:0 0 14px;padding:0;border:1px solid #354650;border-radius:4px}
#a2q .q-payload:last-child{border-bottom:1px solid #354650}
#a2q .q-payload summary{min-height:44px;display:flex;align-items:center;padding:0 14px;color:#b9cad4;font-weight:600}
#a2q .q-payload pre{margin:0;padding:12px 14px;max-height:320px;overflow:auto;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;color:#c9dce6;background:#071018}
#a2q .q-done .form-note{margin:0 0 4px}
@media(max-width:740px){
 #a2q{padding:0 0 30px}
 #a2q .grid{grid-template-columns:1fr}
 #a2q .qform,#a2q .q-done{padding:20px 16px}
 #a2q .q-actions .a2-button{flex:1}
 #a2q .q-dl div{grid-template-columns:1fr;gap:2px}
 #a2q .t-qr-img{width:120px;height:120px}
 /* while typing on a phone, Next/Back stay above the keyboard (and above the live sticky bar) */
 #a2q .qform.q-typing .q-actions{position:sticky;bottom:66px;z-index:3;margin:22px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#0c1b26;border-top:1px solid #354650}
}
@media(max-width:420px){#a2q .tool-row{grid-template-columns:1fr 1fr;gap:12px}}

/* hero intro (live copy, Call button, Check-project note) and the kicker */
.a2q-intro{padding:0 0 8px}
.a2q-intro .a2-actions{margin:24px 0 16px}
#a2q .a2q-kicker{margin:0 0 6px}
#a2q .a2q-kick{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:inherit;text-decoration:underline;text-decoration-color:#96c5d666;text-underline-offset:6px}
#a2q .a2q-kick:hover{color:#fff}
.a2q-stage{scroll-margin-top:12px}

/* live sticky bar: hidden on this page while the tool/form is in view (class set by quote.js); padding fallback keeps the
   last controls clear of it if the observer never runs */
html.a2q-nosticky .a2-sticky{display:none!important}
@media(max-width:740px){#a2q{padding-bottom:96px}}

/* live footer chat button, disabled on this preview page (no Brevo widget); label in the live note style */

/* WebGL off: the card takes the 3D box's place in the flow, sized to its content */
#a2q.a2q-webgl-off .a2q-stage{display:none}
#a2q.a2q-webgl-off .stage-loader{position:relative;aspect-ratio:auto;border:1px solid #354650;background:#0c1b26}
#a2q.a2q-webgl-off .sl-in{position:static;padding:20px 16px}
#a2q.a2q-webgl-off .sl-card{width:min(460px,100%)}

/* polish: WebGL-off note is neutral (not a warning); outline fills the card width, no letterbox */
#a2q .sl-slow.sl-info{color:#c9dce6}
#a2q .sl-fig.sl-fig-svg{aspect-ratio:auto;background:none;border:0}
#a2q .sl-fig.sl-fig-svg svg{width:100%;height:auto;max-height:none}
/* kicker: short label on phones */
#a2q .k-short{display:none}
@media(max-width:740px){#a2q .k-long{display:none}#a2q .k-short{display:inline}}
/* FIX 5 (>=1024): live hero + intro on the left, the 3D tool beside them from the hero's top, form full width below */
@media(min-width:1024px){#a2q .a2q-lead{grid-column:1;grid-row:1}#a2q .a2q-tools{grid-column:2;grid-row:1;padding-top:62px}#a2q .a2q-formcol{grid-column:1/-1;grid-row:2}}
/* stage height (>=1024): sized from the viewport so stage + size/type menus stay on the first screen:
   1280x800 → 440 px, 1440x900 → 500 px (cap), 1024x768 → 408 px; the scene fits the booth to the mount */
@media(min-width:1024px){
 #a2q{--a2q-sh:clamp(300px,calc(100svh - 360px),500px)}
 #a2q .a2q-stage{aspect-ratio:auto;height:var(--a2q-sh)}
}
/* loader overlay is pinned to the stage rect: stage + loader share .a2q-stagebox (position:relative), loader inset:0.
   (scene/ itself keeps its canvas hidden until a2:scene-ready; no second hide here.) */
#a2q .a2q-stagebox{position:relative}
#a2q .stage-loader.sl-done .sl-in{visibility:hidden}   /* Phil: text + bar vanish the instant sl-done is set; only the overlay background fades */
/* step 3 file field: live label/hint/button styles, list in the form's input colors; never wider than the column at 412 */
#a2q .q-files-l{margin:0 0 4px;font-weight:700;color:#fff}
#a2q .q-opt{font-weight:400;color:#a9bac6}
#a2q .q-files-h{margin:0 0 10px;font-size:14px;line-height:1.5;color:#a9bac6}
#a2q .q-files-btns{display:flex;flex-wrap:wrap;gap:10px;margin:0}
#a2q .q-fbtn{min-height:44px}#a2q .q-fbtn[hidden]{display:none}
#a2q .q-files-list{list-style:none;margin:12px 0 0;padding:0;border:1px solid #354650;border-radius:4px;background:#11222e;max-height:280px;overflow:auto}
#a2q .q-files-list[hidden]{display:none}
#a2q .q-files-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:6px 6px 6px 12px;border-top:1px solid #23343f;font-size:14px}
#a2q .q-files-list li:first-child{border-top:0}
#a2q .q-fn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
#a2q .q-fs{color:#a9bac6;white-space:nowrap;font-variant-numeric:tabular-nums}
#a2q .q-frm{min-height:44px;min-width:44px;padding:0 10px;background:none;border:1px solid transparent;border-radius:4px;color:#a7dfed;font:600 14px Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#a2q .q-frm:hover{color:#fff}#a2q .q-frm:focus-visible{outline:3px solid #9be8ff;outline-offset:1px}
#a2q .q-files-total{margin:8px 0 0;font-size:14px;color:#ccdce5}#a2q .q-files-total:empty{display:none}
#a2q .q-files-msg{margin-top:8px}
/* Phil P1: the live page's .a2-site input{display:block} beat [hidden] on the file inputs */
.a2-site [hidden]{display:none!important}
/* file field (hidden until R2): label like the other fields; full-width list */
#a2q .q-files-l{font-size:15px;font-weight:600}
#a2q .q-files-h,#a2q .q-files-total{max-width:none}
#a2q .q-files-list{width:100%;box-sizing:border-box}
/* height pills (the one height control, under size) */
#a2q .t-hrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#a2q .t-hl{font-weight:600}
#a2q .t-pills{display:flex;flex-wrap:wrap;gap:8px}
#a2q .t-pill{min-height:44px;min-width:64px;padding:0 16px;border:1px solid #698491;border-radius:999px;background:transparent;color:inherit;font:inherit;cursor:pointer}
#a2q .t-pill[aria-checked="true"]{background:#fff;color:#07131e;border-color:#fff;font-weight:600}
#a2q .t-pill:focus-visible{outline:3px solid #9be8ff;outline-offset:3px}
/* step 3 summary + success links */
#a2q .q-sum{margin:10px 0 0;font-weight:600}
#a2q .q-sum[hidden]{display:none}
#a2q .q-done-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
