/* The Final Seat redesign (branch redesign-v1). Lifted from Final-Seat-demo.html: the :root tokens, type scale, halo
   layers and keyframes, with every class prefixed fs- so nothing collides with the scorecard's or the age screen's
   pre-redesign styles (kept in index.html, scoped to .fs-legacy). Phone first: 390 x 844 design size, fluid 375 to 430. */
:root{
  --stage:#030302; --room:#070605; --panel:rgba(28,22,13,.92); --field:rgba(14,11,7,.85);
  --gold:#D4A84B; --gold-bright:#F3D37C; --gold-deep:#B8892A;
  --cream:#F4EAD2; --cream-2:#BDB297; --cream-3:#8E8471; --signal:#E0937A; --on-gold:#1A1406;
  --line:rgba(212,168,75,.26); --line-2:rgba(212,168,75,.35); --line-3:rgba(212,168,75,.5);
  --display:'Playfair Display','Lora',Georgia,'Times New Roman',serif;
  --text:'Manrope','Inter','Helvetica Neue',Arial,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:dark;
}
html{background:var(--stage)}
body{margin:0;background:var(--stage);color:var(--cream);font-family:var(--text);font-size:15px;line-height:1.5;-webkit-text-size-adjust:100%}
.fs-app{position:relative;width:100%;max-width:430px;margin:0 auto;min-height:100vh;min-height:100svh;background:var(--room);overflow-x:hidden}
.fs-app [hidden]{display:none !important}
.fs-app button:focus-visible,.fs-app input:focus-visible,.fs-app textarea:focus-visible,.fs-app a:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}
/* screens */
.fs-screen{position:absolute;left:0;right:0;top:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;box-sizing:border-box;padding:54px 28px calc(26px + env(safe-area-inset-bottom,0px));overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:scale(.985);transition:opacity .45s ease,transform .55s var(--ease),visibility 0s linear .55s}
.fs-screen.fs-on{position:relative;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:opacity .45s ease,transform .55s var(--ease),visibility 0s}
.fs-screen .fs-r{opacity:0;transform:translateY(14px)}
.fs-screen.fs-on .fs-r{animation:fs-rise .7s var(--ease) both}
.fs-screen.fs-on .fs-r1{animation-delay:.04s}.fs-screen.fs-on .fs-r2{animation-delay:.13s}.fs-screen.fs-on .fs-r3{animation-delay:.22s}.fs-screen.fs-on .fs-r4{animation-delay:.31s}.fs-screen.fs-on .fs-r5{animation-delay:.40s}.fs-screen.fs-on .fs-r6{animation-delay:.49s}.fs-screen.fs-on .fs-r7{animation-delay:.58s}.fs-screen.fs-on .fs-r8{animation-delay:.67s}
@keyframes fs-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fs-fade{from{opacity:0}to{opacity:1}}

