.water-jets-diagram{--water-jets-blue:#123a72;--water-jets-teal:#08746f;border:1px solid var(--line,#d6e1ed);color:#183452;background:#fff;border-radius:8px;margin:20px 0;padding:16px}.water-jets-drawing{width:100%;max-width:560px;height:auto;margin:0 auto;font:18px Arial,Helvetica,sans-serif;display:block;overflow:visible}.water-jets-water{fill:#e2f2f4}.water-jets-surface{fill:none;stroke:#08746f;stroke-width:2px}.water-jets-tank{fill:none;stroke:#183452;stroke-width:3px}.water-jets-ground{fill:none;stroke:#64768b;stroke-width:2px}.water-jets-guide{fill:none;stroke:#98a8ba;stroke-width:1px;stroke-dasharray:3 4}.water-jets-label{fill:#465e78}.water-jets-dimension{color:#526a82}.water-jets-dimension path,path.water-jets-dimension{fill:none;stroke:currentColor;stroke-width:1.25px}.water-jets-dimension text{fill:currentColor;font-size:18px}.water-jets-a{color:var(--water-jets-blue)}.water-jets-b{color:var(--water-jets-teal)}.water-jets-hole{fill:currentColor}.water-jets-hole-label{fill:currentColor;text-anchor:middle;font-size:22px;font-weight:700}.water-jets-flow,.water-jets-trajectory{fill:none;stroke:currentColor;stroke-width:3px}.water-jets-b .water-jets-trajectory{stroke-dasharray:7 5}.water-jets-range{color:#183452;fill:currentColor}.water-jets-diagram .water-jets-caption{color:#344f6c;margin:4px 0 0;font-size:14px;line-height:1.6}.water-jets-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin-top:16px;display:grid}.water-jets-result{background:#f5f8fc;border-top:3px solid;padding:12px}.water-jets-result.water-jets-b{border-top-style:dashed}.water-jets-diagram .water-jets-result-title{margin:0 0 10px;font-size:15px;font-weight:700}.water-jets-result dl{color:#183452;margin:0;font-size:14px}.water-jets-result dl>div{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.water-jets-result dl>div+div{margin-top:5px}.water-jets-result dt{color:#465e78}.water-jets-result dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.water-jets-diagram .water-jets-note{color:#465e78;margin:12px 0 0;font-size:13px;line-height:1.6}@media (max-width:420px){.water-jets-diagram{padding:10px}}@media print{.water-jets-diagram{break-inside:avoid}.water-jets-drawing{max-width:470px}}
.witch-flight-diagram{--witch-navy:#123a72;--witch-teal:#08746f;--witch-orange:#a94e12;--witch-ink:#183452;--witch-muted:#526a82;--witch-guide:#8194a9;--witch-line:#d6e1ed;--witch-surface:#fff;--witch-building:#edf1f6;--witch-roof:#f9e4d0;--witch-window:#c1ccda;--witch-detail:#f8fafc;border:1px solid var(--witch-line);background:var(--witch-surface);color:var(--witch-ink);break-inside:avoid;border-radius:8px;margin:20px 0;padding:14px}.witch-flight-drawing{width:100%;max-width:750px;height:auto;margin:0 auto;font:22px Arial,Helvetica,sans-serif;display:block}.witch-flight-diagram text{fill:var(--witch-ink)}.witch-axis,.witch-ground{fill:none;stroke:var(--witch-muted);stroke-width:1.7px}.witch-axis-label{font-size:21px}.witch-tower,.witch-spire{fill:var(--witch-building);stroke:var(--witch-ink);stroke-width:2px}.witch-spire-roof{fill:var(--witch-roof);stroke:var(--witch-orange);stroke-width:2px}.witch-spire-centre{fill:none;stroke:var(--witch-muted);stroke-width:1px;stroke-dasharray:4 4}.witch-window{fill:var(--witch-window);stroke:var(--witch-muted);stroke-width:1px}.witch-cauldron{fill:var(--witch-ink);stroke:var(--witch-ink);stroke-width:2px}.witch-cauldron ellipse{fill:var(--witch-surface);stroke:var(--witch-orange);stroke-width:3px}.witch-cauldron-leg{fill:none;stroke-width:3px}.witch-guide{fill:none;stroke:var(--witch-guide);stroke-width:1px;stroke-dasharray:3 5}.witch-dimension{fill:none;stroke:var(--witch-muted);stroke-width:1.6px}.witch-dimension-label,.witch-target-label{font-size:22px}.witch-angle-guide,.witch-angle{fill:none;stroke:var(--witch-orange);stroke-width:1.6px}.witch-angle-label{font-size:23px}.witch-launch{fill:none;stroke:var(--witch-navy);stroke-width:3px}.witch-launch-label{font-size:26px;font-style:italic}.witch-launch-point,.witch-silhouette{fill:var(--witch-navy)}.witch-broomstick{fill:none;stroke:var(--witch-navy);stroke-width:2.5px}.witch-trajectory{fill:none;stroke:var(--witch-teal);stroke-width:3.5px;stroke-linejoin:round;stroke-linecap:round}.witch-solution-point{fill:var(--witch-teal);stroke:var(--witch-surface);stroke-width:1px}.witch-spire-point{fill:var(--witch-orange)}.witch-clearance-leader{fill:none;stroke:var(--witch-muted);stroke-width:1.3px}.witch-point-label{font-size:20px}.witch-label-halo{paint-order:stroke;stroke:var(--witch-surface);stroke-width:5px;stroke-linejoin:round}.witch-flight-diagram .witch-equation{text-align:center;color:var(--witch-teal);margin:8px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(17px,2.8vw,23px);font-weight:700}.witch-solution-details{max-width:320px;margin:16px auto 0}.witch-clearance-detail{border:1px solid var(--witch-line);background:var(--witch-detail);border-radius:6px;padding:12px}.witch-clearance-detail h4{color:var(--witch-navy);flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin:0;font:600 16px Arial,Helvetica,sans-serif;display:flex}.witch-clearance-detail h4 span{color:var(--witch-muted);align-self:center;font-size:12px;font-weight:400}.witch-clearance-detail svg{width:100%;height:auto;margin:8px auto 0;font:18px Arial,Helvetica,sans-serif;display:block}.witch-gap-value{font-size:22px;font-weight:700}@media (max-width:540px){.witch-flight-diagram{padding:6px}.witch-point-label{font-size:24px}.witch-dimension-label,.witch-target-label,.witch-axis-label{font-size:28px}.witch-angle-label{font-size:29px}.witch-launch-label{font-size:32px}.witch-clearance-detail{padding:10px}}@media screen and (prefers-color-scheme:dark){.witch-flight-diagram{--witch-navy:#c2d9ff;--witch-teal:#77c9c2;--witch-orange:#e7aa82;--witch-ink:#e9eef6;--witch-muted:#bac9dc;--witch-guide:#8499b1;--witch-line:#46596f;--witch-surface:#152535;--witch-building:#26394c;--witch-roof:#43332d;--witch-window:#52677e;--witch-detail:#1b2e42;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}@media print{.witch-flight-diagram{break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:8px}.witch-flight-drawing{max-width:150mm}.witch-solution-details{max-width:70mm;margin-top:2mm}.witch-clearance-detail{background:#fff;padding:2mm}.witch-clearance-detail svg{max-height:36mm}.witch-flight-diagram .witch-equation{margin-top:1mm;font-size:16px}}
.spellbooks-diagram{--spell-surface:var(--white,#fff);--spell-ink:var(--ink,#172b3a);--spell-muted:var(--muted,#526477);--spell-line:var(--line,#dce4ed);--spell-heading:var(--brand-primary,#003771);--spell-purple:#725399;--spell-orange:#a95129;--spell-teal:#187b79;--spell-fill-opacity:.13;border:1px solid var(--spell-line);background:var(--spell-surface);color:var(--spell-ink);break-inside:avoid;border-radius:8px;margin:18px 0;padding:12px}.spellbooks-drawing{width:100%;max-width:420px;height:auto;margin:0 auto;font-family:Arial,Helvetica,sans-serif;display:block;overflow:visible}.spellbooks-set{fill-opacity:var(--spell-fill-opacity);stroke-width:2.2px}.spellbooks-set-a{fill:var(--spell-purple);stroke:var(--spell-purple)}.spellbooks-set-b{fill:var(--spell-orange);stroke:var(--spell-orange)}.spellbooks-set-c{fill:var(--spell-teal);stroke:var(--spell-teal)}.spellbooks-set-label{fill:var(--spell-ink);font-size:25px;font-weight:600}.spellbooks-region-count{fill:var(--spell-ink);font-size:32px;font-weight:600}.spellbooks-unknown{font-weight:400}.spellbooks-text-equivalent{color:var(--spell-muted);margin-top:8px;font-size:14px}.spellbooks-text-equivalent summary{cursor:pointer;width:fit-content;min-height:40px;padding:8px 0}.spellbooks-text-equivalent summary:focus-visible{outline:2px solid var(--spell-heading);outline-offset:4px}.spellbooks-text-equivalent dl{margin:6px 0 0}.spellbooks-text-equivalent dl div{justify-content:space-between;gap:20px;max-width:360px;padding:5px 0;display:flex}.spellbooks-text-equivalent dd{color:var(--spell-ink);margin:0;font-weight:600}@media (max-width:540px){.spellbooks-diagram{padding:8px}.spellbooks-set-label{font-size:32px}.spellbooks-region-count{font-size:36px}}@media screen and (prefers-color-scheme:dark){.spellbooks-diagram{--spell-surface:#152535;--spell-ink:#e9eef6;--spell-muted:#bac9dc;--spell-line:#46596f;--spell-heading:#c2d9ff;--spell-purple:#c0a6e4;--spell-orange:#e7aa82;--spell-teal:#77c9c2;--spell-fill-opacity:.12;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}@media print{.spellbooks-diagram{--spell-surface:#fff;--spell-ink:#172b3a;--spell-muted:#526477;--spell-line:#bac7d6;--spell-heading:#003771;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:3mm 0;padding:2mm}.spellbooks-drawing{max-width:78mm}.spellbooks-text-equivalent{display:none}}
.halloween-figure{box-sizing:border-box;color:#f2e8d9;break-inside:avoid;background:#211f31;border:1px solid #61566e;border-radius:8px;min-width:0;margin:24px auto}.halloween-figure svg{width:100%;height:auto;display:block}.coin-figure{background:radial-gradient(at 52% 45%,#30283e,#1c2030 85%);max-width:540px}.coin-drawing,.chain-drawing{position:relative}.coin-label,.coin-orbit-label{color:#eee4ef;font-size:14px;line-height:1.3;position:absolute}.fixed-label{top:26%;left:47.9167%;transform:translate(-50%,-50%)}.moving-label{top:65%;left:83%;transform:translate(-50%,-50%)}.coin-orbit-label{white-space:nowrap;color:#cfc3dc;font-size:13px;bottom:7%;left:50%;transform:translate(-50%)}.coin-demonstration{padding:0 18px 16px}.coin-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.coin-controls button{font:inherit;color:#f5e9d9;cursor:pointer;background:0 0;border:1px solid #a294b3;border-radius:4px;min-height:44px;padding:8px 16px;font-size:.85rem}.coin-controls button:focus-visible{outline-offset:3px;outline:3px solid #f0c894}.coin-count{font-variant-numeric:tabular-nums;margin-left:auto;font-size:.85rem}.coin-demonstration figcaption,.coin-demonstration .motion-note{color:#d6ccdf;margin:12px 0 0;padding:0;font-size:.8rem;line-height:1.5}.chain-figure{background:#1c2730;border-color:#51626a;max-width:800px;padding:20px 14px 4px;container-type:inline-size}.chain-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.chain-position{min-width:0}.halloween-figure .chain-position h3{color:#e3ebe8;margin:0 0 22px;padding-left:6%;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.4}.chain-drawing{width:100%}.diagram-maths{color:#edf3ec;white-space:nowrap;font-size:17px;line-height:1;position:absolute;transform:translate(-50%,-50%)}.diagram-maths .katex{color:inherit;font-size:1em}.diagram-maths .math-inline{white-space:nowrap}.diagram-maths.horizontal-length{transform:translate(-50%);top:0!important}@container (max-width:560px){.chain-comparison{grid-template-columns:1fr;gap:18px}.chain-position+.chain-position{border-top:1px solid #44535b;padding-top:18px}}.ranked-question-page[data-season=halloween] .page-head{border-left:3px solid #ad582e;margin:18px 0 14px;padding:0 0 0 18px}.ranked-question-page[data-season=halloween] .page-head:before{content:"Halloween · Problems of the Week";text-transform:uppercase;letter-spacing:.12em;color:#765039;margin-bottom:10px;font-size:.72rem;font-weight:600;display:block}.ranked-question-page[data-season=halloween] .page-head h1{margin:6px 0 10px}.ranked-question-page[data-season=halloween] .page-head p{margin:0}.ranked-question-page[data-season=halloween] .ranked-problem-card{border-top:3px solid #ad582e}.ranked-question-page[data-season=halloween][data-subject=Physics] .ranked-problem-card{border-top-color:#427766}.ranked-question-page[data-season=halloween] .ranked-print-link{margin:6px 0 12px}.ranked-question-page[data-season=halloween] .ranked-answer form{gap:10px;display:grid}.ranked-question-page[data-season=halloween] .ranked-answer input{border:1px solid var(--line);background:var(--white);width:100%;max-width:320px;min-height:48px;color:var(--ink);font:inherit;border-radius:6px;padding:10px 14px;font-size:1.15rem}.ranked-question-page[data-season=halloween] .ranked-answer button{justify-self:start}.ranked-question-page[data-season=halloween] .ranked-answer label{font-weight:600}.hero-board[data-season=halloween]{background:#1c2030;border:1px solid #66506b}.hero-board .halloween-figure{border:0;max-width:340px;margin:16px auto}@media (max-width:480px){.halloween-figure{margin:18px 0}.chain-figure{padding:16px 8px 0}.diagram-maths{font-size:16px}.coin-label{font-size:12px}.coin-orbit-label{font-size:11px}.coin-demonstration{padding:0 12px 12px}.coin-controls{gap:8px}.coin-controls button{padding:8px 12px}.coin-count{margin-left:0}.ranked-question-page[data-season=halloween] .page-head{padding-left:12px}}@media print{.halloween-figure{-webkit-print-color-adjust:exact;print-color-adjust:exact;max-width:540px;margin:12px auto}.coin-figure{max-width:380px}.chain-figure{container-type:normal}.chain-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chain-position+.chain-position{border:0;padding:0}.diagram-maths{font-size:14px}.coin-controls,.motion-note{display:none!important}}
.math-choice-group{border:0;min-width:0;margin:0 0 15px;padding:0}.math-choice-group legend{margin-bottom:10px;padding:0;font-weight:600}.problem-card .math-choice-option{border:1px solid var(--line);cursor:pointer;border-radius:5px;align-items:flex-start;gap:12px;min-height:44px;margin:8px 0;padding:12px;font-weight:400;line-height:1.6;display:flex}.problem-card .math-choice-option:has(input:checked){border-color:var(--ink);background:#edf3fa}.problem-card .math-choice-option:focus-within{outline:2px solid var(--ink);outline-offset:2px}.problem-card .math-choice-option input[type=radio]{width:18px;height:18px;min-height:0;accent-color:var(--ink);flex:0 0 18px;margin:4px 0 0;padding:0}.math-choice-option>span{overflow-wrap:anywhere;min-width:0;max-width:100%}.math-choice-option .math-inline{vertical-align:middle;max-width:100%;display:inline-block;overflow:auto hidden}.math-choice-group:disabled .math-choice-option{cursor:default;opacity:.7}
.responsive-maths{width:100%;min-width:0;max-width:100%;display:block;overflow:auto hidden}.responsive-maths-expression{white-space:nowrap;width:max-content;max-width:none;display:block}.responsive-maths .math-display{width:max-content;max-width:none;overflow:visible}.responsive-maths .katex-display{white-space:nowrap}.responsive-maths:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.ranked-fitted-text .problem-equation{margin:12px 0 16px;padding:4px 0}.ranked-fitted-text{line-height:1.6}.ranked-fitted-text>p{margin-bottom:.8rem;line-height:1.6}.ranked-fitted-text .ranked-section-label{break-after:avoid;margin-top:22px;margin-bottom:10px}.spellbooks-question .ranked-question-copy{font-size:1.125rem;line-height:1.6}@media (max-width:540px){.spellbooks-question .ranked-question-copy{font-size:1rem}.ranked-fitted-text .problem-equation{margin:10px 0 14px;padding:3px 0}.admin-panel>details>.spellbooks-question{margin-inline:-6px}}@media print{body:has(.ranked-question-page .spellbooks-question) .account-save-indicator{display:none}.ranked-question-page:has(.spellbooks-question)>.text-link{display:none}.ranked-question-page:has(.spellbooks-question) .ranked-feedback{display:none}.spellbooks-question .ranked-question-part{break-inside:avoid}.spellbooks-question .ranked-question-copy,.ranked-fitted-text{font-size:11pt;line-height:1.4}.ranked-page .ranked-fitted-text>p,.print-question .ranked-fitted-text>p{margin:0 0 2.5mm;line-height:1.4}.ranked-fitted-text>p:has(+.problem-equation){break-after:avoid}.ranked-page .ranked-fitted-text .problem-equation,.print-page .print-question .ranked-fitted-text .problem-equation{break-inside:avoid;margin:2mm 0 3mm;padding:0;font-size:11pt}.ranked-fitted-text .ranked-section-label{break-after:avoid;margin-top:4mm;margin-bottom:2mm;font-size:12pt}.ranked-hint:has(.ranked-fitted-text){break-inside:avoid}.responsive-maths{overflow:visible}}
.ranked-integer-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;min-width:0;margin:1.1rem 0 1.7rem;padding:0;display:grid}.ranked-integer-fields:has(.ranked-integer-field:only-of-type){grid-template-columns:1fr}.ranked-integer-field{min-width:0}.ranked-group-instruction{grid-column:1/-1;margin:0 0 .15rem}.ranked-integer-fields>legend{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ranked-integer-label{font:600 .9rem/1.5 var(--sans,sans-serif);margin-bottom:.4rem;display:block}.ranked-integer-entry{align-items:center;gap:.65rem;min-height:2.75rem;display:flex}.ranked-integer-entry input{border:1px solid var(--border-control,#64748b);background:var(--white,#fff);width:6.25rem;min-width:0;max-width:100%;min-height:2.75rem;color:var(--ink,#172a3a);font:inherit;font-variant-numeric:tabular-nums;border-radius:.3rem;padding:.5rem .65rem}.ranked-integer-entry input:focus-visible{outline-offset:3px;outline:3px solid #5988c8}.ranked-integer-entry input[aria-invalid=true]{border-color:#ad3030}.ranked-integer-entry select{border:1px solid var(--border-control,#64748b);background:var(--white,#fff);width:8.5rem;min-width:0;max-width:100%;min-height:2.75rem;color:var(--ink,#172a3a);font:inherit;border-radius:.3rem;padding:.5rem .65rem}.ranked-integer-entry select:focus-visible{outline-offset:3px;outline:3px solid #5988c8}.ranked-integer-entry select[aria-invalid=true]{border-color:#ad3030}.ranked-field-format{margin:.4rem 0 0}.ranked-multipart-form .ranked-integer-entry input{width:8.5rem}.ranked-multipart-form .ranked-integer-fields:has(>.ranked-integer-field:nth-of-type(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.ranked-part-feedback{border-top:1px solid var(--line);margin:1rem 0;padding:0;list-style:none}.ranked-part-feedback li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:.3rem 1rem;padding:.6rem 0;font-size:.9rem;display:flex}.ranked-duration{color:var(--muted);font-size:.9rem;margin-top:.35rem!important}.flight-question .ranked-question-copy{font-size:1.05rem;line-height:1.7}.flight-question .ranked-section-label{margin:1.3rem 0 .7rem;font-size:1.1rem;line-height:1.4}.flight-question .problem-equation{margin-block:.5rem 1rem}.flight-question .ranked-question-part{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:.2rem}.ranked-field-error{color:#ad3030;margin:.4rem 0 0;font:.85rem/1.4 sans-serif}.ranked-answer-line{border-bottom:1px solid;width:5.5rem;height:2rem;display:inline-block}.ranked-print-answer{display:none}.ranked-question-part{min-width:0}.ranked-integer-submit{margin-top:1rem}.ranked-integer-submit>p{margin:.65rem 0}.ranked-bonus{border-top:1px solid var(--line);margin-top:2rem;padding-top:.5rem}.ranked-bonus form>p{margin:.65rem 0}.ranked-bonus-solution{margin-top:1rem}@media (max-width:560px){.ranked-integer-fields{grid-template-columns:1fr;gap:1rem}.ranked-multipart-form .ranked-integer-fields:has(>.ranked-integer-field:nth-of-type(3)){grid-template-columns:1fr}.ranked-question-page .ranked-statement:has(.ranked-integer-form){padding-left:1rem;padding-right:1rem}}@media (max-width:360px){.ranked-question-page .ranked-statement:has(.ranked-integer-form){padding-left:.75rem;padding-right:.75rem}}@media print{.ranked-integer-fields{break-inside:avoid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1.5rem;margin:.7rem 0 1rem}.ranked-integer-entry input,.ranked-integer-entry select,.ranked-integer-submit,.ranked-field-error{display:none!important}.ranked-print-answer{display:inline-block}.ranked-integer-entry{min-height:1.8rem}.ranked-integer-label{font-size:9pt}.ranked-answer-line{height:1.5rem}.ranked-bonus form>p,.ranked-bonus form>button{display:none}.ranked-group-instruction{font-size:9pt}.flight-question .ranked-question-part{break-inside:avoid;margin-top:4mm;padding-top:0}.flight-question .ranked-question-copy{font-size:11pt}.flight-question .ranked-section-label{margin:3mm 0 2mm;font-size:11pt}.flight-question .problem-equation{margin-block:1mm 2mm}.ranked-part-feedback{display:none!important}.ranked-question-page:has(.flight-question)>.text-link{display:none!important}body:has(.flight-question) .account-save-indicator{display:none!important}.ranked-question-page:has(.flight-question) .ranked-feedback{display:none!important}.ranked-bonus-solution>h3{break-after:avoid}.ranked-question-page:has(.flight-question) .ranked-bonus-solution{break-inside:avoid}}
.problem-availability{flex-wrap:wrap;align-items:baseline;gap:4px 20px;margin:0 0 20px;font-size:.875rem;line-height:1.6;display:flex}.problem-availability-status{color:var(--ink);align-items:center;gap:7px;font-weight:500;display:inline-flex}.problem-availability-status svg{flex:none;align-self:center}.problem-availability-deadline{color:var(--muted)}.problem-availability time{white-space:nowrap}.ranked-weekly-problem .problem-availability{margin:12px 0 0}.ranked-challenge-summary .problem-availability{margin:12px 0}@media (max-width:480px){.problem-availability{column-gap:14px;font-size:.8125rem}}@media print{.problem-availability{display:none}}
.ranked-weekly-problem{border:1px solid var(--line,#d9e2ed);background:var(--white,#fff);border-radius:10px;min-width:0;padding:clamp(20px,4vw,36px)}.ranked-weekly-problem h2{margin:8px 0 12px;font-size:clamp(25px,3vw,34px)}.ranked-weekly-problem h2 a{text-decoration:none}.ranked-weekly-meta,.ranked-weekly-caption{color:var(--muted,#4e6480);font-size:14px}.ranked-weekly-statement{overflow-wrap:anywhere;margin:24px 0}.ranked-weekly-statement .math-display{max-width:100%;overflow-x:auto}.ranked-weekly-actions{flex-wrap:wrap;align-items:center;gap:22px;margin-top:22px;display:flex}.ranked-weekly-caption{margin:16px 0 0}.hero-board .board-weekly-teaser{max-width:360px;margin:18px 0 26px;font-size:clamp(16px,2vw,20px);line-height:1.55;position:relative}.hero-board-weekly{min-width:0;min-height:0;container-type:inline-size}.hero-board-weekly .board-top{letter-spacing:1.2px;gap:16px;font-size:10px;line-height:1.5}.hero-board-weekly .board-dot{flex:0 0 8px}.hero-board-weekly .board-note{font-family:var(--sans,Arial, sans-serif);margin-top:28px;font-size:13px;font-style:normal;line-height:1.55;transform:none}.hero-board-weekly h2{letter-spacing:-.6px;text-wrap:balance;margin:12px 0 20px;font-size:clamp(27px,9cqi,36px);line-height:1.14}.hero-board .board-weekly-equations{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px 20px;margin:22px 0 24px;font-size:18px;display:grid;position:relative}.hero-board .board-weekly-equations>div{min-width:0}.hero-board .board-weekly-equations .math-display{max-width:100%;padding:8px 0;display:block;overflow:visible}.hero-board .board-weekly-equations .katex-display{margin:0}.hero-board .board-weekly-equations-single{grid-template-columns:minmax(0,1fr);margin:0;font-size:clamp(16px,6cqi,19px)}.hero-board .board-weekly-summary{background:#ffffff08;border:1px solid #ffffff30;border-radius:6px;margin:0 0 22px;padding:14px 16px 16px;position:relative}.hero-board .board-weekly-facts{flex-wrap:wrap;gap:5px 18px;margin:10px 0 0;font-size:13px;line-height:1.6;display:flex}.hero-board .board-weekly-facts span{white-space:nowrap}.hero-board .board-weekly-facts strong{font-weight:600}.hero-board .board-weekly-tier{margin:14px 0 18px;font-size:13px;line-height:1.5}.ranked-print-question .math-display{max-width:100%;overflow-x:auto}@media print{.ranked-print-question .math-display{overflow:visible}}
.progress-dashboard{--progress-accent:var(--brand-primary,#003771);padding:38px 0 70px}.progress-dashboard *{min-width:0}.progress-dashboard h1,.progress-dashboard h2,.progress-dashboard h3,.progress-dashboard h4,.progress-dashboard p{margin-top:0}.progress-dashboard h1{font-family:var(--serif);letter-spacing:-.04em;margin-bottom:12px;font-size:clamp(2.6rem,4vw,3.4rem);line-height:1.08}.progress-dashboard h2{font-family:var(--serif);margin-bottom:0;font-size:1.65rem;line-height:1.2}.progress-dashboard h3{font-size:1.1rem}.progress-page-head{justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:32px;display:flex}.progress-page-head>div{max-width:690px}.progress-page-head .eyebrow{letter-spacing:.13em;margin-bottom:16px;font-size:.72rem}.progress-page-head p:not(.eyebrow){color:var(--muted);margin-bottom:0;font-size:1.06rem;line-height:1.65}.progress-weekly{margin:0 0 28px}.progress-weekly>.progress-section-heading{margin-bottom:19px}.progress-weekly>.progress-section-heading h2{font-size:clamp(1.8rem,3vw,2.15rem)}.progress-weekly-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.progress-weekly-card{border:1px solid var(--line);border-top:3px solid var(--progress-accent);background:var(--lime);border-radius:9px;flex-direction:column;padding:24px 26px;display:flex}.progress-weekly-card[data-subject=Physics]{background:var(--aqua)}.progress-weekly-subject{color:var(--progress-accent);justify-content:space-between;align-items:center;margin-bottom:15px;font-size:.84rem;font-weight:600;display:flex}.progress-weekly-card h3{font-family:var(--serif);letter-spacing:-.02em;overflow-wrap:anywhere;margin-bottom:12px;font-size:clamp(1.5rem,2.5vw,1.9rem);line-height:1.2}.progress-weekly-card h3 a{text-decoration:none}.progress-weekly-card h3 a:hover{text-underline-offset:5px;text-decoration:underline}.progress-weekly-topic{color:var(--muted);overflow-wrap:anywhere;margin-bottom:15px;font-size:.87rem;line-height:1.6}.progress-weekly-meta{flex-wrap:wrap;gap:10px 18px;margin-bottom:21px;font-size:.79rem;line-height:1.5;display:flex}.progress-weekly-meta>span:first-child{color:var(--progress-accent);font-weight:600}.progress-weekly-meta>span:last-child{color:var(--muted)}.progress-weekly-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;margin-top:auto;padding-top:17px;display:flex}.progress-weekly-state{align-items:center;gap:6px;font-size:.82rem;line-height:1.5;display:inline-flex}.progress-weekly-state>svg{flex-shrink:0}.progress-weekly-state.is-solved{color:var(--success-fg)}.progress-weekly-footer .button{background:var(--progress-accent);flex-shrink:0;gap:10px;min-height:44px;padding:10px 14px;font-size:.78rem}.progress-weekly-footer .button:hover{filter:brightness(.9)}.progress-help{color:var(--muted);font-size:.8rem;line-height:1.7}.progress-help>summary{font-weight:500}.progress-help>p{max-width:860px;margin:0 0 10px}.progress-counting-help{margin:4px 0 21px}.progress-filter-help{margin-bottom:13px}.progress-exploration-grid.is-new{grid-template-columns:1fr}.storage-notice-compact{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 20px;margin:20px 0 0;padding:13px 17px;display:grid}.storage-notice-compact>p{margin:0;font-size:.84rem;line-height:1.5}.storage-notice-actions{flex-wrap:wrap;gap:6px 18px;display:flex}.storage-notice-actions .text-link{min-height:36px;font-size:.78rem}.storage-notice-compact>details{grid-column:1/-1;font-size:.78rem;line-height:1.6}.storage-notice-compact summary{cursor:pointer;min-height:36px;padding-top:8px}.storage-notice-compact details p{max-width:760px;margin:6px 0 2px}.progress-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.progress-summary article{background:var(--white);border:1px solid var(--line);border-radius:9px;flex-direction:column;align-items:flex-start;padding:23px 20px;display:flex;position:relative}.progress-summary article>svg{color:var(--progress-accent);position:absolute;top:21px;right:17px}.progress-summary h2{min-height:36px;padding-right:25px;font-family:inherit;font-size:.8rem;font-weight:600;line-height:1.5}.progress-summary [data-testid=metric-value]{color:var(--progress-accent);font-variant-numeric:tabular-nums;margin:8px 0 13px;font-size:3.2rem;font-weight:500;line-height:1.15}.progress-summary article>span{color:var(--muted);font-size:.8rem;line-height:1.5}.progress-summary small{color:var(--muted);margin-top:13px;font-size:.73rem;line-height:1.5}.progress-summary progress{margin-top:13px}.progress-dashboard progress{appearance:none;background:var(--line);width:100%;height:8px;color:var(--progress-accent);border:0;border-radius:10px;display:block;overflow:hidden}.progress-dashboard progress::-webkit-progress-bar{background:var(--line);border-radius:10px}.progress-dashboard progress::-webkit-progress-value{background:var(--progress-accent);border-radius:10px}.progress-dashboard progress::-moz-progress-bar{background:var(--progress-accent);border-radius:10px}.progress-caption,.progress-counting-note{color:var(--muted);font-size:.76rem;line-height:1.6}.progress-counting-note{max-width:970px;margin:15px 0 29px}.progress-welcome{background:var(--lime);border:1px solid var(--line);border-radius:9px;margin-bottom:28px;padding:26px}.progress-welcome p{color:var(--muted);margin:10px 0 18px;line-height:1.6}.progress-welcome .button-row{gap:15px 24px}.progress-section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px;display:flex}.progress-section-heading p{color:var(--muted);margin:9px 0 0;font-size:.88rem;line-height:1.6}.progress-continue{margin:0 0 29px}.progress-continue .progress-section-heading{margin-bottom:15px}.progress-challenges{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:13px;display:grid}.progress-challenge{border:1px solid var(--line);border-left:3px solid var(--progress-accent);background:var(--white);border-radius:7px;flex-direction:column;gap:8px;padding:19px 38px 19px 19px;text-decoration:none;display:flex;position:relative}.progress-challenge>span:not(.progress-caption){color:var(--muted);font-size:.81rem;line-height:1.5}.progress-challenge>svg{position:absolute;top:19px;right:14px}.progress-challenge:hover{border-color:var(--progress-accent)}.progress-dashboard [data-subject=Physics]{--progress-accent:var(--physics-accent,#006778)}.progress-subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:26px;display:grid}.progress-subject-card{border:1px solid var(--line);background:var(--lime);border-radius:9px;padding:25px}.progress-subject-card[data-subject=Physics]{background:var(--aqua)}.progress-subject-card .progress-section-heading{color:var(--progress-accent);margin-bottom:19px}.progress-subject-total{align-items:baseline;gap:9px;margin-bottom:16px;display:flex}.progress-subject-total strong{color:var(--progress-accent);font-size:2.4rem;font-weight:500;line-height:1}.progress-subject-total span{color:var(--muted);font-size:.9rem}.progress-subject-facts{color:var(--muted);flex-wrap:wrap;gap:9px 22px;margin-top:18px;font-size:.81rem;display:flex}.progress-subject-facts strong{color:var(--ink);font-weight:600}.progress-panel{background:var(--white);border:1px solid var(--line);border-radius:9px;margin-bottom:26px;padding:28px}.progress-tier-list{gap:18px;display:grid}.progress-tier-row{grid-template-columns:160px minmax(80px,1fr) 110px;align-items:center;gap:22px;font-size:.82rem;display:grid}.progress-tier-label{align-items:center;gap:13px;display:flex}.progress-tier-label b{border:1px solid var(--line);color:var(--muted);border-radius:5px;padding:6px 7px;font-size:.73rem;font-weight:500}.progress-tier-row>span:last-child{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}.progress-dashboard summary{cursor:pointer;min-height:44px;color:var(--brand-primary);padding:13px 0;font-size:.82rem;font-weight:600;line-height:1.6}.progress-dashboard summary:hover{text-underline-offset:4px;text-decoration:underline}.progress-tier-detail{border-top:1px solid var(--line);margin-top:24px;padding-top:3px}.progress-table-wrap{overflow-x:auto}.progress-dashboard table{border-collapse:collapse;width:100%;font-size:.8rem}.progress-dashboard caption{text-align:left;color:var(--muted);padding:0 0 12px}.progress-dashboard th,.progress-dashboard td{text-align:left;border-bottom:1px solid var(--line);padding:11px 6px}.progress-dashboard .progress-games{max-width:none;margin:35px 0 28px}.progress-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.progress-game-group{border:1px solid var(--line);background:var(--white);border-radius:9px;padding:25px}.progress-game-group.physicle{--progress-accent:var(--physics-accent)}.progress-game-group h3{font-family:var(--serif);margin:0;font-size:2rem}.progress-game-group h3>span{color:var(--progress-accent)}.progress-game-group>.progress-section-heading>span{color:var(--muted);font-size:.81rem}.progress-editions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.progress-edition-card{border:1px solid var(--line);background:var(--paper);border-radius:6px;flex-direction:column;gap:10px;min-height:85px;padding:13px;text-decoration:none;display:flex}.progress-edition-card:hover{border-color:var(--progress-accent)}.progress-edition-number{font-variant-numeric:tabular-nums;color:var(--progress-accent);justify-content:space-between;align-items:center;font-size:1.13rem;display:flex}.progress-edition-card>strong{font-size:.71rem;font-weight:500;line-height:1.45}.progress-edition-card>small{color:var(--muted);font-size:.67rem;line-height:1.4}.progress-edition-card.state-solved{background:var(--success-bg);border-color:#a6c5b3}.progress-edition-card.state-in-progress,.progress-edition-card.state-practice{border-color:var(--progress-accent);background:var(--lime)}.progress-game-history{margin-top:13px}.progress-game-history>summary{padding-bottom:0}.progress-game-record{border-top:1px solid var(--line);margin-top:18px;padding-top:20px;font-size:.82rem;line-height:1.6}.progress-game-record h3{margin-bottom:16px;font-family:inherit;font-size:1rem}.progress-run-record{background:var(--paper);border-radius:5px;margin:12px 0;padding:16px}.progress-run-record h4{margin-bottom:8px;font-size:.85rem}.progress-run-record p{margin-bottom:10px}.progress-run-facts,.progress-record-details dl{gap:8px;margin:0;display:grid}.progress-run-facts div,.progress-record-details dl>div{justify-content:space-between;gap:12px;display:flex}.progress-dashboard dd{margin:0}.progress-run-facts dt{color:var(--muted)}.progress-run-facts dd{text-align:right}.progress-guesses ol{padding-left:22px}.progress-guesses li{overflow-wrap:anywhere;margin-bottom:13px}.progress-guesses li>span{color:var(--muted);display:block}.progress-exploration-grid{grid-template-columns:1fr 1fr;align-items:start;gap:20px;display:grid}.progress-activity ol,.progress-topics ul{margin:0 0 18px;padding:0;list-style:none}.progress-activity li{border-top:1px solid var(--line);gap:12px;padding:13px 0;display:flex}.progress-activity li>div{flex:1}.progress-activity-mark{background:var(--lime);width:28px;height:28px;color:var(--brand-primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.progress-activity-mark.physics{background:var(--aqua);color:var(--physics-accent)}.progress-activity li a,.progress-activity li strong{font-size:.85rem;font-weight:600;line-height:1.45}.progress-activity li a{text-decoration:none}.progress-activity li a:hover{text-decoration:underline}.progress-activity li p{color:var(--muted);margin:5px 0 4px;font-size:.78rem;line-height:1.55}.progress-activity time{color:var(--muted);font-size:.71rem}.progress-topics li{border-top:1px solid var(--line);justify-content:space-between;gap:12px;padding:14px 0;display:flex}.progress-topics li>div{flex-direction:column;gap:5px;font-size:.82rem;display:flex}.progress-topics li>div>strong{color:var(--progress-accent)}.progress-topics li p{text-align:right;margin:0;font-size:.76rem;line-height:1.6}.progress-topics li small{color:var(--muted);font-size:.73rem;display:block}.progress-empty-copy{color:var(--muted);margin:12px 0 22px;font-size:.88rem;line-height:1.7}.progress-history-filters{grid-template-columns:1fr 1fr 1fr 1.8fr;gap:12px;margin-bottom:12px;display:grid}.progress-history-filters label{flex-direction:column;gap:8px;font-size:.74rem;font-weight:600;display:flex}.progress-history-filters input,.progress-history-filters select{font:inherit;border:1px solid var(--border-control);width:100%;min-height:44px;color:var(--ink);background:var(--white);border-radius:5px;margin:0;padding:10px;font-weight:400}.progress-history-filters input::placeholder{color:var(--muted);opacity:1}.progress-history-row{border-top:1px solid var(--line);padding:19px 0 12px}.progress-history-main{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.progress-history-title{flex-direction:column;gap:7px;display:flex}.progress-history-title>a,.progress-history-title>strong{overflow-wrap:anywhere;font-size:.94rem;font-weight:600;line-height:1.5;text-decoration:none}.progress-history-title>a:hover{text-decoration:underline}.progress-record-status{background:var(--paper);border-radius:5px;flex-shrink:0;align-items:flex-start;gap:6px;max-width:240px;padding:5px 9px;font-size:.74rem;line-height:1.5;display:inline-flex}.progress-record-status.is-solved{color:var(--success-fg);background:var(--success-bg)}.progress-record-status>svg{flex-shrink:0;margin-top:1px}.progress-history-meta{color:var(--muted);flex-wrap:wrap;gap:5px 20px;margin-top:9px;font-size:.73rem;line-height:1.6;display:flex}.progress-record-details>summary{font-size:.73rem}.progress-record-details[open]{padding-bottom:12px}.progress-record-details dl{max-width:650px;font-size:.78rem}.progress-record-details>p{overflow-wrap:anywhere;margin:12px 0 0}.progress-attempt-list{max-height:300px;padding-left:22px;font-size:.78rem;line-height:1.7;overflow:auto}.progress-attempt-list time,.progress-attempt-list li>span:last-child{color:var(--muted);margin-left:12px}.progress-history-footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:15px;padding-top:16px;font-size:.78rem;display:flex}.progress-history-footer>span{margin-right:auto}.progress-assistance{border-top:1px solid var(--line);margin-top:18px}.progress-assistance>p{color:var(--muted);font-size:.84rem;line-height:1.6}.progress-assistance dl{grid-template-columns:repeat(4,1fr);gap:15px;font-size:.8rem;display:grid}.progress-assistance dd{color:var(--brand-primary);margin-top:8px;font-size:1.65rem}.progress-dashboard :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--brand-primary);outline-offset:4px}.progress-dashboard .text-link{min-height:44px}@media (max-width:1050px){.progress-page-head{flex-direction:column;gap:14px}.progress-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-summary h2{min-height:auto}.progress-summary article{padding:21px}.progress-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-history-search{grid-column:1/-1}.progress-games-grid .progress-editions{gap:8px}.progress-game-group{padding:20px}.progress-edition-card{padding:10px}}@media (max-width:900px){.progress-weekly-grid{grid-template-columns:1fr}.progress-weekly-card{padding:22px}.storage-notice-compact{grid-template-columns:1fr;gap:6px}}@media (max-width:760px){.progress-dashboard{padding-top:32px}.progress-subjects,.progress-games-grid,.progress-exploration-grid{grid-template-columns:1fr}.progress-section-heading{flex-wrap:wrap;align-items:flex-start;gap:10px}.progress-panel{padding:22px}.progress-tier-row{grid-template-columns:135px 1fr;gap:10px 15px}.progress-tier-row>progress,.progress-tier-row>p{grid-area:2/1/auto/-1}.progress-tier-row>span:last-child{grid-area:1/2}.progress-history-main{flex-direction:column;gap:9px}.progress-history-filters{grid-template-columns:1fr 1fr}.progress-history-filters>label:nth-child(3),.progress-history-search{grid-column:1/-1}.progress-assistance dl{grid-template-columns:1fr 1fr}.progress-run-facts div{flex-wrap:wrap}.progress-weekly>.progress-section-heading{gap:5px}.progress-weekly-footer{flex-wrap:wrap}}@media (max-width:420px){.progress-dashboard h1{font-size:2.8rem}.progress-dashboard h2{font-size:1.45rem}.progress-summary{gap:10px}.progress-summary article{padding:16px 13px}.progress-summary h2{min-height:36px;padding-right:0;font-size:.74rem}.progress-summary article>svg{width:19px;height:19px;margin-bottom:9px;position:static}.progress-summary [data-testid=metric-value]{font-size:2.65rem}.progress-summary article>span{font-size:.74rem}.progress-summary small{font-size:.7rem}.progress-panel,.progress-subject-card,.progress-game-group,.progress-welcome{padding:19px}.progress-challenges{grid-template-columns:1fr}.progress-tier-row{grid-template-columns:125px 1fr;column-gap:7px;font-size:.77rem}.progress-tier-label{gap:8px}.progress-games-grid .progress-editions{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-topics li{flex-direction:column;gap:7px}.progress-topics li p{text-align:left}.progress-topics li small{margin-left:8px;display:inline}.progress-history-filters{grid-template-columns:1fr}.progress-history-filters>label{grid-column:auto}.progress-weekly-card{padding:20px}.progress-weekly-footer{flex-direction:column;align-items:flex-start;gap:12px}.progress-weekly-footer .button{align-self:flex-start}}@media (prefers-reduced-motion:reduce){.progress-dashboard *,.progress-dashboard :before,.progress-dashboard :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.progress-account-link{flex-shrink:0;min-height:44px;margin-top:7px}
.game-diagram{border-block:1px solid var(--border,#d6e1ed);max-width:36rem;margin:1.4rem 0;padding:.6rem .5rem .75rem}.game-diagram svg{width:100%;height:auto;display:block;overflow:visible}.game-diagram figcaption{color:var(--muted,#526678);margin:.25rem .5rem 0;font-size:.85rem;line-height:1.55}@media (max-width:420px){.game-diagram{padding-inline:0}.game-diagram svg{min-width:0}.game-diagram svg text{font-size:26px}.game-diagram figcaption{margin-inline:0}}
.math-input{--math-input-accent:var(--brand-primary,#254a3b);--math-input-border:var(--border-control,#758779);--math-input-surface:var(--lime);min-width:0;max-width:100%;color:var(--ink)}.math-input .math-input-label{margin:0 0 8px;font-size:13px;font-weight:600;line-height:1.5;display:block}.math-input-host{min-width:0}.math-input-host[hidden]{display:none}.math-input .math-input-field{border:1px solid var(--math-input-border);width:100%;max-width:100%;min-height:66px;color:var(--ink);background:var(--white);--caret-color:var(--math-input-accent);--selection-background-color:var(--math-input-surface);--selection-color:var(--ink);--contains-highlight-background-color:var(--paper);--placeholder-color:var(--muted);--smart-fence-color:var(--math-input-accent);--keyboard-zindex:0;border-radius:5px;margin:0;padding:10px 12px;font-size:22px;line-height:1.6;display:block}.math-input .math-input-field::part(virtual-keyboard-toggle),.math-input .math-input-field::part(menu-toggle){display:none}.math-input .math-input-field::part(content){padding:3px 0}.math-input .math-input-field:focus-within,.math-input :is(button,textarea):focus-visible{outline:3px solid var(--math-input-accent);outline-offset:3px;box-shadow:0 0 0 3px var(--white)}.math-input .math-input-field[aria-invalid=true],.math-input .math-input-source[aria-invalid=true]{border:2px solid var(--error-fg,#84252b)}.math-input .math-input-field[disabled]{background:var(--paper);color:var(--muted)}.math-input .math-input-source{border:1px solid var(--math-input-border);width:100%;min-width:0;min-height:86px;color:var(--ink);background:var(--white);resize:vertical;border-radius:5px;margin:0;padding:12px;font:14px/1.6 Consolas,Monaco,monospace;display:block}.math-input-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding-top:4px;display:flex}.math-input-controls button,.math-input .math-input-more-symbols,.math-input .math-input-variants-toggle{min-height:44px;color:var(--math-input-accent);text-underline-offset:4px;background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:5px;padding:7px 3px;font-size:12px;font-weight:600;text-decoration:underline;display:inline-flex}.math-input-tools{border:1px solid var(--math-input-border);background:var(--paper);border-radius:5px;flex-wrap:wrap;gap:5px;margin-bottom:8px;padding:10px;display:flex}.math-input-tools button{border:1px solid var(--math-input-border);background:var(--white);min-height:44px;color:var(--ink);border-radius:4px;padding:8px 10px;font-size:12px}.math-input-count{color:var(--muted);flex:100%;font-size:11px;line-height:1.6}.math-input .math-input-help,.math-input .math-input-keyboard-help{color:var(--muted);margin:2px 0 0;font-size:12px;line-height:1.65}.math-input .math-input-notice,.math-input .math-input-error{margin:8px 0 0;font-size:12px;line-height:1.65}.math-input-notice{color:var(--warning-fg,#735200)}.math-input-error{color:var(--error-fg,#84252b)}.math-input-keyboard{border:1px solid var(--math-input-border);background:var(--paper);border-radius:6px;width:100%;min-width:0;margin-top:10px;padding:10px;position:relative;container-type:inline-size}.math-input-tabs{overscroll-behavior-x:contain;scrollbar-width:thin;flex-wrap:nowrap;gap:4px;width:100%;min-width:0;margin-bottom:8px;padding:4px 4px 9px;scroll-padding-inline:4px;display:flex;overflow-x:auto}.math-input-tabs button{white-space:nowrap;min-height:44px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:4px;flex:none;padding:7px 11px;font-size:12px;font-weight:600;position:relative}.math-input-tabs button[aria-selected=true]{color:#fff;background:var(--math-input-accent);border-color:var(--math-input-accent)}.math-input-tabs button[aria-selected=true]:after{content:"";background:currentColor;height:2px;position:absolute;bottom:3px;left:9px;right:9px}.math-input-tabs button[data-category=physics][aria-selected=true]{background:var(--physics-accent,#246267);border-color:var(--physics-accent,#246267)}.math-input .math-input-more-symbols{margin:-5px 0 5px auto;padding-inline:5px;display:flex}.math-input-keys,.math-input-variant-keys{grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:5px;display:grid}.math-input-keys.math-input-basic{grid-template-columns:minmax(142px,3fr) minmax(104px,4fr);gap:10px}.math-input-number-pad{grid-template-columns:repeat(3,minmax(44px,1fr));align-content:start;gap:5px;display:grid}.math-input-symbol-pad{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));align-content:start;gap:5px;display:grid}.math-input-key{border:1px solid var(--math-input-border);background:var(--white);min-width:0;min-height:46px;color:var(--ink);touch-action:manipulation;-webkit-user-select:none;user-select:none;border-radius:4px;justify-content:center;align-items:center;padding:6px 3px;font-size:16px;line-height:1.35;display:flex;position:relative}.math-input-key-wide{grid-column:span 2}.math-input-key .math-inline{color:inherit}.math-input-key .katex{font-size:1.03em}.math-input-key-wide .katex{font-size:.94em}.math-input-key-variant-mark{color:var(--math-input-accent);position:absolute;bottom:2px;right:2px}.math-input-variants{border:1px solid var(--math-input-border);background:var(--white);border-radius:4px;margin:0 0 8px;padding:9px}.math-input-variants-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.math-input-variants-heading label{font-size:12px;font-weight:600}.math-input-variants-heading button{min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:0;border-radius:4px;place-items:center;display:grid}.math-input-variants select{border:1px solid var(--math-input-border);width:100%;min-width:0;min-height:44px;color:var(--ink);background:var(--white);border-radius:4px;margin-bottom:9px;padding:7px 9px;font-size:12px}.math-input-editing{border-top:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:3px;margin-top:9px;padding-top:8px;display:grid}.math-input-editing button{min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:4px;place-items:center;padding:6px;display:grid}.math-input :is(.math-input-key,.math-input-editing button,.math-input-tools button,.math-input-tabs button):hover:not(:disabled):not([aria-selected=true]){background:var(--math-input-surface)}.math-input button:disabled{color:var(--muted);background:var(--paper);opacity:1;cursor:default}.math-input .math-input-keyboard-help{margin-top:7px;font-size:11px}.math-input-submit-row{flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:14px;display:flex}.math-input .math-input-shortcut{color:var(--muted);flex:180px;margin:0;font-size:12px;line-height:1.6}.math-input .math-input-enter{border:1px solid var(--math-input-accent);color:#fff;background:var(--math-input-accent);border-radius:5px;justify-content:center;align-items:center;gap:12px;min-width:144px;min-height:48px;padding:11px 18px;font-size:14px;font-weight:700;line-height:1.35;display:inline-flex}.math-input .math-input-enter:hover:not(:disabled){background:var(--brand-hover,#183d2e)}.math-input select:focus-visible{outline:3px solid var(--math-input-accent);outline-offset:3px;box-shadow:0 0 0 3px var(--white)}@container (max-width:300px){.math-input-keys.math-input-basic{grid-template-columns:1fr}.math-input-number-pad{border-bottom:1px solid var(--line);padding-bottom:9px}}@media (max-width:420px){.math-input-keyboard{padding:8px}.math-input .math-input-field{font-size:20px}.math-input .math-input-enter{flex:100%}}@media print{.math-input-controls,.math-input-tools,.math-input-keyboard,.math-input-help,.math-input-count,.math-input-submit-row{display:none!important}.math-input .math-input-field,.math-input .math-input-source{color:#000;box-shadow:none;background:#fff;border-color:#555}}
.edition-toolbar{flex-wrap:wrap;align-items:end;gap:28px;max-width:100%;padding:0 0 28px;display:flex}.edition-toolbar label{flex-direction:column;flex:300px;gap:8px;max-width:500px;font-size:14px;font-weight:600;display:flex}.edition-toolbar select{border:1px solid var(--line);background:#fff;border-radius:5px;width:100%;min-width:0;max-width:100%;min-height:48px;padding:12px;font-size:15px}.edition-toolbar p{margin:0 0 4px;font-size:15px}.edition-toolbar p span{color:var(--muted);margin-top:4px;font-size:14px;display:block}.game-page .eyebrow{letter-spacing:1.2px;font-size:12px}.game-page .puzzle-topline .pill{letter-spacing:.35px;font-size:12px}.game-page .puzzle-topline>span:last-child{font-size:14px}.game-page .clue p{font-size:16px}.game-page .clue .math-inline{font-size:15px}.game-page .clue.locked{color:#606e59;font-size:14px}.game-page .clue-number{font-size:14px}.game-page .puzzle-panel>.muted,.game-page .game-message{font-size:16px}.game-page .reveal-button{min-height:44px;font-size:15px}.game-page .how-to p,.game-page .how-to li{font-size:15px}.game-page .how-to summary{cursor:pointer;min-height:40px;font-size:16px;font-weight:700;line-height:1.5}.game-page .how-to summary:focus-visible,.game-page .editorial-details summary:focus-visible{outline-offset:4px;outline:3px solid #3877b5}.game-help,.clue-accounting{color:var(--muted);margin:10px 0 0;font-size:14px;line-height:1.65}.clue-accounting{padding-top:10px}.game-page .clue-list{margin-bottom:20px}.clue-controls{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin-top:14px;padding-top:6px;display:flex}.clue-controls .reveal-button{min-height:44px;margin-top:0}.clues-waiting{color:var(--muted);align-items:center;gap:7px;font-size:14px;line-height:1.6;display:inline-flex}.game-page .guess-row{flex-wrap:wrap;align-items:start;gap:8px 12px}.game-page .guess-row>span:first-child{flex:0 0 22px;font-size:13px}.game-page .guess-row>strong{font-size:16px}.game-page .guess-row>span:last-child{text-align:right;overflow-wrap:anywhere;justify-content:end;max-width:70%;font-size:14px;line-height:1.6}.game-page .game-result p,.game-page .game-result .math-display{font-size:16px}.game-page .result-actions .button,.game-page .result-actions .text-link{min-height:44px;font-size:15px}.editorial-details{margin-top:20px;font-size:14px}.editorial-details summary{cursor:pointer;min-height:40px;line-height:1.6}.game-page .editorial-details p{overflow-wrap:anywhere;font-size:14px}.share-result{margin-top:22px}.share-result label{font-size:15px;font-weight:600}.share-result textarea{resize:vertical;background:#fff;border:1px solid #90a880;border-radius:5px;width:100%;min-height:175px;margin-top:8px;padding:12px;font-size:14px;line-height:1.65;display:block}.game-page .share-result p{margin-top:8px;font-size:14px}.edition-history{border:1px solid var(--line);background:#fff;border-radius:7px;margin-top:24px;padding:22px}.edition-history h3{margin-bottom:14px;font-size:18px;font-weight:500}.edition-history p{font-size:14px;line-height:1.75}.edition-history .text-link{min-height:44px;font-size:14px}.game-page .prototype-note p,.game-page .prototype-note .text-link{font-size:14px}.game-page .prototype-note .text-link{min-height:44px}@media (max-width:850px){.edition-history{margin-top:0}.game-page .game-aside{align-items:start}.game-page .prototype-note{padding-top:5px}}@media (max-width:700px){.edition-toolbar{gap:16px}.edition-toolbar label{max-width:100%}.game-page .game-title-row .eyebrow{letter-spacing:.6px;font-size:11px}.game-page .game-title-row p{font-size:15px}.game-page .puzzle-topline{flex-wrap:wrap}.game-page .puzzle-topline .pill{font-size:11px}.game-page .clue p{font-size:15px}.game-page .clue .math-inline{font-size:14px}.game-page .guess-row>span:last-child{text-align:left;flex-basis:100%;justify-content:start;max-width:none;margin-left:34px}.game-page .game-result{padding:22px 15px}.game-page .game-result .math-display{font-size:14px}.game-page .game-aside{gap:22px}.game-page .prototype-note{padding:0 10px}}@media print{.edition-toolbar,.game-aside,.result-actions,.share-result,.guess-form,.reveal-button{display:none!important}}.game-main{min-width:0}.game-page.theme-modulo .game-title-row{justify-content:flex-start;gap:28px;padding-block:32px 24px}.game-page.theme-modulo .game-title-row h1{margin-block:8px;font-size:clamp(44px,4.8vw,60px)}.game-page.theme-modulo .large-game-mark{border-radius:14px;width:70px;height:70px;font-size:66px}.game-page.theme-modulo .edition-toolbar{align-items:center;gap:12px 24px;padding-bottom:24px}.game-page.theme-modulo .edition-toolbar label{flex:0 480px;gap:6px}.game-page.theme-modulo .edition-context{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;display:flex}.game-page.theme-modulo .practice-badge{border:1px solid var(--line);color:var(--accent-ink);background:var(--tint);border-radius:4px;padding:3px 9px;font-size:12px;font-weight:600}.game-page.theme-modulo .game-layout{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.game-page.theme-modulo .game-aside{display:block}.game-page.theme-modulo .puzzle-panel{padding:26px}.game-page.theme-modulo .puzzle-topline{flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-bottom:24px;display:flex}.game-page.theme-modulo .number-range{font-size:16px;font-weight:600;line-height:1.5}.game-page.theme-modulo .puzzle-topline>span:last-child{white-space:nowrap;color:var(--muted)}.game-page.theme-modulo .clue-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;display:flex}.game-page.theme-modulo .clue-heading h2{margin:0;font-size:23px}.game-page.theme-modulo .revealed-summary{color:var(--muted);margin:0;font-size:14px}.game-page.theme-modulo .clue-list{gap:12px;margin:16px 0 24px}.game-page.theme-modulo .clue{border:1px solid var(--line);background:var(--tint);align-items:start;gap:15px;padding:18px}.game-page.theme-modulo .clue-current{border-inline-start:3px solid var(--accent-ink);padding-inline-start:16px}.game-page.theme-modulo .clue-number{min-width:24px;padding-top:2px;font-size:16px;line-height:1.55}.game-page.theme-modulo .clue-content{flex:1;min-width:0}.game-page.theme-modulo .clue-statement{color:var(--ink);font-size:18px;font-weight:600;line-height:1.55}.game-page.theme-modulo .clue-notation{margin-top:14px}.game-page.theme-modulo .clue-notation-label{color:var(--muted);font-size:12px;line-height:1.5;display:block}.game-page.theme-modulo .clue-notation>.math-inline{color:var(--ink);margin-top:5px;padding-block:2px;font-size:18px;overflow:auto hidden}.game-page.theme-modulo .notation-help{margin-top:6px}.game-page.theme-modulo :is(.notation-help,.clue-details)>summary{cursor:pointer;width:fit-content;min-height:44px;color:var(--muted);padding-block:11px;font-size:14px;line-height:1.55}.game-page.theme-modulo .notation-help p{margin:0 0 10px;font-size:14px;font-weight:400;line-height:1.7}.game-page.theme-modulo .notation-help .math-inline{color:inherit;margin:0;font-size:1em;display:inline}.game-page.theme-modulo .clue-details{margin-top:4px;padding:0}.game-page.theme-modulo .clue-details :is(p,ul){margin:0 0 12px;font-size:14px}.game-page.theme-modulo .clue-details ul{padding-left:22px}.game-page.theme-modulo .how-to{padding:22px}.game-page.theme-modulo .how-to summary{min-height:30px}.game-page.theme-modulo .how-to summary h2{font:inherit;letter-spacing:normal;margin:0;display:inline}.game-page.theme-modulo .how-to h3{letter-spacing:normal;margin-block:18px 10px;font-family:inherit;font-size:17px;font-weight:600}.game-page.theme-modulo .how-to :is(p,li){font-size:14px;line-height:1.6}.game-page.theme-modulo .how-to p{margin-bottom:10px}.game-page.theme-modulo .how-to .example-equation{margin-block:12px;padding:0}.game-page.theme-modulo .how-to .example-equation .math-display{font-size:17px}.game-page.theme-modulo .how-to ol{margin-block:14px;padding-left:20px}.game-page.theme-modulo .how-to li{padding:3px 0 3px 2px}.game-page.theme-modulo .how-to .small{margin:0;font-weight:600}.game-page.theme-modulo .modulo-record{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin-top:16px;padding:0}.game-page.theme-modulo .modulo-record>summary{cursor:pointer;min-height:48px;padding:15px 0;font-size:15px;font-weight:600}.game-page.theme-modulo .modulo-record>summary>span{color:var(--muted);margin-left:10px;font-size:13px;font-weight:400}.game-page.theme-modulo .record-content{padding:0 0 8px 18px}.game-page.theme-modulo .record-content p{margin:0 0 8px}.game-page.theme-modulo .modulo-next-game{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 28px;margin-top:30px;padding-block:22px 0;display:flex}.game-page.theme-modulo .modulo-next-game h2{letter-spacing:normal;margin:0 0 8px;font-size:18px;font-weight:600}.game-page.theme-modulo .modulo-next-game p{color:var(--muted);margin:0;font-size:15px}.game-page.theme-modulo .modulo-next-game .text-link{min-height:44px}.game-page.theme-modulo details>summary:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px;border-radius:2px}.reading-view .game-page.theme-modulo .clue-statement{font-size:21px;line-height:1.8}@media (max-width:960px){.game-page.theme-modulo .game-layout{grid-template-columns:minmax(0,1fr);gap:18px}.game-page.theme-modulo .how-to{padding:15px 18px}.game-page.theme-modulo .how-to summary{min-height:28px}.game-page.theme-modulo .edition-toolbar label{flex-basis:100%;max-width:100%}.game-page.theme-modulo .modulo-rules-content{max-width:540px}}@media (max-width:700px){.game-page.theme-modulo .game-title-row{gap:20px;padding-block:26px 20px}.game-page.theme-modulo .large-game-mark{border-radius:11px;width:54px;height:54px;font-size:52px}.game-page.theme-modulo .edition-toolbar{gap:10px;padding-bottom:20px}.game-page.theme-modulo .puzzle-panel{padding:20px 16px}.game-page.theme-modulo .puzzle-topline{margin-bottom:20px}.game-page.theme-modulo .number-range{font-size:15px}.game-page.theme-modulo .clue{gap:10px;padding:15px 12px}.game-page.theme-modulo .clue-current{padding-inline-start:10px}.game-page.theme-modulo .clue-number{min-width:20px;font-size:14px}.game-page.theme-modulo .clue-statement{font-size:16px}.game-page.theme-modulo .clue-notation>.math-inline{font-size:17px}.game-page.theme-modulo .modulo-next-game{margin-top:22px}}.game-page.game-expanded{max-width:1040px;margin-inline:auto}.game-page.game-expanded .game-layout{display:block}.game-page.game-expanded .game-main{min-width:0}.game-page.game-expanded .game-title-row{gap:18px;padding-block:28px 18px}.game-page.game-expanded .game-title-row h1{font-size:clamp(38px,5vw,54px)}.game-page.game-expanded .game-title-row p{max-width:650px}.game-page.game-expanded .large-game-mark{flex-shrink:0}.game-page.game-expanded .edition-toolbar{justify-content:space-between;align-items:end;gap:14px;padding-bottom:16px}.game-page.game-expanded .edition-toolbar label{flex:1;max-width:580px}.game-page.game-expanded select,.game-page.game-expanded input,.game-page.game-expanded textarea{width:100%;min-width:0;max-width:100%}.game-page.game-expanded .edition-toolbar .text-link{white-space:nowrap;min-height:44px}.edition-browser,.game-scratchpad,.game-rules{border:1px solid var(--line);background:var(--panel,#fff);border-radius:8px;margin:0 0 20px;padding:16px 20px}.edition-browser>summary,.game-scratchpad>summary,.game-rules>summary{cursor:pointer;min-height:28px;font-weight:700}.edition-browser>summary span,.game-scratchpad>summary span{color:var(--muted);margin-left:12px;font-size:14px;font-weight:400}.edition-filters{grid-template-columns:2fr 1.5fr 1fr 1.2fr;gap:12px;margin-top:20px;display:grid}.edition-filters label{min-width:0;font-size:13px}.edition-filters input,.edition-filters select{min-height:44px;margin-top:6px;display:block}.edition-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;list-style:none;display:grid}.edition-grid li{min-width:0}.edition-grid button{text-align:left;border:1px solid var(--line);width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border-radius:5px;flex-direction:column;gap:7px;padding:14px;display:flex}.edition-grid button:hover,.edition-grid button[aria-current]{background:#eef3fa;border-color:#173c70}.edition-grid button strong{font-size:17px}.edition-grid button>span{font-size:12px}.edition-grid-status{color:var(--muted);margin-top:auto}.game-page.game-expanded .puzzle-panel{padding:28px}.game-page.game-expanded .puzzle-topline{flex-wrap:wrap;justify-content:space-between;gap:8px 20px;margin-bottom:14px;display:flex}.game-page.game-expanded .puzzle-topline>span{white-space:normal}.game-page.game-expanded .edition-question-title{margin:8px 0 22px;font-family:Georgia,serif;font-size:clamp(25px,3.5vw,34px)}.game-page.game-expanded .number-range{margin-bottom:24px}.game-page.game-expanded .game-clue-stage{outline-offset:5px;margin-block:20px}.game-page.game-expanded .clue-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;display:flex}.game-page.game-expanded .clue-heading h3{margin:0;font-size:18px}.game-page.game-expanded .clue-heading p{margin:0}.game-page.game-expanded .clue-list{margin:12px 0 0}.game-page.game-expanded .clue{gap:14px;padding:16px;display:flex}.game-page.game-expanded .clue-content{min-width:0}.game-page.game-expanded .clue-statement{margin:0;font-size:17px}.game-page.game-expanded .clue-notation{margin-top:8px}.game-page.game-expanded .guess-form{margin-top:24px;display:block}.game-page.game-expanded .guess-form>label{margin-top:14px;display:block}.game-page.game-expanded .guess-form>input,.game-page.game-expanded .guess-form>select{min-height:48px;margin-top:8px;display:block}.game-answer-fields{gap:20px;display:grid}.game-page.game-expanded .game-help{font-size:13px;line-height:1.65}.game-page.game-expanded .clue-controls{flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding-top:16px;display:flex}.game-page.game-expanded .clue-controls button{text-align:left;min-height:44px}.game-page.game-expanded .clue-accounting{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.game-page.game-expanded .guess-row{grid-template-columns:28px minmax(80px,1fr) minmax(100px,1.5fr);align-items:start;gap:12px;display:grid}.game-page.game-expanded .guess-row strong{overflow-wrap:anywhere}.game-page.game-expanded .game-result{margin-top:24px}.game-page.game-expanded .result-actions{flex-wrap:wrap}.game-page.game-expanded .editorial-details{overflow-wrap:anywhere}.game-page.game-expanded .modulo-record{margin-block:20px}.game-scratchpad{margin-top:20px}.game-scratchpad textarea{resize:vertical;margin-top:8px;display:block}.game-scratchpad form{align-items:end;gap:12px;margin-block:18px;display:flex}.game-scratchpad form label{flex:1;min-width:0}.game-scratchpad input{margin-top:6px;display:block}.candidate-list{padding:0;list-style:none}.candidate-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;display:flex}.candidate-list label{overflow-wrap:anywhere;align-items:center;gap:10px;min-height:44px;display:flex}.game-page.game-expanded .candidate-list input{flex-shrink:0;width:20px}.candidate-list .eliminated{color:var(--muted);text-decoration:line-through}.game-rules p,.game-rules li{max-width:760px}.game-footer-link{padding-block:10px 28px}.game-page.game-expanded :is(summary,button,input,select,textarea):focus-visible{outline-offset:3px;outline:3px solid #346fba}@media (max-width:700px){.edition-filters,.edition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-page.game-expanded .puzzle-panel{padding:20px 16px}.game-page.game-expanded .puzzle-topline{font-size:12px}.game-page.game-expanded .guess-row{grid-template-columns:24px minmax(0,1fr)}.game-page.game-expanded .guess-row>span:last-child{grid-column:2}.game-page.game-expanded .large-game-mark{display:none}.game-page.game-expanded .edition-toolbar{flex-wrap:wrap}.game-page.game-expanded .edition-toolbar label{flex-basis:100%}.game-scratchpad form{flex-wrap:wrap}.game-scratchpad form label{flex-basis:100%}}@media (max-width:390px){.edition-grid,.edition-filters{grid-template-columns:minmax(0,1fr)}.edition-browser,.game-scratchpad,.game-rules{padding:14px}.edition-browser>summary span,.game-scratchpad>summary span{margin:4px 0 0 18px;display:block}}.game-expanded .game-answer-fields .math-input-submit-row{display:none}
.authoring-page{padding-bottom:24px}.editor-workbench-bar{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 26px;margin-bottom:26px;padding:17px 0 23px;display:flex}.editor-workbench-bar>div:first-child{align-items:center;gap:10px;display:flex}.editor-workbench-bar strong{background:#e8eedd;border-radius:20px;padding:2px 9px;font-size:14px}.editor-inline-actions{flex-wrap:wrap;align-items:center;gap:12px 22px;display:flex}.authoring-page .editor-form{padding:28px}.authoring-page .editor-form-top{align-items:flex-start}.authoring-page .editor-form-top .text-link{flex-shrink:0;font-size:14px}.authoring-page .editor-form-top h2{font-size:25px}.authoring-page .editor-autosave{color:#526541;margin:10px 0 0;font-size:14px}.editor-fields{border:0;min-width:0;margin:0;padding:0}.editor-outline{border-block:1px solid var(--line);flex-wrap:wrap;gap:8px 18px;margin:8px 0 26px;padding:13px 0;font-size:14px;display:flex}.editor-outline a{text-underline-offset:3px;text-decoration:underline}.editor-section,.editor-availability,.editor-fields [id]{scroll-margin-top:24px}.authoring-page .field-limit{color:var(--muted);margin:5px 0 20px;font-size:13px;line-height:1.5}.authoring-page .field-repair{color:#942b1a;font-size:14px;line-height:1.6}.editor-choice-field{flex:1;min-width:0}.authoring-page label{font-size:15px;font-weight:600;display:block}:is(.authoring-page label:has(>input),.authoring-page label:has(>textarea),.authoring-page label:has(>select)){margin-bottom:20px}.authoring-page input:not([type=checkbox]),.authoring-page textarea,.authoring-page select{width:100%;min-width:0;max-width:100%;color:var(--ink);background:#fff;border:1px solid #b9c5b8;border-radius:4px;margin-top:7px;padding:12px;font-size:16px;display:block}.authoring-page textarea{resize:vertical;min-height:80px;line-height:1.6}.authoring-page input[aria-invalid=true],.authoring-page textarea[aria-invalid=true],.authoring-page select[aria-invalid=true]{border-color:#a33b29}.authoring-page .field-help,.authoring-page .optional{color:#58675b;font-size:14px;line-height:1.6}.authoring-page .field-help{margin:8px 0 22px}.authoring-page .field-error{color:#942b1a;margin:-10px 0 20px;font-size:14px;line-height:1.6}.authoring-page label .field-error{margin:7px 0 0;display:block}.editor-section{border-top:1px solid var(--line);margin:27px 0;padding-top:25px}.editor-section h3{font-size:21px;font-weight:500}.editor-content-block{border-left:2px solid #cfdec0;margin:19px 0 22px;padding-left:14px}.editor-block-field label{margin-bottom:7px}.editor-block-field .field-error{margin:8px 0 14px}.authoring-page .math-toolbar{gap:7px;margin:10px 0}.authoring-page .math-toolbar button{min-height:40px;padding:8px 10px;font-size:13px}.editor-block-tools{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.editor-block-tools button,.editor-remove{border:1px solid var(--line);background:0 0;border-radius:4px;justify-content:center;align-items:center;min-width:40px;min-height:40px;display:inline-flex}.editor-block-tools button:hover:not(:disabled),.editor-remove:hover:not(:disabled){background:#edf2e6}.editor-choice{align-items:flex-start;gap:12px;margin-top:14px;display:flex}.editor-choice label,.editor-hint-field{flex:1;min-width:0}.authoring-page .editor-hint-field .field-error{margin:8px 0 14px}.editor-choice .editor-remove{flex:0 0 40px;margin-top:31px}.authoring-page label.editor-check{align-items:flex-start;gap:10px;font-weight:400;line-height:1.6;display:flex}.editor-check input{accent-color:var(--ink);flex-shrink:0;width:19px;height:19px;margin-top:5px}.editor-availability{background:#edf2e4;border-radius:6px;margin-top:26px;padding:30px}.editor-availability h2{margin:11px 0 15px;font-size:29px;font-weight:500}.editor-availability p{font-size:16px}.editor-message{margin-top:18px;font-size:15px;line-height:1.7}.editor-message:empty{display:none}.editor-validation-summary{background:#fff7eb;border-left:3px solid #ab5534;margin-top:18px;padding:17px;font-size:14px}.editor-validation-summary ul{margin-bottom:0;padding-left:20px}.editor-validation-summary li+li{margin-top:8px}.editor-validation-summary a{text-underline-offset:3px;text-decoration:underline}.editor-validation-summary p{margin:8px 0;font-size:14px}.editor-snapshot-tools{border-top:1px solid #d0dcc8;flex-wrap:wrap;gap:8px 24px;margin-top:21px;padding-top:14px;display:flex}.editor-restore{margin-top:14px}.editor-delete{margin:25px 0 0;padding:20px 4px}.editor-delete p{font-size:15px}.authoring-page .editor-preview{position:static}.authoring-page .live-preview-label{flex-wrap:wrap;gap:8px;padding:14px 18px;font-size:12px}.authoring-page .live-preview-label>span:last-child{letter-spacing:0;color:#d2dfd2;margin-left:auto;font-size:12px;font-weight:400}.editor-reader-preview{border:1px solid var(--line);overflow-wrap:anywhere;border-top:0;border-radius:0 0 5px 5px}.editor-reader-preview .problem-card{border:0;border-radius:0 0 5px 5px}.editor-reader-preview .problem-card h2{font-size:31px}.editor-preview-caption{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 15px;padding:15px 0;display:flex}.editor-preview-caption p{color:var(--muted);margin:0;font-size:14px}.authoring-page .saved-drafts{border-top:1px solid var(--line);margin-top:27px;padding-top:24px}.authoring-page .saved-drafts h3{font-size:21px}.authoring-page .saved-drafts button small{font-size:12px;line-height:1.6}.authoring-page .saved-drafts button{overflow-wrap:anywhere;padding:16px 10px;font-size:17px}.authoring-page .saved-drafts button[aria-current=true]{background:#eaf0df;border-left:3px solid #789657}.editor-seed-copy{border-top:1px solid var(--line);margin-top:25px;padding-top:28px}.editor-seed-copy h3{font-size:24px;font-weight:500}.editor-seed-copy p{font-size:15px}.editor-seed-copy .text-link{margin-top:12px}.authoring-page .editor-boundary{font-size:14px}.editor-import{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:40px;margin-top:38px;padding:38px 0 10px;scroll-margin-top:25px;display:grid}.editor-import h2{margin:12px 0 18px;font-size:34px;font-weight:500}.editor-import input[type=file]{background:0 0;padding:13px;font-size:14px}.editor-import input[type=file]::file-selector-button{background:var(--ink);color:#fff;border:0;border-radius:3px;margin-right:12px;padding:9px 13px}.editor-import .field-error{margin-top:15px}.editor-import-preview{padding-top:25px}.editor-import-preview h3{font-size:23px}.editor-import-preview p,.editor-import-preview li{font-size:15px}.editor-import-inventory{max-height:260px;padding-left:21px;overflow:auto}.editor-import-inventory li{overflow-wrap:anywhere;margin-bottom:10px}.editor-import-inventory span{color:var(--muted);font-size:13px;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:1000px){.authoring-page .editor-layout{grid-template-columns:minmax(0,1fr)}.authoring-page .editor-preview{width:100%;max-width:780px}.editor-import{grid-template-columns:1fr;gap:15px}.authoring-page .field-pair{grid-template-columns:1fr 1fr}}@media (max-width:500px){.authoring-page .editor-form,.editor-availability{padding:22px 18px}.authoring-page .editor-form-top{flex-direction:column}.authoring-page .field-pair{grid-template-columns:1fr;gap:0}.authoring-page .field-pair label{margin-bottom:18px}.editor-workbench-bar{gap:14px}.editor-workbench-bar .editor-inline-actions{gap:6px 18px}.authoring-page .editor-form-top h2{font-size:24px}.editor-availability .button{width:100%}.authoring-page .live-preview-label>span:last-child{flex-basis:100%;margin-left:0}.editor-reader-preview .problem-card h2{font-size:28px}.editor-import input[type=file]{font-size:12px}}
.maths-input-demo{padding-bottom:40px}.maths-demo-layout{grid-template-columns:minmax(0,1fr) 240px;align-items:start;gap:32px;display:grid}.maths-demo-question{border:1px solid var(--line);background:var(--white);border-radius:8px;min-width:0;padding:32px}.maths-demo-question h2{font-family:var(--serif);font-size:clamp(27px,3vw,36px);font-weight:400}.maths-demo-question>.problem-equation{padding:22px 8px}.maths-demo-assumption{color:var(--muted);font-size:14px}.practice-field-scope{color:var(--muted);margin:14px 0 20px;font-size:14px;line-height:1.65}.maths-demo-boundary{color:var(--muted);margin:24px 0 0;font-size:13px;line-height:1.6}.maths-demo-solution{border-top:1px solid var(--line);margin-top:28px;padding-top:25px}.maths-demo-solution h3{font-size:21px}.maths-demo-solution>.math-display{max-width:100%;margin-bottom:18px;padding:8px 0;display:block;overflow-x:auto}.maths-demo-notes{border:1px solid var(--line);min-width:0;color:var(--muted);border-radius:8px;padding:20px;font-size:14px;line-height:1.6}.maths-demo-notes h2{color:var(--ink);margin:0;font-family:inherit;font-size:16px;font-weight:600}.practice-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px 30px;margin:0 0 25px;display:flex}.practice-toolbar>label{flex:300px;min-width:0;max-width:580px;font-size:14px;font-weight:600;display:block}.practice-toolbar select{width:100%;min-width:0;color:var(--ink);background:var(--white);border:1px solid var(--border-control,#758779);border-radius:5px;margin-top:8px;padding:13px 35px 13px 14px;font-size:16px;display:block}.practice-session-summary{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:10px;padding-bottom:10px;font-size:14px;display:flex}.practice-session-summary strong{font-family:var(--serif);color:var(--ink);font-size:26px;font-weight:400}.practice-question-meta{flex-wrap:wrap;gap:10px 20px;margin-bottom:20px;display:flex}.practice-question-meta>p{margin:0}.practice-solved{color:var(--success-fg,#226345);align-items:center;gap:7px;font-size:13px;display:inline-flex}.practice-checking{color:var(--muted);margin-top:15px;font-size:14px}.practice-feedback{border:1px solid var(--border-control,#758779);border-left:4px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:4px;margin-top:20px;padding:17px 19px}.practice-feedback:focus{outline:3px solid var(--brand-primary,#254a3b);outline-offset:4px}.practice-feedback>strong{margin-bottom:6px;font-size:17px;display:block}.practice-feedback>p{margin-bottom:0;font-size:15px}.practice-feedback[data-kind=correct]{color:var(--success-fg,#226345);background:var(--success-bg,#edf7f0);border-color:var(--success-fg,#226345)}.practice-feedback[data-kind=form]{color:var(--warning-fg,#765300);background:var(--warning-bg,#fff5d6);border-color:var(--warning-fg,#765300)}.practice-feedback[data-kind=invalid]{color:var(--error-fg,#822327);background:var(--error-bg,#fceff0);border-color:var(--error-fg,#822327)}.practice-submitted{border-top:1px solid;flex-wrap:wrap;align-items:baseline;gap:8px 15px;margin-top:15px;padding-top:12px;display:flex}.practice-submitted>span:first-child{font-size:12px}.practice-submitted>.math-inline{max-width:100%;padding:4px 0;overflow-x:auto}.practice-answer-tools{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 28px;font-size:13px;display:flex}.practice-answer-tools .text-link{color:var(--brand-primary,var(--ink));font-size:13px}.practice-learning-tools{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:17px 25px;padding-top:23px;display:flex}.practice-learning-tools .button{padding:12px 16px;font-size:14px}.practice-learning-tools .text-link{font-size:14px}.practice-hint{background:var(--paper);border-left:3px solid var(--border-control,#758779);margin-top:18px;padding:16px}.practice-hint strong{font-size:14px}.practice-hint .content-blocks p{margin:7px 0 0;font-size:15px}.practice-shortcuts{margin:18px 0 8px}.practice-shortcuts>div+div{margin-top:14px}.practice-shortcuts dt,.practice-help-content dt{color:var(--ink);font-weight:600}.practice-shortcuts dd,.practice-help-content dd{margin:3px 0 0}.practice-keyboard-help>summary{width:fit-content;min-height:44px;color:var(--brand-primary,var(--ink));cursor:pointer;text-underline-offset:3px;padding-block:10px;text-decoration:underline}.practice-keyboard-help>summary:focus-visible{outline:2px solid var(--brand-primary,var(--ink));outline-offset:4px;border-radius:2px}.practice-help-content{margin:8px 0 0}.practice-help-content>div+div{margin-top:16px}@media (max-width:1000px){.maths-demo-layout{grid-template-columns:minmax(0,1fr);gap:20px}.maths-demo-notes{padding:8px 20px}.practice-quick-help{display:none}.practice-keyboard-help[open]{padding-bottom:12px}}@media (max-width:480px){.maths-demo-question{padding:22px 16px}.maths-demo-notes{padding-inline:16px}}
.storage-conflict,.privacy-settings{background:#f5f9fc;border:1px solid #b8c8d5;border-radius:12px;margin-block:24px;padding:24px}.privacy-settings a{text-underline-offset:3px;text-decoration:underline}.privacy-settings{scroll-margin-top:24px}.privacy-settings h2,.storage-conflict h3{margin-top:0}.privacy-settings h3{margin:26px 0 10px;font-size:1.1rem}.privacy-settings p,.storage-conflict p{line-height:1.7}.privacy-delete{border-top:1px solid #b8c8d5;margin-top:28px;padding-top:24px}.privacy-confirm{background:#fff;border-left:3px solid #527892;margin-top:20px;padding:16px 20px}.privacy-confirm h4{margin:0}.privacy-confirm .button-row{margin-top:16px}.privacy-settings .button,.storage-conflict .button{white-space:normal;max-width:100%}.privacy-older-data{margin-block:20px}.privacy-older-data summary{cursor:pointer;padding-block:12px;font-weight:700}.footer-legal-links{border-top:1px solid #c9d6df;flex-wrap:wrap;flex-basis:100%;align-items:center;gap:12px 22px;padding-top:18px;display:flex}.site-footer{flex-wrap:wrap}.footer-legal-links a{text-underline-offset:3px;font-size:.9rem}@media (max-width:700px){.privacy-settings,.storage-conflict{padding:18px}.privacy-confirm{padding:14px}.privacy-settings .button-row,.storage-conflict .button-row{align-items:stretch}.privacy-settings .button-row .button,.storage-conflict .button-row .button{width:100%}.footer-legal-links{gap:14px 20px}}@media print{.storage-conflict,.privacy-settings,.footer-legal-links{display:none!important}}
.legal-page{overflow-wrap:anywhere;width:min(100%,900px);margin:54px auto 76px}.legal-heading{margin-bottom:24px}.legal-heading .eyebrow{margin-bottom:12px}.legal-heading h1{font:400 clamp(2.1rem,4.5vw,3.6rem)/1.12 var(--serif);color:var(--ink);margin-bottom:16px}.legal-page a:not(.button):not(.legal-card){text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.legal-page a:hover{text-decoration-thickness:2px}.legal-back{font-size:15px}.legal-lead{max-width:70ch;font-size:18px}.legal-reviewed{color:var(--ink);margin:16px 0 24px;font-size:14px}.legal-version{border:1px solid var(--line);border-left:4px solid var(--ink);background:var(--white);border-radius:4px;margin:24px 0 30px;padding:20px 24px}.legal-version p{margin:8px 0 0;font-size:15px}.legal-section{border-top:1px solid var(--line);margin-top:28px;padding-top:28px}.legal-section h2{margin-bottom:16px;font-size:23px;line-height:1.3}.legal-section h3{font-size:19px;line-height:1.4}.legal-section p,.legal-section li{max-width:78ch;font-size:16px;line-height:1.7}.legal-section li+li{margin-top:8px}.legal-section ul{margin-bottom:20px;padding-left:24px}.legal-cards{grid-template-columns:1fr 1fr;gap:18px;margin-top:30px;display:grid}.legal-card{border:1px solid var(--line);background:var(--white);border-radius:6px;flex-direction:column;align-items:flex-start;padding:26px;display:flex}.legal-card h2{margin-bottom:14px;font-size:24px;line-height:1.25}.legal-card p{margin-bottom:22px;font-size:16px}.legal-card>span{text-underline-offset:4px;margin-top:auto;font-size:14px;font-weight:700;text-decoration:underline}.legal-card:hover{border-color:var(--ink)}.legal-table-wrap{border:1px solid var(--line);background:var(--white);border-radius:4px;max-width:100%;margin:22px 0;overflow-x:auto}.legal-table-wrap:focus-visible{outline-offset:4px;outline:3px solid #3877b5}.legal-storage-table{border-collapse:collapse;text-align:left;width:100%;min-width:710px;font-size:14px;line-height:1.6}.legal-storage-table caption{text-align:left;border-bottom:1px solid var(--line);padding:16px;font-size:17px;font-weight:700}.legal-storage-table th,.legal-storage-table td{vertical-align:top;border-bottom:1px solid var(--line);padding:14px}.legal-storage-table thead th{background:var(--paper);font-weight:700}.legal-storage-table tbody th{width:28%;font-weight:400}.legal-storage-table td{width:24%}.legal-storage-table code{word-break:break-word;overflow-wrap:anywhere;font-size:12px}.legal-table-detail{margin-top:8px;font-size:13px;font-weight:400;display:block}.legal-summary{background:var(--white);border:1px solid var(--line);border-left:4px solid #237a78;border-radius:6px;margin:24px 0;padding:22px 26px}.legal-summary h2{margin:0 0 12px;font-size:21px}.legal-summary ul{margin:0;padding-left:22px;line-height:1.7}.legal-summary li+li{margin-top:8px}.legal-contents{margin:26px 0;font-size:15px}.legal-contents ul{flex-wrap:wrap;gap:10px 22px;margin:12px 0 0;padding:0;list-style:none;display:flex}.legal-details summary{cursor:pointer;padding:12px 0;font-weight:700;line-height:1.5}.legal-details summary:focus-visible{outline-offset:4px;outline:3px solid #3877b5}.legal-section[id]{scroll-margin-top:24px}.legal-storage-table tr:last-child>*{border-bottom:0}@media (max-width:650px){.legal-page{margin-top:32px;margin-bottom:48px}.legal-heading h1{font-size:2.25rem}.legal-cards{grid-template-columns:1fr}.legal-card{padding:22px}.legal-version{padding:18px}.legal-section h2{font-size:21px}.legal-lead{font-size:17px}}@media print{.legal-page{width:100%;margin:0}.legal-table-wrap{overflow:visible}.legal-storage-table{min-width:0;font-size:10px}.legal-storage-table th,.legal-storage-table td{padding:6px}.legal-storage-table code{font-size:9px}.legal-cards{grid-template-columns:1fr}.legal-back,.legal-contents{display:none}.legal-summary{break-inside:avoid}}
.google-sign-in{--google-sign-in-bg:#fff;--google-sign-in-ink:#1f1f1f;--google-sign-in-border:#747775;max-width:100%}.google-sign-in .google-sign-in-actions{flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:18px;display:flex}.google-sign-in .google-sign-in-button{background:var(--google-sign-in-bg);width:198px;max-width:100%;min-height:48px;color:var(--google-sign-in-ink);border:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;padding:2px 0;display:inline-flex;position:relative}.google-sign-in-button img{width:100%;height:auto;display:block}.google-sign-in .google-sign-in-button:hover:not(:disabled){box-shadow:0 1px 5px #0003}.google-sign-in .google-sign-in-button:focus-visible{outline:3px solid var(--brand-primary);outline-offset:4px}.google-sign-in .google-sign-in-button:disabled{opacity:1;cursor:wait}.google-sign-in .google-sign-in-button[aria-busy=true]{box-shadow:inset 0 0 0 1px var(--google-sign-in-border)}.google-sign-in-pending{justify-content:center;align-items:center;gap:10px;font-size:.9rem;font-weight:600;display:flex;position:absolute;inset:0}.google-sign-in-pending svg{animation:1s linear infinite google-sign-in-turn}.google-sign-in .google-sign-in-help{color:var(--muted);margin:12px 0 0;font-size:.85rem;line-height:1.55}.google-sign-in .google-sign-in-feedback{border-left:3px solid var(--brand-primary);background:var(--paper);color:var(--ink);overflow-wrap:anywhere;border-radius:3px;margin:12px 0 0;padding:10px 13px;font-size:.9rem;line-height:1.55}.google-sign-in .google-sign-in-feedback:empty{border:0;margin:0;padding:0}.google-sign-in .google-sign-in-error{border-color:var(--error-fg);color:var(--error-fg);background:var(--error-bg)}@keyframes google-sign-in-turn{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.google-sign-in-pending svg{animation:none}}@media (forced-colors:active){.google-sign-in .google-sign-in-button{outline:1px solid buttontext}}
.cloud-workspace{padding-bottom:3rem}.cloud-session,.cloud-library,.cloud-preview-note{background:#fff;border:1px solid #dce4ed;border-radius:12px;margin-bottom:1.25rem;padding:1.25rem}.cloud-session h2,.cloud-library h2{margin-top:0}.cloud-session p,.cloud-preview-note p{max-width:76ch}.cloud-actions{flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}.cloud-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);align-items:start;gap:1.5rem;display:grid}.cloud-layout>*{min-width:0}.cloud-fields{border:0;min-width:0;margin:0;padding:0}.cloud-fields label{gap:.4rem;margin:.9rem 0;font-weight:600;display:grid}.cloud-fields :is(input:not([type=checkbox]),textarea,select),.cloud-library select{color:#172b3a;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #dce4ed;border-radius:6px;padding:.65rem}.cloud-fields textarea{resize:vertical}.cloud-fields .cloud-checkbox{align-items:center;gap:.55rem;display:flex}.cloud-fields .cloud-checkbox input{width:auto}.cloud-block{border-bottom:1px solid #dce4ed;padding:.7rem 0}.cloud-choice{align-items:center;gap:.8rem;display:flex}.cloud-choice label{flex:1}.cloud-draft-list{gap:.7rem;margin:.7rem 0;padding:0;list-style:none;display:grid}.cloud-draft-list li{border:1px solid #dce4ed;border-radius:8px;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.7rem;display:flex}.cloud-draft-list li>span{flex:1;min-width:140px}.cloud-error{color:#91211c}.cloud-status{min-height:1.5rem}.cloud-validation{background:#fff;border:1px solid #bd5f57;border-radius:8px;padding:1rem}.cloud-preview-column{position:sticky;top:1rem}.cloud-preview-column>h2{margin-top:0}@media (max-width:960px){.cloud-layout{grid-template-columns:minmax(0,1fr)}.cloud-preview-column{position:static}}@media (max-width:480px){.cloud-session,.cloud-library{padding:1rem}.cloud-choice{flex-wrap:wrap}}.cloud-library-issues{border:1px solid var(--border,#d3d8dd);background:var(--surface,#f7f8fa);border-radius:.7rem;margin-top:1rem;padding:1rem}.cloud-library-issues ul{padding:0;list-style:none}.cloud-library-issues li{border-top:1px solid var(--border,#d3d8dd);justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;display:flex}.cloud-library-issues li>div{overflow-wrap:anywhere;min-width:0}.cloud-library-issues li p{margin:.3rem 0}.cloud-library-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;display:flex}@media (max-width:600px){.cloud-library-issues li{flex-direction:column;align-items:flex-start}}
.profile-avatar{background:var(--paper);vertical-align:middle;border-radius:50%;flex:none;display:inline-flex;overflow:hidden}.profile-avatar>img,.profile-avatar>svg{object-fit:cover;width:100%;height:100%;display:block}.account-profile-editor{min-width:0}.profile-anchor{position:absolute}.profile-preview-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:24px;padding:20px 0 24px;display:grid}.profile-preview-owner{align-items:center;gap:16px;min-width:0;display:flex}.profile-preview-owner>div{min-width:0}.profile-preview-owner strong{overflow-wrap:anywhere;font-size:1.35rem;display:block}.profile-preview-owner p{margin:4px 0 0}.profile-public-preview{background:var(--paper);border:1px solid var(--line);border-radius:6px;min-width:0;padding:16px 18px}.profile-public-preview>div{align-items:center;gap:10px;margin:8px 0;display:flex}.profile-public-preview strong{overflow-wrap:anywhere;font-size:.95rem}.profile-public-preview p{margin:0}.profile-caption{color:var(--muted);font-size:.86rem;line-height:1.6}.profile-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;display:grid}.profile-section{border:0;border-bottom:1px solid var(--line);min-width:0;margin:0;padding:22px 0}.profile-section>h3,.profile-section>legend{margin:0 0 12px;padding:0;font-family:inherit;font-size:1rem;font-weight:650}.profile-section>p{margin:9px 0 0}.profile-username-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.profile-username-row .sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.profile-username-row input{border:1px solid var(--border-control);width:100%;min-width:0;min-height:44px;color:var(--ink);background:var(--white);border-radius:5px;flex:160px;padding:10px 12px}.profile-username-row .button{padding:10px 12px;font-size:.8rem}.profile-section .button-row{margin-top:0}.profile-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.profile-avatar-choices{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.profile-avatar-choices>button{border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:70px;padding:9px;font-size:.8rem;display:flex}.profile-avatar-choices>button[aria-pressed=true]{border:2px solid var(--brand-primary);background:var(--paper);padding:8px}.profile-privacy{grid-column:1/-1;padding-top:24px}.profile-privacy>legend{float:left;width:100%}.profile-privacy>legend+*{clear:both}.profile-check{cursor:pointer;align-items:flex-start;gap:10px;min-height:44px;padding:8px 0;font-size:.9rem;line-height:1.5;display:flex}.profile-check input{width:19px;height:19px;min-height:19px;accent-color:var(--brand-primary);flex:none;margin:1px 0 0;padding:0}.profile-check input:disabled+span{color:var(--muted)}.profile-visibility-options{flex-wrap:wrap;gap:12px 32px;margin-top:8px;display:flex}.profile-section .profile-check+.profile-caption{margin-top:0}.profile-save-row{flex-wrap:wrap;align-items:center;gap:10px 20px;padding-top:20px;display:flex}.profile-feedback{margin:0;font-size:.875rem}.profile-feedback:empty{display:none}.profile-error,.profile-review-note{color:var(--error-fg,#8a342a);background:var(--error-bg,#fff0ec);border-left:3px solid;padding:10px 14px;font-size:.9rem}.avatar-crop-editor{grid-template-columns:140px minmax(0,1fr);align-items:start;gap:16px;margin-top:18px;display:grid}.avatar-crop-preview{background:var(--paper);outline:1px solid var(--line);border-radius:50%;flex:none;width:140px;height:140px;display:block;position:relative;overflow:hidden}.avatar-crop-preview>img{object-fit:fill;max-width:none;display:block;position:absolute}.profile-preview-owner>.avatar-crop-preview{width:72px;height:72px}.avatar-crop-controls p{margin:0 0 10px}.avatar-crop-controls label{margin:8px 0;font-size:.8rem;display:block}.avatar-crop-controls input[type=range]{width:100%;height:32px;min-height:32px;accent-color:var(--brand-primary);display:block}.ranked-member-identity{align-items:center;gap:10px;min-width:0;display:flex}.ranked-member-identity>span:last-child{overflow-wrap:anywhere;min-width:0}@media (max-width:850px){.profile-fields{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.profile-preview-row{grid-template-columns:minmax(0,1fr);gap:16px}.avatar-crop-editor{grid-template-columns:100px minmax(0,1fr)}.avatar-crop-editor .avatar-crop-preview{width:100px;height:100px}.profile-visibility-options{flex-direction:column;gap:0}.ranked-member-identity{flex-wrap:wrap;gap:6px}.ranked-member-identity .profile-avatar{width:28px!important;height:28px!important}}@media (max-width:360px){.avatar-crop-editor{grid-template-columns:minmax(0,1fr)}}@media print{.account-profile-editor{display:none!important}}
.leaderboard-settings,.leaderboard-review{border-top:1px solid var(--line);overflow-wrap:anywhere;min-width:0;margin:30px 0 0;padding:26px 0 0;scroll-margin-top:30px}.leaderboard-settings-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin-bottom:18px;display:flex}.leaderboard-settings-heading h2{font-family:var(--serif);letter-spacing:-.02em;margin:0;font-size:1.65rem;line-height:1.2}.leaderboard-settings p,.leaderboard-review p{line-height:1.65}.leaderboard-settings-caption{color:var(--muted);font-size:.875rem;line-height:1.65}.leaderboard-settings :is(.button,.text-link),.leaderboard-review :is(.button,.text-link){white-space:normal;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.leaderboard-settings button:disabled,.leaderboard-review button:disabled{cursor:not-allowed}.leaderboard-settings .button-row,.leaderboard-review .button-row{flex-wrap:wrap;align-items:center;gap:10px 20px;margin:16px 0 0;display:flex}.leaderboard-settings-form{border:1px solid var(--line);background:var(--white);border-radius:10px;grid-template-columns:minmax(0,1.6fr) minmax(200px,1fr);align-items:start;gap:24px 32px;padding:24px;display:grid}.leaderboard-settings-fields,.leaderboard-settings-name{min-width:0}.leaderboard-settings-checkbox{cursor:pointer;align-items:center;gap:10px;min-height:44px;margin-bottom:0;font-size:.9rem;font-weight:600;line-height:1.6;display:flex}.leaderboard-settings-checkbox input{width:20px;height:20px;min-height:20px;accent-color:var(--brand-primary);flex:none;margin:0;padding:0}.leaderboard-settings-fields>.leaderboard-settings-caption{margin:2px 0 20px 30px}.leaderboard-settings-name label{margin-bottom:7px;font-weight:600;display:block}.leaderboard-settings-name input,.leaderboard-review-item input{border:1px solid var(--border-control);width:100%;min-width:0;min-height:44px;color:var(--ink);background:var(--white);border-radius:5px;padding:10px 12px;display:block}.leaderboard-settings-name p{margin:7px 0 0}.leaderboard-name-format{margin-top:2px}.leaderboard-name-format summary{min-height:44px;color:var(--muted);cursor:pointer;padding:10px 0;font-size:.85rem}.leaderboard-name-format[open]{padding-bottom:8px}.leaderboard-name-preview{border:1px solid var(--line);border-left:3px solid var(--brand-primary);background:var(--lime);border-radius:6px;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:18px;display:flex}.leaderboard-name-preview>strong{font-family:var(--serif);font-size:1.5rem;font-weight:600;line-height:1.2}.leaderboard-name-preview p{margin:0}.leaderboard-visibility{background:var(--paper);border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:3px 8px;font-size:.8rem;font-weight:600;line-height:1.5;display:inline-block}.leaderboard-visibility[data-state=public]{background:var(--success-bg,var(--paper));color:var(--success-fg,var(--ink))}.leaderboard-visibility[data-state=pending]{background:var(--warning-bg,var(--paper));color:var(--warning-fg,var(--ink))}.leaderboard-visibility[data-state=hidden]{background:var(--error-bg,var(--paper));color:var(--error-fg,var(--ink))}.leaderboard-settings-feedback{margin:12px 0 0;font-size:.9rem}.leaderboard-settings-feedback:empty{display:none}.leaderboard-results{border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.leaderboard-results summary,.leaderboard-settings-danger summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600;line-height:1.6}.leaderboard-results summary>span{background:var(--lime);min-width:25px;color:var(--brand-primary);text-align:center;border-radius:4px;margin-left:6px;padding:1px 7px;font-size:.8rem;font-weight:600;display:inline-block}.leaderboard-results-list{margin:0;padding:0;list-style:none}.leaderboard-results-list li{border-bottom:1px solid var(--line);padding:14px 0}.leaderboard-result-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;display:flex}.leaderboard-result-heading a{text-underline-offset:3px;color:var(--brand-primary);font-weight:600;text-decoration:underline}.leaderboard-result-heading strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.9rem}.leaderboard-results-list p{margin:5px 0 0;font-size:.85rem}.leaderboard-settings-danger{margin-top:6px}.leaderboard-settings-danger[open]{padding-bottom:8px}.leaderboard-settings-danger p{max-width:76ch;font-size:.9rem}.leaderboard-settings-notice,.leaderboard-settings-confirm{background:var(--warning-bg,var(--paper));border-left:3px solid var(--warning-fg,var(--muted));margin:16px 0;padding:16px 18px}.leaderboard-settings-confirm .leaderboard-settings-checkbox{font-weight:400}.leaderboard-settings-confirm .button-row{margin-top:16px}.leaderboard-review-sections{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:20px;display:grid}.leaderboard-review-sections>section{border:1px solid var(--line);background:var(--white);border-radius:8px;min-width:0;padding:20px}.leaderboard-review-sections h3{margin:0 0 16px;font-size:1.1rem}.leaderboard-review-count{color:var(--muted);margin-left:6px;font-size:.875rem;font-weight:400}.leaderboard-review-item{border-top:1px solid var(--line);padding:18px 0}.leaderboard-review-item:last-child{padding-bottom:0}.leaderboard-review-item-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.leaderboard-review-item-heading h4{margin:0;font-size:1rem;line-height:1.5}.leaderboard-review-profile{align-items:center;gap:.8rem;min-width:0;display:flex}.leaderboard-review-profile>.leaderboard-review-item-heading{flex:1;min-width:0}.leaderboard-review-profile h4{overflow-wrap:anywhere}.leaderboard-review-item-heading>strong{font-variant-numeric:tabular-nums;font-size:.85rem}.leaderboard-review-item p{margin:7px 0;font-size:.875rem}.leaderboard-review-item label{margin:16px 0 6px;font-size:.875rem;font-weight:600;display:block}.leaderboard-review-note{background:var(--paper);border-left:2px solid var(--line);padding:8px 12px}@media (max-width:700px){.leaderboard-settings-form,.leaderboard-review-sections{grid-template-columns:minmax(0,1fr);gap:18px}.leaderboard-settings-form{padding:18px}.leaderboard-name-preview{padding:14px 16px}.leaderboard-review-sections>section{padding:18px}.leaderboard-settings,.leaderboard-review{margin-top:24px;padding-top:22px}.leaderboard-settings .button-row,.leaderboard-review .button-row{gap:8px 16px}.leaderboard-settings .button-row>.button{max-width:100%}.leaderboard-settings-heading{gap:8px 16px;margin-bottom:16px}.leaderboard-settings-heading h2{font-size:1.5rem}}@media print{.leaderboard-settings-form,.leaderboard-settings-danger,.leaderboard-review,.leaderboard-settings .button-row{display:none!important}}
.account-page{max-width:1040px;margin:0 auto;padding-bottom:24px}.account-page .page-head{margin:0;padding:44px 0 28px}.account-page .page-head h1{font-family:var(--serif);letter-spacing:-.04em;margin:0 0 12px;font-size:clamp(2.4rem,4vw,3.4rem);line-height:1.08}.account-page .page-head p{max-width:650px;color:var(--muted);margin:0}.account-page h2{font-family:var(--serif);letter-spacing:-.02em;margin:0 0 14px;font-size:1.65rem;line-height:1.2}.account-page p{line-height:1.6}.account-page a,.account-page button,.account-page summary{overflow-wrap:anywhere}.account-page button:disabled{opacity:.65;cursor:not-allowed}.account-page .button-row{flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:18px;display:flex}.account-page .button-row .button{white-space:normal}.account-page .text-link{align-items:center;gap:7px;min-height:44px;display:inline-flex}.account-entry{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--brand-primary);border-radius:10px;grid-template-columns:1.12fr 1fr;display:grid;overflow:hidden}.account-signin{padding:32px}.account-signin h2{font-size:2rem}.account-signin>p{max-width:570px;margin:12px 0 0}.account-signin .account-privacy-note{color:var(--muted);margin-top:26px;font-size:.9rem}.account-privacy-note a{color:var(--brand-primary);white-space:nowrap}.account-entry-benefits{background:var(--lime);border-left:1px solid var(--line);gap:23px;padding:30px;display:grid}.account-entry-benefits>div{align-items:flex-start;gap:14px;display:flex}.account-benefit-icon{background:var(--white);border:1px solid var(--line);height:40px;color:var(--brand-primary);border-radius:10px;flex:0 0 40px;place-items:center;display:grid}.account-entry-benefits>div:nth-child(2) .account-benefit-icon{color:var(--physics-accent)}.account-entry-benefits h3{font-family:var(--serif);letter-spacing:-.015em;margin:0 0 5px;font-size:1.2rem;line-height:1.3}.account-entry-benefits p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.5}.account-signin-help{margin-top:10px;padding:0 2px}.account-membership-section{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--brand-primary);border-radius:10px;padding:22px 24px}.account-membership{justify-content:space-between;align-items:center;gap:20px;display:flex}.account-member-info{min-width:0}.account-membership h2{color:var(--muted);letter-spacing:0;margin:0 0 5px;font-family:inherit;font-size:.85rem;font-weight:600}.account-identity{overflow-wrap:anywhere;margin:0;font-weight:600}.account-membership .button-row{flex-shrink:0;margin:0}.account-save-state{border-top:1px solid var(--line);color:var(--physics-accent);align-items:flex-start;gap:8px;margin-top:16px;padding-top:14px;font-size:.85rem;display:flex}.account-save-state>svg{flex-shrink:0;margin-top:2px}.account-save-copy{flex-wrap:wrap;align-items:baseline;gap:4px 14px;min-width:0;display:flex}.account-save-state h3{color:var(--ink);margin:0;font-family:inherit;font-size:.87rem;line-height:1.5}.account-save-state p{color:var(--ink);flex-basis:100%;margin:5px 0 0}.account-save-state .button-row{flex-basis:100%;margin-top:10px}.account-save-time{color:var(--muted);font-size:.8rem}.account-save-state[data-attention=true]{border-top:0;border-left:3px solid var(--warning-fg);color:var(--warning-fg);background:var(--warning-bg);border-radius:4px;padding:15px 18px}.account-recovery-warning,.account-conflict{background:var(--warning-bg);border:1px solid var(--warning-fg);border-radius:8px;margin-top:20px;padding:20px}.account-recovery-warning p,.account-conflict p{margin:0}.account-conflict h2{font-size:1.45rem}.account-section{border-bottom:1px solid var(--line);padding:28px 0}.account-overview{padding:28px 0 4px}.account-section-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.account-section-heading h2{margin:0}.account-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;display:grid}.account-stats>div{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--brand-primary);border-radius:8px;min-width:0;padding:16px 18px 18px}.account-stats>div[data-tone=teal]{border-top-color:var(--physics-accent)}.account-stats dt{color:var(--muted);justify-content:space-between;align-items:flex-start;gap:8px;font-size:.84rem;font-weight:600;line-height:1.5;display:flex}.account-stats dt svg{color:var(--brand-primary);flex-shrink:0}.account-stats [data-tone=teal] dt svg{color:var(--physics-accent)}.account-stats dd{color:var(--brand-primary);font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin:10px 0 0;font-size:2.3rem;font-weight:600;line-height:1.2}.account-stats [data-tone=teal] dd{color:var(--physics-accent)}.account-counting-note{color:var(--muted);margin-top:4px;font-size:.8rem}.account-counting-note>summary{cursor:pointer;min-height:44px;padding:12px 0}.account-counting-note p{max-width:780px;margin:0 0 12px}.account-caption{color:var(--muted);margin:14px 0 0;font-size:.87rem;line-height:1.55}.account-grid{grid-template-columns:1fr 1fr;align-items:start;gap:20px;padding:10px 0 0;display:grid}.account-grid>section{background:var(--white);border:1px solid var(--line);border-radius:10px;min-width:0;padding:22px 24px}.account-grid>.account-continue{background:var(--lime)}.account-page>.leaderboard-settings{border-top:0;margin-top:0}.account-grid h2{margin-bottom:16px}.account-grid p{margin:8px 0 0}.account-activity{margin:0;padding:0;list-style:none}.account-activity li+li{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.account-activity a{justify-content:space-between;gap:10px;font-size:.94rem;font-weight:600;line-height:1.45;text-decoration:none;display:flex}.account-activity a:hover{text-decoration:underline}.account-activity a svg{flex-shrink:0;margin-top:2px}.account-activity p{color:var(--muted);margin:5px 0 1px;font-size:.85rem}.account-activity time{color:var(--muted);font-size:.78rem}.account-empty{color:var(--muted);font-size:.91rem}.account-grid .button-row{gap:8px 16px;margin-top:12px}.account-backups{background:var(--white);border:1px solid var(--line);border-radius:10px;margin-top:26px;padding:24px}.account-backups h2{margin-bottom:10px}.account-backups>.account-caption{margin:0}.account-disclosure{margin-top:18px}.account-disclosure>summary{cursor:pointer;min-height:44px;color:var(--ink);padding:10px 0;font-size:.94rem;font-weight:600;line-height:1.5}.account-disclosure[open]>summary{margin-bottom:4px}.account-disclosure p{max-width:780px;margin:8px 0 14px;font-size:.92rem}.account-help{border-bottom:1px solid var(--line);margin:0;padding:12px 0}.account-help-list{max-width:810px;color:var(--muted);margin:8px 0 16px;padding-left:20px;font-size:.9rem;line-height:1.6}.account-help-list li+li{margin-top:10px}.account-actions{padding-bottom:24px}.account-actions h2{margin-bottom:8px}.account-actions .account-danger{margin-top:4px}.account-danger[open]{border-left:2px solid var(--border-control);margin-bottom:14px;padding-left:16px}.account-danger .button{color:var(--error-fg)}.account-file{display:none}.account-footer{color:var(--muted);flex-wrap:wrap;gap:8px 24px;margin:0;padding:22px 0 0;font-size:.83rem;display:flex}.account-footer a{min-height:28px}.account-save-indicator{color:var(--muted);justify-content:flex-end;padding:12px 0 0;font-size:.8rem;display:flex}.account-save-indicator a{align-items:center;gap:7px;min-height:32px;line-height:1.5;display:inline-flex}.account-save-indicator[data-attention=true] a{color:var(--warning-fg);text-underline-offset:3px;text-decoration:underline}.account-page>.notice[role=status]{color:var(--muted);border:0;border-left:2px solid var(--line);background:0 0;border-radius:0;padding:10px 14px;font-size:.9rem}@media (max-width:700px){.account-page .page-head{padding:30px 0 23px}.account-entry{grid-template-columns:1fr}.account-signin{padding:24px 22px}.account-signin h2{font-size:1.75rem}.account-entry-benefits{border-left:0;border-top:1px solid var(--line);gap:20px;padding:24px 22px}.account-entry-benefits h3{font-size:1.15rem}.account-membership-section{padding:20px}.account-membership{flex-wrap:wrap;align-items:flex-start;gap:14px}.account-membership .button-row{flex-shrink:1}.account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-stats>div{padding:14px 16px}.account-stats dt{min-height:3em;font-size:.8rem}.account-stats dd{font-size:2rem}.account-section{padding:24px 0}.account-overview{padding:24px 0 4px}.account-grid{grid-template-columns:1fr;gap:16px;padding:6px 0 0}.account-grid>section{padding:20px}.account-backups{margin-top:24px;padding:20px}.account-save-copy{row-gap:4px}.account-save-time{flex-basis:100%}.account-section-heading{flex-wrap:wrap;align-items:flex-start;gap:5px}.account-recovery-warning,.account-conflict{padding:17px}}@media (max-width:380px){.account-page .page-head h1{font-size:2.4rem}.account-signin,.account-entry-benefits{padding:22px 18px}.account-entry-benefits>div{gap:12px}.account-benefit-icon{border-radius:8px;flex-basis:36px;height:36px}.account-stats>div{padding:12px}.account-stats dt{gap:5px}.account-stats dt svg{width:16px;height:16px}.account-signin .button-row{flex-direction:column;align-items:stretch;gap:8px}.account-signin .button-row .text-link{justify-content:center}.account-page .button-row .button{max-width:100%}}
