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