:root{--black:#050505;--white:#f2eee9;--grey:#958c84;--red:#f03a43;--line:#3b3531;--code:'Courier Prime','Courier New',monospace}*{box-sizing:border-box}html,body{margin:0;background:var(--black);color:var(--white);font-family:var(--code);font-size:16px}body{min-height:100vh}.readout{position:fixed;z-index:10;top:0;right:0;display:flex;gap:22px;padding:16px 21px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:#050505e8;color:var(--grey);font-size:11px;letter-spacing:.08em}.readout strong{color:var(--red);font-weight:400}.warning,.quiz{min-height:100svh;padding:25px 5vw 35px}.warning{display:flex;flex-direction:column;justify-content:space-between;border-bottom:1px solid var(--line)}.warning-top,.quiz-header,.report-top{display:flex;justify-content:space-between;color:var(--grey);font-size:11px;letter-spacing:.08em}.warning-top span:first-child,.quiz-kicker{color:var(--red)}.terminal{max-width:800px;margin:auto 0;white-space:pre-wrap;font-size:clamp(1.25rem,2.5vw,2.5rem);line-height:1.35}.terminal .red{color:var(--red);font-weight:700}.terminal .dim{color:var(--grey);font-size:.52em;line-height:1.7}.terminal .cursor{display:inline-block;width:.62em;height:1em;background:var(--red);vertical-align:-.12em;animation:blink 1s steps(2) infinite}@keyframes blink{50%{opacity:0}}button{font-family:inherit;cursor:pointer}.enter,.next{align-self:flex-start;border:0;background:var(--red);color:var(--black);padding:16px 20px;font:700 13px var(--code);letter-spacing:.04em}.enter:hover,.next:hover{background:var(--white)}.quiz{border-bottom:1px solid var(--line)}.quiz-body{max-width:850px;margin:18vh auto 0}.quiz-kicker{margin:0 0 30px;font-size:11px;letter-spacing:.14em}.quiz h1{max-width:900px;margin:0 0 22px;font-size:clamp(2.7rem,7vw,7rem);line-height:.94;letter-spacing:-.06em;font-weight:400}.question-prompt{max-width:650px;color:var(--grey);font-size:clamp(1rem,1.7vw,1.35rem);line-height:1.45}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-width:690px;margin:48px 0 34px}.answer-grid button{border:1px solid var(--line);background:none;color:var(--grey);padding:18px;text-align:left;font-size:15px}.answer-grid button:hover,.answer-grid button.selected{border-color:var(--red);background:#3c0e12;color:var(--white)}.range{max-width:690px;margin:52px 0 34px}.range input{appearance:none;width:100%;height:1px;background:var(--line)}.range input::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:var(--red)}.range output{display:block;margin-top:18px;color:var(--white);font-size:14px}.next[disabled]{opacity:.25;cursor:not-allowed}.result{position:fixed;z-index:20;inset:0;overflow:auto;background:#050505f5;padding:28px 5vw}.report{min-height:100%;display:grid;place-items:center}.report{width:min(900px,100%);margin:auto;border:1px solid var(--red);background:#14090a}.report-top{padding:16px 20px;border-bottom:1px solid var(--red);color:var(--red)}.report-main{padding:clamp(30px,7vw,78px)}.report-main h1{max-width:740px;margin:0 0 50px;font-size:clamp(2.5rem,6vw,6rem);line-height:.95;font-weight:400}.score-row{display:flex;align-items:baseline;gap:14px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--grey);font-size:11px}.score-row strong{color:var(--red);font-size:clamp(4rem,10vw,8rem);font-weight:400;line-height:1}.report-copy{max-width:640px;color:var(--grey);font-size:12px;line-height:1.55}.report-lines{display:grid;gap:10px;margin:35px 0;color:var(--white);font-size:13px}.report-lines div{display:flex;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid var(--line)}.report-lines span:last-child{color:var(--red)}.report-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:35px}.plain{border:0;background:none;color:var(--grey);font:11px var(--code);text-decoration:underline;text-underline-offset:4px}.status{min-height:20px;color:var(--red);font-size:12px}.hidden{display:none!important}@media(max-width:650px){.readout{font-size:9px;padding:13px 14px}.readout span{display:none}.warning,.quiz{padding:20px 18px 26px}.warning-top,.quiz-header,.report-top{font-size:9px}.terminal{font-size:1.25rem}.quiz-body{margin-top:25vh}.quiz h1{font-size:clamp(2.7rem,13vw,5rem)}.answer-grid{grid-template-columns:1fr;margin-top:34px}.report{margin:35px 0}.report-main{padding:28px 20px}.report-lines div{display:block}.report-lines span{display:block}.report-lines span:last-child{margin-top:7px}}
.landing-page{height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}.landing-page main{height:100%;overflow:hidden}.landing-page .warning{height:100%;min-height:0;overflow:hidden}.landing-page .warning-stage{min-height:0}[hidden]{display:none!important}
.warning{text-align:center}.warning-top{width:100%;text-align:left}.warning .terminal{width:100%;max-width:none;margin:auto;text-align:center}.warning .enter{align-self:center}.warning.phase-two .terminal{max-width:980px}.warning.phase-two .terminal:first-line{color:var(--red);font-weight:700}
.warning .terminal{max-width:680px;font-size:clamp(1rem,1.5vw,1.4rem);line-height:1.5}.warning.phase-two .terminal{max-width:760px}.warning.phase-two .terminal:first-letter{color:var(--red)}
.market-banner{display:flex;gap:34px;overflow:hidden;margin:28px -5vw 0;padding:11px 5vw;border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap;color:var(--grey);font-size:10px;letter-spacing:.08em}.market-banner span{display:inline-flex;gap:8px}.market-banner b{color:var(--white);font-weight:400}.market-banner .alert{color:var(--red)}
.flash-warning{color:var(--red);font-weight:700;letter-spacing:.08em}
.warning-stage{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}.warning .terminal{margin:0 0 18px}.warning .enter{align-self:center;border:1px solid var(--red);background:transparent;color:var(--red);padding:11px 16px;font-size:11px}.warning .enter:hover{background:var(--red);color:var(--black)}
.warning .enter{display:inline-flex;align-items:center;gap:8px}.warning .enter .cli-prompt{color:var(--red)}.button-cursor{display:inline-block;width:.55em;height:1em;background:var(--red);vertical-align:-.15em;animation:blink 1s steps(2) infinite}
.cli-prompt{animation:blink 1s steps(2) infinite}.warning .terminal .cursor{animation:blink 1s steps(2) infinite}
.assessment-progress{display:flex;align-items:center;gap:14px;margin:18px 0 0;color:var(--grey);font-size:10px;letter-spacing:.08em}.progress-track{height:3px;flex:1;background:var(--line);overflow:hidden}.progress-track>div{width:14.28%;height:100%;background:var(--red);transition:width .3s ease}
.back-cli{position:fixed;z-index:12;top:18px;left:5vw;border:0;border-bottom:1px solid var(--line);padding:7px 0;background:none;color:var(--grey);font:11px var(--code);letter-spacing:.08em}.back-cli:hover{color:var(--white);border-color:var(--red)}.back-cli .cli-prompt{color:var(--red);animation:blink 1s steps(2) infinite}
.survey-page .quiz{padding-top:72px}.survey-page .quiz-header{padding-top:4px}
.survey-page .quiz-body{width:min(760px,100%);margin:clamp(40px,10vh,100px) auto 0}.survey-page .quiz-kicker{font-size:11px;margin-bottom:24px}.survey-page .quiz h1{font-size:clamp(18px,2.4vw,28px);line-height:1.5;letter-spacing:0;margin-bottom:12px}.survey-page .quiz h1::before{content:'> ';color:var(--red)}.survey-page .question-prompt{font-size:15px;line-height:1.7;margin:0;max-width:680px}.survey-page .answer-grid{display:flex;flex-direction:column;gap:4px;margin:28px 0 24px;max-width:none}.survey-page .answer-grid button{position:relative;border:0;background:transparent;padding:12px 12px 12px 26px;font-size:15px;line-height:1.5}.survey-page .answer-grid button::before{content:' ';position:absolute;left:0;color:var(--red)}.survey-page .answer-grid button:hover,.survey-page .answer-grid button.selected{background:transparent;color:var(--white)}.survey-page .answer-grid button.selected::before{content:'>'}.survey-page .answer-grid button:focus-visible{outline:1px dashed var(--red);outline-offset:2px}.survey-page #nextQuestion{background:transparent;color:var(--red);padding:12px 0;font-size:13px}.survey-page #nextQuestion::before{content:'> '}.survey-page #nextQuestion::after{content:' ▋';animation:blink 1s steps(2) infinite}.survey-page #nextQuestion b{display:none}.terminal-number{width:70px;background:none;border:0;border-bottom:1px solid var(--red);color:var(--white);font:inherit;padding:8px}.survey-page #answerArea:has(.terminal-number){margin:28px 0}
@media(max-width:650px){.survey-page #backWarning{position:static;display:block;width:max-content;min-height:44px;margin:10px 0 0;padding:12px 0}.survey-page .quiz{padding-top:20px}.survey-page .quiz-body{margin-top:10vh}.survey-page .quiz .market-banner{margin-top:16px}.survey-page .quiz-body h1{margin-top:14px}.survey-page .question-controls .back-question,.survey-page .question-controls #nextQuestion{min-height:44px;border:1px solid #f2f2f21f;padding:10px 12px}}
.market-banner{flex-wrap:wrap;justify-content:space-between;background:#0a0a0a}.market-banner span{flex:none}.market-banner .alert{animation:blink 1.4s steps(2) infinite}@media(max-width:650px){.market-banner{justify-content:flex-start;gap:9px 18px;padding:10px 18px;font-size:9px}.market-banner span{min-width:calc(50% - 9px)}}
.survey-page .market-banner{position:sticky;top:0;z-index:4}
.ticker-track{display:flex;align-items:center;width:max-content;min-width:max-content;animation:ticker 34s linear infinite;will-change:transform;backface-visibility:hidden}.ticker-sequence{display:inline-flex;align-items:center;gap:18px;flex:none;padding-right:18px}.ticker-track span{min-width:0!important;color:var(--grey)}.ticker-track b{color:var(--white);font-weight:400}.ticker-track .alert{color:var(--red)}@keyframes ticker{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--ticker-offset,-50%),0,0)}}@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}
.date-counter{display:flex;align-items:center;gap:24px;margin:28px 0}.date-counter button{width:52px;height:52px;border:1px solid var(--line);background:transparent;color:var(--white);font:24px var(--code);touch-action:manipulation}.date-counter button:hover,.date-counter button:active{border-color:var(--red);color:var(--red)}.date-counter button:disabled{opacity:.25;cursor:default}.date-counter output{min-width:110px;text-align:center;font-size:20px}.date-counter button:focus-visible{outline:2px solid var(--red);outline-offset:4px}
@keyframes transmission-beep{0%{opacity:0}16.6667%{opacity:1}33.3333%{opacity:0}50%{opacity:1}66.6667%{opacity:0}83.3333%{opacity:1}100%{opacity:1}}
.warning-top span:first-child{color:var(--grey)}
.warning-stage .transmission-status{width:min(680px,100%);margin:0 0 18px;color:var(--red);font-size:clamp(1rem,1.5vw,1.4rem);line-height:1.5;letter-spacing:.08em;text-align:center}
.warning-stage .transmission-status.is-connecting{position:fixed;z-index:15;top:50%;left:50%;width:min(680px,calc(100vw - 32px));margin:0;transform:translate(-50%,-50%);animation:transmission-beep 2.4s steps(1,end) 1 forwards}
@media(max-width:650px){.warning-stage .transmission-status{font-size:1.25rem}}
@media(prefers-reduced-motion:reduce){.warning-stage .transmission-status.is-connecting{animation:none;opacity:1}}
.warning.long-copy .terminal{max-width:760px;text-align:left;font-size:clamp(.9rem,1.3vw,1.1rem);line-height:1.55}
@media(max-width:650px){.warning.long-copy .terminal{font-size:clamp(.84rem,3.8vw,1rem);line-height:1.45}}
.result{position:fixed;z-index:20;inset:0;overflow:auto;background:var(--black);padding:72px 5vw 48px}.report{display:block;width:min(820px,100%);min-height:0;margin:clamp(40px,9vh,88px) 0 0;border:0;background:transparent}.report-top{display:none}.report-main{padding:0}.report-command,.report-kicker{margin:0;color:var(--grey);font-size:14px;line-height:1.7;text-transform:lowercase}.report-command{margin-bottom:24px;color:var(--white)}.report-kicker{margin-bottom:4px}.report-kicker::first-letter{color:var(--red)}.report-main h1{max-width:none;margin:0 0 22px;font-size:clamp(18px,2vw,22px);line-height:1.6;letter-spacing:0;text-transform:lowercase}.report-main h1::before{content:"> ";color:var(--red)}.score-row{gap:9px;padding:0;border:0;font-size:14px;text-transform:lowercase}.score-row strong{font-size:inherit;color:var(--white);font-weight:700}.report-copy{max-width:760px;margin:22px 0;color:var(--grey);font-size:13px;line-height:1.7}.report-copy::before{content:"> note: ";color:var(--red)}.report-lines{display:grid;gap:5px;margin:22px 0;color:var(--white);font-size:13px;text-transform:lowercase}.report-lines div{position:relative;display:flex;justify-content:flex-start;gap:10px;padding:2px 0 2px 18px;border:0;line-height:1.7}.report-lines div::before{position:absolute;left:0;color:var(--red);content:">"}.report-lines span:first-child{color:var(--white)}.report-lines span:last-child{margin:0;color:var(--grey)}.report-actions{margin-top:18px}.report-action{border:0;background:transparent;padding:8px 0;color:var(--red);font:400 14px var(--code);text-align:left;text-transform:lowercase}.report-action::after{content:" ▋";animation:blink 1s steps(2) infinite}.report-action:hover{color:var(--white)}.report-action:focus-visible{outline:1px dashed var(--red);outline-offset:6px}.report-action:disabled{color:var(--grey)}.status{min-height:20px;color:var(--grey);font-size:12px;text-transform:lowercase}
@media(max-width:650px){.result{padding:58px 20px 32px}.report{margin-top:clamp(36px,8vh,70px)}.report-main h1{font-size:18px}.report-copy,.report-lines{font-size:12px}}

