/* Isolated Apple/browser adaptation; Android styles are never overwritten. */
:root{--web-paper:#111a2b;--web-ink:#e8eef8;--web-muted:#a5b3ca;--web-line:rgba(168,190,224,.18);--web-accent:#a9c9ff}
body.light{--web-paper:#fff;--web-ink:#17263f;--web-muted:#586983;--web-line:#dce4ee;--web-accent:#235bb9}
html{-webkit-text-size-adjust:100%;scroll-padding-top:20px}input,select,textarea{font-size:max(16px,1em)}
body{padding-top:max(20px,env(safe-area-inset-top))!important;padding-bottom:max(32px,env(safe-area-inset-bottom))!important}
.web-launch{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1400px;margin:0 auto 24px;padding:0 0 13px;border-bottom:1px solid var(--web-line);font-family:system-ui,-apple-system,sans-serif;color:var(--web-muted);font-size:11px;letter-spacing:.06em}
.web-brand{display:flex;gap:10px;align-items:center}.web-dot{width:6px;height:6px;border-radius:50%;background:#68bfa5;box-shadow:0 0 14px #68bfa555}.web-launch b{font-weight:650;color:var(--web-ink);letter-spacing:.13em}.web-launch button{border:1px solid var(--web-line);background:transparent;border-radius:24px;color:var(--web-ink);padding:10px 15px;font:600 12px system-ui;min-height:40px;cursor:pointer;white-space:nowrap}
body.exam-focus>.web-launch,body:has(#tFs.open)>.web-launch{display:none}
.web-modal[hidden]{display:none!important}.web-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#020916bb;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-family:system-ui,-apple-system,sans-serif;color:var(--web-ink)}
.web-sheet{width:min(580px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--web-line);border-radius:26px;background:var(--web-paper);box-shadow:0 40px 100px #0007;padding:26px}.web-sheet header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:26px}.web-kicker{color:var(--web-accent);font-size:10px;letter-spacing:.18em;font-weight:700}.web-sheet h2{font-size:28px;letter-spacing:-1px;margin:8px 0 0;line-height:1.1}.web-sheet p{font-size:13px;color:var(--web-muted);line-height:1.65;margin:10px 0}.web-sheet h3{font-size:14px;letter-spacing:-.2px;margin:0}.web-sheet section{padding:20px 0;border-top:1px solid var(--web-line)}.web-sheet button{font:600 13px system-ui;min-height:44px;padding:11px 16px;border:1px solid var(--web-line);border-radius:12px;background:transparent;color:var(--web-ink);cursor:pointer}.web-sheet button.primary{background:#a9c9ff;color:#102542;border-color:transparent}.web-sheet button:disabled{opacity:.45;cursor:default}.web-sheet .web-close{padding:8px 13px}.web-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.web-status{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:650;color:var(--web-accent);margin:12px 0 8px}.web-sheet progress{width:100%;height:6px;accent-color:#8fbaff}.web-steps{display:grid;gap:9px;margin-top:12px;counter-reset:step}.web-step{display:flex;align-items:center;gap:11px;color:var(--web-muted);font-size:13px;line-height:1.5}.web-step:before{counter-increment:step;content:counter(step);display:grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid var(--web-line);border-radius:50%;font-size:10px;color:var(--web-accent)}.web-note{font-size:11px!important}.web-sheet a{color:var(--web-accent)}.web-trap:focus{outline:2px solid var(--web-accent);outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid #77aaff;outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}
#exam{height:100dvh!important;max-height:100dvh!important}#timerFull{height:100dvh;max-height:100dvh}#vaultViewer .deckBox{max-height:calc(100dvh - 20px)}
@media(max-width:600px){.web-brand>span:last-child{display:none}.web-launch{margin-bottom:18px}.web-sheet{padding:22px;border-radius:22px}.web-sheet h2{font-size:26px}.web-modal{align-items:end}.web-sheet header{margin-bottom:22px}body{padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}}
@media(min-width:760px) and (max-width:1200px){.wrap{max-width:1080px}.web-launch{max-width:1080px}}
@media print{.web-launch,.web-modal{display:none!important}}
