.school-formula{font-size:clamp(1.4rem,4vw,2rem);font-weight:700;letter-spacing:.03em;color:var(--text)!important;margin:18px 0!important}.school-term-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.school-term{min-width:0}.school-term input{width:100%;min-width:0}.school-term small{display:block;color:var(--muted);margin-top:6px}.school-term.is-unknown input{opacity:1;border-color:#ffb58e;color:#ffb58e;background:#23201e}.school-term.is-unknown input::placeholder{color:#ffb58e;font-weight:700}.school-term.is-unknown small{color:#ffb58e}.school-comparison{padding:0 0 8px}.school-comparison p{margin:12px 0}.school-number{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}.school-status{font-size:.85rem;min-height:1.4em}.school-practice{border-left:3px solid #ffb58e;padding-left:16px;margin:22px 0}.school-practice summary{min-height:44px;display:flex;align-items:center}.school-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.school-links a{border:1px solid #777;padding:8px 12px;border-radius:8px;color:var(--text);font-size:.85rem}.school-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.school-fields input{width:100%;min-width:0}.school-source{font-size:.9rem;border-top:1px solid var(--line);padding-top:16px}.school-print{font:inherit;background:transparent;color:var(--text);border:1px solid #777;border-radius:8px;padding:10px 16px;min-height:44px;cursor:pointer;margin:8px 0 24px}.school-print:focus-visible{outline:3px solid #ffc19f;outline-offset:3px}.school-source a{overflow-wrap:anywhere}.math-card input:focus-visible,.math-card select:focus-visible{outline:3px solid #ffc19f;outline-offset:2px}.math-answer sup{font-size:.65em}.math-card label{display:block;margin-bottom:6px}.math-card input,.math-card select{width:100%;min-width:0}.school-term input:disabled{cursor:default}.math-result h3:first-child{margin-top:0}
@media(max-width:540px){.school-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-fields{grid-template-columns:1fr}.math-card .math-examples{align-items:flex-start}.math-examples>span{width:100%}.school-links a{min-height:44px;display:flex;align-items:center}}
@media print{:root{--bg:#fff;--card:#fff;--text:#000;--muted:#333;--line:#aaa;--accent-text:#000}body{background:#fff!important;color:#000!important;font-size:11pt}nav,footer,.skip-link,.math-examples,.math-actions,.school-links,.school-print,.math-related,.updated{display:none!important}.wrap{max-width:none;padding:0}.page-header{padding:0 0 16px}.math-card,.math-result{background:#fff!important;border:1px solid #999!important;color:#000!important;box-shadow:none!important}.math-card p,.math-card label,.math-result .math-answer,.prose p,.prose li,.lead,.math-note{color:#000!important}.math-result[hidden]{display:none!important}.school-term input,.math-card input,.math-card select{color:#000!important;background:#fff!important;border:1px solid #aaa!important}.math-result{break-inside:avoid}.math-prose a{color:#000;text-decoration:underline}.school-status:empty{display:none}}
