.tool-hero--apartment-rent { --aura:#8a7750; }
.rent-layout {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  align-items:start;
  gap:14px;
  margin-block:18px;
}
.rent-panel {
  min-width:0;
  padding:clamp(16px,3vw,28px);
  border:1px solid #59634c;
  border-radius:12px;
  background:#19241b;
}
.rent-panel h2 { margin:0 0 12px; font-size:clamp(1.45rem,3vw,2rem); }
.rent-panel fieldset { min-width:0; border:0; padding:0; margin:0 0 20px; }
.rent-panel legend { font-weight:700; margin-bottom:8px; }
.rent-options,.rent-fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.rent-options label { display:grid; position:relative; cursor:pointer; }
.rent-options input { position:absolute; inset:0; margin:0; opacity:0; cursor:pointer; }
.rent-options span {
  display:grid; align-content:center; min-height:44px; padding:6px 10px;
  border:1px solid #65785d; border-radius:8px; background:#213023;
}
.rent-options input:checked+span { border-color:#c1dc9c; background:#394a30; }
.rent-options input:focus-visible+span { outline:2px solid #f6ab8c; outline-offset:3px; }
.rent-fields label:not([hidden]) { display:grid; align-content:end; gap:5px; min-width:0; }
.rent-fields input {
  min-width:0; width:100%; min-height:44px; border:1px solid #65785d; border-radius:7px;
  background:#121a12; color:#eff3e9; padding:8px 10px; font:inherit; font-size:16px; color-scheme:dark;
}
.rent-fields input[aria-invalid="true"] { border-color:#e3947f; }
.rent-panel details { margin-top:14px; padding-block:10px; border-block:1px solid #54614e; }
.rent-panel details summary { cursor:pointer; }
.rent-panel details[open] .rent-fields { margin-top:9px; }
.rent-budget { background:radial-gradient(ellipse at top right,#3b4829,transparent 68%),#19241b; }
.rent-budget-title { display:flex; gap:8px; align-items:center; margin-bottom:12px; }
.rent-budget-title h2 { margin:0; }
.rent-budget-title img { object-fit:contain; }
.rent-budget p { color:#becab7; line-height:1.5; }
.rent-budget [data-state="limit"] { color:#ffbc91; }
.rent-budget dl:not([hidden]) {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,auto); gap:8px;
  padding:12px; border-radius:8px; background:#111a13; margin:0;
}
.rent-budget dd { margin:0; text-align:end; color:#d8ecb5; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.rent-budget [data-rent-value="due"] { font-weight:700; }
.rent-budget progress:not([hidden]) { display:block; width:100%; height:8px; margin-top:12px; accent-color:#b5d58b; }
.rent-links { display:flex; flex-wrap:wrap; gap:10px 16px; }
.rent-links a { color:#cbe6aa; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:760px) { .rent-layout { grid-template-columns:1fr; } }