/* Mobile-first connection report. */
.report-page{--report-bg:#0a0a0a;--report-white:#f2f2f2;--report-gray:#9b9b9b;--report-dim:#8a8a8a;--report-critical:#ff5c5c;--report-risk:#e8b04a;--report-steady:#ffffff;--report-thriving:#5fd38d;--report-empty:#3a3a3a;--report-border:#2a2a2a;min-height:100svh;background:var(--report-bg);color:var(--report-white);font-family:'Courier Prime','Courier New',monospace}
.report-page .result{position:relative;z-index:auto;inset:auto;min-height:100svh;overflow:visible;padding:28px 20px 40px;background:var(--report-bg)}
.report-page .report{width:min(100%,440px);min-height:0;margin:0 auto;border:0;background:transparent}
.report-page .report-content{display:grid;gap:28px;width:100%}
.report-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;min-width:0}
.report-aside{display:contents}
.report-main-column{display:contents}
.report-page .report-box{border:1px solid var(--report-white);background:transparent}
.report-box-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;border-bottom:1px dashed var(--report-empty);color:var(--report-gray);font-size:12px;letter-spacing:2px}
.report-box-header h1,.report-page .report-main h2,.report-box h2{margin:0;font:400 12px/1.5 'Courier Prime','Courier New',monospace;letter-spacing:2px}
.report-box-header h1{color:var(--report-gray)}
.report-result{padding:14px}
.report-box h2{margin:0 0 9px;color:var(--report-gray)}
.overall-status{margin:0 0 7px;color:var(--report-white);font-size:32px;font-weight:700;line-height:1.1}
.status-summary{display:flex;flex-wrap:wrap;gap:0;margin:0;font-size:12px;line-height:1.6}
.tally-segment{font-weight:700}
.tally-segment--critical{color:var(--report-critical)}.tally-segment--at-risk{color:var(--report-risk)}.tally-segment--steady{color:var(--report-steady)}.tally-segment--thriving{color:var(--report-thriving)}
.tally-separator{color:var(--report-gray);white-space:pre}
.report-footnote{margin:12px 0 0;color:var(--report-gray);font-size:13px;line-height:1.5}
.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:12px}
.section-heading h2{margin:0;color:var(--report-white);font-size:15px;font-weight:700;letter-spacing:2px}
.section-heading span{color:var(--report-critical);font-size:12px}
.vitals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.vital-tile{display:flex;min-width:0;min-height:104px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px;border:1px solid var(--report-border);border-radius:0;background:transparent;color:var(--report-white);font:inherit;text-align:left;cursor:pointer}
.vital-tile:focus-visible,.detail-close:focus-visible,.send-button:focus-visible,.countdown-link:focus-visible{outline:2px solid var(--report-white);outline-offset:3px}
.vital-tile.is-selected{padding:11px;border:2px solid var(--report-white);background:#161616}
.vital-label{font-size:18px;font-weight:700;line-height:1.15;letter-spacing:-.08em;white-space:nowrap}
.vital-bar{display:block;font-family:'Courier Prime','Courier New',monospace;font-size:12px;letter-spacing:-.08em;line-height:1;white-space:nowrap}
.vital-bar-empty{color:var(--report-empty)}
.vital-bar--critical .vital-bar-filled{color:var(--report-critical)}.vital-bar--at-risk .vital-bar-filled{color:var(--report-risk)}.vital-bar--steady .vital-bar-filled{color:var(--report-steady)}.vital-bar--thriving .vital-bar-filled{color:var(--report-thriving)}
.vital-status{font-size:12px;font-weight:700;line-height:1.3}
.vital-status--critical{color:var(--report-critical)}.vital-status--at-risk{color:var(--report-risk)}.vital-status--steady{color:var(--report-steady)}.vital-status--thriving{color:var(--report-thriving)}
.vital-tile--context{border:1px dashed var(--report-empty)}.vital-bar--context .vital-bar-filled,.vital-status--context{color:var(--report-gray)}.vital-status--context{font-size:12px;font-weight:700}
.detail-panel-shell{display:grid;grid-template-rows:0fr;min-height:0;margin-top:0;opacity:0;pointer-events:none;transition:grid-template-rows 180ms ease,margin-top 180ms ease,opacity 180ms ease}
.detail-panel-shell.is-open{grid-template-rows:1fr;margin-top:0;opacity:1;pointer-events:auto}
.detail-panel{display:flex;flex-direction:column;gap:18px;min-height:0;overflow:hidden;padding:0 24px;border:1px solid transparent;background:#161616;transition:padding 180ms ease,border-color 180ms ease}
.detail-panel-shell.is-open .detail-panel{padding:24px;border-color:#f2f2f2}
.detail-header{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px}
.detail-title{display:flex;gap:8px;margin:0;color:#f2f2f2;font-size:18px;font-weight:700;line-height:1.5}
.detail-prompt{color:#ff5c5c}
/* Center Courier Prime's uppercase glyphs optically, not just their line box. */
.detail-tag{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:5px 8px 3px;color:#0a0a0a;font-size:12px;font-weight:700;line-height:1;letter-spacing:1px;text-transform:uppercase}
.detail-tag--critical{background:var(--report-critical)}.detail-tag--at-risk{background:var(--report-risk)}.detail-tag--steady{background:var(--report-steady)}.detail-tag--thriving{background:var(--report-thriving)}.detail-tag--context{background:#9b9b9b}
.detail-risk-bar{font-size:16px}
.detail-readout{display:grid;grid-template-columns:128px minmax(0,1fr);row-gap:16px;column-gap:16px;margin:0;padding:18px 0;border-top:1px dashed #3a3a3a;border-bottom:1px dashed #3a3a3a}
.detail-readout-label{margin:0;padding-top:3px;color:#9b9b9b;font-size:11px;letter-spacing:2px;text-transform:uppercase}
.detail-readout dd{min-width:0;margin:0;overflow-wrap:anywhere}
.detail-answer,.detail-finding{font-size:14px;line-height:1.5}
.detail-answer--critical{color:var(--report-critical)}.detail-answer--at-risk{color:var(--report-risk)}.detail-answer--steady{color:var(--report-steady)}.detail-answer--thriving{color:var(--report-thriving)}.detail-answer--context{color:#9b9b9b}
.detail-finding{color:#cfcfcf}
.detail-meaning{color:#f2f2f2;font-size:17px;font-weight:700;line-height:1.4}
.detail-footer{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.detail-source{flex:1;min-width:0;margin:0;color:#8a8a8a;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.detail-close{flex:0 0 auto;border:0;padding:4px 0;background:transparent;color:#ff5c5c;font:400 12px 'Courier Prime','Courier New',monospace;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:479.98px){
  .detail-readout{grid-template-columns:minmax(0,1fr);row-gap:6px}
  .detail-readout-label:not(:first-child){margin-top:10px}
}
.countdown-section{margin-top:-4px;border-top:1px solid var(--report-border);padding-top:24px;text-align:left}
.countdown-messages{display:grid;gap:4px;margin-bottom:14px}
.countdown-line{display:flex;gap:10px;margin:0;color:var(--report-white);font-size:17px;line-height:1.5}
.countdown-prompt{flex:0 0 auto;color:var(--report-critical)}
.countdown-time{display:flex;gap:10px;margin:0;color:var(--report-critical);font-size:22px;font-weight:700;line-height:1.3}
.countdown-arrival{display:grid;gap:8px}
.countdown-link{display:flex;width:max-content;max-width:100%;gap:10px;color:var(--report-white);font-size:15px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.countdown-link[aria-disabled="true"]{cursor:default;opacity:.7;text-decoration:none}
.send-button{width:100%;min-height:52px;border:0;border-radius:0;padding:12px;background:var(--report-critical);color:var(--report-bg);font:700 15px 'Courier Prime','Courier New',monospace;letter-spacing:1px;text-align:center;cursor:pointer}
.send-button:hover{background:#ff7777}
.share-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.report-page .report-footer{margin: -4px 0 0;padding:24px 0 0;border:0;color:var(--report-dim);font-size:12px;line-height:1.5;letter-spacing:0}
@media(prefers-reduced-motion:reduce){.detail-panel-shell,.detail-panel{transition:none}}

@media(min-width:900px){
  .report-page .result{padding:44px 32px 64px}
  .report-page .report{width:min(100%,1080px)}
  .report-page .report-content{grid-template-columns:minmax(0,1fr);align-items:start;row-gap:28px}
  .report-layout{grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr);align-items:start;column-gap:28px;row-gap:18px}
  .report-box{grid-column:1;grid-row:1}
  .report-main-column{display:grid;grid-column:1;grid-row:1;gap:28px;min-width:0}
  .report-aside{display:block;grid-column:2;grid-row:1;min-width:0;padding-top:var(--detail-heading-height,30px)}
  .report-aside .detail-panel:focus-visible{outline:2px solid var(--report-critical);outline-offset:-4px}
  .vitals-section{grid-column:1;grid-row:1}
  .detail-panel-shell{margin-top:0!important}
  .detail-close{display:none}
  .send-button,.share-status,.report-page .report-footer{grid-column:1 / -1}
  .vitals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .vital-tile{min-height:120px;padding:16px}
  .vital-tile.is-selected{padding:15px}
  .report-result{padding:18px}
  .report-box-header{padding:16px 18px}
}

@media(max-width:899px){
  .report-layout{grid-template-columns:minmax(0,1fr);}
  .vitals-section{order:1}
  .report-aside{display:contents}
  .detail-panel-shell{order:2}
  .countdown-section{order:3}
}
.warning.long-copy .terminal{width:min(900px,100%);max-width:900px;height:min(68vh,860px);max-height:min(68vh,860px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;text-align:left;font-size:clamp(.9rem,1.15vw,1.05rem);line-height:1.55}
.warning.long-copy .terminal::before,.warning.long-copy .terminal::after{content:"";display:block;height:50%;pointer-events:none}
.warning.long-copy .terminal::-webkit-scrollbar{display:none;width:0}
.warning.long-copy .cli-message{display:grid;grid-template-columns:1.2em minmax(0,1fr);gap:.4em;margin:0 0 .7em}
.warning.long-copy.has-message-focus .cli-message{opacity:.3;transition:opacity .25s ease}.warning.long-copy.has-message-focus .cli-message.is-focused{opacity:1}
.warning.long-copy .cli-message--indent{width:calc(100% - 1.6em);margin-left:1.6em}
.warning.long-copy .cli-prompt{color:var(--red);font-weight:700}
.warning.long-copy .cli-prompt{animation:none}
.warning.long-copy .cli-output{min-width:0}
.warning.long-copy .cli-output .red{color:var(--red);font-weight:700}
.warning.long-copy .terminal{transition:opacity .32s ease}.warning.long-copy .terminal.is-loop-resetting{opacity:0}
@media(prefers-reduced-motion:reduce){.warning.long-copy .terminal{transition:none}}
@media(max-width:650px){.warning.long-copy .terminal{max-height:62vh;font-size:clamp(.84rem,3.8vw,1rem);line-height:1.45}.warning.long-copy .cli-message{grid-template-columns:1.2em minmax(0,1fr);gap:.25em;margin-bottom:.6em}.warning.long-copy .cli-message--indent{width:calc(100% - 1.2em);margin-left:1.2em}}
.warning .enter:hover .cli-prompt{color:var(--white)}
@media(max-width:650px){.readout{display:none}.warning{padding:4px 16px 10px}.warning-top{font-size:8px;line-height:1}.warning.long-copy .terminal{height:min(62vh,calc(100dvh - 190px));max-height:min(62vh,calc(100dvh - 190px));font-size:clamp(.84rem,3.8vw,1rem);line-height:1.45}.warning.long-copy .cli-message{margin-bottom:.35em}.warning-stage .transmission-status{margin-bottom:10px;font-size:1rem}}
@media(max-width:650px){
  .landing-page .warning{position:relative}
  .landing-page .warning-stage{justify-content:flex-start;padding-top:0}
  .landing-page .warning.long-copy .terminal{position:absolute;top:50%;left:16px;right:16px;width:auto;transform:translateY(-50%)}
  .landing-page .warning .enter{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);white-space:nowrap}
}
.survey-page .question-intro{margin:0 0 10px;color:var(--grey);font-size:13px;line-height:1.7}
.survey-page .question-controls{display:flex;align-items:center;gap:28px;margin-top:10px}
.survey-page .back-question{border:0;background:transparent;color:var(--grey);padding:12px 0;font:13px var(--code);text-align:left}
.survey-page .back-question:hover{color:var(--white)}
.survey-page .question-cursor{display:inline-block;width:clamp(.558rem,.713vw,.651rem);height:1.08em;margin-left:.12em;background:var(--red);vertical-align:-.2em;animation:blink 1s steps(2) infinite}
@media(max-width:650px){.survey-page .question-cursor{width:clamp(.5208rem,2.356vw,.62rem)}}
.survey-page .quiz h1::before{content:none}
.survey-page .question-title-line{display:grid;grid-template-columns:1.2em minmax(0,1fr);gap:.4em;align-items:start}
.survey-page .question-title-line+.question-title-line{margin-top:.35em}
.survey-page .question-title-prompt{color:var(--red)}
.survey-page .question-title-output{min-width:0}
.survey-page .question-title-highlight{color:var(--red);font-weight:700}
.survey-page #nextQuestion::after{content:none;animation:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(any-pointer:coarse){
  .survey-page .range input{display:block;width:calc(100% - 24px);height:48px;margin:0 12px;padding:0;background:transparent;touch-action:none;user-select:none;-webkit-user-select:none}
  .survey-page .range input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:var(--line)}
  .survey-page .range input::-webkit-slider-thumb{width:32px;height:32px;margin-top:-14px;border:0;background:var(--red);box-shadow:0 0 0 6px #f03a4320}
  .survey-page .range input::-moz-range-track{height:4px;border-radius:2px;background:var(--line)}
  .survey-page .range input::-moz-range-thumb{width:32px;height:32px;border:0;border-radius:50%;background:var(--red);box-shadow:0 0 0 6px #f03a4320}
  .survey-page .range output{margin-top:8px}
}

.survey-page .analysis{min-height:100svh;padding:25px 5vw 35px;border-bottom:1px solid var(--line)}
.survey-page .analysis-body{width:min(760px,100%);margin:clamp(70px,18vh,180px) auto 0}
.analysis-label{margin:0 0 28px;color:var(--red);font-size:11px;font-weight:700;letter-spacing:.14em}
.analysis h1{max-width:740px;margin:0 0 30px;font-size:clamp(24px,4vw,42px);font-weight:400;line-height:1.2}
.analysis-readout,.analysis-stage{color:var(--grey);font-size:14px;line-height:1.7}
.analysis-readout{margin:0 0 24px;color:var(--white)}
.analysis-ellipsis{color:var(--red);animation:blink 1s steps(2) infinite}
.analysis-graphic{display:flex;align-items:center;width:max-content;max-width:100%;margin:0;color:var(--grey);font-size:14px;letter-spacing:.04em;white-space:nowrap}
.analysis-graphic #analysisFilledBlocks{color:var(--red)}
.analysis-graphic #analysisEmptyBlocks{color:var(--line)}
.analysis-graphic #analysisPercent{margin-left:8px;color:var(--white)}
.analysis-stage{margin-top:28px}
@media(max-width:700px){
  .survey-page .analysis{padding:20px 18px 26px}
  .survey-page .analysis-body{margin-top:clamp(90px,22vh,180px)}
  .analysis-label{font-size:10px}
  .analysis h1{font-size:clamp(24px,8vw,36px)}
  .analysis-readout,.analysis-stage,.analysis-graphic{font-size:12px}
}

.gate-page .gate-keyword,.gate-page .gate-line{color:var(--red)}.gate-page .gate-line{text-decoration:underline;text-underline-offset:4px}.gate-page .gate-form{margin-top:28px}.gate-page .gate-code{width:10ch;max-width:100%;min-height:44px;letter-spacing:.12em;font-size:16px;line-height:1.4}.gate-page .cf-turnstile{margin-top:18px}

/* Shared phase tokens keep the intro, assessment, gate and report in sync. */
:root {
  --surface: #161616;
  --cursor-color: var(--red);
  --footer-height: 60px;
  --flip-duration: 400ms;
  --flip-easing: ease;
}
:root[data-phase="light"] {
  --black: #f5f3ee;
  --white: #171717;
  --grey: #625d57;
  --line: #c6c1b8;
  --surface: #ece8df;
  --cursor-color: #171717;
}
html, body {
  transition: background-color var(--flip-duration) var(--flip-easing), color var(--flip-duration) var(--flip-easing);
}
body { padding-bottom: var(--footer-height); }
.landing-page { padding-bottom: 0; }
.landing-page main { height: calc(100% - var(--footer-height)); }
.landing-page .warning-stage { position: relative; }
.terminal .cursor, .survey-page .question-cursor, .button-cursor { background: var(--cursor-color); }
.market-banner { background: var(--black); }
:root[data-phase="light"] .ticker-track .alert { color: #1e7a46; animation: none; }
:root[data-phase="light"] .readout { background: var(--black); }
:root[data-phase="light"] .answer-grid button.selected { background: transparent; }
.warning.long-copy .cli-message--indent { margin-left: calc(var(--indent-level, 1) * 1.6em); width: calc(100% - var(--indent-level, 1) * 1.6em); }
.warning.long-copy .terminal { white-space: normal; }
.warning.long-copy .cli-output { white-space: pre-wrap; }
.warning.long-copy .rx-block { display: block; }
.rx-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rx-card {
  display: grid;
  grid-template-columns: 5ch minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  animation: rx-arrive 180ms ease both;
}
.rx-label { color: var(--red); font-weight: 700; white-space: nowrap; }
@keyframes rx-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.flip-flash, .flip-flash body { background: #fff !important; transition: none !important; }
.sources-link {
  display: inline;
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: var(--grey);
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sources-tab { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--white); text-decoration: none; letter-spacing: .08em; }
.warning-top { flex-wrap: wrap; align-items: center; gap: 12px; }
.transmission-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; margin-left: auto; }
.header-diagnostic { display: none; align-items: center; justify-content: center; gap: 8px; border-color: var(--red); color: var(--red); font: 700 11px var(--code); letter-spacing: .04em; text-transform: uppercase; }
:root[data-phase="light"] .header-diagnostic { display: inline-flex; }
.warning-top .header-diagnostic .cli-prompt { color: inherit; }
.header-diagnostic:hover { background: var(--red); color: var(--black); }
.sources-link:focus-visible, .site-footer a:focus-visible, .sources-close:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sources-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 64px);
  padding: 24px;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  font: 14px/1.6 var(--code);
}
.sources-dialog::backdrop { background: #0009; }
.sources-dialog header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sources-dialog h2 { font-size: 16px; letter-spacing: 2px; }
.sources-dialog ul { margin: 0; padding-left: 20px; }
.sources-dialog li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.sources-dialog a { color: var(--white); overflow-wrap: anywhere; }
.sources-dialog p { margin: 8px 0 0; color: var(--grey); font-size: 12px; }
.sources-close { min-height: 44px; border: 0; background: transparent; color: var(--red); font: inherit; text-decoration: underline; }
.site-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: block;
  min-height: var(--footer-height);
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--grey);
  font: 14px/1.5 var(--code);
  text-align: center;
}
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.report-prognosis { margin: 12px 0 0; color: var(--report-thriving); font-size: 14px; font-weight: 700; line-height: 1.5; }
.warning.long-copy .cli-message--payoff { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
.warning.long-copy .transmission-control { display: block; padding-left: 1.6em; }
.warning .skip-good-part { min-height: 44px; border-color: var(--white); border-radius: 0; background: transparent; color: var(--white); text-transform: uppercase; }
.warning .skip-good-part .cli-prompt { color: currentColor; }
.warning .skip-good-part .button-cursor { background: var(--grey); }
.warning .skip-good-part:hover { background: var(--white); color: var(--black); }
.warning .skip-good-part:hover .cli-prompt { color: currentColor; }
.skip-good-part:focus-visible, #enterQuiz:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
:root[data-phase="final"] {
  --black: var(--final-background,#C91515);
  --white: #fff;
  --grey: var(--white);
  --line: var(--white);
  --surface: var(--black);
  --cursor-color: var(--white);
}
html[data-phase="final"], html[data-phase="final"] body {
  transition: background-color var(--final-duration,500ms) var(--final-easing,ease-in-out), color var(--final-duration,500ms) var(--final-easing,ease-in-out);
}
.final-transition .landing-page main { opacity: 0; pointer-events: none; transition: opacity var(--final-duration,500ms) var(--final-easing,ease-in-out); }
.final-transition .warning-top, .final-transition .readout, .final-transition .market-banner, .final-transition #skipGoodPart { visibility: hidden; pointer-events: none; }
.final-transition .site-footer { opacity: 0; pointer-events: none; transition: opacity 250ms ease; }
.final-settled .site-footer { opacity: 1; pointer-events: auto; color: var(--white); background: var(--black); }
.final-settled .landing-page main { visibility: hidden; }
.final-stage { position: fixed; inset: 0; z-index: 20; color: var(--white); pointer-events: none; }
.final-center { position: absolute; top: 50%; left: 20px; right: 20px; transform: translateY(-50%); text-align: center; }
.final-stage .final-line { display: grid; grid-template-columns: 1.2em minmax(0,1fr); gap: .4em; width: max-content; max-width: 100%; margin: 0 auto; padding: 0; color: var(--white); font-size: clamp(.9rem,1.15vw,1.05rem); font-weight: 400; line-height: 1.55; text-align: left; }
.final-line .cli-prompt { color: var(--white); font-weight: 700; animation: none; }
.final-line .cli-output { display: inline-block; max-width: 100%; white-space: nowrap; transform-origin: center; }
.final-line .cursor { display: inline-block; width: .55em; height: 1em; margin-left: .12em; vertical-align: -.12em; background: var(--cursor-color); animation: blink 1s steps(2) infinite; }
.final-stage #enterQuiz { position: absolute; top: calc(100% + 28px); left: 50%; transform: translateX(-50%); display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: max-content; max-width: 100%; min-height: 44px; padding: 11px 16px; border: 1px solid var(--white); border-radius: 0; background: transparent; color: var(--white); font: 700 11px var(--code); letter-spacing: .04em; text-transform: uppercase; pointer-events: auto; }
.final-stage #enterQuiz .cli-prompt { color: inherit; }
.final-stage #enterQuiz .button-cursor { display: inline-block; background: var(--cursor-color); }
.final-stage #enterQuiz.is-visible { animation: final-cta-reveal 250ms ease both; }
.final-cta-only .final-stage #enterQuiz { top: 0; transform: translate(-50%,-50%); }
.final-stage #enterQuiz:hover { background: var(--white); color: var(--black); }
.final-stage #enterQuiz:focus-visible { outline: 3px solid var(--white); outline-offset: 5px; }
@keyframes final-cta-reveal { from { opacity: 0; } to { opacity: 1; } }
.final-instant, .final-instant body, .final-instant .landing-page main, .final-instant .site-footer { transition: none !important; }
.final-instant .final-stage #enterQuiz.is-visible { animation: none; }
@media (max-width:650px) { .final-stage .final-line { gap: .25em; font-size: clamp(.84rem,3.8vw,1rem); line-height: 1.45; } }
@media (prefers-reduced-motion:reduce) {
  html[data-phase="final"], html[data-phase="final"] body, .final-transition .landing-page main, .final-transition .site-footer { transition: none; }
  .final-stage #enterQuiz.is-visible { animation: none; }
}
.finding-paragraph { margin: 0; }
.finding-paragraph + .finding-paragraph { margin-top: 12px; }
.finding-citation { margin: 8px 0 0; color: var(--report-dim); font-size: 11px; line-height: 1.5; }
.part-section { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--report-white); min-width: 0; }
.part-heading { margin: 0; color: var(--report-white); font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; }
.part-intro { margin: 0; color: var(--report-white); font-size: 14px; line-height: 1.5; }
.part-category, .part-prompt { color: var(--report-critical); }
.part-action { display: flex; gap: 12px; margin: 8px 0; color: var(--report-white); font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.4; }
@media(max-width:899px) { .part-section { order: 3; } .countdown-section { order: 4; } }
.report-page { --report-panel: #161616; --report-tag-text: #0a0a0a; --report-body: #cfcfcf; }
.vital-tile.is-selected, .detail-panel { background: var(--report-panel); }
.detail-panel-shell.is-open .detail-panel { border-color: var(--report-white); }
.detail-title, .detail-meaning { color: var(--report-white); }
.detail-tag { color: var(--report-tag-text); }
.detail-tag--context { background: var(--report-gray); }
.detail-answer--context, .detail-readout-label { color: var(--report-gray); }
.detail-finding { color: var(--report-body); }
.detail-source { color: var(--report-dim); }
.detail-readout { border-color: var(--report-empty); }
.report-page .sources-link { margin-left: 12px; color: var(--report-gray); }
:root[data-phase="light"] .report-page {
  --report-bg: #f5f3ee;
  --report-white: #171717;
  --report-gray: #625d57;
  --report-dim: #625d57;
  --report-critical: #c62828;
  --report-risk: #8a5a00;
  --report-steady: #171717;
  --report-thriving: #1e7a46;
  --report-empty: #c6c1b8;
  --report-border: #c6c1b8;
  --report-panel: #ece8df;
  --report-body: #343230;
  --report-tag-text: #fff;
}
@media(max-width:650px) {
  .warning.long-copy .cli-message--indent { margin-left: calc(var(--indent-level, 1) * 1.2em); width: calc(100% - var(--indent-level, 1) * 1.2em); }
  .rx-card { padding: 12px; gap: 10px; }
  .site-footer { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  html, body, .warning.long-copy.has-message-focus .cli-message { transition: none; }
  .rx-card, .terminal .cursor, .survey-page .question-cursor, .button-cursor { animation: none; }
}
