/* Rent/buy layout stays isolated from other decision engines. */
.rb-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rb-assumption-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rb-field{display:block;min-width:0}.rb-field .help{display:block;min-height:2.6em}.rb-field .input-wrap{padding-left:10px}.rb-field input{width:100%;min-width:0}.rb-field .input-wrap>span{white-space:nowrap}.rb-examples{display:flex;flex-wrap:wrap;gap:12px}#rentBuyForm .result-panel .cost-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#rentBuyForm .result-panel h3{font-size:1.4rem}#rentBuyForm .result-panel p{line-height:1.55}#rentBuyForm summary,.transparency-card>summary{font-weight:700;cursor:pointer;min-height:44px;padding:10px 0}#rentBuyForm button{min-height:44px}#rentBuyForm .advanced-panel{margin-top:20px}#rentBuyForm .rb-field input[aria-invalid=true]{border:2px solid #9b2525}.calculator-shell>.transparency-card{margin-top:20px}.scope-table caption{text-align:left;font-weight:700;padding:12px}.scope-table th{width:68%}.scope-table td{white-space:nowrap}.calculator-shell .model-scope{padding-left:0;padding-right:0}@media(max-width:900px){.rb-assumption-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.rb-input-grid,.rb-assumption-grid{grid-template-columns:1fr}.rb-field .help{min-height:0}#rentBuyForm .result-panel .cost-cards{grid-template-columns:1fr}.rb-examples button{width:100%}}

/* This disclosure sits on the light page, outside the navy results panel. */
.calculator-shell>.math-details{background:var(--blue2);border-color:var(--line);color:var(--navy)}
.calculator-shell>.math-details>summary{color:var(--navy)}

/* Keep the housing photo from pushing the calculator below the first screen. */
@media(min-width:981px){
  .intro .calculator-hero-media{height:200px;aspect-ratio:auto;margin-top:16px}
  .intro .calculator-hero-media img{object-position:center 55%}
}

/* Bring the first housing inputs into view on narrow screens. */
@media screen and (max-width: 700px) {
  .intro {
    padding-block: 16px 12px;
  }

  .intro .calculator-hero-media {
    display: none;
  }
}
