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