.pythagoras-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;margin:20px 0}.pythagoras-figure{margin:0;background:#1e1e1e;border:1px solid var(--line);border-radius:12px;padding:12px}.pythagoras-figure svg{width:100%;max-height:210px;display:block}.pythagoras-figure line,.pythagoras-figure path{fill:none;stroke:#eee;stroke-width:3}.pythagoras-figure text{fill:#eee;font:600 18px Inter,system-ui,sans-serif}.pythagoras-figure .hypotenuse{stroke:#ffb58e;stroke-width:5}.pythagoras-figure.find-leg .hypotenuse{stroke:#eee;stroke-width:3}.pythagoras-figure.find-leg .leg-b{stroke:#ffb58e;stroke-width:5}.pythagoras-figure figcaption{font-size:.8rem;color:var(--muted);line-height:1.5}.pythagoras-number{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}.pythagoras-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.pythagoras-fields>div{min-width:0}.pythagoras-card .school-formula{font-size:clamp(1.1rem,5vw,1.7rem)}.pythagoras-note{border-left:3px solid #ffb58e;padding-left:14px}.pythagoras-card ol li{overflow-wrap:anywhere}.pythagoras-card select{min-height:46px}@media(max-width:540px){.pythagoras-layout,.pythagoras-fields{grid-template-columns:1fr}.pythagoras-figure{max-width:300px;width:100%;margin:auto}.pythagoras-layout{gap:12px}}@media print{.pythagoras-figure{background:#fff}.pythagoras-figure line,.pythagoras-figure path{stroke:#000!important}.pythagoras-figure text{fill:#000}.pythagoras-figure figcaption{color:#000}}
