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

