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