/* room */
.fs-lamp,.fs-vig,.fs-deskline,.fs-deskglow,.fs-farring,.fs-farring2{position:absolute;pointer-events:none}
.fs-lamp{left:-120px;right:-120px;top:-100px;height:580px;background:radial-gradient(ellipse at 50% 0%,rgba(243,211,124,.24) 0%,rgba(212,168,75,.09) 42%,rgba(212,168,75,0) 70%)}
.fs-door .fs-lamp{background:radial-gradient(ellipse at 62% 0%,rgba(243,211,124,.24) 0%,rgba(212,168,75,.08) 42%,rgba(212,168,75,0) 70%)}
.fs-after .fs-lamp{height:700px;background:radial-gradient(ellipse at 50% 0%,rgba(243,211,124,.34) 0%,rgba(212,168,75,.14) 40%,rgba(212,168,75,0) 70%)}
.fs-after.fs-on .fs-lamp{animation:fs-fade 1.6s ease .2s both}
.fs-seat{--hc:212,168,75;--c1:#F8E3A6;--c2:#DDB356;--c3:#9A7428;--c4:#33270F;--c5:#15100A;--ringc:#F4EAD2;--breath:5s;--tickdur:2.2s}
.fs-seat .fs-lamp2{position:absolute;left:-60px;right:-60px;top:150px;height:520px;background:radial-gradient(ellipse at 50% 50%,rgba(var(--hc),.22) 0%,rgba(var(--hc),.06) 40%,rgba(var(--hc),0) 68%);pointer-events:none;transition:background .6s linear}
.fs-vig{inset:0;background:radial-gradient(ellipse at 50% 45%,rgba(7,6,5,0) 46%,rgba(7,6,5,.92) 100%)}
.fs-deskline{left:0;right:0;top:664px;height:1px;background:linear-gradient(90deg,rgba(212,168,75,0) 0%,rgba(243,211,124,.55) 40%,rgba(243,211,124,.55) 60%,rgba(212,168,75,0) 100%)}
.fs-deskglow{left:0;right:0;top:665px;height:179px;background:linear-gradient(180deg,rgba(212,168,75,.07) 0%,rgba(212,168,75,0) 60%)}
.fs-after .fs-deskline{top:600px}.fs-after .fs-deskglow{top:601px;height:243px}
.fs-farring{left:92px;top:84px;width:372px;height:372px;border-radius:50%;border:1px solid rgba(212,168,75,.22);box-shadow:0 0 80px rgba(212,168,75,.10),inset 0 0 60px rgba(212,168,75,.06);animation:fs-breathe 9s ease-in-out infinite}
.fs-farring2{left:66px;top:58px;width:424px;height:424px;border-radius:50%;border:1px solid rgba(212,168,75,.09)}
.fs-grain{position:absolute;left:0;top:0;width:100%;height:100%;opacity:.07;mix-blend-mode:overlay;pointer-events:none}
.fs-content{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}

/* type */
.fs-eyebrow{font:600 10px/1 var(--text);letter-spacing:.26em;text-transform:uppercase;color:var(--gold)}
.fs-hair{display:flex;align-items:center;gap:12px}
.fs-hair::before,.fs-hair::after{content:"";flex:1;height:1px;background:var(--line-2)}
.fs-hero{margin:0;font:900 54px/.94 var(--display);letter-spacing:-.025em;color:var(--cream);text-wrap:balance}
.fs-hero .fs-tm{font:700 14px/1 var(--text);vertical-align:top;position:relative;top:6px;margin-left:4px;color:var(--cream-2)}
.fs-title{margin:10px 0 0;font:900 34px/1.05 var(--display);letter-spacing:-.015em;color:var(--cream);text-wrap:balance}
.fs-question{margin:0;text-align:center;font:700 26px/1.22 var(--display);letter-spacing:-.005em;color:var(--cream);text-wrap:balance}
.fs-tagline{margin:18px 0 0;font:italic 500 20px/1.3 var(--display);color:var(--cream-2)}
.fs-label{display:block;font:600 11px/1 var(--text);letter-spacing:.12em;text-transform:uppercase;color:var(--cream-2)}
.fs-label .fs-opt{text-transform:none;letter-spacing:0;color:var(--cream-3)}
.fs-hint{margin:0;font:400 12px/1.45 var(--text);color:var(--cream-3)}
.fs-footer{text-align:center;font:400 12px/1.7 var(--text);color:var(--cream-3)}
.fs-footer a{color:var(--cream-2)}

/* controls inside the phone */
.fs-field{width:100%;box-sizing:border-box;height:58px;padding:0 18px;background:var(--field);border:1px solid var(--line-3);border-radius:16px;color:var(--cream);font:500 17px/1 var(--text);outline:none;box-shadow:inset 0 1px 0 rgba(243,211,124,.12),0 18px 40px rgba(0,0,0,.45)}
.fs-field::placeholder,.fs-ta::placeholder{color:#7C7261}
.fs-field.fs-code{height:60px;font:600 19px/1 var(--text);letter-spacing:.2em}
.fs-field.fs-underline{height:52px;padding:0 2px;background:none;border:0;border-bottom:1px solid var(--line-2);border-radius:0;box-shadow:none}
.fs-ta-wrap{position:relative}
.fs-ta{width:100%;box-sizing:border-box;padding:14px 18px 44px;background:rgba(14,11,7,.7);border:1px solid var(--line);border-radius:16px;color:var(--cream);font:400 15px/1.45 var(--text);resize:none;outline:none;display:block}
.fs-chiprow{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:10px;font:400 12px/1 var(--text);color:var(--cream-3)}
.fs-chip{appearance:none;height:32px;padding:0 14px;border-radius:999px;border:1px solid var(--line-3);background:rgba(14,11,7,.9);color:#E6D9B8;font:600 12px/1 var(--text);cursor:pointer}
.fs-btn{appearance:none;display:flex;align-items:center;justify-content:center;gap:10px;height:56px;border-radius:999px;border:0;font:700 16px/1 var(--text);cursor:pointer;text-decoration:none;box-sizing:border-box}
.fs-btn.fs-primary{background:linear-gradient(180deg,#F6DE9A 0%,#D9AE52 38%,#B8892A 100%);color:var(--on-gold);box-shadow:0 1px 0 rgba(255,244,214,.6) inset,0 16px 36px rgba(212,168,75,.22)}
.fs-btn.fs-ghost{height:52px;border:1px solid var(--line-3);background:rgba(14,11,7,.6);color:#E6D9B8;font-weight:600;font-size:15px}
.fs-btn.fs-danger{height:52px;border:1px solid rgba(224,147,122,.6);background:rgba(14,11,7,.6);color:var(--signal);font-weight:600;font-size:15px}
.fs-btn.fs-back{width:56px;height:56px;border-radius:50%;border:1px solid var(--line-3);background:rgba(14,11,7,.6);color:#E6D9B8;flex:none;padding:0}
.fs-btn.fs-quiet{height:36px;background:none;color:var(--cream-2);font:600 12px/1 var(--text)}
.fs-btn.fs-quiet u{text-decoration-color:rgba(212,168,75,.5);text-underline-offset:3px}
.fs-pill{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid rgba(212,168,75,.45);border-radius:999px;font:600 10px/1 var(--text);letter-spacing:.16em;text-transform:uppercase;color:#E6D9B8}
.fs-pro{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid rgba(212,168,75,.6);border-radius:999px;font:700 9px/1 var(--text);letter-spacing:.18em;color:var(--gold)}
.fs-steps{display:flex;align-items:center;gap:6px}
.fs-mark{display:block;width:22px;height:2px;border-radius:2px;background:rgba(212,168,75,.25)}
.fs-mark.fs-done{background:rgba(244,234,210,.55)}.fs-mark.fs-cur{background:var(--gold)}
.fs-topbar{display:flex;align-items:center;justify-content:space-between;height:28px}
.fs-brand{display:flex;align-items:center;gap:10px}
.fs-brand .fs-eyebrow{letter-spacing:.26em}
.fs-card{appearance:none;text-align:left;cursor:pointer;width:100%;box-sizing:border-box;padding:13px 16px 13px 18px;border-radius:16px;border:1px solid var(--line);background:rgba(14,11,7,.7);display:flex;align-items:center;gap:14px;color:var(--cream);font-family:var(--text)}
.fs-card.fs-sel{border-color:rgba(243,211,124,.85);background:var(--panel);box-shadow:0 0 0 4px rgba(212,168,75,.10),0 18px 40px rgba(0,0,0,.45)}
.fs-card .fs-ct{display:block;font:700 18px/1.1 var(--display);color:var(--cream)}
.fs-card .fs-cm{display:block;font:400 12px/1.35 var(--text);color:var(--cream-2)}
.fs-card .fs-body{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.fs-card .fs-row{display:flex;align-items:center;gap:10px}
.fs-radio{display:block;width:24px;height:24px;border-radius:50%;border:1px solid rgba(212,168,75,.4);flex:none}
.fs-check{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--gold);flex:none}
.fs-switch{appearance:none;cursor:pointer;position:relative;width:46px;height:28px;border-radius:999px;border:1px solid rgba(212,168,75,.4);background:#0F0C08;padding:0;flex:none}
.fs-switch .fs-knob{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:var(--cream-3);display:block;transition:left .2s ease,background .2s ease}
.fs-switch[aria-checked="true"]{border-color:var(--gold)}.fs-switch[aria-checked="true"] .fs-knob{left:21px;background:var(--gold)}
.fs-consent{padding:16px 18px;border:1px solid var(--line-2);border-radius:16px;background:rgba(28,22,13,.72);display:flex;flex-direction:column;gap:8px}
.fs-consent p{margin:0;font:400 13px/1.5 var(--text);color:#E6D9B8}
.fs-consent p.fs-small{font-size:12px;color:var(--cream-2)}
.fs-consent a{color:var(--gold)}
.fs-status{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--line-2);border-radius:999px;background:rgba(14,11,7,.8);font:600 12px/1 var(--text);color:#E6D9B8}
.fs-dot{width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px var(--gold);animation:fs-pulse 1.6s ease-in-out infinite;display:block}
.fs-caption{margin:16px 8px 0;text-align:center;font:400 15px/1.5 var(--text);color:var(--cream-2);min-height:46px}
.fs-slot{padding:10px 14px;border:1px dashed rgba(212,168,75,.32);border-radius:12px;font:400 12px/1.45 var(--text);color:var(--cream-3);text-align:center}
.fs-summary{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1px solid var(--line-2);border-radius:16px;background:rgba(28,22,13,.6)}
.fs-summary .fs-kv{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fs-summary .fs-k{font:600 10px/1 var(--text);letter-spacing:.2em;color:var(--cream-3)}
.fs-summary .fs-v{font:500 14px/1.3 var(--text);color:var(--cream);text-align:right}
.fs-summary .fs-sep{height:1px;background:rgba(212,168,75,.18)}
.fs-toast{position:absolute;left:24px;right:24px;bottom:96px;padding:12px 16px;border-radius:14px;border:1px solid var(--line-2);background:rgba(14,11,7,.95);color:#E6D9B8;font:500 13px/1.4 var(--text);text-align:center;opacity:0;transform:translateY(8px);transition:opacity .3s ease,transform .3s var(--ease);pointer-events:none}
.fs-toast.fs-show{opacity:1;transform:none}
.fs-sheet{position:absolute;left:0;right:0;bottom:0;transform:translateY(100%);transition:transform .45s var(--ease);background:rgba(14,11,7,.97);border-top:1px solid var(--line-2);border-radius:24px 24px 0 0;padding:18px 24px 30px;box-sizing:border-box;display:flex;flex-direction:column;gap:12px}
.fs-sheet.fs-open{transform:none}
.fs-sheet .fs-line{font:400 14px/1.5 var(--text);color:var(--cream-2)}
.fs-sheet .fs-who{font:600 10px/1 var(--text);letter-spacing:.2em;color:var(--gold);display:block;margin-bottom:4px}

/* the halo */
.fs-stage{position:relative;width:320px;height:320px;appearance:none;background:none;border:0;padding:0;margin:0;cursor:pointer;display:block;border-radius:50%}
.fs-bezel{position:absolute;left:24px;top:24px;width:272px;height:272px;border-radius:50%;display:block;background:repeating-conic-gradient(from 0deg,rgba(var(--hc),.55) 0deg .5deg,rgba(var(--hc),0) .5deg 2deg);-webkit-mask:radial-gradient(circle,transparent 118px,#000 119px,#000 125px,transparent 126px);mask:radial-gradient(circle,transparent 118px,#000 119px,#000 125px,transparent 126px);animation:fs-spin 160s linear infinite}
.fs-core{position:absolute;left:66px;top:66px;width:188px;height:188px;border-radius:50%;display:block;background:radial-gradient(circle at 50% 38%,var(--c1) 0%,var(--c2) 16%,var(--c3) 44%,var(--c4) 76%,var(--c5) 100%);box-shadow:0 0 90px rgba(var(--hc),.42),0 30px 60px rgba(0,0,0,.55),inset 0 -26px 46px rgba(0,0,0,.4);animation:fs-breathe var(--breath) ease-in-out infinite}
.fs-seat.fs-breath .fs-core{animation:fs-inhale var(--inhale,4s) ease-in-out 1 both}
.fs-hl{position:absolute;left:118px;top:84px;width:72px;height:34px;border-radius:50%;display:block;background:rgba(255,243,206,.55);filter:blur(10px)}
.fs-halo{position:absolute;left:0;top:0;display:block;overflow:visible}
.fs-tick{stroke:rgb(var(--hc));stroke-width:2.4;stroke-linecap:round;opacity:.5}
.fs-seat.fs-ph-interviewer .fs-tick{animation:fs-tickwave 2.2s ease-in-out infinite;animation-delay:var(--d)}
.fs-seat.fs-ph-you .fs-tick{opacity:.28}
.fs-seat.fs-ph-you.fs-t1 .fs-tick,.fs-seat.fs-ph-you.fs-t2 .fs-tick,.fs-seat.fs-ph-you.fs-t3 .fs-tick,.fs-seat.fs-ph-you.fs-t4 .fs-tick{animation:fs-tickwave var(--tickdur) ease-in-out infinite;animation-delay:var(--d)}
.fs-seat.fs-ph-you.fs-t4.fs-tremor .fs-stage{animation:fs-tremor .1s linear infinite}
.fs-seat.fs-ph-done .fs-stage{animation:none}
.fs-ring{fill:none;stroke:var(--ringc);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:829.4;stroke-dashoffset:var(--ringoff,0px);opacity:0}
/* the drain is NOT a keyframe here: --ringoff is set from the app's real answer clock (final-seat-ui.js) */
.fs-seat.fs-ph-you .fs-ring{opacity:1}
.fs-seat.fs-ph-done .fs-ring{opacity:.35;stroke-dashoffset:829.4px}
.fs-seat.fs-ph-done .fs-core{animation:none}
.fs-clockwrap{position:absolute;left:0;top:0;width:320px;height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;pointer-events:none}
.fs-clock{font:700 46px/1 var(--display);color:var(--on-gold);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.fs-clocklabel{font:600 9px/1 var(--text);letter-spacing:.28em;color:#3A2C0F}
.fs-reflect{position:absolute;left:110px;top:560px;width:170px;height:60px;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,rgba(var(--hc),.28) 0%,rgba(var(--hc),0) 70%);filter:blur(6px);pointer-events:none}
.fs-seat.fs-on .fs-stagewrap{animation:fs-bloom .9s var(--ease) .3s both}
.fs-ember{position:relative;width:220px;height:220px}
.fs-ember .fs-bz{position:absolute;left:0;top:0;width:220px;height:220px;border-radius:50%;display:block;background:repeating-conic-gradient(from 0deg,rgba(212,168,75,.4) 0deg .5deg,rgba(212,168,75,0) .5deg 2.4deg);-webkit-mask:radial-gradient(circle,transparent 96px,#000 97px,#000 103px,transparent 104px);mask:radial-gradient(circle,transparent 96px,#000 97px,#000 103px,transparent 104px);animation:fs-spin 160s linear infinite}
.fs-ember .fs-co{position:absolute;left:56px;top:56px;width:108px;height:108px;border-radius:50%;display:block;background:radial-gradient(circle at 50% 38%,#E9C979 0%,#B8892A 24%,#5E461A 56%,#1D160B 100%);box-shadow:0 0 60px rgba(212,168,75,.3),inset 0 -16px 28px rgba(0,0,0,.45);animation:fs-ember 6s ease-in-out infinite}
.fs-ember .fs-hl2{position:absolute;left:92px;top:68px;width:36px;height:16px;border-radius:50%;display:block;background:rgba(255,243,206,.45);filter:blur(6px)}

@keyframes fs-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@keyframes fs-inhale{0%{transform:scale(1)}45%{transform:scale(1.14)}100%{transform:scale(1)}}
@keyframes fs-tickwave{0%,100%{opacity:.22}50%{opacity:1}}
@keyframes fs-drain{from{stroke-dashoffset:0}to{stroke-dashoffset:829.4}}
@keyframes fs-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes fs-spin{to{transform:rotate(360deg)}}
@keyframes fs-bloom{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@keyframes fs-ember{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.05);opacity:1}}
@keyframes fs-tremor{0%{transform:translate(0,0)}25%{transform:translate(1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}100%{transform:translate(0,0)}}
/* D192: Stephan's Nichols N, flat #C9A24A, no stroke/filter/gradient. Door entrance = a diagonal clip wipe (top-left to
   bottom-right, 900 ms) that reveals the solid shapes once per page load; reduced motion shows it at once. */
.fs-nmark{display:block;flex:none;overflow:visible}
@keyframes fs-n-wipe{from{clip-path:polygon(0 0,0 0,0 0)}to{clip-path:polygon(0 0,200% 0,0 200%)}}
.fs-door .fs-mono{animation:fs-n-wipe 900ms cubic-bezier(.4,0,.6,1) .25s 1 both}
@media (prefers-reduced-motion: reduce){.fs-door .fs-mono{animation:none !important;clip-path:none !important}}
@media (prefers-reduced-motion: reduce){.fs-screen:not(.fs-cardview),.fs-screen:not(.fs-cardview) *,.fs-screen:not(.fs-cardview) *::before,.fs-screen:not(.fs-cardview) *::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}

/* ---- additions for the live page (not in the demo): states the app has that the demo does not ---- */
/* entrance runs once per screen; revisits appear at rest. Nothing animates while the keyboard is open. */
.fs-screen.fs-seen .fs-r,.fs-kb .fs-screen .fs-r{animation:none;opacity:1;transform:none}
.fs-kb .fs-screen{transition:none}
.fs-content{z-index:1}
form.fs-content{margin:0}
.fs-slot:empty{display:none}
.fs-msgs:empty{display:none}
.fs-msgs{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.fs-msgs .start-error{margin:0}
.fs-banner{padding:12px 16px;border:1px solid var(--line-2);border-radius:16px;background:rgba(28,22,13,.72);color:#E6D9B8;font:500 13px/1.45 var(--text)}
#copyDiagBtn{height:44px;font-size:13px}
#diagText{background:var(--field);color:var(--cream-2);border:1px solid var(--line);border-radius:12px;padding:10px}
/* the code box: help line (app-written), its error state, and the existing buy-a-pass box */
.fs-code{text-transform:uppercase}
.unlock-help.error{color:var(--signal)}
.fs-app .buy-pass{padding:14px 16px;border:1px solid var(--line-2);border-radius:16px;background:rgba(28,22,13,.72)}
.fs-app .buy-pass-text{margin:0 0 10px;font:600 13px/1.45 var(--text);color:var(--cream)}
.fs-app .buy-pass-links{display:flex;gap:10px;flex-wrap:wrap}
.fs-app .buy-btn{flex:1 1 140px;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:8px 14px;border-radius:999px;text-decoration:none;text-align:center;box-sizing:border-box;background:linear-gradient(180deg,#F6DE9A 0%,#D9AE52 38%,#B8892A 100%);color:var(--on-gold);font:700 14px/1.2 var(--text)}
.fs-app .buy-btn + .buy-btn{background:rgba(14,11,7,.6);border:1px solid var(--line-3);color:#E6D9B8}
.fs-app .buy-btn span{font:500 12px/1.2 var(--text);opacity:.85}
.fs-app .buy-pass-note{margin:10px 0 0;font:400 12px/1.45 var(--text);color:var(--cream-3)}
/* textareas: focus ring follows the demo's focused hairline */
.fs-field:focus,.fs-ta:focus{border-color:rgba(212,168,75,.5)}
.fs-ta:focus{border-color:var(--line-3)}
.fs-chiprow .file-name{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fs-prep.locked{opacity:.55;pointer-events:none}
/* Ready: cards are the buttons for the real radios; locked = Essential pass (same .62 as before) */
.fs-card[aria-disabled="true"]{opacity:.62;cursor:not-allowed}
.fs-pressure.locked{opacity:.62}
.fs-switch{position:relative;display:block;width:46px;height:28px;flex:none}
.fs-switch input{position:absolute;inset:-8px;width:62px;height:44px;margin:0;opacity:0;cursor:pointer;z-index:2}
.fs-switch input:disabled{cursor:not-allowed}
.fs-switch .fs-track{position:absolute;inset:0;border-radius:999px;border:1px solid rgba(212,168,75,.4);background:#0F0C08;box-sizing:border-box}
.fs-switch .fs-knob{position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:50%;background:var(--cream-3);display:block;transition:left .2s ease,background .2s ease}
.fs-switch input:checked ~ .fs-track{border-color:var(--gold)}
.fs-switch input:checked ~ .fs-knob{left:22px;background:var(--gold)}
.fs-switch input:focus-visible ~ .fs-track{outline:2px solid var(--gold-bright);outline-offset:2px}
.fs-pro{text-transform:uppercase}
#proLock{margin-top:10px;padding:10px 14px;border:1px dashed rgba(212,168,75,.45);border-radius:12px;font:400 12px/1.45 var(--text);color:var(--cream-2)}
#proLock a{color:var(--gold-bright);font-weight:700}
.fs-report{margin-top:10px;display:flex;flex-direction:column;align-items:center;gap:4px}
/* fix 4 (coach-led build), Black only (html.fs-black, set by black-coach.js for a Black code): the report is a plain text link */
.fs-report .fs-btn.fs-quiet{width:100%;height:44px}
html.fs-black .fs-report .fs-btn.fs-quiet{width:auto;height:44px;padding:0 6px;background:none;border:0;box-shadow:none;color:var(--cream-2);font:600 13px/1.2 var(--text);display:inline-flex;align-items:center;gap:8px}
html.fs-black .fs-report .fs-btn.fs-quiet u{text-underline-offset:3px}
html.fs-black .fs-report .fs-btn.fs-quiet .fs-pro{font-size:10px;letter-spacing:.08em;color:var(--gold)}
.fs-btn.fs-quiet.locked{opacity:.75}
.pro-msg.error{color:var(--signal)}
/* the consent box keeps the live markup (#aiNotice, its <strong>, links and .reassure line) */
.fs-consent .ai-notice{margin:0;font:400 13px/1.5 var(--text);color:#E6D9B8}
.fs-consent .ai-notice strong{color:#F4EAD2}
.fs-consent .ai-notice a{color:var(--gold)}
.fs-consent .ai-notice .reassure{display:block;margin-top:8px;font-size:12px;color:var(--cream-2)}
.fs-nexthint .hint{margin:12px 2px 0;font:400 12px/1.45 var(--text);color:var(--cream-3)}
.fs-ready .status-row .fs-status{flex:none}
.fs-btn:disabled{opacity:.4;cursor:not-allowed}
/* Seat: states the app has besides the demo's three (connecting / processing / reconnecting) */
.fs-seat{height:100vh;height:100svh;min-height:640px;padding:54px 24px calc(30px + env(safe-area-inset-bottom,0px))}
.fs-seat.fs-ph-wait .fs-tick{opacity:.5}
.fs-seat.fs-ph-lost .fs-tick{opacity:.3}
.fs-seat.fs-ph-lost .fs-core{animation:none;filter:grayscale(1) brightness(.75)}
.fs-seat.fs-ph-lost .fs-bezel{animation-play-state:paused;opacity:.5}
.fs-seat.fs-ph-lost .fs-dot,.fs-seat.fs-ph-done .fs-dot{animation:none}
.fs-seat.fs-paused .fs-tick{animation:none !important}
.fs-seat.fs-paused .fs-stage{animation:none !important}
.fs-question:empty{min-height:63px}
.fs-transcript{max-height:52svh;overflow-y:auto;display:flex;flex-direction:column;gap:12px;-webkit-overflow-scrolling:touch}
.fs-transcript .line{font:400 14px/1.5 var(--text);color:var(--cream-2)}
.fs-transcript .line .who{font:600 10px/1 var(--text);letter-spacing:.2em;text-transform:uppercase;color:var(--gold);display:block;margin-bottom:4px}
.fs-transcript .line.user .who{color:var(--cream)}
.fs-sheet{z-index:5}
.fs-sheet:not(.fs-open){border-top-color:transparent}  /* launch-blockers #5: the closed sheet's top border showed as a gold line under the buttons */
.fs-sheet .fs-btn.fs-quiet{min-width:44px}
.fs-after-tag{margin:14px 0 0;text-align:center;font:600 11px/1.8 var(--text);letter-spacing:.22em;text-transform:uppercase;color:var(--cream-2)}
.fs-summary .fs-v{overflow-wrap:anywhere}
/* the existing scorecard view: the pre-redesign page frame around the unchanged panel */
.fs-cardview{padding:0;background:#0A0907}
.fs-cardbar{position:relative;z-index:2;display:flex;align-items:center;padding:16px 20px 0}
.fs-cardview .fs-legacy-body{min-height:0;padding-top:12px}
/* the clock label prints uppercase like the demo; a heading focused by the screen change shows no ring */
.fs-clocklabel{text-transform:uppercase}
.fs-app [tabindex="-1"]:focus{outline:none}
/* pro.js rewrites #tierPill's className, so the pill is styled by id (same look as .fs-pill) */
#tierPill{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid rgba(212,168,75,.45);border-radius:999px;font:600 10px/1 var(--text);letter-spacing:.16em;text-transform:uppercase;color:#E6D9B8;background:none}
#tierPill[hidden]{display:none}
/* the desk line, its glow and the reflection sit with the stage, so a 3-line question pushes them down instead of cutting the caption
   (offsets = the demo's page positions minus the stage top at a 2-line question, 213.4px) */
.fs-stagewrap{position:relative}
.fs-seat .fs-stagewrap .fs-deskline{left:-24px;right:-24px;top:450.6px}
.fs-seat .fs-stagewrap .fs-deskglow{left:-24px;right:-24px;top:451.6px;height:179px}
.fs-seat .fs-stagewrap .fs-reflect{left:50%;margin-left:-85px;top:400.6px}
/* the end banner + Copy diagnostics sit above the card in the card view */
.fs-cardview > .fs-msgs{margin:12px 0 0}
.fs-msgs:empty{display:none}
/* short phones (e.g. 375 x 667): the halo stage draws at 80% and the top padding tightens so End interview stays on screen
   without scrolling. Taller screens are exactly the demo. */
@media (max-height:720px){.fs-seat{padding-top:30px}.fs-seat .fs-stagewrap{zoom:.8}}
/* a screen you are not on is no taller than the viewport, so it cannot stretch the page or be scrolled to: the existing
   scorecard scrolls its card into view ~450 ms after it renders, and that used to scroll the whole app (After clipped at the top) */
.fs-screen:not(.fs-on){max-height:100vh;max-height:100svh}
/* the card view takes no room at all until you open it. The existing scorecard un-clips and scrolls to its own card
   ~450 ms after it renders (pickaxe-scorecard.js, unchanged); with the card view out of layout that has nothing to move. */
.fs-cardview:not(.fs-on){display:none}

/* hotfix-ios-v1 (Oct 19, Stephan t1048u): iPhone Safari bottom toolbar + keyboard. Heights: 100vh fallback, then the small
   viewport (toolbar shown). Bottom padding: the safe area + 24px + whatever the toolbar/keyboard covers (--fs-cover, set by
   final-seat-ui.js from visualViewport). --fs-sab is a test hook only (env() can't be emulated in tests). The app wrapper
   clips sideways without becoming a scroll box, so the page itself scrolls to every bottom button. */
.fs-app{overflow-x:hidden;overflow-x:clip}
.fs-screen{min-height:100vh;min-height:100svh;padding-bottom:max(calc(26px + var(--fs-sab,env(safe-area-inset-bottom,0px))),calc(var(--fs-sab,env(safe-area-inset-bottom,0px)) + 24px + var(--fs-cover,0px)))}
.fs-seat{height:auto;min-height:max(640px,100vh);min-height:max(640px,100svh);padding-bottom:max(calc(30px + var(--fs-sab,env(safe-area-inset-bottom,0px))),calc(var(--fs-sab,env(safe-area-inset-bottom,0px)) + 24px + var(--fs-cover,0px)))}
.fs-screen:not(.fs-on){max-height:100vh;max-height:100svh}
/* Door: smaller title on short screens or while the keyboard is open, so the code field stays above it */
@media (max-height:700px){.fs-door .fs-hero{font-size:44px;margin-top:20px !important}}
html.fs-short .fs-door .fs-hero,html.fs-kb .fs-door .fs-hero{font-size:34px;margin-top:8px !important}

/* hotfix-ios-v2 (Oct 19, Stephan t1052u): Safari's floating toolbar covers whatever sits at the bottom of the screen, and
   iOS does not report it as covered, so padding to it can't work. No screen is full height any more and no spacer pushes
   the buttons down: every bottom button sits in normal page flow right under the last content, with the page's own bottom
   space (96px + safe area, taller than the bar) below it, so even a page exactly one screen tall scrolls it above the bar. The app wrapper keeps the room colour
   to the bottom of the screen. */
.fs-screen{min-height:0;padding-bottom:max(calc(96px + var(--fs-sab,env(safe-area-inset-bottom,0px))),calc(var(--fs-sab,env(safe-area-inset-bottom,0px)) + 24px + var(--fs-cover,0px)))}
.fs-seat{height:auto;min-height:0;padding-bottom:max(calc(96px + var(--fs-sab,env(safe-area-inset-bottom,0px))),calc(var(--fs-sab,env(safe-area-inset-bottom,0px)) + 24px + var(--fs-cover,0px)))}
.fs-content{flex:0 0 auto}

/* hotfix-ios-v3 (Oct 19, Stephan t1059u): the interview screen fits one screen with Safari's bar, no scrolling and nothing pinned.
   The welcome part of the opener is a small line above the question (same words, display only); a long question steps down
   from 26px to 22px (over 70 characters) or 19px (over 110). The question block and stage sit tighter. */
.fs-qlead{margin:0;text-align:center;font:400 14px/1.45 var(--text);color:var(--cream-2);text-wrap:balance}
.fs-qlead[hidden]{display:none}
.fs-question[data-len="l"]{font-size:22px}
.fs-question[data-len="xl"]{font-size:19px;line-height:1.25}
/* the seat's question block and stage sit tighter on phones up to 900 px tall, more on short ones (the stage is drawn smaller) */
@media (max-height:900px){.fs-seat .fs-content>.fs-r2{margin-top:18px !important;gap:10px !important}.fs-seat .fs-stagewrap{zoom:.8;margin-top:8px !important}.fs-seat .fs-caption{min-height:0;margin-top:10px}}
@media (max-height:720px){.fs-seat{padding-top:16px}.fs-seat .fs-content>.fs-r2{margin-top:10px !important}.fs-seat .fs-caption{margin-top:6px}.fs-seat .fs-gap{height:12px !important}.fs-seat .fs-stagewrap{zoom:.62}.fs-seat .fs-qlead{font-size:13px}}
