/* Consistent compact form layout across the calculator subdomain. */
:root{--form-panel:#141923;--form-border:#263143;--form-label:#f4f7fb;--form-muted:#9da9ba;--form-input:#f7f8fa;--form-ink:#111827}
.calculator-panel,.tool-card,.container>.card,.section-card,.form-section,.form-card{min-width:0}.calculator-panel .card,.tool-card,.container>.card,.section-card,.form-section,.form-card{border:1px solid var(--form-border)!important;border-radius:14px!important;background:var(--form-panel)!important;box-shadow:none!important}.calculator-panel .card h2,.tool-card h2,.container>.card h2,.section-card h2,.form-section h2{color:#fff!important;font-size:18px!important;margin:0 0 18px!important;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.form-group,.group,.field{min-width:0}.form-group label,.group>label,.field>label:not(.sst-toggle){color:var(--form-label)!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important}.form-group input,.form-group select,.form-group textarea,.group>input,.group>select,.group>textarea,.field>input,.field>select,.field>textarea{width:100%!important;min-width:0!important;min-height:43px!important;padding:9px 12px!important;border:1px solid #d5dae2!important;border-radius:6px!important;background:var(--form-input)!important;color:var(--form-ink)!important;font:600 14px/1.3 Manrope,Arial,sans-serif!important;box-shadow:none!important}.form-group textarea,.group>textarea,.field>textarea{min-height:78px!important;resize:vertical}.form-group small,.group>small,.field>small{color:var(--form-muted)!important;font-size:11px!important;line-height:1.4!important}.readonly-value{min-height:43px!important;padding:11px 12px!important;border:1px solid #3c485b;border-radius:6px;background:#202837;color:#fff}
.button-group,.buttons,.tool-actions{display:flex!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important;margin-top:20px!important}.button-group button,.buttons button,.tool-actions button{width:auto!important;min-width:105px!important;min-height:42px!important;padding:9px 16px!important;border-radius:6px!important;font-size:13px!important}
@media(min-width:701px){.budget-container{max-width:980px!important;grid-template-columns:minmax(0,1fr)!important}.calculator-panel{max-width:920px;margin-inline:auto}.field-grid,.row,.form-row,.input-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}.form-group,.group,.field:not(.rental-deposit-section){display:grid!important;grid-template-columns:minmax(145px,190px) minmax(0,1fr)!important;align-items:center!important;column-gap:18px!important;row-gap:5px!important;margin:0!important;padding:10px 0!important;border-bottom:1px solid rgba(255,255,255,.055)}.form-group>label,.group>label,.field:not(.rental-deposit-section)>label:not(.sst-toggle){grid-column:1;margin:0!important}.form-group>input,.form-group>select,.form-group>textarea,.group>input,.group>select,.group>textarea,.field:not(.rental-deposit-section)>input,.field:not(.rental-deposit-section)>select,.field:not(.rental-deposit-section)>textarea,.field:not(.rental-deposit-section)>.readonly-value,.field:not(.rental-deposit-section)>.sst-toggle{grid-column:2}.form-group>small,.group>small,.field:not(.rental-deposit-section)>small{grid-column:2;margin-top:0!important}.field.full{grid-column:auto!important}.rental-deposit-section{display:block!important;margin:12px 0!important}.rental-deposit-section .deposit-grid{grid-template-columns:minmax(0,1fr)!important}.tool-page{width:min(1050px,94%)!important}.tool-grid{grid-template-columns:minmax(0,1fr)!important;max-width:920px;margin-inline:auto}.saved-tool-card{max-width:920px;margin-inline:auto}}
@media(max-width:700px){.calculator-panel .card,.tool-card,.container>.card,.section-card,.form-section,.form-card{padding:17px!important}.form-group,.group,.field{display:block!important;margin-bottom:14px!important;padding:0!important;border:0!important}.form-group label,.group>label,.field>label:not(.sst-toggle){display:block!important;margin:0 0 6px!important}.button-group,.buttons,.tool-actions{display:grid!important;grid-template-columns:1fr!important}.button-group button,.buttons button,.tool-actions button{width:100%!important}}
