/* BLD — HDB rental rates (1.9.0-rc119). Builds on ec-land.css (same palette and layout, scoped to .bld-hdbr). */
.bld-hdbr .hdbr-table { min-width: 560px; }
.bld-hdbr .hdbr-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bld-hdbr .hdbr-table tbody tr:hover { background: #fbf7ee; }
.hdbr-chg { font-size: 12px; font-weight: 650; }
.hdbr-chg.is-up { color: #9b3d17; }
.hdbr-chg.is-down { color: #1f6f6b; }
.hdbr-chg.is-flat { color: var(--ecl-muted); font-weight: 500; }

.hdbr-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .hdbr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hdbr-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hdbr-card { background: var(--ecl-card); border: 1px solid var(--ecl-line); border-radius: var(--ecl-r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hdbr-card__t { font-size: 13px; font-weight: 700; color: var(--ecl-gold-ink); text-transform: capitalize; }
.hdbr-card__v { font-size: clamp(20px, 4vw, 26px); font-weight: 760; font-variant-numeric: tabular-nums; }
.hdbr-card__r, .hdbr-card__n { font-size: 12.5px; color: var(--ecl-muted); overflow-wrap: anywhere; }

.hdbr-fig { overflow-x: auto; margin: 0; background: var(--ecl-card); border: 1px solid var(--ecl-line); border-radius: var(--ecl-r); padding: 10px; }
.hdbr-chart { display: block; width: 100%; min-width: 560px; height: auto; }
.hdbr-chart__grid { stroke: var(--ecl-line); stroke-width: 1; }
.hdbr-chart__y, .hdbr-chart__x { font-size: 12px; fill: var(--ecl-muted); }
.hdbr-chart__line { stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.hdbr-chart__lbl { font-size: 12.5px; font-weight: 700; }
.hdbr-chart .s0 { stroke: #1f6f6b; fill: #1f6f6b; }
.hdbr-chart .s1 { stroke: #b8892f; fill: #85651c; }
.hdbr-chart .s2 { stroke: #c0502a; fill: #9b3d17; }
.hdbr-chart .s3 { stroke: #4b4a8f; fill: #4b4a8f; }
.hdbr-chart .s4 { stroke: #6b6252; fill: #6b6252; }
.hdbr-chart .s5 { stroke: #2a78d6; fill: #2a78d6; }
.hdbr-chart polyline { fill: none !important; }

.hdbr-details { margin-top: 10px; }
.hdbr-details summary { cursor: pointer; font-weight: 650; color: var(--ecl-teal); min-height: 32px; }
.hdbr-details .ecl-scroll { margin-top: 8px; max-height: 420px; overflow: auto; }

.hdbr-duo { grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .hdbr-duo { grid-template-columns: 1fr 1fr; } }
.hdbr-rank { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.hdbr-rank li { display: grid; grid-template-columns: minmax(0, 9em) 1fr auto; gap: 8px; align-items: center; }
.hdbr-bar { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--ecl-gold) var(--w), transparent var(--w)); }
.hdbr-rank strong { font-variant-numeric: tabular-nums; }

.hdbr-next { display: flex; flex-wrap: wrap; gap: 10px; }
.bld-hdbr .ecl-source { margin-top: 32px; font-size: 13.5px; color: var(--ecl-muted); max-width: 900px; }
