/* ===========================================================================
   styles/rent-report.css — /rent-report-:city (shehar ki kiraya report)
   ---------------------------------------------------------------------------
   Sirf DHAANCHA. Rang ek bhi naya nahi -- har keemat lease.css ke token se,
   isliye halke aur gehre dono roop me apne aap theek (services.css wala hi
   niyam).

   ⚠️ MOBILE-FIRST: base PHONE ka hai, har bada naap ek `min-width` ka
   apwaad -- aur har apwaad apne base rule ke BAAD. `mobile-first.test.js`
   har stylesheet par dono baatein naapta hai.

   ⚠️ TEEN KHAANE, CHAAR NAHI. "Typical rent" aur "middle half" ek hi khaane
   me upar-neeche hain. Alag column me 320px par table panne se chaudi ho
   jaati thi; ab wo phone par bhi samaati hai, aur phir bhi chaudi pade to
   sirf APNE dabbe me khiskti hai (`.rr-tablewrap`), panna kabhi nahi.
   =========================================================================== */

.rr { padding-bottom: 8px; }

.rr-head { padding: 12px 0 4px; }
.rr-head h1 {
  margin: 0 0 8px; font-family: var(--f-serif); font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance;
}
.rr-head p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 64ch; }
.rr-asof { color: var(--ink-3); font-size: 13px; }
.rr-head .rr-asof .l-link { font-size: 13px; }

/*  Ek hi bada ank -- saare gharon ki median. Baaki sab table me. */
.rr-key {
  margin: 16px 0 4px; padding: 18px 18px 16px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1);
}
.rr-key-fig {
  font-family: var(--f-serif); font-size: 34px; font-weight: 600; line-height: 1;
  letter-spacing: -.03em; color: var(--a1); font-variant-numeric: tabular-nums;
}
.rr-key-per { font-family: var(--f-sans); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.rr-key p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 60ch; }

.rr-sec { padding-top: 30px; }
.rr-sec h2 {
  margin: 0 0 14px; font-family: var(--f-serif); font-size: 22px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1.2; text-wrap: balance;
}
.rr-sec > p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 66ch; }

.rr-tablewrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-1);
}
.rr-table { border-collapse: collapse; width: 100%; font-size: 14px; }
/*  Caption padhne wale ke liye hai (screen reader table ka naam sunta hai);
    dikhne me upar ka h2 wahi baat kehta hai. */
.rr-cap {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rr-table th, .rr-table td {
  padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
}
.rr-table tr:last-child th, .rr-table tr:last-child td { border-bottom: 0; }
.rr-table thead th {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); background: var(--surface-2); vertical-align: bottom;
}
.rr-table thead .rr-range { text-transform: none; letter-spacing: 0; font-weight: 500; }
.rr-table tbody th { font-weight: 600; color: var(--ink); }
.rr-table tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.rr-table tbody th a:hover { text-decoration-color: var(--a1); color: var(--a1); }

.rr-n, .rr-fig { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rr-table .rr-n, .rr-table .rr-fig { text-align: right; }
.rr-n { width: 1%; color: var(--ink-2); }
/*  Phone par: ginti ka column chhupa, ginti naam ke neeche. Naam ek lakeer. */
.rr-table .rr-n { display: none; }
.rr-name { display: block; white-space: nowrap; }
.rr-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.rr-fig b { font-size: 15px; font-weight: 700; color: var(--ink); }
.rr-range { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.rr-thin { font-size: 13px; color: var(--ink-3); white-space: normal; }
.rr-muted { color: var(--ink-3); font-weight: 500; }

.rr-list {
  margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 70ch;
}
.rr-sec .rr-asof { margin: 14px 0 0; }

.rr-empty { margin: 20px 0 0; }
.rr-band { margin: 34px 0 12px; }

@media (min-width: 481px) {
  .rr-table .rr-n { display: table-cell; }
  .rr-sub { display: none; }
}

@media (min-width: 641px) {
  .rr-head { padding-top: 16px; }
  .rr-key { padding: 22px 24px 20px; }
  /*  Teen khaane 1180px par phaile to naam aur ank ke beech khaali maidan
      ban jaata tha. Padhne layak chaudai par roka. */
  .rr-key, .rr-tablewrap { max-width: 720px; }
  .rr-key-fig { font-size: 42px; }
  .rr-sec { padding-top: 38px; }
  .rr-sec h2 { font-size: 26px; }
  .rr-table { font-size: 14.5px; }
  .rr-table th, .rr-table td { padding: 13px 18px; }
}
