:root{
  --sim-ink:#152033;
  --sim-navy:#112d38;
  --sim-teal:#0d9488;
  --sim-teal-dark:#0f766e;
  --sim-mint:#eaf8f5;
  --sim-cream:#f5f7fb;
  --sim-paper:#ffffff;
  --sim-line:#dbe3ee;
  --sim-muted:#64748b;
  --sim-gold:#c6922f;
  --sim-danger:#b84a4a;
  --sim-shadow:0 18px 48px rgba(30,50,75,.10);
}

[hidden]{display:none!important}
*{box-sizing:border-box}
.sim-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.sim-lab-page,body.sim-exam-page{margin:0;background:var(--sim-cream);color:var(--sim-ink);font-family:"Outfit",sans-serif;-webkit-font-smoothing:antialiased}
body.sim-lab-page :is(a,button,input):focus-visible,body.sim-exam-page :is(a,button,input):focus-visible{outline:3px solid rgba(13,148,136,.34);outline-offset:3px}

/* Lab landing */
.sim-lab{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:1.2rem 0 4rem}
.sim-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);gap:1rem;min-height:510px;padding:clamp(2.4rem,5vw,5rem);border-radius:30px;overflow:hidden;color:#fff;background:var(--sim-navy);box-shadow:0 26px 75px rgba(17,45,56,.18)}
.sim-hero:before{content:"";position:absolute;width:520px;height:520px;right:-190px;top:-250px;border:1px solid rgba(118,220,207,.25);border-radius:50%;box-shadow:0 0 0 80px rgba(118,220,207,.04),0 0 0 160px rgba(118,220,207,.03)}
.sim-hero:after{content:"";position:absolute;inset:auto 0 0;background:linear-gradient(90deg,var(--sim-teal) 0 31%,#d4a54d 31% 44%,transparent 44%);height:5px}
.sim-hero-copy,.sim-hero-signal{position:relative;z-index:1}
.sim-eyebrow,.sim-section-kicker{font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.sim-eyebrow{display:flex;align-items:center;gap:.55rem;color:#a8e5dd}.sim-eyebrow span{width:26px;height:2px;background:#64cbbb}
.sim-hero h1{max-width:720px;margin:1rem 0 .85rem;font-size:clamp(2.7rem,5vw,5rem);line-height:.94;letter-spacing:-.055em}.sim-hero h1 em{color:#7fd5ca;font-style:normal}
.sim-hero-copy>p{max-width:660px;margin:0;color:#d7e4e3;font-size:1.08rem;line-height:1.65}
.sim-track-switch{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;margin:1.8rem 0 1.1rem;padding:5px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(255,255,255,.07)}
.sim-track-switch button{min-width:160px;padding:.75rem 1rem;border:0;border-radius:11px;background:transparent;color:#bcd0ce;text-align:left;cursor:pointer;font:inherit}.sim-track-switch button strong,.sim-track-switch button span{display:block}.sim-track-switch button strong{font-size:.9rem}.sim-track-switch button span{margin-top:2px;font-size:.69rem}.sim-track-switch button.active{background:#fff;color:var(--sim-navy);box-shadow:0 10px 24px rgba(0,0,0,.14)}
.sim-hero-actions{display:flex;gap:.65rem;flex-wrap:wrap}.sim-button{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:46px;padding:.7rem 1.1rem;border:1px solid transparent;border-radius:12px;color:inherit;text-decoration:none;font-size:.84rem;font-weight:850}.sim-button.primary{background:#fff;color:var(--sim-navy)}.sim-button.primary:hover{background:#dcf4f0}.sim-button.quiet{border-color:rgba(255,255,255,.2);color:#e4eeee}.sim-button.quiet:hover{background:rgba(255,255,255,.08)}
.sim-hero-signal{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1.5rem;border:1px solid rgba(255,255,255,.13);border-radius:24px;background:rgba(255,255,255,.065);backdrop-filter:blur(9px);text-align:center}.sim-signal-top{width:100%;display:flex;justify-content:space-between;align-items:center;color:#b7cfcc;font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.sim-signal-top b{padding:.3rem .5rem;border:1px solid rgba(235,197,124,.4);border-radius:99px;color:#f0c97c;font-size:.61rem}
.sim-readiness-ring{--score:0;position:relative;width:154px;height:154px;margin:1.6rem 0 1rem;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#62ccbd calc(var(--score)*1%),rgba(255,255,255,.12) 0);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.sim-readiness-ring:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#173843}.sim-readiness-ring div{position:relative;z-index:1;display:grid}.sim-readiness-ring strong{font-size:2rem;line-height:1}.sim-readiness-ring span{margin-top:4px;color:#a9c2bf;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em}.sim-hero-signal h2{margin:.25rem 0 .4rem;font-size:1.23rem}.sim-hero-signal>p{max-width:285px;margin:0;color:#bcd0ce;font-size:.8rem;line-height:1.45}.sim-signal-grid{width:100%;display:grid;grid-template-columns:repeat(3,1fr);margin-top:1.25rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.11)}.sim-signal-grid div{display:grid;gap:2px}.sim-signal-grid strong{font-size:1rem}.sim-signal-grid span{color:#9db5b2;font-size:.63rem;text-transform:uppercase;letter-spacing:.06em}

.sim-trust{display:grid;grid-template-columns:2fr repeat(3,1fr);align-items:center;margin:1rem 0 2.5rem;border:1px solid var(--sim-line);border-radius:18px;background:var(--sim-paper);box-shadow:0 12px 32px rgba(17,45,56,.05)}.sim-trust>div{min-height:80px;display:flex;align-items:center;gap:.75rem;padding:1rem 1.2rem}.sim-trust>div+div{border-left:1px solid var(--sim-line)}.sim-trust-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:var(--sim-navy);color:#fff;font-weight:900}.sim-trust p{margin:0;font-size:.78rem;line-height:1.4}.sim-trust>div:not(:first-child){display:grid;gap:2px;text-align:center}.sim-trust>div:not(:first-child) strong{font-size:1.06rem}.sim-trust>div:not(:first-child) span{color:var(--sim-muted);font-size:.68rem}
.sim-section{margin:0 0 3.2rem}.sim-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.2rem;margin-bottom:1.15rem}.sim-section-head.compact{align-items:center}.sim-section-kicker{color:var(--sim-teal-dark)}.sim-section-head h2,.sim-intelligence h2,.sim-history h2{margin:.25rem 0 .2rem;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.05;letter-spacing:-.04em}.sim-section-head p{max-width:700px;margin:0;color:var(--sim-muted);font-size:.9rem;line-height:1.5}.sim-track-label{padding:.48rem .7rem;border:1px solid #bfe7e1;border-radius:99px;background:#ebf8f6;color:var(--sim-teal-dark);font-size:.72rem;font-weight:850}
.sim-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.sim-mode-card{position:relative;min-height:390px;display:flex;flex-direction:column;padding:1.25rem;border:1px solid var(--sim-line);border-radius:20px;background:var(--sim-paper);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.sim-mode-card:hover{transform:translateY(-3px);border-color:#acdcd5;box-shadow:var(--sim-shadow)}.sim-mode-card.featured{background:#e9f7f4;border-color:#aadfd7}.sim-mode-card.muted{background:#f1eee9;color:#5e6664}.sim-mode-number{position:absolute;right:.9rem;top:.7rem;color:rgba(17,45,56,.08);font-size:3rem;font-weight:900;line-height:1}.sim-mode-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--sim-navy);color:#fff;font-size:1.15rem}.sim-mode-badge{align-self:flex-start;margin:.85rem 0 .65rem;padding:.28rem .48rem;border-radius:6px;background:#fff;color:#6f5730;font-size:.6rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.sim-mode-badge.teal{color:var(--sim-teal-dark)}.sim-mode-badge.navy{color:var(--sim-navy)}.sim-mode-badge.gold{background:#fff7df;color:#8b651e}.sim-mode-card h3{margin:0;font-size:1.22rem;letter-spacing:-.025em}.sim-mode-card p{margin:.55rem 0;color:var(--sim-muted);font-size:.79rem;line-height:1.45}.sim-mode-card ul{display:grid;gap:.45rem;margin:.6rem 0 1.1rem;padding:0;list-style:none;color:#415451;font-size:.72rem}.sim-mode-card li:before{content:"✓";margin-right:.45rem;color:var(--sim-teal);font-weight:900}.sim-mode-action{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:.85rem;border-top:1px solid var(--sim-line);color:var(--sim-navy);text-decoration:none;font-size:.76rem;font-weight:900}.sim-mode-action.primary{color:var(--sim-teal-dark)}.sim-mode-action.disabled{color:#989b98;cursor:not-allowed}

.sim-intelligence{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0 0 3.2rem;padding:clamp(1.5rem,3vw,2.5rem);border-radius:26px;background:#fff;border:1px solid var(--sim-line)}.sim-intelligence-copy>p{max-width:570px;color:var(--sim-muted);line-height:1.55}.sim-intelligence-steps{display:grid;gap:.55rem;margin-top:1.3rem}.sim-intelligence-steps>div{display:flex;align-items:center;gap:.75rem;padding:.65rem;border-radius:13px;background:#f7f6f2}.sim-intelligence-steps i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--sim-navy);color:#fff;font-style:normal;font-size:.73rem;font-weight:900}.sim-intelligence-steps span{display:grid}.sim-intelligence-steps strong{font-size:.78rem}.sim-intelligence-steps small{color:var(--sim-muted);font-size:.69rem}.sim-blueprint-card{padding:1.2rem;border-radius:19px;background:var(--sim-navy);color:#fff}.sim-blueprint-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.sim-blueprint-head span{color:#a9c2bf;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em}.sim-blueprint-head strong{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--sim-teal)}.sim-blueprint-bars{display:grid;gap:.62rem}.sim-blueprint-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:center}.sim-blueprint-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.71rem}.sim-blueprint-row b{color:#a8e5dd;font-size:.67rem}.sim-blueprint-row i{grid-column:1/-1;height:5px;border-radius:99px;background:rgba(255,255,255,.09);overflow:hidden}.sim-blueprint-row i:after{content:"";display:block;width:var(--bar);height:100%;border-radius:inherit;background:linear-gradient(90deg,#3eb9aa,#9ce2d9)}.sim-blueprint-card>p{margin:1rem 0 0;color:#9eb7b4;font-size:.66rem;line-height:1.45}
.sim-history{margin-bottom:2.2rem}.sim-section-head.compact a{color:var(--sim-teal-dark);font-size:.75rem;font-weight:850;text-decoration:none}.sim-history-list{display:grid;gap:.6rem}.sim-history-empty{padding:1.5rem;border:1px dashed #c9c3ba;border-radius:16px;color:var(--sim-muted);background:rgba(255,255,255,.5);text-align:center;font-size:.8rem}.sim-history-row{display:grid;grid-template-columns:auto 1fr auto auto;gap:1rem;align-items:center;padding:.85rem 1rem;border:1px solid var(--sim-line);border-radius:15px;background:#fff}.sim-history-score{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e8f7f4;color:var(--sim-teal-dark);font-weight:900}.sim-history-copy{display:grid}.sim-history-copy strong{font-size:.82rem}.sim-history-copy span,.sim-history-row time{color:var(--sim-muted);font-size:.68rem}.sim-history-row>a{color:var(--sim-navy);font-size:.72rem;font-weight:900;text-decoration:none}.sim-disclaimer{padding:1rem 1.2rem;border-left:4px solid var(--sim-gold);border-radius:0 12px 12px 0;background:#fff8e8;color:#6b5c3e;font-size:.72rem;line-height:1.5}

/* Focused exam workspace */
body.sim-exam-page{padding:0!important;background:#f1f3f1;overflow:hidden}
body.sim-exam-page :is(.np-app-sidebar,.np-app-topbar,.np-app-mobile,.np-app-bottom-nav,.np-route-progress){display:none!important}
.sim-exam{height:100vh;height:100dvh;display:grid;grid-template-rows:68px minmax(0,1fr) 74px;background:#eef1ef}
.sim-exam-topbar{z-index:10;display:grid;grid-template-columns:270px minmax(260px,1fr) auto;gap:1.4rem;align-items:center;padding:0 1.15rem;border-bottom:1px solid var(--sim-line);background:#fff}.sim-exam-brand{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:.65rem;color:var(--sim-ink);text-decoration:none}.sim-exam-brand>img{grid-row:1/3;display:block;width:38px;height:38px;border-radius:11px;box-shadow:0 9px 22px rgba(13,148,136,.16)}.sim-exam-brand strong{align-self:end;font-size:.9rem;font-weight:900;letter-spacing:-.02em}.sim-exam-brand small{align-self:start;color:var(--sim-muted);font-size:.63rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em}.sim-exam-progress-wrap{width:min(520px,100%);justify-self:center}.sim-exam-progress-copy{display:flex;justify-content:space-between;margin-bottom:.35rem;color:var(--sim-muted);font-size:.68rem;font-weight:600}.sim-exam-progress-copy strong{color:var(--sim-ink)}.sim-exam-progress{height:5px;border-radius:99px;background:#e2e8f0;overflow:hidden}.sim-exam-progress i{display:block;width:0;height:100%;border-radius:inherit;background:var(--sim-teal);transition:width .25s ease}.sim-exam-tools{display:flex;align-items:center;gap:.5rem}.sim-exam-tools button,.sim-exit{min-height:38px;padding:.55rem .7rem;border:1px solid var(--sim-line);border-radius:10px;background:#fff;color:var(--sim-ink);font:800 .72rem/1 "Outfit",sans-serif;text-decoration:none;cursor:pointer}.sim-exam-tools button span{margin-left:.25rem}.sim-exam-timer{min-width:78px;display:grid;gap:1px;text-align:center}.sim-exam-timer span{color:var(--sim-muted);font-size:.58rem;text-transform:uppercase}.sim-exam-timer strong{color:var(--sim-ink);font-size:.9rem;font-variant-numeric:tabular-nums}.sim-exit{display:grid;place-items:center;color:#7d3939;border-color:#ead1d1}
#sim-chart-toggle{display:none}
.sim-exam-loading{grid-row:2/4;display:grid;place-content:center;justify-items:center;gap:.4rem;color:var(--sim-navy)}.sim-exam-loading span{color:var(--sim-muted);font-size:.75rem}.sim-loader{width:36px;height:36px;border:3px solid #d6e4e1;border-top-color:var(--sim-teal);border-radius:50%;animation:sim-spin .8s linear infinite}@keyframes sim-spin{to{transform:rotate(360deg)}}
.sim-exam-workspace{min-height:0;display:grid;grid-template-columns:minmax(300px,34%) minmax(430px,1fr) 210px;gap:0}.sim-exam-workspace.no-chart{grid-template-columns:minmax(480px,1fr) 220px}.sim-chart{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--sim-line);background:#f8fafc}.sim-chart-head{display:grid;gap:2px;padding:.9rem 1rem;border-bottom:1px solid var(--sim-line)}.sim-chart-head span{color:var(--sim-teal-dark);font-size:.62rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.sim-chart-head strong{color:var(--sim-ink);font-size:.88rem}.sim-chart-tabs{display:flex;gap:.3rem;padding:.55rem;overflow-x:auto;border-bottom:1px solid var(--sim-line)}.sim-chart-tabs button{flex:0 0 auto;padding:.48rem .65rem;border:1px solid transparent;border-radius:8px;background:transparent;color:#536273;font:800 .7rem/1 "Outfit",sans-serif;cursor:pointer}.sim-chart-tabs button[aria-selected="true"]{border-color:#bfe5de;background:#eaf8f5;color:var(--sim-teal-dark)}.sim-chart-panel{flex:1;min-height:0;overflow:auto;padding:.95rem}.sim-exhibit-intro{margin:0 0 .72rem;color:#536273;font-size:.76rem;line-height:1.5}.sim-exhibit-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--sim-line);border-radius:10px;overflow:hidden;background:#fff;color:#263548;font-size:.73rem}.sim-exhibit-table th,.sim-exhibit-table td{padding:.58rem .65rem;border-bottom:1px solid #e5ebf2;text-align:left;vertical-align:top}.sim-exhibit-table th{background:#eef4f5;color:#435768;font-size:.64rem;text-transform:uppercase;letter-spacing:.04em}.sim-exhibit-table tr:last-child td{border-bottom:0}.sim-exhibit-table td:first-child{width:27%;font-weight:850;color:#263f49}
.sim-question{min-width:0;overflow-y:auto;padding:clamp(1.7rem,3.2vw,3.2rem) clamp(1.5rem,4vw,4.2rem);background:#fff}.sim-question-meta{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1.2rem}.sim-question-meta span{padding:.32rem .52rem;border-radius:6px;background:#eaf8f5;color:var(--sim-teal-dark);font-size:.64rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.sim-question-meta span:nth-child(2){background:#eef2f7;color:#334155}.sim-question h1{max-width:850px;margin:0;color:#07131d;font-size:clamp(1.4rem,2.25vw,1.85rem);font-weight:800;line-height:1.32;letter-spacing:-.025em}.sim-select-instruction{margin:.65rem 0 1.25rem;color:#475569;font-size:.82rem;font-weight:500}.sim-options{display:grid;gap:.65rem;max-width:900px;margin:0;padding:0;border:0}.sim-option{position:relative;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:.8rem;min-height:66px;padding:.78rem .95rem;border:1px solid #cbd7e5;border-radius:13px;background:#fff;color:#1f2937;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease,box-shadow .15s ease}.sim-option:hover{transform:translateX(2px);border-color:#70c8bc;background:#f8fdfc;box-shadow:0 7px 20px rgba(30,50,75,.06)}.sim-option input{position:absolute;opacity:0;pointer-events:none}.sim-option input:focus-visible+.sim-option-mark{outline:3px solid rgba(13,148,136,.34);outline-offset:3px}.sim-option-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #bdc9d6;border-radius:9px;background:#f8fafc;color:#475569;font-size:.78rem;font-weight:900}.sim-option.multiple .sim-option-mark{border-radius:7px}.sim-option-copy{font-size:.9rem;font-weight:550;line-height:1.45}.sim-option.selected{border-color:var(--sim-teal);background:#edf9f7;box-shadow:0 0 0 2px rgba(13,148,136,.08)}.sim-option.selected .sim-option-mark{border-color:var(--sim-teal);background:var(--sim-teal);color:#fff}.sim-option.correct{border-color:#58a98e;background:#edf9f3}.sim-option.incorrect{border-color:#d78383;background:#fff2f2}.sim-option.locked{cursor:default;transform:none}.sim-rationale{max-width:900px;margin-top:1rem;padding:1rem 1.1rem;border-left:4px solid var(--sim-teal);border-radius:0 12px 12px 0;background:#edf8f6}.sim-rationale.is-wrong{border-left-color:#c36b62;background:#fff2ef}.sim-rationale-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.45rem}.sim-rationale-head strong{font-size:.88rem}.sim-rationale-head span{font-size:.68rem;font-weight:900;text-transform:uppercase}.sim-rationale p{margin:.3rem 0;color:#334155;font-size:.8rem;line-height:1.55}.sim-rationale small{display:block;margin-top:.55rem;padding-top:.55rem;border-top:1px solid rgba(13,148,136,.17);color:#475569;font-size:.74rem}
.sim-rationale-sources{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-top:.65rem}.sim-rationale-sources span{color:#62736f;font-size:.59rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.sim-rationale-sources a{padding:.28rem .42rem;border:1px solid rgba(13,148,136,.22);border-radius:6px;background:rgba(255,255,255,.6);color:var(--sim-teal-dark);font-size:.59rem;font-weight:800;text-decoration:none}.sim-rationale-sources a:hover{text-decoration:underline}
.sim-question-rail{min-width:0;display:flex;flex-direction:column;padding:.85rem;border-left:1px solid var(--sim-line);background:#f8fafc}.sim-rail-head{display:grid;gap:2px;padding:.25rem .25rem .75rem;border-bottom:1px solid var(--sim-line)}.sim-rail-head span{color:var(--sim-muted);font-size:.6rem;text-transform:uppercase;letter-spacing:.09em}.sim-rail-head strong{color:var(--sim-ink);font-size:.8rem}.sim-question-map{display:grid;grid-template-columns:repeat(5,1fr);gap:.32rem;margin:.8rem 0}.sim-question-dot{aspect-ratio:1;border:1px solid #cbd7e5;border-radius:7px;background:#fff;color:#5f6f82;font:800 .66rem/1 "Outfit",sans-serif}.sim-question-dot.current{border-color:var(--sim-teal);box-shadow:0 0 0 2px rgba(13,148,136,.12);color:var(--sim-teal-dark)}.sim-question-dot.answered{background:#dff3ef;border-color:#b5dfd8;color:var(--sim-teal-dark)}.sim-question-dot.flagged{border-color:#d8aa53;box-shadow:inset 0 -3px #dfb45e}.sim-rail-note{display:grid;gap:2px;margin-top:auto;padding:.65rem;border-radius:10px;background:#fff;border:1px solid var(--sim-line)}.sim-rail-note strong{font-size:.7rem}.sim-rail-note span{color:var(--sim-muted);font-size:.64rem}.sim-rail-legend{display:grid;gap:.35rem;margin-top:.65rem;color:var(--sim-muted);font-size:.61rem}.sim-rail-legend span{display:flex;align-items:center;gap:.4rem}.sim-rail-legend i{width:10px;height:10px;border:1px solid #cbd7e5;border-radius:3px;background:#fff}.sim-rail-legend i.answered{background:#dff3ef}.sim-rail-legend i.current{border-color:var(--sim-teal)}.sim-rail-legend i.flagged{border-color:#d8aa53}
.sim-exam-footer{z-index:10;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:1rem;padding:.7rem 1.15rem;border-top:1px solid #d5dbd7;background:#fff}.sim-flag-button,.sim-back-button,.sim-next-button{min-height:44px;padding:.65rem .9rem;border-radius:10px;font:850 .72rem/1 "Outfit",sans-serif;cursor:pointer}.sim-flag-button{justify-self:start;border:1px solid #d5dbd7;background:#fff;color:#52635f}.sim-flag-button.active{border-color:#d2a14b;background:#fff8e8;color:#7a5a21}.sim-exam-footer-note{justify-self:center;color:var(--sim-muted);font-size:.66rem;text-align:center}.sim-exam-nav{display:flex;gap:.5rem}.sim-back-button{border:1px solid #d5dbd7;background:#fff;color:#52635f}.sim-back-button:disabled{opacity:.4;cursor:not-allowed}.sim-next-button{min-width:118px;border:1px solid var(--sim-navy);background:var(--sim-navy);color:#fff}.sim-next-button:disabled{border-color:#cbd3cf;background:#cbd3cf;cursor:not-allowed}

.sim-results{grid-row:2/4;overflow:auto;padding:1.4rem;background:#f3f1ec}.sim-results-shell{width:min(1050px,100%);margin:auto}.sim-results-hero{display:grid;grid-template-columns:200px 1fr;gap:1.5rem;align-items:center;padding:1.7rem;border-radius:24px;background:var(--sim-navy);color:#fff}.sim-result-score{width:164px;height:164px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#66cdbf calc(var(--score)*1%),rgba(255,255,255,.12) 0);position:relative}.sim-result-score:after{content:"";position:absolute;inset:10px;border-radius:50%;background:var(--sim-navy)}.sim-result-score div{position:relative;z-index:1;display:grid;text-align:center}.sim-result-score strong{font-size:2.4rem}.sim-result-score span{color:#abc6c2;font-size:.65rem;text-transform:uppercase}.sim-results-hero h1{margin:.3rem 0;font-size:clamp(1.8rem,4vw,3.1rem);letter-spacing:-.04em}.sim-results-hero p{max-width:650px;margin:.35rem 0;color:#c2d5d2;line-height:1.5;font-size:.8rem}.sim-result-badge{color:#76d4c8;font-size:.67rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.sim-result-actions{display:flex;gap:.55rem;margin-top:1rem}.sim-result-actions a{padding:.7rem .9rem;border-radius:10px;background:#fff;color:var(--sim-navy);text-decoration:none;font-size:.72rem;font-weight:900}.sim-result-actions a.secondary{border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff}.sim-results-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:.9rem;margin-top:.9rem}.sim-result-card{padding:1.1rem;border:1px solid var(--sim-line);border-radius:18px;background:#fff}.sim-result-card h2{margin:0 0 .85rem;font-size:1rem}.sim-metric-list{display:grid;gap:.65rem}.sim-metric-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;align-items:center}.sim-metric-row span{font-size:.7rem}.sim-metric-row strong{font-size:.68rem}.sim-metric-row i{grid-column:1/-1;height:7px;border-radius:99px;background:#edf0ed;overflow:hidden}.sim-metric-row i:after{content:"";display:block;width:var(--score);height:100%;background:var(--sim-teal);border-radius:inherit}.sim-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-bottom:.8rem}.sim-result-stats div{display:grid;gap:2px;padding:.7rem;border-radius:12px;background:#f3f7f5;text-align:center}.sim-result-stats strong{font-size:1.05rem}.sim-result-stats span{color:var(--sim-muted);font-size:.58rem;text-transform:uppercase}.sim-remediation{display:grid;gap:.5rem}.sim-remediation div{padding:.65rem;border-left:3px solid var(--sim-gold);background:#fff9ed;border-radius:0 9px 9px 0}.sim-remediation strong,.sim-remediation span{display:block}.sim-remediation strong{font-size:.7rem}.sim-remediation span{margin-top:2px;color:#6a665c;font-size:.64rem;line-height:1.4}.sim-results-notice{margin-top:.9rem;padding:.8rem;border-radius:12px;background:#fff3d8;color:#6a5934;font-size:.66rem;line-height:1.45}
.sim-result-review{grid-column:1/-1}.sim-result-review-list{display:grid;gap:.5rem;margin-top:.9rem}.sim-result-review details{border:1px solid #d7e2df;border-radius:12px;background:#fbfdfc;overflow:hidden}.sim-result-review summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .9rem;color:var(--sim-ink);font-size:.73rem;font-weight:800;cursor:pointer;list-style:none}.sim-result-review summary::-webkit-details-marker{display:none}.sim-result-review summary:after{content:"+";order:3;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#e8f7f4;color:var(--sim-teal-dark);font-size:1rem}.sim-result-review details[open] summary:after{content:"−"}.sim-result-review summary strong{margin-left:auto;color:var(--sim-teal-dark);font-size:.68rem}.sim-result-review details>div{padding:.2rem .9rem 1rem;border-top:1px solid #e3eae8}.sim-result-review h3{margin:.75rem 0 .45rem;font-size:.82rem;line-height:1.45}.sim-result-review p{margin:.35rem 0;color:#4d615e;font-size:.72rem;line-height:1.55}.sim-result-review small{display:block;color:#314a46;font-size:.68rem;line-height:1.5}.sim-result-review nav{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}.sim-result-review nav a{padding:.35rem .5rem;border-radius:7px;background:#edf7f5;color:var(--sim-teal-dark);font-size:.62rem;font-weight:750;text-decoration:none}

.sim-calculator{width:310px;padding:0;border:0;border-radius:17px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.28)}.sim-calculator::backdrop{background:rgba(15,31,35,.35)}.sim-calculator-head{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;border-bottom:1px solid var(--sim-line)}.sim-calculator-head strong{font-size:.8rem}.sim-calculator-head button{border:0;background:transparent;font-size:1.3rem;cursor:pointer}.sim-calculator output{display:block;margin:.8rem;padding:.8rem;border-radius:10px;background:#eff3f1;text-align:right;font-size:1.45rem;font-weight:800;overflow:hidden}.sim-calc-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;padding:0 .8rem .8rem}.sim-calc-keys button{min-height:45px;border:1px solid #d7ded9;border-radius:9px;background:#fff;font:800 .85rem "Outfit",sans-serif;cursor:pointer}.sim-calc-keys button:hover{background:#eff8f6}.sim-calc-keys .wide{grid-column:span 2}.sim-calc-keys .equals{background:var(--sim-teal);color:#fff;border-color:var(--sim-teal)}

@media(max-width:1050px){.sim-mode-grid{grid-template-columns:repeat(2,1fr)}.sim-exam-workspace{grid-template-columns:minmax(270px,34%) minmax(400px,1fr)}.sim-question-rail{display:none}.sim-exam-workspace.no-chart{grid-template-columns:1fr}.sim-exam-footer{grid-template-columns:180px 1fr auto}}
@media(max-width:820px){.sim-lab{width:min(100% - 24px,1180px);padding-top:.75rem}.sim-hero{grid-template-columns:1fr;padding:2rem;min-height:auto}.sim-hero-signal{display:grid;grid-template-columns:auto 1fr;column-gap:1rem;text-align:left}.sim-signal-top,.sim-signal-grid{grid-column:1/-1}.sim-readiness-ring{grid-row:2/5;width:120px;height:120px;margin:1rem 0}.sim-hero-signal h2{align-self:end}.sim-hero-signal>p{align-self:start}.sim-trust{grid-template-columns:1fr 1fr}.sim-trust>div:first-child{grid-column:1/-1}.sim-trust>div:nth-child(2){border-left:0}.sim-intelligence{grid-template-columns:1fr}.sim-exam-topbar{grid-template-columns:1fr auto;padding:.55rem .75rem;height:auto}.sim-exam-progress-wrap{grid-column:1/-1;grid-row:2}.sim-exam{grid-template-rows:96px minmax(0,1fr) 70px}.sim-exam-brand small{display:none}.sim-exam-tools button span{display:none}.sim-exam-workspace,.sim-exam-workspace.no-chart{grid-template-columns:1fr}.sim-chart{position:absolute;z-index:8;inset:96px 0 70px;display:none}.sim-chart.mobile-open{display:flex}.sim-question{padding:1.35rem 1rem}.sim-exam-footer{grid-template-columns:auto 1fr auto;padding:.55rem .7rem}.sim-exam-footer-note{display:none}.sim-results-hero{grid-template-columns:1fr;justify-items:center;text-align:center}.sim-results-grid{grid-template-columns:1fr}}
@media(max-width:560px){.sim-lab{width:min(100% - 16px,1180px)}.sim-hero{padding:1.35rem;border-radius:21px}.sim-hero h1{font-size:2.55rem}.sim-track-switch{display:grid;width:100%}.sim-track-switch button{min-width:0}.sim-hero-actions{display:grid}.sim-hero-signal{grid-template-columns:1fr;text-align:center}.sim-readiness-ring{grid-row:auto;justify-self:center}.sim-signal-top,.sim-signal-grid{grid-column:auto}.sim-trust{grid-template-columns:1fr}.sim-trust>div:first-child{grid-column:auto}.sim-trust>div+div{border-left:0;border-top:1px solid var(--sim-line)}.sim-mode-grid{grid-template-columns:1fr}.sim-mode-card{min-height:350px}.sim-section-head{align-items:flex-start;flex-direction:column}.sim-history-row{grid-template-columns:auto 1fr}.sim-history-row time,.sim-history-row>a{grid-column:2}.sim-exam-tools .sim-exit{padding:.5rem}.sim-exam-tools button{display:none}.sim-exam-footer{grid-template-columns:1fr auto}.sim-flag-button{font-size:0}.sim-flag-button:after{content:"◇ Flag";font-size:.68rem}.sim-back-button{display:none}.sim-result-score{width:135px;height:135px}.sim-result-stats{grid-template-columns:1fr}.sim-results{padding:.75rem}}
@media(max-width:820px){#sim-chart-toggle:not([hidden]){display:inline-flex}}
@media(max-width:560px){.sim-exam-tools #sim-chart-toggle:not([hidden]){display:inline-flex}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.sim-pilot-feedback{display:grid;grid-template-columns:1fr 150px 150px;gap:12px;align-items:end;margin-top:16px;padding:18px;border:1px solid #cae2dc;border-radius:14px;background:#f4fbf8}.sim-pilot-feedback>div strong,.sim-pilot-feedback>div span{display:block}.sim-pilot-feedback>div strong{font-size:.82rem;color:#123d3c}.sim-pilot-feedback>div span{margin-top:4px;color:#5e7471;font-size:.66rem;line-height:1.5}.sim-pilot-feedback label{color:#526966;font-size:.6rem;font-weight:800;text-transform:uppercase}.sim-pilot-feedback select,.sim-pilot-feedback textarea{width:100%;margin-top:5px;border:1px solid #bfd3cf;border-radius:8px;background:#fff;padding:9px;font:500 .72rem "Outfit",sans-serif}.sim-pilot-feedback .wide{grid-column:1/4}.sim-pilot-feedback button{border:0;border-radius:8px;background:#0b6b62;color:#fff;padding:10px 14px;font-weight:800}.sim-pilot-feedback>small{grid-column:2/4;color:#21695f}@media(max-width:820px){.sim-pilot-feedback{grid-template-columns:1fr}.sim-pilot-feedback .wide,.sim-pilot-feedback>small{grid-column:auto}}

/* Phase 17: clinically purposeful visual-item support. */
.sim-question-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:.85rem;max-width:900px;margin:1.1rem 0 1.25rem}.sim-question-media[hidden]{display:none}.sim-media-figure{margin:0;border:1px solid #cbdad8;border-radius:16px;overflow:hidden;background:#f8fbfb;box-shadow:0 10px 28px rgba(15,35,52,.07)}.sim-media-open{position:relative;display:block;width:100%;padding:0;border:0;background:#f8fbfb;cursor:zoom-in}.sim-media-open img{display:block;width:100%;max-height:360px;object-fit:contain;aspect-ratio:16/8.5;background:#f8fbfb}.sim-media-open:focus-visible{outline:3px solid rgba(13,148,136,.42);outline-offset:-3px}.sim-media-affordance{position:absolute;right:.65rem;bottom:.65rem;padding:.38rem .62rem;border-radius:999px;background:rgba(7,19,29,.84);color:#fff;font:800 .65rem/1 "Outfit",sans-serif;letter-spacing:.035em}.sim-media-figure figcaption{padding:.68rem .85rem;border-top:1px solid #dbe5e4;color:#334155;font-size:.76rem;font-weight:650;line-height:1.45}.sim-media-viewer{width:min(94vw,1120px);max-width:none;padding:0;border:0;border-radius:20px;background:#fff;box-shadow:0 32px 90px rgba(2,16,29,.4)}.sim-media-viewer::backdrop{background:rgba(3,13,22,.78);backdrop-filter:blur(4px)}.sim-media-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.78rem 1rem;border-bottom:1px solid #dce6e5;color:#24423f;font-size:.72rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.sim-media-viewer-head button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #c9d8d6;border-radius:10px;background:#fff;color:#172b29;font-size:1.35rem;cursor:pointer}.sim-media-viewer-stage{display:grid;place-items:center;min-height:min(68vh,720px);padding:1rem;background:#f4f8f8}.sim-media-viewer-stage img{display:block;max-width:100%;max-height:72vh;object-fit:contain}.sim-media-viewer>p{margin:0;padding:.8rem 1rem 1rem;color:#334155;font-size:.82rem;font-weight:600;line-height:1.5}.sim-question:has(.sim-question-media:not([hidden])) .sim-select-instruction{margin-top:0}@media(max-width:820px){.sim-question-media{margin:.9rem 0 1rem}.sim-media-open img{max-height:290px}.sim-media-viewer{width:calc(100vw - 20px);border-radius:15px}.sim-media-viewer-stage{min-height:54vh;padding:.5rem}}@media(max-width:560px){.sim-media-figure{border-radius:13px}.sim-media-open img{max-height:230px}.sim-media-figure figcaption{font-size:.72rem}.sim-media-affordance{right:.5rem;bottom:.5rem}}

/* Phase 18: advanced NCLEX-style interactions. */
.sim-matrix-hint{display:none}@media(max-width:560px){.sim-matrix-hint{display:block;position:sticky;left:0;width:calc(100vw - 34px);margin:0;padding:.58rem .72rem;border-bottom:1px solid #dce5ed;background:#f7fafb;color:#536579;font-size:.7rem;font-weight:750;line-height:1.35}}
.sim-options.sim-advanced-options{display:block;max-width:980px}.sim-matrix-wrap{overflow-x:auto;border:1px solid #cbd7e5;border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(15,35,52,.05)}.sim-matrix{width:100%;min-width:650px;border-collapse:separate;border-spacing:0;color:#1f2937}.sim-matrix th,.sim-matrix td{padding:.8rem;border-right:1px solid #dce5ed;border-bottom:1px solid #dce5ed}.sim-matrix tr:last-child th,.sim-matrix tr:last-child td{border-bottom:0}.sim-matrix th:last-child,.sim-matrix td:last-child{border-right:0}.sim-matrix thead th{background:#edf6f5;color:#24423f;font-size:.7rem;font-weight:900;letter-spacing:.055em;text-align:center;text-transform:uppercase}.sim-matrix thead th:first-child{text-align:left}.sim-matrix tbody th{width:48%;background:#fbfcfd;font-size:.82rem;font-weight:650;line-height:1.45;text-align:left}.sim-matrix td{text-align:center}.sim-matrix-cell{display:grid;place-items:center;min-height:42px;cursor:pointer}.sim-matrix-cell input{position:absolute;opacity:0}.sim-matrix-cell span{display:block;width:27px;height:27px;border:2px solid #b8c8d6;border-radius:7px;background:#fff}.sim-matrix-cell input:focus-visible+span{outline:3px solid rgba(13,148,136,.32);outline-offset:3px}.sim-matrix-cell.selected span{border-color:#0d9488;background:#0d9488;box-shadow:inset 0 0 0 6px #eaf8f5}.sim-matrix-cell.correct span{border-color:#2f8c70;background:#2f8c70;box-shadow:inset 0 0 0 6px #e8f6f0}.sim-matrix-cell.incorrect span{border-color:#b95353;background:#b95353;box-shadow:inset 0 0 0 6px #fff0ef}.sim-cloze{display:grid;gap:.75rem}.sim-cloze-row{display:grid;grid-template-columns:36px 1fr;align-items:start;gap:.8rem;padding:1rem;border:1px solid #cbd7e5;border-radius:13px;background:#fbfcfd;color:#1f2937}.sim-cloze-number{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf8f5;color:#0b6b62;font-size:.78rem;font-weight:900}.sim-cloze-sentence{font-size:.94rem;font-weight:600;line-height:2.2}.sim-cloze select{max-width:100%;margin:.15rem .35rem;padding:.58rem 2rem .58rem .68rem;border:1px solid #9fb3c7;border-radius:9px;background:#fff;color:#152033;font:700 .85rem "Outfit",sans-serif}.sim-cloze-row.selected{border-color:#5dbbad;background:#f3fbf9}.sim-cloze-row.correct{border-color:#65a990;background:#edf9f3}.sim-cloze-row.incorrect{border-color:#ce7777;background:#fff2f2}.sim-highlight-passage{padding:1.15rem 1.2rem;border:1px solid #cbd7e5;border-radius:15px;background:#fbfcfd;color:#1e293b;font-size:1rem;font-weight:560;line-height:2.15}.sim-highlight-token{display:inline;margin:.08rem .12rem;padding:.23rem .34rem;border:1px solid transparent;border-radius:6px;background:#eef3f7;color:#1e293b;font:inherit;line-height:1.45;cursor:pointer}.sim-highlight-token:hover{border-color:#76c6b9;background:#e8f7f4}.sim-highlight-token:focus-visible{outline:3px solid rgba(13,148,136,.32);outline-offset:2px}.sim-highlight-token.selected{border-color:#0d9488;background:#ccefe8;color:#073c36}.sim-highlight-token.correct{border-color:#2f8c70;background:#d8f2e8}.sim-highlight-token.incorrect{border-color:#bd5d5d;background:#ffe2df}.sim-order-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:.9rem}.sim-order-pool,.sim-order-sequence{min-height:240px;padding:1rem;border:1px solid #cbd7e5;border-radius:15px;background:#fbfcfd}.sim-order-pool h2,.sim-order-sequence h2{margin:0 0 .75rem;color:#24423f;font-size:.72rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.sim-order-add{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:.65rem;width:100%;margin:.5rem 0;padding:.68rem .72rem;border:1px solid #c7d5e2;border-radius:10px;background:#fff;color:#1f2937;font:650 .8rem/1.4 "Outfit",sans-serif;text-align:left;cursor:pointer}.sim-order-add:hover{border-color:#70c8bc;background:#f3fbf9}.sim-order-add span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#eaf8f5;color:#0b6b62;font-weight:900}.sim-order-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:.65rem;margin:.5rem 0;padding:.68rem;border:1px solid #bdd0df;border-radius:11px;background:#fff}.sim-order-row>strong{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#0d9488;color:#fff;font-size:.75rem}.sim-order-row>span{font-size:.8rem;font-weight:650;line-height:1.4}.sim-order-controls{display:flex;gap:.25rem}.sim-order-controls button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #c6d4df;border-radius:7px;background:#f8fafc;color:#314155;font-weight:900;cursor:pointer}.sim-order-controls button:disabled{opacity:.35;cursor:not-allowed}.sim-order-row.correct{border-color:#5fa98e;background:#edf9f3}.sim-order-row.incorrect{border-color:#ce7777;background:#fff2f2}.sim-order-empty{margin:.75rem 0;color:#6b7b8d;font-size:.75rem;line-height:1.5}.sim-bowtie{display:grid;grid-template-columns:1fr 1.08fr 1fr;gap:.8rem;align-items:start}.sim-bowtie-zone{padding:.85rem;border:1px solid #cbd7e5;border-radius:15px;background:#fbfcfd}.sim-bowtie-zone:nth-child(2){border-color:#80c8bd;background:#f1faf8;box-shadow:0 10px 28px rgba(13,148,136,.08)}.sim-bowtie-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.7rem}.sim-bowtie-head>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e7f6f3;color:#0b6b62;font-size:.75rem;font-weight:900}.sim-bowtie-head strong,.sim-bowtie-head small{display:block}.sim-bowtie-head strong{color:#18312f;font-size:.75rem}.sim-bowtie-head small{margin-top:.1rem;color:#70807f;font-size:.61rem;text-transform:uppercase}.sim-bowtie-option{display:grid;grid-template-columns:24px 1fr;align-items:start;gap:.55rem;margin:.48rem 0;padding:.65rem;border:1px solid #cbd7e5;border-radius:10px;background:#fff;color:#263548;cursor:pointer}.sim-bowtie-option input{position:absolute;opacity:0}.sim-bowtie-option>span:first-of-type{width:21px;height:21px;border:2px solid #b8c8d6;border-radius:6px}.sim-bowtie-option>span:last-child{font-size:.74rem;font-weight:650;line-height:1.38}.sim-bowtie-option input:focus-visible+span{outline:3px solid rgba(13,148,136,.32);outline-offset:2px}.sim-bowtie-option.selected{border-color:#0d9488;background:#eaf8f5}.sim-bowtie-option.selected>span:first-of-type{border-color:#0d9488;background:#0d9488;box-shadow:inset 0 0 0 4px #eaf8f5}.sim-bowtie-option.correct{border-color:#4f9d81;background:#edf9f3}.sim-bowtie-option.incorrect{border-color:#c96d6d;background:#fff2f2}.sim-bowtie-option:has(input:disabled):not(.locked){cursor:not-allowed;opacity:.52}@media(max-width:820px){.sim-order-grid{grid-template-columns:1fr}.sim-bowtie{grid-template-columns:1fr}.sim-highlight-passage{font-size:.94rem}.sim-cloze-sentence{font-size:.88rem}}@media(max-width:560px){.sim-matrix-wrap{margin-right:-.1rem}.sim-matrix{min-width:570px}.sim-order-pool,.sim-order-sequence{padding:.75rem}.sim-order-row{grid-template-columns:29px 1fr}.sim-order-controls{grid-column:2}.sim-cloze-row{grid-template-columns:1fr}.sim-cloze-number{width:28px;height:28px}.sim-cloze select{display:block;width:100%;margin:.35rem 0}.sim-highlight-passage{padding:.9rem;font-size:.9rem;line-height:2.05}.sim-bowtie-option>span:last-child{font-size:.78rem}}

/* Phase 21: guided study home and focused answer review. */
.sim-access-strip{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .75rem;padding:.68rem .9rem;border:1px solid #d9e7e5;border-radius:14px;background:linear-gradient(105deg,#f4fbf9 0%,#fff 58%,#f7f5ff 100%);box-shadow:0 8px 28px rgba(30,50,75,.05)}.sim-access-strip>div{display:flex;align-items:center;gap:.55rem;min-width:0;color:#526579;font-size:.72rem}.sim-access-strip strong{color:#173c3a}.sim-access-strip a{flex:0 0 auto;color:#0f766e;font-size:.72rem;font-weight:850;text-decoration:none}.sim-access-dot{width:9px;height:9px;border-radius:50%;background:#22a889;box-shadow:0 0 0 5px rgba(34,168,137,.12)}
.sim-route-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;margin:0 0 .75rem;padding:.75rem .9rem;border:1px solid #bfe2dc;border-radius:14px;background:linear-gradient(110deg,#eaf8f5,#fff);color:#29495a;box-shadow:0 8px 24px rgba(20,89,80,.06)}.sim-route-notice>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#169c8e;color:#fff;font-weight:900}.sim-route-notice strong{display:block;color:#123c39;font-size:.78rem}.sim-route-notice p{margin:.08rem 0 0;color:#5d7180;font-size:.68rem;line-height:1.4}.sim-route-notice a{color:#0f766e;font-size:.7rem;font-weight:850;text-decoration:none}
.sim-hero{min-height:0;padding:clamp(2rem,3.4vw,3rem);background:radial-gradient(circle at 76% 12%,rgba(66,201,183,.18),transparent 28%),linear-gradient(135deg,#0d2934 0%,#123f46 64%,#183747 100%)}.sim-hero h1{max-width:650px;margin:.72rem 0 .58rem;font-size:clamp(2.55rem,4vw,3.7rem)}.sim-hero-copy>p{font-size:.96rem;line-height:1.5}.sim-hero .sim-track-switch{margin:1rem 0 .75rem}.sim-hero .sim-track-switch button{padding:.58rem .8rem}.sim-hero .sim-hero-signal{padding:1rem}.sim-hero .sim-readiness-ring{width:116px;height:116px;margin:.75rem 0 .5rem}.sim-hero .sim-readiness-ring:after{inset:8px}.sim-hero .sim-readiness-ring strong{font-size:1.55rem}.sim-hero .sim-hero-signal h2{font-size:1.05rem}.sim-hero .sim-hero-signal>p{font-size:.72rem}.sim-hero .sim-signal-grid{margin-top:.65rem;padding-top:.65rem}
.sim-study-path{margin-top:1rem;padding:1.35rem;border:1px solid #dfe7ef;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f8fbff 50%,#f2fbf8 100%);box-shadow:var(--sim-shadow)}.sim-study-path-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.sim-study-path-head h2{margin:.25rem 0 0;font-size:clamp(1.45rem,2.6vw,2rem);letter-spacing:-.035em}.sim-study-path-head>span{padding:.44rem .68rem;border-radius:999px;background:#e8f7f4;color:#0b6b62;font-size:.68rem;font-weight:900}.sim-path-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem}.sim-path-step{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;min-height:112px;padding:.9rem;border:1px solid #dbe4ed;border-radius:16px;background:rgba(255,255,255,.82);color:#263548;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.sim-path-step:hover{transform:translateY(-3px);border-color:#8ecfc6;box-shadow:0 15px 30px rgba(30,50,75,.09)}.sim-path-step>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eff4f8;color:#536579;font-size:.75rem;font-style:normal;font-weight:900}.sim-path-step span>*{display:block}.sim-path-step small{color:#7a8999;font-size:.58rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sim-path-step strong{margin-top:2px;color:#17283a;font-size:.79rem}.sim-path-step b{margin-top:3px;color:#718095;font-size:.64rem;font-weight:600;line-height:1.35}.sim-path-step>em{color:#9aa8b7;font-style:normal}.sim-path-step.current{border-color:#59baad;background:linear-gradient(145deg,#edf9f6,#fff);box-shadow:0 12px 26px rgba(13,148,136,.1)}.sim-path-step.current>i{background:#0d9488;color:#fff}.sim-path-step.complete>i{background:#dff4ef;color:#0b756a}.sim-path-step.complete>i:after{content:"✓"}.sim-path-step.complete>i{font-size:0}.sim-path-step.complete>i:after{font-size:.78rem}
.sim-action-hub{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem}.sim-action-hub article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:1.1rem 1.2rem;border:1px solid #dfe7ef;border-radius:19px;background:#fff;box-shadow:0 12px 34px rgba(30,50,75,.06);transition:transform .2s ease,box-shadow .2s ease}.sim-action-hub article:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(30,50,75,.1)}.sim-action-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e7f7f4;color:#0d887d;font-size:1.3rem;font-weight:900}.sim-action-icon.book{background:#eef0fb;color:#5968be}.sim-action-hub span{color:#0f766e;font-size:.6rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.sim-action-hub h2{margin:.15rem 0;font-size:1rem}.sim-action-hub p{margin:0;color:#697a8e;font-size:.7rem}.sim-action-hub a{color:#123e48;font-size:.7rem;font-weight:900;text-decoration:none}
.sim-tutor-toggle{display:flex!important;align-items:center;gap:.38rem}.sim-tutor-toggle b{position:relative;width:30px;height:17px;border-radius:999px;background:#cbd5df;transition:background .18s ease}.sim-tutor-toggle b i{position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .18s ease}.sim-tutor-toggle em{color:#687789;font-size:.61rem;font-style:normal}.sim-tutor-toggle.active b{background:#0d9488}.sim-tutor-toggle.active b i{transform:translateX(13px)}.sim-tutor-toggle:disabled{cursor:not-allowed;opacity:.68}
.sim-feedback-panel{min-width:0;overflow-y:auto;border-left:1px solid #dbe3ee;background:linear-gradient(180deg,#f8fbfb,#fff);padding:1rem}.sim-feedback-head{margin-bottom:.75rem}.sim-feedback-head span{color:#0f766e;font-size:.6rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.sim-feedback-head h2{margin:.2rem 0 0;color:#142433;font-size:1.05rem}.sim-item-metrics{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.8rem}.sim-item-metrics div{padding:.55rem .6rem;border:1px solid #e0e7ee;border-radius:10px;background:#fff}.sim-item-metrics span,.sim-item-metrics strong{display:block}.sim-item-metrics span{color:#788697;font-size:.54rem;font-weight:850;text-transform:uppercase}.sim-item-metrics strong{margin-top:2px;color:#203343;font-size:.71rem}.sim-feedback-options{display:grid;gap:.55rem}.sim-feedback-option{padding:.7rem;border:1px solid #dce5ed;border-radius:12px;background:#fff}.sim-feedback-option>div{display:grid;grid-template-columns:28px 1fr;gap:.55rem;align-items:start}.sim-feedback-option i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eef3f7;color:#526579;font-size:.68rem;font-style:normal;font-weight:900}.sim-feedback-option small,.sim-feedback-option strong{display:block}.sim-feedback-option small{color:#7b8794;font-size:.53rem;font-weight:900;text-transform:uppercase}.sim-feedback-option strong{margin-top:2px;color:#223142;font-size:.7rem;line-height:1.35}.sim-feedback-option p{margin:.5rem 0 0;padding-top:.5rem;border-top:1px solid #edf0f3;color:#607083;font-size:.65rem;line-height:1.45}.sim-feedback-option.correct{border-color:#8bcab4;background:#f2fbf7}.sim-feedback-option.correct i{background:#238b6d;color:#fff}.sim-feedback-option.incorrect{border-color:#dba19d;background:#fff7f6}.sim-feedback-option.incorrect i{background:#b95f59;color:#fff}.sim-feedback-overview{margin-top:.8rem;padding:.8rem;border-radius:12px;background:#eaf7f4}.sim-feedback-overview h3{margin:0 0 .35rem;color:#123e3b;font-size:.76rem}.sim-feedback-overview p{margin:0;color:#405d5a;font-size:.69rem;line-height:1.5}.sim-feedback-overview>small{display:block;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #cce5df;color:#456461;font-size:.64rem;line-height:1.45}.sim-feedback-advanced{margin:0;padding:.75rem;border:1px solid #dce5ed;border-radius:10px;background:#fff;color:#607083;font-size:.68rem;line-height:1.5}
@media(min-width:821px){.sim-exam-workspace.feedback-open{grid-template-columns:minmax(250px,28%) minmax(350px,40%) minmax(330px,32%)}.sim-exam-workspace.no-chart.feedback-open{grid-template-columns:minmax(430px,55%) minmax(350px,45%)}.sim-exam-workspace.feedback-open .sim-question-rail{display:none}.sim-exam-workspace.feedback-open .sim-question{padding:clamp(1.35rem,2.2vw,2.35rem)}.sim-exam-workspace.feedback-open .sim-question .sim-rationale{display:none}}
@media(max-width:1050px){.sim-path-grid{grid-template-columns:1fr 1fr}.sim-action-hub article{grid-template-columns:auto 1fr}.sim-action-hub a{grid-column:2}.sim-exam-workspace.feedback-open,.sim-exam-workspace.no-chart.feedback-open{grid-template-columns:minmax(390px,1fr) minmax(330px,.8fr)}}
@media(max-width:820px){.sim-access-strip>div>span:last-child{display:none}.sim-study-path-head{align-items:start;flex-direction:column}.sim-action-hub{grid-template-columns:1fr}.sim-feedback-panel{display:none!important}.sim-exam-workspace.feedback-open,.sim-exam-workspace.no-chart.feedback-open{grid-template-columns:1fr}.sim-rationale{display:block}.sim-hero{min-height:auto}}
@media(max-width:560px){.sim-access-strip{padding:.62rem .7rem}.sim-access-strip a{font-size:.65rem}.sim-route-notice{grid-template-columns:auto minmax(0,1fr)}.sim-route-notice>a{grid-column:2}.sim-path-grid{grid-template-columns:1fr}.sim-study-path{padding:1rem;border-radius:19px}.sim-path-step{min-height:92px}.sim-action-hub article{grid-template-columns:auto 1fr;padding:.9rem}.sim-action-hub a{grid-column:1/-1}.sim-exam-tools .sim-tutor-toggle{display:flex!important;padding:.45rem}.sim-tutor-toggle>span{display:none}.sim-tutor-toggle em{font-size:0}.sim-tutor-toggle em:after{content:"Tutor";font-size:.58rem}}

/* Phase 83: brighter exam workspace, protected navigation and premium results dashboard. */
body.sim-exam-page{
  background:
    radial-gradient(circle at 8% 12%,rgba(82,203,189,.18),transparent 27%),
    radial-gradient(circle at 90% 86%,rgba(80,126,235,.13),transparent 30%),
    linear-gradient(145deg,#f4fbfa 0%,#f7f9fd 52%,#eef5ff 100%);
}
.sim-exam{
  background:
    radial-gradient(circle at 12% 20%,rgba(77,201,184,.12),transparent 25%),
    radial-gradient(circle at 88% 82%,rgba(84,126,227,.10),transparent 27%),
    linear-gradient(145deg,#f5fbfa,#f7f9fd 55%,#eef5ff);
}
.sim-exam-topbar{
  border-bottom-color:#d9e6ec;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 30px rgba(23,57,78,.055);
  backdrop-filter:blur(16px);
}
.sim-question{
  background:
    radial-gradient(circle at 96% 4%,rgba(63,196,178,.075),transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#fbfefd 100%);
}
.sim-chart,.sim-question-rail{
  background:linear-gradient(180deg,#f5fbfc 0%,#f8faff 100%);
}
.sim-exam-footer{
  grid-template-columns:minmax(150px,1fr) minmax(270px,auto) minmax(210px,1fr);
  padding:.65rem clamp(5.5rem,7vw,8rem) .65rem 1.2rem;
  border-top-color:#d7e4e9;
  background:rgba(255,255,255,.96);
  box-shadow:0 -12px 34px rgba(25,55,75,.07);
  backdrop-filter:blur(14px);
}
.sim-flag-button{grid-column:1;justify-self:start}
.sim-exam-nav{grid-column:2;grid-row:1;justify-self:center;justify-content:center;min-width:260px}
.sim-exam-footer-note{grid-column:3;grid-row:1;justify-self:start;max-width:270px;text-align:left;line-height:1.35}
.sim-back-button,.sim-next-button{min-width:122px;box-shadow:0 7px 18px rgba(17,45,56,.08)}
.sim-next-button{background:linear-gradient(135deg,#0d897f,#0b6470);border-color:#0b6f6a;box-shadow:0 10px 24px rgba(13,148,136,.22)}
.sim-next-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 13px 28px rgba(13,148,136,.28)}

.sim-results{
  padding:1.35rem clamp(1rem,3vw,2.25rem) 3rem;
  background:
    radial-gradient(circle at 8% 8%,rgba(83,211,192,.18),transparent 24%),
    radial-gradient(circle at 92% 14%,rgba(98,124,238,.16),transparent 24%),
    radial-gradient(circle at 84% 90%,rgba(210,171,88,.10),transparent 25%),
    linear-gradient(145deg,#f3fbfa 0%,#f6f8fd 48%,#edf4ff 100%);
}
.sim-results-shell{width:min(1180px,100%)}
.sim-results-topline{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  margin-bottom:.8rem;padding:.75rem .95rem;border:1px solid rgba(191,213,224,.82);
  border-radius:15px;background:rgba(255,255,255,.76);box-shadow:0 10px 30px rgba(26,63,87,.055);
  backdrop-filter:blur(14px);
}
.sim-results-topline>div:first-child{display:grid;gap:.1rem}
.sim-results-topline>div:first-child span{color:#4a6780;font-size:.58rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.sim-results-topline>div:first-child strong{color:#14283b;font-size:.83rem}
.sim-results-secure{display:flex;align-items:center;gap:.48rem;color:#236759;font-size:.68rem;font-weight:800}
.sim-results-secure i{display:grid;place-items:center;width:25px;height:25px;border:1px solid #a8dfd2;border-radius:50%;background:#e9f8f4;color:#0a786a;font-style:normal}
.sim-results-hero{
  position:relative;isolation:isolate;overflow:hidden;grid-template-columns:190px minmax(0,1fr);
  min-height:250px;padding:1.65rem 2rem;border:1px solid rgba(73,142,155,.25);border-radius:26px;
  background:
    radial-gradient(circle at 90% 16%,rgba(112,219,205,.32),transparent 28%),
    linear-gradient(125deg,#0b2f42 0%,#0a5360 62%,#117c78 100%);
  box-shadow:0 24px 58px rgba(17,69,91,.20);
}
.sim-results-hero:before,.sim-results-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.sim-results-hero:before{width:330px;height:330px;right:-105px;top:-205px;border:1px solid rgba(255,255,255,.22);box-shadow:0 0 0 52px rgba(255,255,255,.035),0 0 0 104px rgba(255,255,255,.025)}
.sim-results-hero:after{width:170px;height:170px;left:-80px;bottom:-105px;background:rgba(72,198,181,.16);filter:blur(2px)}
.sim-result-score{width:150px;height:150px;background:conic-gradient(#8ee8d9 calc(var(--score)*1%),rgba(255,255,255,.14) 0);box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 38px rgba(2,23,35,.20)}
.sim-result-score:after{inset:11px;background:linear-gradient(145deg,#0d3948,#0c4852)}
.sim-result-score strong{font-size:2.55rem;letter-spacing:-.05em}
.sim-result-score span{color:#bfe7e1;font-weight:700;letter-spacing:.08em}
.sim-results-hero h1{max-width:760px;margin:.35rem 0 .4rem;font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.02}
.sim-results-hero p{font-size:.84rem;color:#d6ebe8}
.sim-result-badge{display:inline-flex;padding:.32rem .5rem;border:1px solid rgba(151,234,221,.28);border-radius:999px;background:rgba(151,234,221,.09);color:#a6eee3}
.sim-result-actions a{min-width:115px;text-align:center;box-shadow:0 8px 24px rgba(2,22,33,.14)}
.sim-result-actions a:first-child{background:linear-gradient(135deg,#fff,#e9fbf7)}
.sim-result-actions a:hover{transform:translateY(-1px)}
.sim-results-grid{gap:1rem;margin-top:1rem}
.sim-result-card{
  position:relative;overflow:hidden;padding:1.25rem;border-color:#d9e5ed;border-radius:20px;
  background:rgba(255,255,255,.93);box-shadow:0 16px 40px rgba(30,67,94,.075);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  animation:sim-card-rise .45s ease both;
}
.sim-result-card:nth-child(2){animation-delay:.05s}.sim-result-card:nth-child(3){animation-delay:.1s}.sim-result-card:nth-child(4){animation-delay:.15s}
.sim-result-card:hover{transform:translateY(-2px);border-color:#bdd7e3;box-shadow:0 22px 48px rgba(30,67,94,.11)}
.sim-result-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#1ba795,#65d0c2)}
.sim-result-card--snapshot:before{background:linear-gradient(90deg,#447ee9,#72a5f6)}
.sim-result-card--remediation:before{background:linear-gradient(90deg,#d39b32,#f0c261)}
.sim-result-card--boundary:before{background:linear-gradient(90deg,#7469d4,#a89bea)}
.sim-result-card h2{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;color:#17283c;font-size:1.02rem}
.sim-result-card h2>i{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e8f8f4;color:#0d8276;font-size:.62rem;font-style:normal;font-weight:900}
.sim-result-card--snapshot h2>i{background:#ecf2ff;color:#376dcc}.sim-result-card--remediation h2>i{background:#fff5df;color:#9a6b15}.sim-result-card--boundary h2>i{background:#f0edff;color:#675cc2}
.sim-result-card h2.sim-result-subhead{margin:1.05rem 0 .8rem;padding-top:.9rem;border-top:1px solid #e7edf2;font-size:.9rem}
.sim-metric-list{gap:.72rem}
.sim-metric-row span{color:#33485d;font-size:.72rem;font-weight:620}.sim-metric-row strong{color:#17283c;font-size:.7rem}
.sim-metric-row i{height:8px;background:#eaf0f3}.sim-metric-row i:after{background:linear-gradient(90deg,#0d9488,#47c4b3);box-shadow:0 0 9px rgba(13,148,136,.25)}
.sim-result-card--snapshot .sim-metric-row i:after{background:linear-gradient(90deg,#3977e6,#62a0ef);box-shadow:0 0 9px rgba(57,119,230,.22)}
.sim-result-stats{gap:.65rem}
.sim-result-stats div{min-height:75px;place-content:center;border:1px solid #deebf3;background:linear-gradient(145deg,#f7fbff,#eef5fc)}
.sim-result-stats strong{color:#16334c;font-size:1.12rem}.sim-result-stats span{color:#668097;font-weight:800}
.sim-remediation{gap:.62rem}
.sim-remediation div{padding:.8rem .85rem;border:1px solid #f1dfb9;border-left:4px solid var(--sim-gold);border-radius:11px;background:linear-gradient(110deg,#fff8e9,#fffdf8)}
.sim-remediation strong{color:#3a352a;font-size:.72rem}.sim-remediation span{margin-top:.2rem;color:#756b57;font-size:.67rem}
.sim-result-card--boundary{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(247,245,255,.96))}
.sim-result-card--boundary .sim-exhibit-intro{margin:0;padding:.9rem;border:1px solid #e4dffd;border-radius:12px;background:#faf9ff;color:#526276;font-size:.76rem}
.sim-results-notice{margin-top:1rem;padding:.9rem 1rem;border:1px solid #efdcae;background:linear-gradient(110deg,#fff5da,#fffaf0);box-shadow:0 10px 28px rgba(104,82,31,.06)}
.sim-pilot-feedback{border-color:#c5e2e8;border-radius:19px;background:linear-gradient(120deg,#f0fbf8,#f5f8ff);box-shadow:0 16px 38px rgba(30,67,94,.07)}
.sim-pilot-feedback select,.sim-pilot-feedback textarea{border-color:#c9dae6;box-shadow:0 4px 12px rgba(30,67,94,.035)}
.sim-pilot-feedback button{background:linear-gradient(135deg,#0d9488,#0b6873);box-shadow:0 10px 22px rgba(13,148,136,.2)}
@keyframes sim-card-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media(max-width:1050px){
  .sim-exam-footer{grid-template-columns:minmax(120px,1fr) auto minmax(150px,1fr);padding-right:5.5rem}
}
@media(max-width:820px){
  .sim-exam-footer{grid-template-columns:auto 1fr;padding:.55rem 5.25rem .55rem .7rem}
  .sim-flag-button{grid-column:1}.sim-exam-nav{grid-column:2;min-width:0}.sim-exam-footer-note{display:none}
  .sim-results{padding:1rem .8rem 2rem}.sim-results-topline{padding:.68rem .75rem}
  .sim-results-hero{grid-template-columns:1fr;min-height:0;padding:1.35rem;text-align:center}.sim-result-actions{justify-content:center}
}
@media(max-width:560px){
  .sim-exam-footer{padding-right:4.8rem}.sim-next-button{min-width:112px}
  .sim-results-topline{align-items:flex-start}.sim-results-secure span{display:none}
  .sim-results-hero{border-radius:20px}.sim-results-hero h1{font-size:2rem}.sim-result-card{padding:1rem;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){.sim-result-card{animation:none;transition:none}.sim-next-button,.sim-result-actions a{transition:none}}

/* Phase 83.1: critical chat-safe action placement. The exam navigation is
   anchored to the viewport center instead of participating in the footer grid. */
body.sim-exam-page #sim-exam-footer{position:relative;padding-right:7rem}
body.sim-exam-page #sim-exam-footer .sim-exam-nav{position:absolute;left:50%;right:auto;grid-column:auto;transform:translateX(-50%);z-index:12}
body.sim-exam-page #sim-exam-footer .sim-exam-footer-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){body.sim-exam-page #sim-exam-footer{padding-right:4.75rem}}
