.cap-lab [hidden]{display:none!important}.cap-panel{background:#fffdf8;border:1px solid #b8cec7;border-radius:20px;padding:clamp(16px,3vw,28px);margin-bottom:20px;min-width:0}.cap-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cap-inputs label{font-weight:600;min-width:0}.cap-inputs input,.cap-inputs select{margin-top:7px;min-height:46px}.cap-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}.cap-note{background:#edf6f3;border-left:4px solid #087c75;padding:14px}.cap-error{background:#fff0eb;color:#8c2e1a;padding:16px;border-radius:12px}.cap-equation{font-size:clamp(18px,2.2vw,24px);font-weight:600;overflow-wrap:anywhere}.cap-result{color:#12695f}.cap-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.cap-controls label{min-width:140px}.cap-controls button,.cap-controls select{min-height:46px}.cap-lab svg{width:100%;height:auto;background:#fff;border-radius:12px}.cap-lab svg text{font:20px system-ui,sans-serif;fill:#314e60}.cap-lab svg .cap-label{font-weight:700;font-size:23px;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}.cap-lab svg [data-index]{cursor:pointer}.cap-lab svg [data-index]:focus{outline:none}.cap-lab svg [data-index]:focus circle{stroke:#d99b26;stroke-width:6}.cap-lab p,.cap-lab li{overflow-wrap:anywhere}.cap-lab h3{margin-top:22px}.cap-lab input[type=range]{min-height:40px}.cap-table{overflow-x:auto}.cap-table table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px}.cap-table th,.cap-table td{border:1px solid #bfd0c8;padding:10px;overflow-wrap:anywhere}.cap-table th{background:#ecf3ee}.cap-table .cap-current{background:#d8eee4;font-weight:700}.cap-table button{border:1px solid #36776f;border-radius:8px;background:#fff;padding:7px 12px;min-width:44px}.cap-lab details>summary{font-weight:600;cursor:pointer}@media(max-width:900px){.cap-layout{grid-template-columns:1fr}}@media(max-width:480px){.cap-inputs{grid-template-columns:1fr}.cap-panel{padding:14px}.cap-lab{padding-inline:12px}.cap-controls{gap:8px}.cap-controls button{flex:1}.cap-table th,.cap-table td{padding:7px}}
.cap-lab [data-trace]{margin-top:12px}.cap-lab [data-plot] [data-index]{cursor:pointer}.cap-lab [data-plot] [data-index]:focus circle{stroke:#d79826;stroke-width:4}.cap-lab [data-general] p{overflow-wrap:anywhere}
