:root{font-family:"Segoe UI",Arial,sans-serif;color:#193342;background:#f3f7f8;--teal:#0b6974;--line:#dce7ea;--muted:#526779}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}a{color:var(--teal);text-underline-offset:3px}button,a,summary,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #c69a38;outline-offset:3px}button,summary{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.skip{position:fixed;z-index:200;top:10px;left:10px;transform:translateY(-200%);background:white;padding:12px}.skip:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#173d33;letter-spacing:.09em;font-weight:800}.brand img{width:38px;height:42px;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:.1em;font-weight:500;margin-top:4px;color:#61756d}.site-header{max-width:1200px;margin:auto;padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:center}.site-header nav,.site-footer{display:flex;gap:24px;font-size:14px;flex-wrap:wrap}.intro{max-width:1200px;padding:36px 24px 48px;margin:auto}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.15em;color:#4f706a;margin:18px 0}h1{font-size:clamp(34px,5vw,60px);line-height:1.08;letter-spacing:-.035em;margin:14px 0 24px;font-weight:650}h2{font-size:21px;line-height:1.35;margin:10px 0 20px}.lead{max-width:760px;font-size:18px;line-height:1.7;color:var(--muted);margin-bottom:32px}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.intro-card{padding:28px;background:white;border:1px solid var(--line);border-radius:18px}.mode{padding:0;border:0;min-width:0}.mode label{display:flex;gap:12px;padding:18px 14px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;cursor:pointer}.mode label:has(input:checked){background:#eef9f7;border-color:#0b7b84;box-shadow:inset 3px 0 #0b7b84}.mode input{accent-color:var(--teal);margin-top:4px;flex:none;width:18px;height:18px}.mode small{display:block;color:var(--muted);line-height:1.6;margin-top:7px}.demo-facts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.demo-facts span{padding:12px 16px;background:#edf5f3;border:1px solid #d5e6e1;border-radius:10px;font-size:13px}.demo-facts b{display:block;font-size:21px;color:#124b4c}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#fff;color:#193342;border:1px solid #ccdce0;border-radius:8px;padding:10px 14px;min-height:40px;text-decoration:none;font-size:13px;font-weight:650;transition:background .15s,box-shadow .15s}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.submit{width:100%;background:#0f2938;color:white;border-color:#0f2938}.intro #start{min-height:48px;width:100%;margin-bottom:10px}.instructions ol{padding-left:21px;color:var(--muted);line-height:1.65}.instructions li{padding-left:5px;margin-bottom:15px}.instructions li b{color:#193342}details{border-top:1px solid var(--line);padding-top:16px;font-size:14px;line-height:1.7}summary{font-weight:650;color:#19545b}.fine,.rail-note{font-size:12px;line-height:1.6;color:var(--muted)}.notice{padding:16px;background:#fff8df;border-radius:10px}.site-footer{max-width:1200px;margin:auto;padding:24px;border-top:1px solid var(--line)}
.exam-shell{position:fixed;inset:0;display:flex;flex-direction:column;background:#f3f7f8;overflow:hidden}.exam-header{height:64px;flex:0 0 64px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 20px}.compact{font-size:13px;min-width:150px}.compact img{height:32px;width:28px}.compact small{font-size:10px;letter-spacing:0}.exam-progress{flex:1;max-width:700px;min-width:0}.local-status{display:block;font-size:10px;color:#3e7064;margin-bottom:5px}.exam-progress>div{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:4px}.exam-progress b{color:#193342}progress{display:block;appearance:none;width:100%;height:4px;border:0;border-radius:99px;overflow:hidden;background:#e8edf4}progress::-webkit-progress-bar{background:#e8edf4}progress::-webkit-progress-value{background:#0d7881}progress::-moz-progress-bar{background:#0d7881}.timer{margin-left:auto;background:#e7f5f2;color:#075c67;padding:6px 14px;border-radius:9px;min-width:95px;text-align:center;flex:none}.timer small{display:block;font-size:9px}.timer time{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.timer.danger{background:#fee2e2;color:#a52727}.exam-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;flex:1;min-height:0;gap:12px;padding:12px}.exam-main{display:flex;flex-direction:column;min-width:0;min-height:0}.exam-scroll{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable}.section-tabs{display:flex;gap:6px;margin-bottom:7px}.section-tabs button{flex:1;display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;padding:9px 12px;background:white;border:1px solid #cddbe5;border-radius:8px;color:#18364a;font-weight:700;font-size:12px;min-height:42px}.section-tabs small{font-size:10px;font-weight:400;white-space:nowrap}.section-tabs button[aria-selected=true]{background:linear-gradient(120deg,#12374b,#087f89);color:white;border-color:#087f89}.section-note{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 10px}.question-card,.rail-card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 3px 14px #163d5005}.question-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--teal);margin-bottom:14px}.question-meta span{color:var(--muted);white-space:nowrap}.question-card h1{font-size:20px;line-height:1.5;letter-spacing:0;margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere}#question-context{white-space:pre-wrap;font-size:14px;line-height:1.7;color:var(--muted)}.options{border:0;padding:0;margin:20px 0 0;min-width:0}.options legend{font-size:13px;margin-bottom:12px}.option{width:100%;display:flex;align-items:flex-start;gap:11px;text-align:left;padding:12px;border:1px solid #e1e7eb;border-radius:9px;background:white;cursor:pointer;font-size:14px;line-height:1.5;margin-bottom:9px}.option:has(input:checked){border-color:#0b7b84;background:#eef9f7;box-shadow:inset 3px 0 #0b7b84}.option input{accent-color:var(--teal);width:18px;height:18px;flex:none;margin-top:5px}.option .letter{width:27px;height:27px;flex:0 0 27px;border-radius:7px;background:#f1f5f9;display:grid;place-items:center;font-size:11px;font-weight:800}.option:has(input:checked) .letter{background:#0b7b84;color:white}.exam-footer{flex:0 0 54px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:8px}.exam-footer .btn{font-size:12px}.exam-rail{display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}.rail-card{padding:14px}.rail-card h2{font-size:12px;margin:0 0 13px}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.question-grid button,.all-question-button{padding:9px 0;border:1px solid #dce3ec;background:white;border-radius:7px;min-width:38px;font-size:12px}.question-grid button.current,.all-question-button.current{outline:2px solid #0b7881;outline-offset:1px}.question-grid button.visited,.all-question-button.visited{background:#f1f5f9}.question-grid button.answered,.all-question-button.answered{background:#ecfdf3;border-color:#86cba2}.question-grid button.review,.all-question-button.review{background:#fff7d9;border-color:#d7ae39}.legend{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 12px;font-size:10px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:4px}.legend i{display:block;width:10px;height:10px;border:1px solid #bdcbd0;border-radius:3px;background:white}.legend .answered{background:#dbf4e3;border-color:#86cba2}.legend .review{background:#fff3c3;border-color:#d7ae39}#rail-summary{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:12px 0;margin:0}.monitor-card{background:#0f2533;color:#fff;border:1px solid #263e48;border-radius:12px;padding:14px;font-size:12px}.candidate-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.candidate-meta span{background:#1c3340;border-radius:7px;padding:8px;color:#a8bdc7;font-size:9px}.candidate-meta strong{display:block;color:white;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.candidate-meta .wide{grid-column:1/-1}.monitor-card p{color:#c1d2d9;line-height:1.7;font-size:11px}.monitor-card .btn{min-height:32px;font-size:11px;background:transparent;color:#e7f3ed;border-color:#526e74;width:100%}.rail-note{padding:0 7px;margin:0}.calculator-toggle{width:100%;justify-content:flex-start;font-size:12px}#calculator output{display:block;text-align:right;background:#eef5f7;border-radius:8px;padding:10px;margin:8px 0;font:600 18px system-ui;overflow-wrap:anywhere}.calculator-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.calculator-keys button{padding:9px;border:1px solid var(--line);border-radius:6px;background:white;color:#16394b}.calculator-keys button:last-child{grid-column:span 2;background:#0a2a4a;color:white}.mobile-tools{display:none}.written-answer{border:1px solid #9aaea4;border-radius:12px;padding:16px;margin-top:18px}.response-label{display:block;font-weight:700;font-size:14px}.written-answer p{font-size:13px;line-height:1.6}.written-answer textarea,.code-fallback{width:100%;min-height:240px;resize:vertical;border:1px solid #7e9689;border-radius:8px;padding:14px;font-size:16px;line-height:1.6;color:#193342;background:white}.save-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--muted)}.save-row small{margin-left:auto}.code-workspace{margin-top:20px;border:1px solid #ccd8e6;border-radius:12px;overflow:hidden}.code-toolbar,.code-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px;background:#f1f5fa;font-size:12px}.code-toolbar label{display:flex;gap:8px;align-items:center}.code-toolbar select{padding:7px;border:1px solid #c9d5e3;border-radius:7px;background:white}.code-toolbar .save-status{margin-left:auto;color:var(--muted)}.code-actions .btn{font-size:12px}.code-actions small{color:var(--muted);line-height:1.6}.code-fallback{font:14px/1.6 Consolas,monospace;background:#1e1e1e;color:#f2f2f2;border:0;border-radius:0;min-height:320px}.monaco-host{height:380px}.code-tabs{display:flex;gap:8px;padding:12px;border-bottom:1px solid var(--line)}.code-tabs .active{background:#e5edf8}.code-output{padding:16px;max-height:300px;overflow:auto;font-size:12px}.code-output pre{background:#edf2f8;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}.code-sample{display:grid;grid-template-columns:1fr 1fr;gap:12px}.code-note{padding:10px 14px;font-size:11px;line-height:1.6;background:#fff8df;color:#65541f;margin:0}.error{font-size:12px;color:#a22520;line-height:1.5}.code-error{white-space:pre-wrap}.review-page{max-width:1000px;margin:auto;padding:32px 24px 64px}.review-page>.brand{margin-bottom:45px}.review-page>p{line-height:1.7;color:var(--muted)}.review-item{background:white;border:1px solid var(--line);padding:24px;border-radius:14px;margin:20px 0}.review-item h2{font-size:18px}.response{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f6f4;padding:16px;border-radius:9px;max-height:300px;overflow:auto;font-size:14px;line-height:1.6}.model-response{white-space:pre-wrap;overflow-wrap:anywhere}.review-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:24px}.answer-badge{display:inline-block;background:#e7f3ec;padding:5px 9px;border-radius:6px;font-size:11px}.answer-badge.missed{background:#fff0e6;color:#754026}dialog{max-width:620px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;border:1px solid #b7ccca;border-radius:18px;padding:28px;color:#193342;box-shadow:0 25px 90px #071b3340}dialog::backdrop{background:#0f2533bd}dialog .dialog-close{float:right;font-size:22px;min-width:38px;padding:2px 8px}dialog p{line-height:1.6;font-size:14px}.dialog-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.submission-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.all-question-button{margin:0 8px 8px 0;padding:9px 12px}#all-questions h3{font-size:14px;margin:22px 0 12px}
@media(hover:hover){.btn:hover{background:#edf5f3;box-shadow:0 3px 9px #153b2c12}.btn.primary:hover{background:#0b7d87}.btn.submit:hover{background:#174451}.option:hover{border-color:#64a8ae}}@media(max-width:1050px){.section-tabs button{flex-direction:column;align-items:flex-start;gap:4px;padding:8px}.exam-grid{grid-template-columns:minmax(0,1fr) 240px}}@media(max-width:800px){.intro-grid{grid-template-columns:1fr}.intro{padding-top:20px}.exam-grid{grid-template-columns:1fr;padding:10px}.exam-rail{display:none}.exam-header{padding:0 12px;gap:12px}.compact{min-width:0}.compact span{font-size:11px}.compact img{width:24px}.compact small{font-size:8px}.exam-progress{max-width:none}.exam-progress>div{font-size:10px}.local-status{font-size:9px}.timer{min-width:72px;padding:7px 9px}.timer time{font-size:16px}.mobile-tools{display:flex;gap:8px;margin-top:7px}.mobile-tools .btn{flex:1;font-size:11px;min-height:36px}.question-card{padding:16px}.question-card h1{font-size:18px}.exam-footer .btn{font-size:11px;padding:8px;min-height:40px}.section-tabs button{font-size:10px}.section-tabs small{font-size:9px}.exam-footer{flex-basis:50px}.monaco-host{height:310px}.code-sample{grid-template-columns:1fr}}@media(max-width:480px){.site-header{padding:18px;align-items:flex-start}.site-header nav{gap:10px;font-size:11px;flex-direction:column}.intro{padding:20px 18px 36px}.intro-card{padding:20px}.lead{font-size:16px}.demo-facts{gap:7px}.demo-facts span{padding:9px;font-size:11px}.demo-facts b{font-size:17px}.exam-header{gap:9px}.compact img{width:21px;height:27px}.compact span{font-size:10px}.exam-progress>div>span{display:none}.local-status{font-size:8px;max-width:115px;line-height:1.3}.exam-progress b{font-size:10px}.timer{min-width:65px}.question-meta{font-size:9px}.section-tabs{gap:4px}.section-tabs button{padding:7px 5px}.option{gap:8px;padding:10px;font-size:13px}.option input{width:16px;height:16px}.option .letter{width:23px;flex-basis:23px;height:25px}.written-answer{padding:12px}.save-row small{margin-left:0}.review-page{padding:24px 18px}.review-item{padding:18px}dialog{padding:22px}.dialog-actions>.btn{width:100%}.code-tabs .btn{font-size:11px;padding:8px}}@media(prefers-reduced-motion:reduce){.btn{transition:none}}
