body.rent-vs-buy{
  --bg:#ffffff;
  --bg-2:#f6f8fc;
  --surface:#ffffff;
  --surface-2:#fbfcfe;
  --surface-tint:#f3f0ff;
  --text:#0f172a;
  --text-2:#334155;
  --muted:#475569;
  --subtle:#64748b;
  --border:#e6e8ef;
  --shadow:0 10px 30px rgba(15,23,42,.08);
  --shadow-soft:0 8px 22px rgba(15,23,42,.06);
  --accent:#6d28d9;
  --accent-2:#7c3aed;
  --accent-soft:rgba(124,58,237,.12);
  background:var(--bg);
  color:var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rent-vs-buy .main-container{
  max-width:1120px;
  margin:0 auto;
  padding:0 16px 56px;
}

body.rent-vs-buy .hero-intro{
  margin-top:18px;
  border-radius:22px;
  padding:18px;
  background:linear-gradient(180deg, rgba(124,58,237,.08), rgba(124,58,237,.03));
  border:1px solid rgba(124,58,237,.18);
}

body.rent-vs-buy .hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

body.rent-vs-buy .hero-copy h1{
  font-size:28px;
  letter-spacing:-0.03em;
  margin:0 0 8px;
}

body.rent-vs-buy .hero-lede{
  color:var(--text-2);
  margin:0 0 10px;
  line-height:1.55;
  max-width:72ch;
}

body.rent-vs-buy .trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

body.rent-vs-buy .trust-pill{
  background:rgba(124,58,237,.12);
  color:var(--text);
  border:1px solid rgba(124,58,237,.18);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}

body.rent-vs-buy .trust-info-block{
  border:1px solid rgba(226,232,240,.9);
  border-radius:20px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  padding:14px 14px 12px;
}

body.rent-vs-buy .panel-title{
  font-weight:900;
  font-size:13px;
  letter-spacing:-0.02em;
  margin-bottom:10px;
}

body.rent-vs-buy .panel-list{
  margin:0;
  padding-left:18px;
  color:var(--text-2);
  line-height:1.55;
}

body.rent-vs-buy .hero-note{
  margin-top:10px;
  color:var(--subtle);
  font-size:12.5px;
}

body.rent-vs-buy .container{
  margin-top:14px;
}

body.rent-vs-buy .page-shell{
  display:flex;
  flex-direction:column;
  gap:14px;
}

body.rent-vs-buy .calculator-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:14px;
}

body.rent-vs-buy .grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

body.rent-vs-buy .card{
  background:var(--surface-2);
  border:1px solid rgba(226,232,240,.95);
  border-radius:18px;
  padding:14px;
}

body.rent-vs-buy .card-header{
  padding-bottom:12px;
  border-bottom:1px solid rgba(226,232,240,.9);
  margin-bottom:12px;
}

body.rent-vs-buy .card-title{
  margin:0;
  font-size:16px;
  letter-spacing:-0.02em;
}

body.rent-vs-buy .card-subtitle{
  margin:6px 0 0;
  color:var(--subtle);
  font-size:13px;
  line-height:1.5;
}

body.rent-vs-buy .form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.rent-vs-buy .field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

body.rent-vs-buy .field-label{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:13px;
  letter-spacing:-0.01em;
}

body.rent-vs-buy .field-label .li{
  width:28px;
  height:28px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(124,58,237,.10);
  border:1px solid rgba(124,58,237,.18);
  color:var(--accent);
  flex:0 0 auto;
}

body.rent-vs-buy .input-wrap{
  position:relative;
  display:flex;
  align-items:center;
  background:var(--surface);
  border:1px solid rgba(226,232,240,.95);
  border-radius:14px;
  padding:10px 12px;
  gap:10px;
}

body.rent-vs-buy .input-wrap input{
  border:0;
  outline:0;
  width:100%;
  font:inherit;
  color:var(--text);
  background:transparent;
  padding:0;
}

