.calculator-layout:has(.cb-form)>*,.cb-form,.cb-form>*{min-width:0}
.cb-form fieldset,.cb-practice fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:18px}
.cb-form textarea{width:100%;resize:vertical;min-height:100px;font:inherit;line-height:1.55}
.cb-actions{display:flex;flex-wrap:wrap;gap:12px}.cb-actions .button{flex:1;min-width:120px}
.cb-result strong{display:block;overflow-wrap:anywhere}.cb-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.cb-result-grid>div{padding:12px;border-radius:12px;background:#fff9;color:#12382d}.cb-result-grid span{display:block;font-size:.85rem}.cb-result-grid b{display:block;overflow-wrap:anywhere;font-size:1.12rem;margin-top:5px}
.cb-plot{margin-top:22px;min-width:0}.cb-plot svg,.cb-plot img{display:block;width:100%;height:auto}.cb-plot svg{background:#f5faf8;border:1px solid #dce8e3;border-radius:16px}
.cb-chart-note{font-size:.9rem;line-height:1.6;color:#4c6460}.cb-table{margin-top:18px}.cb-table summary{cursor:pointer;font-weight:700;padding:12px 0}.cb-table .table-wrap{max-height:360px;overflow:auto}.cb-table table{width:100%;min-width:400px}.cb-table th{position:sticky;top:0;background:#edf5f1;color:#12382d}.cb-table td,.cb-table th{padding:10px;text-align:right;white-space:nowrap}.cb-table td:first-child,.cb-table th:first-child{text-align:left}
.cb-check{display:flex;align-items:center;gap:10px;margin-top:16px}.cb-check input{width:20px;height:20px;flex:none}
.cb-practice{padding:26px;border:1px solid #c9e0d7;border-radius:20px;background:#f3faf7;margin:32px 0}.cb-practice h2{margin-top:6px}.cb-practice form{margin:20px 0}.cb-slider>span{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.cb-slider output{font-weight:700;color:#14664a}.cb-slider input{display:block;width:100%;height:30px;accent-color:#147a55;margin-top:14px}.cb-practice .button{justify-self:start}.cb-practice .cb-result-grid>div{background:white}.cb-practice [data-cb-practice-result]>strong{display:block;font-size:1.7rem;overflow-wrap:anywhere}.cb-related{margin-top:28px}.cb-noscript{padding:12px;background:#fff3ce;border-radius:8px}
.circuits-basic-block .formula-chip code,.page-calculator .formula-chip code,.cb-practice code,.formula-display code{white-space:normal;overflow-wrap:anywhere}
[data-cb-calculator] [hidden],[data-cb-practice] [hidden]{display:none!important}
@media(max-width:480px){.cb-practice{padding:16px}.cb-result-grid{gap:8px}.cb-result-grid>div{padding:10px}.cb-result-grid b{font-size:1rem}}

.cb-solutions{margin:22px 0}.cb-form select{max-width:100%;min-width:0}.cb-table .table-wrap:focus-visible{outline:3px solid #147a55;outline-offset:3px}
.cb-table tbody th{position:static;white-space:normal;width:52%;min-width:150px}.cb-table .table-wrap{scrollbar-gutter:stable}

.cb-table td{white-space:normal;overflow-wrap:anywhere;max-width:260px}.cb-table tbody th{width:45%}.cb-form .field input{min-width:0;max-width:100%}.cb-result>strong{font-size:clamp(1.4rem,5vw,2.4rem)}.cb-practice .cb-result-grid b{overflow-wrap:anywhere}
