.solver-row+.solver-row{margin-top:16px}.solver-row-name{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;font-size:var(--text-small);color:var(--ink-3);margin:0 0 4px}.solver-terms{flex-wrap:wrap;align-items:flex-start;gap:12px 8px;display:flex}.solver-terms .tool-field{max-width:none}.solver-terms .tool-field-box input{text-align:center;flex:none;width:4.2rem;padding-inline:8px}@supports (field-sizing:content){.solver-terms .tool-field-box input{field-sizing:content;width:auto;min-width:3.4rem;max-width:9rem}}.solver-terms .tool-field-unit{color:var(--ink);font-size:1.125rem}.solver-terms .tool-field{position:relative}.solver-terms .tool-field-error{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.solver-problems{font-size:var(--text-small);color:var(--warning);gap:4px;margin:10px 0 0;padding:0;line-height:1.45;list-style:none;display:grid}.solver-problems strong{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;margin-right:6px}.solver-typing{margin:16px 0 0}.solver-sketch .tool-chart{max-width:460px}.solver-grid{stroke:var(--line);stroke-width:1px}.solver-axis{stroke:var(--ink-3);stroke-width:1.4px}.solver-tick{fill:var(--ink-3);font-size:14px}.solver-axis-name{font-size:14px;font-style:italic;font-family:var(--font-serif);fill:var(--ink-2)}.solver-curve{fill:none;stroke:var(--indigo-ink);stroke-width:2.4px}.solver-second{stroke:var(--emerald-text);stroke-dasharray:8 5}.solver-point{fill:var(--ink);stroke:var(--stage);stroke-width:1.5px}.solver-label{fill:var(--ink);paint-order:stroke;stroke:var(--stage);stroke-width:4px;stroke-linejoin:round;font-size:14px}
.graph-entries{gap:10px;display:grid}.graph-entry{grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px 10px;display:grid}.graph-show{border:1px solid var(--border);background:var(--surface);border-radius:9px;justify-content:center;align-items:center;min-width:44px;min-height:40px;padding:0 6px;display:inline-flex}.graph-show[aria-pressed=false] .graph-line-key{opacity:.25}.graph-name{font-family:var(--font-serif);color:var(--ink-2);white-space:nowrap;font-size:1.0625rem;font-style:italic}.graph-entry input{border:1px solid var(--border);background:var(--stage);min-width:0;min-height:42px;color:var(--ink-body);font-family:var(--font-jetbrains-mono), ui-monospace, monospace;border-radius:9px;padding:7px 12px;font-size:1rem}.graph-entry input:focus{outline:2px solid var(--indigo-line);outline-offset:1px}.graph-entry[data-invalid] input{border-color:var(--warning)}.graph-error{grid-column:3}.graph-typing{margin:12px 0 0}.graph-control-row{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.graph-pan button{min-width:40px;font-size:1rem}.graph-tool>.graph-figure{order:-1}@container tool (min-width:860px){.graph-tool{grid-template:"entry figure""read figure"1fr"table table"/minmax(300px,380px) minmax(0,1fr);align-items:start}.graph-tool>.tool-entry{grid-area:entry}.graph-tool>.graph-figure{order:0;grid-area:figure;position:sticky;top:16px}.graph-tool>.graph-read{grid-area:read}.graph-tool>.graph-table{grid-area:table}}@media (min-width:1920px){.stage-main>.course-tool:has(.graph-tool){max-width:1400px}}.graph-figure{margin:0}.graph-box{border:1px solid var(--border);background:var(--stage);border-radius:14px;overflow:hidden}.graph-box:focus-visible{outline:2px solid var(--indigo-line);outline-offset:2px}.graph-stage{touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.graph-stage:active{cursor:grabbing}.graph-paper{fill:var(--stage)}.graph-grid{stroke:var(--rule-6)}.graph-axis{stroke:var(--ink-mute);stroke-width:1.4px}.graph-tick{fill:var(--text-dim);font-variant-numeric:tabular-nums}.graph-axis-name{fill:var(--ink-2);font-family:var(--font-serif);font-style:italic}.graph-figure figcaption{font-size:var(--text-small);color:var(--text-dim);margin-top:8px;line-height:1.5}.graph-key{vertical-align:middle;flex:none;display:inline-block}.graph-curve-features+.graph-curve-features{margin-top:14px}.graph-curve-features h4{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--ink);align-items:center;gap:10px;margin:12px 0 6px;font-size:.875rem;font-weight:500;display:flex}.graph-curve-features ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.graph-curve-features li{color:var(--ink-body);align-items:center;gap:9px;font-size:.875rem;display:flex}.graph-more{color:var(--text-dim)}.graph-legend{border-top:1px solid var(--border);font-size:var(--text-small);color:var(--text-dim);flex-wrap:wrap;gap:6px 16px;margin:16px 0 0;padding-top:12px;display:flex}.graph-legend span{align-items:center;gap:6px;display:inline-flex}.graph-table-fields{margin:4px 0 14px}.graph-table .tool-table-wrap{max-height:420px;margin-bottom:16px;overflow:auto}.graph-table .tool-table th[scope=row]{color:var(--ink-body);font-weight:500}.graph-table .tool-table{width:auto;min-width:min(100%,320px)}.graph-table .tool-table th,.graph-table .tool-table td{padding-inline:18px}
.stats-hint{margin:0 0 12px}.stats-grid input[aria-invalid=true]{border-color:var(--warning)}.stats-grid .tool-grid-row input{min-width:0}.stats-problems{font-size:var(--text-small);color:var(--warning);gap:4px;margin:6px 0 0;padding:0;line-height:1.45;list-style:none;display:grid}.stats-measures{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr))}.stats-table{min-width:0;margin:0}.stats-table figcaption{font-size:var(--text-label);color:var(--text-dim);margin-top:7px;line-height:1.6}.stats-total td{color:var(--ink);border-top:1px solid var(--line-2);font-weight:600}.stats-chart .tool-chart{max-width:460px}.stats-grid-line{stroke:var(--line);stroke-width:1px}.stats-axis{stroke:var(--ink-3);stroke-width:1.2px}.stats-tick{fill:var(--ink-3);font-size:14px}.stats-axis-title{fill:var(--ink-2);font-size:14px}.stats-curve{fill:none;stroke:var(--indigo-ink);stroke-width:2.4px}.stats-point{fill:var(--indigo-ink);stroke:var(--stage);stroke-width:1.5px}.stats-read-off{fill:none;stroke:var(--ink-2);stroke-width:1.2px;stroke-dasharray:5 4}.stats-label{fill:var(--ink);paint-order:stroke;stroke:var(--stage);stroke-width:4px;stroke-linejoin:round;font-size:14px}.stats-bar{fill:var(--brand-soft);stroke:var(--indigo-ink);stroke-width:1.5px}.stats-whisker{stroke:var(--sky-ink);stroke-width:2px}.stats-box{fill:var(--sky-wash);stroke:var(--sky-ink);stroke-width:2px}.stats-median{stroke:var(--ink);stroke-width:3px}.stats-beyond{border:1px solid var(--border);background:var(--surface-1);border-radius:14px;padding:4px 16px 14px}.stats-beyond summary{cursor:pointer;min-height:24px;padding:12px 0;font-size:.875rem;font-weight:600}.stats-beyond summary small{font-size:var(--text-small);color:var(--text-dim);margin-left:8px;font-weight:400}.stats-beyond figure{margin:4px 0 0}.stats-beyond figcaption{font-size:var(--text-label);color:var(--text-dim);margin-top:7px;line-height:1.6}
.trig-head{justify-content:space-between}.trig-unit{font-size:var(--text-small);color:var(--text-muted);align-items:center;gap:8px;display:inline-flex}.trig-unit select{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--ink-body);font-family:var(--font-jetbrains-mono), ui-monospace, monospace;border-radius:9px;padding:4px 8px;font-size:.875rem}.trig-unit select:focus{outline:2px solid var(--indigo-line);outline-offset:1px}.trig-hint{margin-top:10px}.trig-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.trig-fields .tool-field{max-width:none}.trig-found{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr))}.trig-second .tool-headline{overflow-wrap:anywhere}.trig-diagram .tool-chart{max-width:460px}.trig-shape{fill:var(--brand-soft);stroke:var(--indigo-ink);stroke-width:2px;stroke-linejoin:round}.trig-shape-second{fill:none;stroke:var(--emerald-text);stroke-width:2px;stroke-dasharray:7 5;stroke-linejoin:round}.trig-swing{fill:none;stroke:var(--ink-3);stroke-width:1.2px;stroke-dasharray:2 4}.trig-dot{fill:var(--emerald-text)}.trig-mark{fill:none;stroke:var(--ink-2);stroke-width:1.5px}.trig-label{fill:var(--ink-body);paint-order:stroke;stroke:var(--stage);stroke-width:4px;stroke-linejoin:round;font-size:14px}.trig-found-label{fill:var(--ink);font-weight:700}
.maths-number-rounding{gap:12px;display:grid}.maths-number-kinds button{min-height:36px}.maths-number-operation{margin:4px 0 14px}.maths-number-small{font-size:var(--text-small);color:var(--text-muted)}.maths-number-signs button{min-width:44px;font-family:var(--font-jetbrains-mono), ui-monospace, monospace;font-size:1.125rem;font-style:normal}.maths-number-figures button{min-width:44px;font-family:var(--font-jetbrains-mono), ui-monospace, monospace;font-style:normal;font-size:var(--text-body)}.maths-number-calculation{gap:14px;display:grid}.maths-number-typing{margin:14px 0 0}
.percent-formula{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;font-size:var(--text-body);color:var(--ink-body);margin:12px 0 0}.percent-finding{font-size:var(--text-small);color:var(--text-muted)}.percent-direction{margin-top:14px}.percent-direction .tool-section-label{font-weight:500}.percent-note{margin:12px 0 0}.percent-ratio-fields .tool-field-text{max-width:230px}
.mensuration-known-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:10px;display:flex}.mensuration-known-head .tool-section-label{margin:0}.mensuration-unit{font-size:var(--text-small);color:var(--text-muted);align-items:center;gap:8px;display:inline-flex}.mensuration-unit select{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--ink-body);font-family:var(--font-jetbrains-mono), ui-monospace, monospace;border-radius:8px;padding:4px 8px;font-size:.875rem}.mensuration-unit select:focus{outline:2px solid var(--indigo-line);outline-offset:1px}.mensuration-figure{min-width:0;margin:0 0 14px}.mensuration-sketch{border:1px solid var(--border);background:var(--stage);border-radius:12px;width:auto;max-width:100%;height:auto;display:block}.mensuration-sketch text{font-family:var(--font-serif);fill:var(--ink);font-size:17px;font-style:italic;font-weight:600}.mensuration-legend{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;font-size:var(--text-small);color:var(--text-muted);flex-wrap:wrap;gap:4px 18px;margin-top:8px;display:flex}.mensuration-legend i{font-family:var(--font-serif);font-size:var(--text-body);color:var(--ink)}.mensuration-face{fill:color-mix(in srgb, var(--sky-ink) 10%, transparent);stroke:var(--ink-2);stroke-width:2px;stroke-linejoin:round}.mensuration-section{fill:color-mix(in srgb, var(--sky-ink) 26%, transparent)}.mensuration-edge{fill:none;stroke:var(--ink-2);stroke-width:2px;stroke-linejoin:round}.mensuration-hidden{fill:none;stroke:var(--ink-3);stroke-width:1.5px;stroke-dasharray:5 4}.mensuration-height{stroke:var(--amber-ink);stroke-width:1.8px;stroke-dasharray:6 4}.mensuration-right{fill:none;stroke:var(--amber-ink);stroke-width:1.5px}.mensuration-dot{fill:var(--ink-2)}.mensuration-note{margin:12px 0 0}.mensuration-pair{margin-top:14px}
.sequence-figure{min-width:0;margin:0}.sequence-table{width:auto;min-width:100%}.sequence-table th,.sequence-table td{text-align:center;padding:9px 4px}.sequence-table td{min-width:2.2rem}.sequence-table thead th[scope=col]{color:var(--text-dim);font-weight:400}.sequence-table th[scope=row]{z-index:1;text-align:left;background:var(--surface-1);color:var(--ink-2);font-family:var(--font);font-size:var(--text-small);padding:9px 12px 9px 14px;font-weight:500;position:sticky;left:0}.sequence-table tr[data-decides] td{color:var(--ink);font-weight:700}.sequence-constant{border:1px solid var(--line-2);font-size:var(--text-label);color:var(--ink-2);border-radius:999px;margin-left:6px;padding:0 7px;font-weight:400;display:inline-block}
.math-array{vertical-align:middle;margin:3px 4px;display:inline-block}.math-array-grid{-moz-column-gap:.9em;font-variant-numeric:tabular-nums;white-space:nowrap;border-left:1.5px solid;border-right:1.5px solid;border-radius:.75em/50%;justify-items:center;gap:.05em .9em;padding:1px .55em;line-height:1.3;display:inline-grid}.math-line{line-height:1.6}
.vector-columns{flex-wrap:wrap;gap:16px 32px;display:flex}.vector-column-input{-moz-column-gap:10px;grid-template-columns:auto auto;align-items:center;column-gap:10px;display:grid}.vector-name{font-family:var(--font-serif);color:var(--ink-2);font-size:1.1875rem;font-style:italic}.vector-bracket{border-left:2px solid var(--ink-3);border-right:2px solid var(--ink-3);border-radius:16px/50%;gap:4px;padding:6px 12px 8px;display:grid}.vector-bracket .tool-field,.vector-point-row .tool-field{gap:2px;width:4.6rem;position:relative}.vector-bracket .tool-field>label>span,.vector-point-row .tool-field>label>span{text-align:center;font-family:var(--font-serif);font-size:.875rem;font-style:italic;display:block}.vector-bracket input,.vector-point-row input{text-align:center;padding:6px 4px}.vector-bracket .tool-field-error,.vector-point-row .tool-field-error{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.vector-errors{flex-basis:100%;grid-column:1/-1;max-width:18rem;margin:6px 0 0}.vector-points{gap:10px;display:grid}.vector-point-row{flex-wrap:wrap;align-items:flex-end;gap:6px;display:flex}.vector-point-row>.vector-name{min-width:1.6em;padding-bottom:8px}.vector-paren{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--text-dim);padding-bottom:8px;font-size:1.375rem}.vector-detail{margin-top:14px}.vector-multiples .tool-field{max-width:11rem}.vector-note{margin:12px 0 0}.vector-shapes{gap:12px;display:grid}.vector-results dd{font-size:1rem}.vector-figure{min-width:0;margin:0}.vector-grid.tool-chart{width:auto;max-width:100%;height:auto}.vector-gridline{stroke:var(--rule-6);stroke-width:1px}.vector-axis{stroke:var(--ink-mute);stroke-width:1.5px}.vector-tick,.vector-axis-name,.vector-mirror-name{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;fill:var(--text-muted);font-size:13px}.vector-axis-name{font-family:var(--font-serif);fill:var(--ink-2);font-size:15px;font-style:italic}.vector-object{fill:color-mix(in srgb, var(--sky-ink) 14%, transparent);stroke:var(--sky-ink);stroke-width:2.5px;stroke-linejoin:round}.vector-image{fill:color-mix(in srgb, var(--emerald-text) 10%, transparent);stroke:var(--emerald-text);stroke-width:2.5px;stroke-dasharray:7 5;stroke-linejoin:round}.vector-letter{font-family:var(--font-serif);fill:var(--sky-ink);font-size:15px;font-weight:600}.vector-letter-image{fill:var(--emerald-text)}.vector-mirror{stroke:var(--amber-ink);stroke-width:2px;stroke-dasharray:12 4 2 4}.vector-mirror-name{fill:var(--amber-ink)}.vector-centre{stroke:var(--ink);stroke-width:2.5px;stroke-linecap:round}.vector-ray{stroke:var(--text-dim);stroke-width:1px;stroke-dasharray:2 4}.vector-move{stroke:var(--ink-2);stroke-width:1.5px;stroke-dasharray:3 3}.vector-arrow-head{fill:var(--ink-2)}
.probability-replace{margin-top:14px}.probability-bag{grid-template-columns:repeat(2,minmax(0,1fr))}.probability-counts{margin-top:14px}.probability-figure{gap:10px;min-width:0;margin:0;display:grid}.probability-tree.tool-chart,.probability-venn.tool-chart{width:auto;max-width:100%;height:auto}.probability-node{fill:var(--ink-body)}.probability-branch{stroke:var(--text-dim);stroke-width:1.5px}.probability-branch-on{stroke:var(--ink);stroke-width:3px}.probability-chance,.probability-outcome{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;fill:var(--ink-body);font-size:13px}.probability-outcome{fill:var(--ink);font-size:14px}.probability-mark{fill:var(--ink)}.probability-ring{fill:none;stroke:var(--ink);stroke-width:1.5px}.probability-routes td,.probability-routes th{text-align:left;padding:9px 10px}.probability-routes tbody th{color:var(--ink-body);font-size:.875rem;font-weight:400}.probability-routes tr[data-counted] td,.probability-routes tr[data-counted] th{color:var(--ink);font-weight:700}.probability-universe{fill:none;stroke:var(--rule-5);stroke-width:1.5px}.probability-set{fill:none;stroke:var(--ink-2);stroke-width:1.8px}.probability-set-given{stroke:var(--ink);stroke-width:4px}.probability-hatch{stroke:var(--sky-ink);stroke-width:2.5px;opacity:.55}.probability-set-name{font-family:var(--font-serif);fill:var(--ink-2);font-size:17px;font-style:italic}.probability-count{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;fill:var(--ink-body);font-size:18px}.probability-count-on{fill:var(--ink);paint-order:stroke;stroke:var(--stage);stroke-width:5px;font-weight:700}
.matrix-beyond{margin:0 0 18px}.matrix-row{flex-wrap:wrap;align-items:flex-start;gap:18px 28px;display:flex}.matrix-input{-moz-column-gap:10px;grid-template-columns:auto auto;align-items:center;column-gap:10px;margin:0;display:grid}.matrix-name{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--ink-2);font-size:1.0625rem}.tool-entry .matrix-bracket{border-left:2px solid var(--ink-3);border-right:2px solid var(--ink-3);border-radius:18px/50%;grid-template-columns:repeat(2,4.2rem);gap:6px 10px;padding:8px 14px 10px;display:grid}.tool-entry .matrix-bracket .tool-field{gap:2px;position:relative}.tool-entry .matrix-bracket .tool-field>label>span{text-align:center;font-family:var(--font-serif);font-size:.875rem;font-style:italic;display:block}.tool-entry .matrix-bracket input{text-align:center;min-width:0;padding:6px 4px}.tool-entry .matrix-bracket .tool-field-error{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.matrix-errors{grid-column:1/-1;max-width:16rem;margin:6px 0 0}.matrix-k{margin-top:16px}.matrix-answers{grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr));gap:14px;margin:16px 0 0;display:grid}.matrix-answers div{justify-items:start;gap:4px;display:grid}.matrix-answers dt{font-size:var(--text-label);letter-spacing:.05em;color:var(--text-dim)}.matrix-answers dd{font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--ink-body);margin:0;font-size:1rem}.matrix-notation{border-top:1px solid var(--border);font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--text-muted);margin-top:16px;padding-top:12px;font-size:.875rem}.matrix-notation p{flex-wrap:wrap;align-items:center;gap:4px 22px;margin:4px 0;display:flex}.matrix-notation span{white-space:nowrap}
