/* BLD HDB 3D price explorer. Everything is scoped to .bld-h3d so the site's theme is untouched. Mobile first. */
.bld-h3d { --h3d-ink: #1d1b16; --h3d-ink2: #4a4538; --h3d-muted: #6b6455; --h3d-line: #e3ddcf; --h3d-bg: #f6f3ec; --h3d-card: #fff; --h3d-gold: #b8892f; --h3d-gold2: #8a6420; --h3d-wa: #0b6e38; --h3d-r: 14px;
	color: var(--h3d-ink); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--h3d-bg); padding: 0 0 88px; box-sizing: border-box; }
.bld-h3d *, .bld-h3d *::before, .bld-h3d *::after { box-sizing: border-box; }
body .bld-h3d h1, body .bld-h3d h2, body .bld-h3d h3 { color: var(--h3d-ink); letter-spacing: -0.01em; margin-top: 0; text-wrap: balance; }
body .bld-h3d .h3d-panel h2, body .bld-h3d .h3d-dialog h2, body .bld-h3d .h3d-ctagrid h3, body .bld-h3d .h3d-thanks h2 { font-family: inherit; line-height: 1.25; font-weight: 700; }
.bld-h3d .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bld-h3d--member { padding-bottom: 24px; background: transparent; }

/* Hero */
.h3d-hero { padding: 28px 16px 20px; max-width: 1180px; margin: 0 auto; }
.h3d-eyebrow { margin: 0 0 6px; color: var(--h3d-gold2); font-weight: 650; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
body .bld-h3d .h3d-title { font-size: clamp(26px, 6vw, 44px); line-height: 1.12; margin: 0 0 10px; font-weight: 750; }
.h3d-lede { margin: 0 0 18px; color: var(--h3d-ink2); max-width: 720px; font-size: 16px; }
.h3d-kpis { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h3d-kpis li { background: var(--h3d-card); border: 1px solid var(--h3d-line); border-radius: var(--h3d-r); padding: 12px 14px; }
.h3d-kpis strong { display: block; font-size: clamp(19px, 4.5vw, 26px); font-weight: 750; font-variant-numeric: tabular-nums; }
.h3d-kpis span { color: var(--h3d-muted); font-size: 13px; }
.h3d-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.h3d-note { margin: 12px 0 0; font-size: 13px; color: var(--h3d-ink2); background: #f2ead6; border-radius: 10px; padding: 8px 12px; display: inline-block; }
.h3d-empty { max-width: 1180px; margin: 0 auto; padding: 16px; }

/* Buttons */
.h3d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #cfc7b5; background: #fff; color: var(--h3d-ink); font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.h3d-btn:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); transform: translateY(-1px); }
.h3d-btn:focus-visible, .bld-h3d button:focus-visible, .bld-h3d a:focus-visible, .bld-h3d input:focus-visible, .bld-h3d select:focus-visible, .bld-h3d textarea:focus-visible, .h3d-stage:focus-visible { outline: 3px solid #2a78d6; outline-offset: 2px; }
.h3d-btn.is-primary { background: var(--h3d-ink); border-color: var(--h3d-ink); color: #fff; }
.h3d-btn.is-primary:hover { background: #000; }
.h3d-btn.is-wa { background: var(--h3d-wa); border-color: var(--h3d-wa); color: #fff; }
.h3d-btn.is-ghost { background: transparent; }
.h3d-btn.is-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.h3d-btn[disabled] { opacity: .6; cursor: progress; }

/* Explorer */
.h3d-explore { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.h3d-toolbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 10px; }
.h3d-crumbs { display: flex; align-items: center; gap: 4px; font-weight: 600; flex: 1 1 100%; flex-wrap: wrap; }
.h3d-crumbs button { background: none; border: 0; padding: 6px 4px; font: inherit; color: var(--h3d-gold2); cursor: pointer; min-height: 36px; }
.h3d-crumbs [aria-current] { color: var(--h3d-ink); }
.h3d-chips { display: flex; gap: 4px; border: 0; margin: 0; padding: 3px; background: #fff; border: 1px solid var(--h3d-line); border-radius: 999px; flex-wrap: wrap; }
.h3d-chips label { position: relative; }
.h3d-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.h3d-chips span { display: inline-block; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--h3d-ink2); }
.h3d-chips input:checked + span { background: var(--h3d-ink); color: #fff; }
.h3d-chips input:focus-visible + span { outline: 3px solid #2a78d6; outline-offset: 1px; }
.h3d-select select, .bld-h3d select, .bld-h3d input[type=text], .bld-h3d input[type=email], .bld-h3d input[type=tel], .bld-h3d input[type=number], .bld-h3d textarea { min-height: 44px; border: 1px solid #cfc7b5; border-radius: 10px; padding: 8px 12px; font-family: inherit; font-size: 15px; line-height: 1.3; color: var(--h3d-ink); background: #fff; max-width: 100%; }
.h3d-stagewrap { position: relative; display: grid; gap: 12px; }
.h3d-stage { position: relative; height: 62vh; min-height: 380px; max-height: 720px; border-radius: 18px; overflow: hidden; background: #e7e2d6; box-shadow: 0 10px 40px rgba(29, 27, 22, .12); }
.h3d-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 16px; text-align: center; color: var(--h3d-ink2); }
.h3d-year { position: absolute; left: 16px; top: 12px; font-size: clamp(40px, 10vw, 84px); font-weight: 800; color: rgba(29, 27, 22, .78); pointer-events: none; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(255,255,255,.7); }
.h3d-legend { position: absolute; left: 12px; bottom: 76px; background: rgba(255,255,255,.92); border-radius: 10px; padding: 6px 10px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; max-width: calc(100% - 24px); pointer-events: none; }
.h3d-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.h3d-ramp { display: inline-flex; } .h3d-ramp i { width: 14px; height: 10px; border-radius: 0; margin: 0; }
.h3d-timeline { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.94); border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.h3d-timeline[hidden] { display: none; }
.h3d-play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--h3d-gold); color: #fff; font-size: 15px; cursor: pointer; }
.h3d-range { flex: 1; display: flex; } .h3d-range input { width: 100%; accent-color: var(--h3d-gold); min-height: 44px; }
.h3d-timeline output { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.h3d-panel { background: var(--h3d-card); border: 1px solid var(--h3d-line); border-radius: 18px; padding: 16px; box-shadow: 0 6px 24px rgba(29,27,22,.08); }
.h3d-panel:empty { display: none; }
body .bld-h3d .h3d-ptitle { font-size: 20px; margin: 0 0 4px; }
.h3d-muted { color: var(--h3d-muted); margin: 0 0 10px; font-size: 14px; }
.h3d-sub { font-weight: 650; font-size: 13px; color: var(--h3d-ink2); margin: 14px 0 6px; }
.h3d-back { margin: 0 0 6px; } .h3d-back button { background: none; border: 0; color: var(--h3d-gold2); font-family: inherit; font-weight: 600; font-size: 14px; padding: 4px 0; cursor: pointer; min-height: 32px; }
.h3d-facts { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.h3d-facts button { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 0 8px; background: #faf8f3; border: 1px solid var(--h3d-line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.h3d-facts button:hover { border-color: var(--h3d-gold); }
.h3d-facts span { grid-column: 1 / -1; font-size: 12px; color: var(--h3d-muted); text-transform: uppercase; letter-spacing: .04em; }
.h3d-facts em { font-style: normal; color: var(--h3d-ink2); font-variant-numeric: tabular-nums; }
.h3d-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.h3d-stats div { background: #faf8f3; border-radius: 10px; padding: 8px 10px; }
.h3d-stats dt { font-size: 12px; color: var(--h3d-muted); } .h3d-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.h3d-spark { display: block; margin: 4px 0 6px; }
.h3d-toplist { margin: 0; padding-left: 20px; } .h3d-toplist button { background: none; border: 0; padding: 6px 0; font: inherit; color: var(--h3d-ink); cursor: pointer; text-align: left; min-height: 32px; } .h3d-toplist strong { color: var(--h3d-gold2); }
.h3d-pcta { margin-top: 14px; padding: 12px; border-radius: 12px; background: #f6efe0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.h3d-pcta p { margin: 0; flex: 1 1 100%; font-size: 14px; }
.h3d-pcta.is-strong { background: #1d1b16; color: #fff; } .h3d-pcta.is-strong p { color: #fff; } .h3d-pcta.is-strong .h3d-btn.is-primary { background: var(--h3d-gold2); border-color: var(--h3d-gold2); }
.h3d-mini { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.h3d-mini caption { text-align: left; font-weight: 650; color: var(--h3d-ink2); padding: 4px 0; }
.h3d-mini th, .h3d-mini td { text-align: left; padding: 5px 6px; border-bottom: 1px solid #efeadf; }
.h3d-scroll { overflow-x: auto; }
.h3d-sales summary { cursor: pointer; font-weight: 600; padding: 8px 0; min-height: 36px; }
.h3d-inlineest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.h3d-inlineest .h3d-sub { flex: 1 1 100%; margin: 6px 0 0; }
.h3d-inlineest input { width: 130px; }
.h3d-tablewrap { background: var(--h3d-card); border-radius: 14px; border: 1px solid var(--h3d-line); overflow-x: auto; max-height: 60vh; }
.h3d-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.h3d-table caption { text-align: left; padding: 12px; font-weight: 650; }
.h3d-table th, .h3d-table td { padding: 8px 12px; border-bottom: 1px solid #efeadf; text-align: left; }
.h3d-table thead th { position: sticky; top: 0; background: #faf8f3; }
.h3d-table button { background: none; border: 0; padding: 4px 0; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--h3d-gold2); cursor: pointer; text-align: left; min-height: 32px; }
.h3d-hint { color: var(--h3d-muted); font-size: 13px; margin: 8px 0 0; }

/* Map extras */
.h3d-label { background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.08); border-radius: 999px; padding: 2px 8px; font: 600 11px/1.4 system-ui, sans-serif; color: var(--h3d-ink); cursor: pointer; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.h3d-label.is-hidden { display: none; }
.h3d-tip .maplibregl-popup-content { font: 13px/1.45 system-ui, sans-serif; border-radius: 10px; padding: 8px 10px; color: var(--h3d-ink); }

/* Sections */
.h3d-section { max-width: 1180px; margin: 40px auto 0; padding: 0 16px; }
body .bld-h3d .h3d-sechead h2 { font-size: clamp(22px, 4.6vw, 30px); margin: 0 0 6px; }
.h3d-sechead p { margin: 0 0 14px; color: var(--h3d-ink2); max-width: 680px; }
.h3d-card { background: var(--h3d-card); border: 1px solid var(--h3d-line); border-radius: 18px; padding: 16px; }
.h3d-estform { display: grid; gap: 12px; }
.h3d-field { display: grid; gap: 4px; position: relative; } .h3d-field label { font-weight: 600; font-size: 14px; }
.h3d-field input, .h3d-field select, .h3d-field textarea { width: 100%; }
.h3d-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.h3d-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1px solid #cfc7b5; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); max-height: 280px; overflow: auto; }
.h3d-suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; } .h3d-suggest li span { color: var(--h3d-muted); font-size: 13px; }
.h3d-suggest li.is-on, .h3d-suggest li:hover { background: #f6efe0; } .h3d-suggest li.is-none { cursor: default; color: var(--h3d-muted); }
.h3d-estresult { margin-top: 14px; }
.h3d-est { background: var(--h3d-card); border: 1px solid var(--h3d-line); border-radius: 18px; padding: 18px; }
.h3d-panel .h3d-est { padding: 12px; margin-top: 8px; }
.h3d-est__lbl { margin: 0; color: var(--h3d-muted); font-size: 13px; font-weight: 600; }
.h3d-est__mid { margin: 2px 0 10px; font-size: clamp(30px, 8vw, 44px); font-weight: 800; font-variant-numeric: tabular-nums; }
.h3d-est__bar { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #f9cc72, #cf5a24); }
.h3d-est__bar i { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--h3d-ink); transform: translateX(-2px); }
.h3d-est__range { display: flex; justify-content: space-between; margin: 4px 0 10px; font-size: 13px; color: var(--h3d-ink2); font-variant-numeric: tabular-nums; }
.h3d-est.is-none { color: var(--h3d-ink2); }
.h3d-formerr { color: #a3271d; font-weight: 600; margin: 4px 0; }
.h3d-cmp-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.h3d-cmp-out { margin-top: 12px; }
.h3d-chart { width: 100%; height: auto; display: block; font: 11px system-ui, sans-serif; fill: var(--h3d-muted); }
.h3d-sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.h3d-quiz { display: grid; gap: 10px; justify-items: start; } .h3d-quiz > * { max-width: 100%; } .h3d-quiz .h3d-guess { width: 100%; }
.h3d-q { margin: 0; font-size: 16px; } .h3d-big { font-size: 28px; }
.h3d-guess { display: grid; gap: 6px; font-weight: 600; } .h3d-guess input { width: 100%; accent-color: var(--h3d-gold); min-height: 44px; }
.h3d-ctaband { margin-top: 48px; }
body .bld-h3d .h3d-ctaband > h2 { font-size: clamp(22px, 4.6vw, 30px); }
.h3d-ctagrid { display: grid; gap: 12px; }
body .bld-h3d .h3d-ctagrid h3 { margin: 0 0 6px; font-size: 18px; } .h3d-ctagrid p { margin: 0 0 12px; color: var(--h3d-ink2); }
.h3d-foot { max-width: 1180px; margin: 40px auto 0; padding: 0 16px; color: var(--h3d-muted); font-size: 12.5px; }

/* Lead dialog */
.h3d-dialog { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--h3d-ink); }
.h3d-dialog::backdrop { background: rgba(20, 18, 14, .55); }
.h3d-leadform, .h3d-thanks { padding: 22px 20px; display: grid; gap: 10px; }
body .bld-h3d .h3d-leadform h2, body .bld-h3d .h3d-thanks h2 { margin: 0; font-size: 22px; padding-right: 40px; }
.h3d-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: #f2efe7; border-radius: 50%; font-size: 22px; cursor: pointer; }
.h3d-row2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.h3d-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--h3d-ink2); }
.h3d-consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.h3d-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-for][hidden] { display: none !important; }

/* Sticky mobile CTA + toast */
.h3d-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--h3d-line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.h3d-sticky .h3d-btn { flex: 1; }
.h3d-toast { position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 20px); opacity: 0; background: var(--h3d-ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 60; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); pointer-events: none; }
.h3d-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
	.h3d-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.h3d-estform { grid-template-columns: 2fr 1fr 1fr 1fr; align-items: end; }
	.h3d-field--wide { grid-column: 1 / -1; }
	.h3d-ctagrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h3d-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.h3d-crumbs { flex: 0 1 auto; margin-right: auto; }
}
@media (min-width: 1000px) {
	.h3d-stagewrap { display: block; }
	.h3d-stage { height: 72vh; }
	.h3d-panel { position: absolute; top: 12px; right: 56px; width: 340px; max-height: calc(100% - 100px); overflow: auto; }
	.h3d-legend { bottom: 76px; }
	.h3d-tablewrap { margin-top: 12px; }
	.h3d-sticky { display: none; }
	.bld-h3d { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .h3d-btn, .h3d-toast { transition: none; } }

/* 1.7.0-rc3 — houses, the flat-type split and the transactions popup */
.h3d-typebtns { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.h3d-typebtns button { --tc: #6b7280; width: 100%; display: grid; text-align: left; gap: 1px; border: 1px solid var(--h3d-line); border-left: 5px solid var(--tc); background: #fff; color: var(--h3d-ink); border-radius: 10px; padding: 7px 9px; cursor: pointer; font: inherit; font-size: 13px; min-height: 44px; }
.h3d-typebtns button:hover, .h3d-typebtns button:focus-visible { border-color: var(--tc); box-shadow: 0 0 0 2px var(--tc); outline: none; }
.h3d-typebtns em { font-style: normal; color: var(--h3d-muted); font-size: 12px; }
.h3d-tx { width: min(760px, calc(100vw - 16px)); }
.h3d-tx[open] { animation: h3d-tx-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes h3d-tx-in { from { opacity: 0; transform: perspective(900px) rotateX(14deg) translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.h3d-txbody { padding: 20px 18px 18px; }
body .bld-h3d .h3d-tx h2 { margin: 0 48px 4px 0; font-size: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.h3d-chip { --tc: #6b7280; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--h3d-ink); border: 2px solid var(--tc); border-radius: 999px; padding: 1px 10px 1px 6px; font-size: 13px; font-weight: 700; }
.h3d-chip::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tc); }
.h3d-txstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h3d-txchart { margin: 6px 0 4px; }
.h3d-txchart figcaption { display: flex; justify-content: space-between; font-size: 12px; color: var(--h3d-muted); }
.h3d-txscroll { max-height: 46vh; overflow: auto; border: 1px solid #efeadf; border-radius: 10px; }
.h3d-txtable { margin: 0; }
.h3d-txtable thead th { position: sticky; top: 0; background: #faf8f3; z-index: 1; padding: 0; }
.h3d-txtable th button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 8px 6px; cursor: pointer; font-weight: 650; white-space: nowrap; }
.h3d-txtable th button:focus-visible { outline: 2px solid #1d4ed8; outline-offset: -2px; }
.h3d-txtable .is-num { text-align: right; }
.h3d-txtable td { white-space: nowrap; }
.h3d-txbody > [data-h3d-txmorewrap] { margin: 8px 0; }
@media (min-width: 640px) { .h3d-txstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h3d-txchart svg { display: block; width: 100%; height: auto; max-height: 140px; }
/* 1.7.0-rc4 — house pins, boxing-glove room types, room-type key */
.h3d-ring { position: relative; width: 0; height: 0; }
.h3d-hsel { position: absolute; left: 0; top: 0; width: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); pointer-events: none; }
.h3d-hsel::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 26px; height: 9px; margin-left: -13px; border-radius: 50%; background: rgba(29, 78, 216, .35); animation: h3d-pulse 1.6s ease-out infinite; z-index: -1; }
@keyframes h3d-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.h3d-hsvg { display: block; width: 100%; height: auto; }
.h3d-glove { --tc: #6b7280; --dx: 0px; --dy: 0px; --d: 0ms; position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; width: 48px; min-height: 44px; padding: 2px 0; border: 0; background: none; cursor: pointer; opacity: 0; transform: translate(-50%, -50%) scale(.2); transition: transform .5s cubic-bezier(.2, 1.5, .4, 1) var(--d), opacity .25s ease var(--d); }
.h3d-glove.is-in { opacity: 1; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1); }
.h3d-gsvg { display: block; width: 30px; height: auto; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); transition: transform .18s ease; transform-origin: 50% 80%; }
.h3d-glove:hover .h3d-gsvg, .h3d-glove:focus-visible .h3d-gsvg, .h3d-glove.is-sel .h3d-gsvg { transform: rotate(-14deg) scale(1.18); }
.h3d-glove-v { background: #fff; color: var(--h3d-ink); border: 2px solid var(--tc); border-radius: 999px; padding: 0 6px; font: 700 10.5px/1.5 system-ui, sans-serif; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.h3d-glove:focus-visible { outline: none; }
.h3d-glove:focus-visible .h3d-glove-v, .h3d-glove.is-sel .h3d-glove-v { background: var(--h3d-ink); color: #fff; }
.h3d-typelegend { position: absolute; top: 10px; left: 10px; right: 60px; z-index: 3; color: #1d1b16; background: rgba(255,255,255,.95); border-radius: 12px; padding: 6px 10px 8px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.h3d-typelegend[hidden] { display: none; }
body .bld-h3d .h3d-tl-h, .h3d-typelegend .h3d-tl-h { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #4a4538; }
.h3d-typelegend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.h3d-typelegend li { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; color: #1d1b16; }
.h3d-typelegend li.is-none { opacity: 1; color: #6b6455; padding: 0 4px; font-weight: 500; } /* rc68: readable even on the dark journey map (text there is white by default). */
.h3d-typelegend button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; min-height: 32px; border-radius: 999px; cursor: pointer; border: 1px solid #d6cfbf; background: #fff; color: #1d1b16; }
.h3d-typelegend button:hover, .h3d-typelegend button:focus-visible { border-color: var(--h3d-ink); box-shadow: 0 0 0 2px rgba(29,27,22,.15); }
.h3d-typelegend i { display: inline-block; width: 18px; }
.h3d-typelegend i .h3d-gsvg { width: 18px; filter: none; }
@media (prefers-reduced-motion: reduce) { .h3d-glove { transition: none; } .h3d-hsel::after { animation: none; } }
@media (max-width: 600px) { .h3d-typelegend { right: 52px; padding: 5px 8px 6px; } .h3d-typelegend li { font-size: 11px; } .h3d-typelegend li.is-none { display: none; } }
@media (min-width: 1000px) { .h3d-typelegend { right: 380px; } }
@media (max-width: 600px) { .h3d-typelegend button { min-height: 28px; padding: 1px 7px 1px 3px; } .h3d-typelegend i, .h3d-typelegend i .h3d-gsvg { width: 15px; } body .bld-h3d .h3d-tl-h { font-size: 11px; margin-bottom: 3px; } }

/* 1.9.0-rc61 — price pins: a small tag with the block's median price, coloured by $ psf, with a pointer down to the block */
.h3d-tag { all: unset; box-sizing: border-box; position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--c, #e57f2b); color: var(--ink, #fff); font: 700 11.5px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; border: 1.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .15s ease, box-shadow .15s ease; }
.h3d-tag::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; margin-left: -4px; background: var(--c, #e57f2b); border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); border-radius: 0 0 2px 0; }
.h3d-tag::before { content: ""; position: absolute; inset: -11px -6px; } /* a 44 px tap target round the small tag */
.h3d-tag:hover, .h3d-tag:focus-visible { transform: translateY(-2px) scale(1.12); box-shadow: 0 0 0 2.5px #f0c36b, 0 6px 14px rgba(0,0,0,.4); z-index: 2; }
.h3d-tag:focus-visible { outline: none; }
.h3d-tag.is-approx { opacity: .78; border-style: dashed; }
.h3d-tag.is-sel { transform: scale(1.18); box-shadow: 0 0 0 3px #f0c36b, 0 6px 16px rgba(0,0,0,.45); pointer-events: none; }
.maplibregl-marker:has(> .h3d-tag:hover), .maplibregl-marker:has(> .h3d-tag:focus-visible) { z-index: 3; }
.h3d-dimtags .h3d-tag:not(.is-sel) { opacity: .25; }
@media (prefers-reduced-motion: reduce) { .h3d-tag { transition: none; } }
.h3d-pin { line-height: 0; padding-bottom: 6px; } /* room for the pointer under the tag */
.h3d-sheetbtn, .h3d-filtbtn { display: none; }
@media (max-width: 699px) { /* rc62 phones: smaller tags, so the blocks stay visible */
	.h3d-tag { height: 18px; min-width: 28px; padding: 0 5px; font-size: 10px; border-width: 1px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
	.h3d-tag::after { width: 6px; height: 6px; margin-left: -3px; bottom: -4px; border-width: 1px; }
	.h3d-pin { padding-bottom: 4px; }
}

/* Bus stops (rc84): the card for a stop clicked on the 3D map (on <body>, above the map's own panels) */
.h3d-buscard { position: fixed; z-index: 66; left: 16px; bottom: 96px; width: 340px; max-width: calc(100vw - 32px); max-height: min(62vh, 560px); overflow: auto; box-sizing: border-box; background: #fff; color: #1d1b16; border-radius: 14px; padding: 12px 14px 10px; box-shadow: 0 12px 36px rgba(0, 0, 0, .28); font: 13.5px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.h3d-buscard[hidden] { display: none; }
.h3d-buscard:focus { outline: none; }
.h3d-buscard:focus-visible { outline: 3px solid #1662c4; outline-offset: 2px; }
@media (max-width: 699px) { .h3d-buscard { left: 8px; right: 8px; width: auto; max-width: none; bottom: 78px; max-height: 52vh; } }
.h3d-buscard__x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1ede4; color: #1d1b16; font: 400 22px/36px system-ui, sans-serif; cursor: pointer; }
.h3d-buscard__x:hover { background: #e6e0d3; }
.h3d-buscard .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h3d-bus__head { display: flex; gap: 10px; align-items: center; margin: 0 40px 8px 0; }
.h3d-bus__head b { display: block; font-size: 14.5px; }
.h3d-bus__head small { display: block; color: #6b6455; font-size: 12.5px; }
.h3d-bus__b { flex: none; width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 4px solid #1662c4; color: #1662c4; font: 800 17px/26px system-ui, sans-serif; text-align: center; }
.h3d-bus__list { list-style: none; margin: 0; padding: 0; }
.h3d-bus__list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #ece7dc; }
.h3d-bus__no { flex: none; min-width: 48px; padding: 3px 6px; border-radius: 7px; background: #1662c4; color: #fff; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.h3d-bus__next { display: flex; flex-wrap: wrap; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.h3d-bus__eta { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.h3d-bus__eta i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.h3d-bus__wab { display: inline-flex; color: #1662c4; }
.h3d-bus__dd { font-size: 11px; color: #4a4538; border: 1px solid #b9b2a3; border-radius: 4px; padding: 0 3px; }
.h3d-bus__none { color: #6b6455; }
.h3d-bus__note { margin: 8px 0 0; font-size: 11.5px; color: #6b6455; }