body.rent-vs-buy .input-wrap input::placeholder{
  color:rgba(100,116,139,.9);
}

body.rent-vs-buy .prefix,
body.rent-vs-buy .suffix{
  font-weight:900;
  color:var(--subtle);
  font-size:13px;
  letter-spacing:-0.01em;
  flex:0 0 auto;
}

body.rent-vs-buy .hint{
  color:var(--subtle);
  font-size:12.5px;
  line-height:1.4;
}

body.rent-vs-buy .form-row{
  display:flex;
  gap:10px;
  margin-top:16px;
  flex-wrap:wrap;
}

body.rent-vs-buy .btn{
  appearance:none;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
}

body.rent-vs-buy .btn.primary{
  background:linear-gradient(180deg, var(--accent-2), var(--accent));
  border-color:rgba(124,58,237,.6);
  color:#ffffff;
}

body.rent-vs-buy .btn:active{
  transform:translateY(1px);
}

body.rent-vs-buy .save-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: -10px;
  padding: 5px 12px;
  color:var(--muted);
  font-size:13px;
}

body.rent-vs-buy .save-toggle input{
  width:16px;
  height:16px;
  accent-color:var(--accent);
}

body.rent-vs-buy .form-message{
  min-height:20px;
  color:#b91c1c;
  font-weight:800;
  font-size:13px;
}

body.rent-vs-buy .results-shell{
  position:relative;
}

body.rent-vs-buy .results-content{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.rent-vs-buy .kpi-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

body.rent-vs-buy .kpi{
  background:var(--surface);
  border:1px solid rgba(226,232,240,.95);
  border-radius:16px;
  padding:12px 12px 10px;
}

body.rent-vs-buy .kpi-label{
  color:var(--subtle);
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

body.rent-vs-buy .kpi-value{
  font-weight:900;
  font-size:22px;
  letter-spacing:-0.02em;
  margin-top:6px;
}

body.rent-vs-buy .kpi-meta{
  color:var(--subtle);
  font-size:12.5px;
  margin-top:4px;
  line-height:1.35;
}

body.rent-vs-buy .callout{
  border:1px solid rgba(124,58,237,.22);
  background:rgba(124,58,237,.06);
  border-radius:16px;
  padding:12px;
}

body.rent-vs-buy .callout-title{
  font-weight:900;
  letter-spacing:-0.02em;
  margin-bottom:6px;
}

body.rent-vs-buy .callout-body{
  color:var(--text-2);
  line-height:1.5;
  font-size:13px;
}

body.rent-vs-buy .schedule{
  border:1px solid rgba(226,232,240,.95);
  border-radius:16px;
  overflow:hidden;
  background:var(--surface);
}

body.rent-vs-buy .schedule summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:900;
  letter-spacing:-0.01em;
}

body.rent-vs-buy .schedule summary::-webkit-details-marker{
  display:none;
}

body.rent-vs-buy .summary-meta{
  color:var(--subtle);
  font-weight:800;
  font-size:12.5px;
}

body.rent-vs-buy .table-wrap{
  border-top:1px solid rgba(226,232,240,.95);
  overflow:auto;
  max-height:260px;
}

body.rent-vs-buy .table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

body.rent-vs-buy .table th,
body.rent-vs-buy .table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(226,232,240,.9);
  text-align:left;
  white-space:nowrap;
}

body.rent-vs-buy .table th{
  color:var(--subtle);
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  background:rgba(248,250,252,.9);
}

body.rent-vs-buy .affiliate-slot{
  min-height:64px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.95);
  background:var(--surface);
}

body.rent-vs-buy .affiliate-placeholder{
  height:64px;
  background:linear-gradient(90deg, rgba(226,232,240,.55), rgba(226,232,240,.25), rgba(226,232,240,.55));
  animation: shimmer 1.5s infinite linear;
  background-size:300% 100%;
}

@keyframes shimmer{
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
}

