:root{--ink:#15243c;--muted:#526178;--line:#d5dce7;--primary:#2d56b4;--pale:#f3f6fb;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6f8fb;color:var(--ink);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--primary);text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7652e1;outline-offset:2px}h1,h2,p{margin-top:0}h1,h2{line-height:1.22;letter-spacing:-.025em}h1{font-size:clamp(27px,5vw,43px);margin-bottom:12px}h2{font-size:22px}.math-site-header{height:66px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(22px,calc((100vw - 1120px)/2));gap:15px}.math-brand{display:flex;align-items:center;gap:10px;color:#192b53;font-size:19px;font-weight:800}.math-brand span{display:inline-grid;place-items:center;width:33px;height:33px;background:#4235aa;color:white;border-radius:10px}.math-header-label{font-weight:700;color:#3d4b61;font-size:13px}.math-back{font-size:13px;font-weight:750}.math-root{min-height:75vh}.math-disclaimer{border-top:1px solid var(--line);padding:20px 16px;color:#66718a;font-size:12px;text-align:center}.eyebrow{font-size:11px;color:#344e92;letter-spacing:.08em;font-weight:850;display:block;margin-bottom:9px}.math-intro{max-width:840px;margin:0 auto;padding:58px 24px 70px}.math-intro>.lead{font-size:17px;color:#445269;max-width:640px}.math-chooser,.resume{border:1px solid var(--line);background:var(--white);border-radius:16px;padding:25px;margin:30px 0 20px;box-shadow:0 6px 24px rgba(29,45,83,.04)}.math-section-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.math-section-header h2{margin:0 0 14px}.time-note{background:#edf1ff;color:#30478c;font-size:12px;font-weight:700;padding:6px 12px;border-radius:40px;white-space:nowrap}.duration-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.time-choice{border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:3px;background:white;color:#26364e;padding:13px 7px;align-items:center;justify-content:center;min-height:77px}.time-choice strong{font-size:15px}.time-choice small{font-size:11px;color:#536079}.time-choice.selected{border:2px solid #3359b1;background:#eff3ff;color:#24458d;padding:12px 6px}.subtle{font-size:13px;color:#526178;margin:13px 0 21px}.btn{border-radius:10px;border:1px solid var(--line);font-weight:750;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:45px}.btn.primary{background:#2755ba;color:white;border-color:#2755ba}.btn.secondary{background:white;color:#294c9a}.btn.start{width:100%;font-size:16px}.btn.start span{margin-left:8px}.math-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.math-feature-grid>div{border:1px solid #e0e5ec;background:white;padding:18px;border-radius:12px}.math-feature-grid strong{font-size:14px}.math-feature-grid p{margin:7px 0 0;font-size:13px;color:var(--muted)}.copyright-note{color:#68768b;font-size:12px;margin-top:24px}.resume{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px}.resume p{margin:0;color:#58677c;font-size:13px}.exam-container{max-width:1065px;padding:24px 20px 72px;margin:0 auto}.exam-status{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:2px 0 18px}.exam-status span{display:grid;gap:2px}.exam-status small{font-size:12px;color:var(--muted)}.timer{font-variant-numeric:tabular-nums;font-weight:800;background:#eaf0ff;border:1px solid #b9c9f1;color:#2e4f9c;padding:9px 16px;border-radius:9px;font-size:18px}.timer.warning{background:#fff1ed;border-color:#eca78b;color:#ad371b}.exam-strip{display:flex;background:white;border:1px solid #aab3c2;margin-bottom:40px;min-height:45px;border-radius:3px;overflow-x:auto}.exam-strip button{border:0;background:transparent;color:#243b72;font-weight:750;min-height:44px;padding:0 15px;min-width:40px;white-space:nowrap}.exam-strip button:first-child,.exam-strip button:last-child{padding:0 24px;min-width:115px}.exam-strip button.current{background:#2c3c5d;color:white}.exam-strip button.complete:not(.current){color:#147256}.exam-strip button:hover:not(.current){background:#f2f5fa}.exam-strip .finish-link{margin-left:auto;border-left:1px solid #aab3c2}.exam-section-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:15px}.exam-section-top h1{margin:0;font-size:clamp(22px,3vw,28px)}.answered-chip{font-size:12px;color:#354867;border:1px solid #d7dfeb;background:#fff;padding:6px 11px;border-radius:50px;white-space:nowrap}.exam-sheet{border:1px solid #a8b2c3;background:white;padding:28px 28px 35px;min-height:560px}.math-story{font-size:16px;line-height:1.8;max-width:810px;white-space:pre-line;color:#1d2a40}.math-data-chart{max-width:680px;background:#f6f8fc;border:1px solid #dbe3ef;padding:16px;border-radius:7px;margin:22px 0}.math-data-chart>span{display:block;font-weight:750;color:#294c78;margin-bottom:8px}.math-data-chart table{border-collapse:collapse;width:100%;font-size:13px}.math-data-chart th,.math-data-chart td{border:1px solid #a8b8ce;padding:8px;text-align:center}.math-data-chart th{background:#e8edf7}.data-values{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:650}.math-svg{max-width:360px;margin:24px auto}.math-svg svg{width:100%;height:auto}.math-svg text{fill:#253850;font-size:13px;font-weight:700}.question-divider{height:1px;background:#dae2ee;margin:24px 0 21px}.question-id{color:#284f91;font-weight:800;font-size:12px;display:inline-block;margin-bottom:8px}.exam-sheet h2{font-size:19px;line-height:1.5;margin-bottom:24px}.answer-label{display:block;font-weight:750;font-size:14px;margin:18px 0 7px}.answer-label span{font-weight:500;color:#69758b}.main-answer,.method-answer{width:100%;border:1.5px solid #b5c2d4;background:#fff;border-radius:7px;padding:13px 14px;color:#14273d;outline-offset:2px}.main-answer{max-width:530px;min-height:49px}.method-answer{resize:vertical;min-height:128px}.method-tip{color:#58667d;font-size:13px;margin:12px 0 0}.exam-controls{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:20px}.exam-controls>span{font-weight:700;font-size:13px;color:#596880}.math-calc{margin-top:18px;border:1px solid #d7dfeb;border-radius:9px;background:white;padding:12px 16px}.math-calc summary{cursor:pointer;font-weight:750;color:#34517c}.calc-inner{display:grid;grid-template-columns:1fr 100px 1fr;gap:10px;padding-top:15px}.calc-inner label{display:grid;gap:5px;font-size:12px;color:#445573;font-weight:700}.calc-inner input,.calc-inner select{width:100%;padding:9px;border:1px solid #aab8ca;border-radius:7px;background:white;color:#15243c}.calc-result{grid-column:1/-1;background:#f0f4fd;border-radius:8px;padding:11px;text-align:center;font-weight:800;min-height:42px}.result-container{max-width:870px;padding:40px 20px 75px;margin:auto}.result-hero,.review-card{background:white;border:1px solid #d9e0eb;border-radius:14px;padding:23px;margin-bottom:18px}.result-hero>p{color:#526178}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:25px 0}.result-metrics>div{border-radius:10px;background:#f1f5fb;border:1px solid #dbe3f0;padding:15px}.result-metrics strong{display:block;font-size:21px}.result-metrics span{font-size:12px;color:#56657a}.result-notice{font-size:13px}.review-list h2{margin:32px 0 14px}.review-card__head{display:flex;align-items:center;justify-content:space-between;gap:8px}.review-card>p{margin:12px 0;color:#23344e}.review-status{font-size:12px;font-weight:700;border-radius:40px;padding:4px 8px;background:#edf1f5;color:#43526a;white-space:nowrap}.review-status.correct{background:#e3f7ee;color:#176447}.review-status.wrong{background:#fff0e9;color:#aa401d}.review-your,.review-method{padding:10px 0;border-top:1px solid #edf0f4;font-size:14px}.review-method p{margin:5px 0 0;white-space:pre-wrap}.review-solution{padding:12px;border-radius:8px;background:#f0f4ff;color:#243a6b}.review-solution p{margin:4px 0 0;white-space:pre-wrap}
@media(max-width:750px){.math-site-header{padding:0 17px}.math-header-label{display:none}.exam-container{padding:16px 10px 68px}.exam-strip{margin-bottom:25px}.exam-strip button{padding:0 12px}.exam-strip button:first-child,.exam-strip button:last-child{min-width:95px;padding:0 11px}.exam-sheet{padding:20px 17px;min-height:auto}.exam-section-top{align-items:start}.math-intro{padding:32px 18px 60px}.math-chooser{padding:18px}.duration-list{grid-template-columns:repeat(3,minmax(0,1fr))}.math-feature-grid{grid-template-columns:1fr}.math-data-chart{overflow-x:auto}.math-data-chart table{min-width:390px}.calc-inner{grid-template-columns:1fr 90px 1fr}.result-metrics{grid-template-columns:1fr 1fr}.review-card__head{flex-wrap:wrap}}
@media(max-width:410px){.math-back{font-size:12px}.math-chooser{padding:14px}.time-choice{min-height:68px}.duration-list{gap:6px}.time-choice strong{font-size:13px}.exam-section-top{flex-direction:column;align-items:start;gap:9px}.exam-sheet h2{font-size:17px}.calc-inner{grid-template-columns:1fr 80px 1fr;gap:5px}.calc-inner input{min-width:0}.exam-controls .btn{padding:9px 10px}.result-metrics{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* 2.7.37 · FP9 workspace stays paper-white even when OS prefers dark. */
html{color-scheme:light}
.math-chooser{border-color:#adb9ce}.time-choice{border-color:#9caec6;color:#192943}.time-choice small{color:#44516b}
.math-story,.exam-sheet h2{color:#18253b}.answer-label{color:#192943}.answer-label span{color:#42516a}
.main-answer::placeholder,.method-answer::placeholder{color:#627086;opacity:1}
.math-disclaimer,.copyright-note{color:#4d596e}
.exam-controls .btn:disabled{opacity:.58}

.math-optional-notes{margin-top:20px;border:1px solid #bfcbdb;border-radius:10px;padding:0 14px 13px;background:#fafbfe;}
.math-optional-notes>summary{cursor:pointer;color:#294c83;font-weight:750;padding:13px 0;list-style-position:inside;}
.math-optional-notes:not([open]){padding-bottom:0;}
.math-optional-notes .answer-label{margin-top:4px;}
.math-method-field{margin-top:16px;}