body.rent-vs-buy .mini-how{
  border:1px solid rgba(226,232,240,.95);
  border-radius:16px;
  background:var(--surface);
  padding:12px;
}

body.rent-vs-buy .mini-how--results{
  background:rgba(15,23,42,.015);
}

body.rent-vs-buy .mh-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

body.rent-vs-buy .mh-ic{
  width:28px;
  height:28px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(124,58,237,.10);
  border:1px solid rgba(124,58,237,.18);
  color:var(--accent);
  font-weight:900;
}

body.rent-vs-buy .mh-title{
  font-weight:900;
  letter-spacing:-0.02em;
}

body.rent-vs-buy .mh-list{
  margin:0;
  padding-left:18px;
  color:var(--text-2);
  line-height:1.55;
}

body.rent-vs-buy .results-empty{
  display:none;
  border:1px dashed rgba(148,163,184,.8);
  border-radius:16px;
  padding:14px;
  background:rgba(248,250,252,.6);
}

body.rent-vs-buy .empty-title{
  font-weight:900;
  letter-spacing:-0.02em;
  margin-bottom:6px;
}

body.rent-vs-buy .empty-body{
  color:var(--subtle);
  line-height:1.5;
  font-size:13px;
}

body.rent-vs-buy .results-shell[data-state="empty"] .results-content{
  display:none;
}

body.rent-vs-buy .results-shell[data-state="empty"] .results-empty{
  display:block;
}

body.rent-vs-buy .results-card[data-collapsed="true"] .results-shell{
  min-height:240px;
}

body.rent-vs-buy .section-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  padding:14px;
}

body.rent-vs-buy .section-title{
  margin:0;
  font-size:16px;
  letter-spacing:-0.02em;
}

body.rent-vs-buy .section-subtitle{
  margin:6px 0 0;
  color:var(--subtle);
  font-size:13px;
  line-height:1.5;
}

body.rent-vs-buy .faq-card{
  background:var(--surface);
}

body.rent-vs-buy .faq-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

body.rent-vs-buy .faq-item{
  border:1px solid rgba(226,232,240,.95);
  overflow:hidden;
}

body.rent-vs-buy .faq-item summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:900;
  letter-spacing:-0.01em;
  color:var(--text);
  padding-left:16px;
}

body.rent-vs-buy .faq-item summary::-webkit-details-marker{
  display:none;
}

body.rent-vs-buy .faq-body{
  padding:0 16px 14px;
  color:var(--text-2);
  line-height:1.55;
  font-size:13.5px;
}

body.rent-vs-buy .faq-body p{
  margin:10px 0 0;
}

@media (min-width: 920px){
  body.rent-vs-buy .hero-inner{
    grid-template-columns: 1.25fr .75fr;
    align-items:start;
    gap:16px;
  }

  body.rent-vs-buy .calculator-card{
    padding:16px;
  }

  body.rent-vs-buy .grid.payoff-grid{
    grid-template-columns: 1fr 1fr;
    gap:14px;
    align-items:start;
  }

  body.rent-vs-buy .kpi-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  body.rent-vs-buy .results-card[data-collapsed="true"] .results-shell{
    min-height:520px;
  }

  body.rent-vs-buy .faq-grid{
    grid-template-columns: 1fr 1fr;
    gap:14px;
  }
}

body.rent-vs-buy .last-updated{
  margin-top:14px;
  color:var(--subtle);
  font-size:12.5px;
}

body.rent-vs-buy .related-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:12px;
}

body.rent-vs-buy .related-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  background:var(--surface-2);
  color:var(--text);
  font-weight:900;
  text-decoration:none;
}

body.rent-vs-buy .related-card:hover{
  border-color:rgba(124,58,237,.35);
}

body.rent-vs-buy .toggle-input{
  margin-top:10px;
}

body.rent-vs-buy .is-hidden{
  display:none;
}

body.rent-vs-buy .inline-link{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:2px;
}