/* Approved suburb-report prototype, scoped to the route and Gutenberg previews. */
:is(.suburb-report, .ta-section-editor__preview) {
    --sr-charcoal: #282828;
    --sr-coral: #ca491b;
    --sr-coral-dark: #ca491b;
    --sr-desert-hover: #ca491b;
    --sr-coral-soft: #f4dbd1;
    --sr-ink: #282828;
    --sr-ink-muted: #6b6b6b;
    --sr-ink-subtle: #6b6b6b;
    --sr-line: #e3e3e3;
    --sr-line-strong: #c3c3c3;
    --sr-line-hair: #ececec;
    --sr-muted: #f6f6f6;
    --sr-success: #1d7a3b;
    --sr-success-bg: #e6f4ea;
    --sr-danger: #c6391e;
    --sr-danger-bg: #fde8e3;
    color: var(--sr-ink);
}

:is(.suburb-report, .ta-section-editor__preview) .band { padding-top: 28px; padding-bottom: 28px; }
:is(.suburb-report, .ta-section-editor__preview) .band-first { padding-top: 48px; padding-bottom: 28px; }
:is(.suburb-report, .ta-section-editor__preview) .surface-card { border: 1px solid var(--sr-line); border-radius: 4px; background: #fff; }

/* Cold PropTrack first paint. The shapes mirror the eventual cards, charts and tables without
   exposing placeholder figures as content. One restrained shimmer matches AXIS performance reports. */
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton { min-width: 0; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-card { display: flex; min-width: 0; min-height: 152px; flex-direction: column; gap: 15px; padding: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-panel { display: flex; min-width: 0; min-height: 340px; flex-direction: column; gap: 18px; padding: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-rail { justify-content: center; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line,
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-graph,
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-map,
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-head,
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-row {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: linear-gradient(100deg, #eeeeec 20%, #f8f8f6 38%, #eeeeec 56%);
    background-size: 240% 100%;
    animation: suburb-report-shimmer 1.45s ease-in-out infinite;
}
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line { width: 72%; height: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line.is-label { width: 42%; height: 10px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line.is-value { width: 58%; height: 36px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line.is-detail { width: 82%; height: 11px; margin-top: auto; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line.is-legend { width: 38%; height: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line.is-short { width: 48%; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-graph { flex: 1; min-height: 240px; border-radius: 4px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-map { width: 100%; height: 360px; border: 1px solid var(--sr-line); border-radius: 4px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table { display: flex; min-width: 0; flex-direction: column; gap: 1px; overflow: hidden; margin-top: 20px; padding: 0; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-head,
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-row { width: 100%; height: 43px; border-radius: 0; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-head { height: 46px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-note { margin: 12px 0 0; color: var(--sr-ink-subtle); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-line,
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-graph,
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-map,
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-table-head,
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-table-row { animation: none; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-market-skeleton.is-load-failed .sr-skeleton-note { color: var(--sr-danger); }

@keyframes suburb-report-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-line,
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-graph,
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-map,
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-head,
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-table-row { animation: none; }
}

/* The front end inherits the canonical section-head type ramp from the theme. Mirror it only in
   the isolated block preview, where the theme component layer is not guaranteed to be present. */
.ta-section-editor__preview .section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.ta-section-editor__preview .section-head .eyebrow { margin-bottom: 12px; }
.ta-section-editor__preview .section-head h2 { margin: 0; color: var(--sr-charcoal); font-family: 'Tobias', serif !important; font-size: 34px; font-weight: 400 !important; line-height: 1.1; letter-spacing: -.01em; }
.ta-section-editor__preview .section-head .lede { max-width: 640px; margin-top: 6px; color: var(--sr-ink-muted); font-size: 15px; }

:is(.suburb-report, .ta-section-editor__preview) .trend-pill {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--sr-success-bg);
    color: var(--sr-success);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

:is(.suburb-report, .ta-section-editor__preview) .trend-pill.down { background: var(--sr-danger-bg); color: var(--sr-danger); }
:is(.suburb-report, .ta-section-editor__preview) .trend-block { display: inline-flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: 3px; }
:is(.suburb-report, .ta-section-editor__preview) .trend-period { display: block; max-width: 132px; color: var(--sr-ink-subtle); font-size: 9.5px; font-weight: 400; line-height: 1.25; text-align: right; }

/* Header */
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-hero { position: relative; overflow: visible; background: var(--sr-charcoal); color: #fff; }
:is(.suburb-report, .ta-section-editor__preview) [data-suburb-report-search] { position: relative; z-index: 20; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-search-status { margin: 8px 0 0; color: var(--sr-danger); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-hero h1 { font-weight: 300; font-size: 64px; line-height: 1.05; letter-spacing: -.015em; }

/* KPI cards */
:is(.suburb-report, .ta-section-editor__preview) .kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .kpi-grid + .kpi-grid { margin-top: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .kpi { padding: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .kpi-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .kpi-label { color: var(--sr-ink-muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .kpi-value { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 34px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .kpi-value.coral { color: var(--sr-coral); }
:is(.suburb-report, .ta-section-editor__preview) .kpi-foot { margin-top: 8px; color: var(--sr-ink-muted); font-size: 13px; }

/* Charts and side rails */
:is(.suburb-report, .ta-section-editor__preview) .split-band { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-card { padding: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 16px; font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .legend-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 2px; border: 0; background: none; color: var(--sr-ink); font-size: 13px; cursor: pointer; }
:is(.suburb-report, .ta-section-editor__preview) .legend-toggle .sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .legend-toggle b { margin-left: 2px; font-family: 'Tobias', serif; font-size: 15px; font-weight: 400; }
:is(.suburb-report, .ta-section-editor__preview) .legend-toggle[aria-pressed="false"] { color: var(--sr-ink-subtle); }
:is(.suburb-report, .ta-section-editor__preview) .legend-toggle[aria-pressed="false"] .sw { background: var(--sr-line) !important; }
:is(.suburb-report, .ta-section-editor__preview) .legend-note { margin-left: auto; }
:is(.suburb-report, .ta-section-editor__preview) .area-grid line { stroke: var(--sr-line-hair); stroke-width: 1; }
:is(.suburb-report, .ta-section-editor__preview) .chart-axis { fill: var(--sr-ink-subtle); font-family: 'Helvetica Now Display', sans-serif; font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-wrap { position: relative; }
:is(.suburb-report, .ta-section-editor__preview) .chart-wrap svg { display: block; width: 100%; height: auto; }
:is(.suburb-report, .ta-section-editor__preview) .chart-tip { position: absolute; z-index: 10; display: none; padding: 7px 10px; transform: translateX(-50%); border-radius: 4px; background: var(--sr-charcoal); box-shadow: 0 4px 14px rgba(0,0,0,.18); color: #fff; font-size: 11.5px; line-height: 1.5; white-space: nowrap; pointer-events: none; }
:is(.suburb-report, .ta-section-editor__preview) .chart-tip .yr { display: block; margin-bottom: 4px; color: var(--sr-line-strong); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .chart-tip .row { display: flex; align-items: center; gap: 7px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-tip .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-tip b { margin-left: 14px; font-family: 'Tobias', serif; font-weight: 400; }
:is(.suburb-report, .ta-section-editor__preview) .rail-card { display: flex; flex-direction: column; padding: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .rail-title { margin-bottom: 4px; color: var(--sr-ink-muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .rail-sub { margin-bottom: 14px; color: var(--sr-ink-subtle); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row { display: grid; grid-template-columns: minmax(76px, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--sr-line-hair); }
:is(.suburb-report, .ta-section-editor__preview) .rail-row:first-of-type { border-top: 0; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .who { color: var(--sr-ink-muted); font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .num { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 22px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .chg { color: var(--sr-success); font-size: 12px; font-weight: 500; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .chg.down { color: var(--sr-danger); }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .chg-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .rail-row .chg-period { max-width: 112px; color: var(--sr-ink-subtle); font-size: 9.5px; line-height: 1.2; text-align: right; }
:is(.suburb-report, .ta-section-editor__preview) .rail-note { margin-top: auto; padding-top: 14px; color: var(--sr-ink-subtle); font-size: 12px; line-height: 1.6; }
:is(.suburb-report, .ta-section-editor__preview) .bar-row { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 14px; padding: 9px 0; font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .bar-row .name { color: var(--sr-charcoal); font-weight: 500; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .bar-row .track { height: 12px; overflow: hidden; border-radius: 2px; background: var(--sr-line-hair); }
:is(.suburb-report, .ta-section-editor__preview) .bar-row .fill { height: 100%; background: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .bar-row .value { color: var(--sr-charcoal); font-size: 14px; font-weight: 500; text-align: right; }
/* Compact bedroom breakdown; counts appear on hover, keyboard focus or tap. */
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row { position: relative; width: 100%; min-height: 40px; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 10px 0; border: 0; background: transparent; font-family: inherit; font-size: 13px; line-height: 20px; text-align: left; cursor: pointer; }
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row .track { display: flex; height: 10px; }
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row .fill { display: block; flex-shrink: 0; }
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row:focus-visible { outline: 2px solid var(--sr-coral); outline-offset: 3px; border-radius: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-counts { position: absolute; z-index: 20; right: 0; bottom: calc(100% - 2px); visibility: hidden; padding: 8px 12px; border-radius: 4px; background: var(--sr-charcoal); color: #fff; box-shadow: 0 3px 10px rgb(0 0 0 / 14%); font-size: 13px; font-weight: 400; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row:is(:focus-visible, .is-open) .sales-mix-counts { visibility: visible; }
@media (hover: hover) {
    :is(.suburb-report, .ta-section-editor__preview) .sales-mix-row:hover .sales-mix-counts { visibility: visible; }
}
:is(.suburb-report, .ta-section-editor__preview) .sales-mix-row.is-dismissed .sales-mix-counts { visibility: hidden; }
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-sales-activity .rail-title { font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: .04em; }
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-sales-activity .rail-sub { margin-bottom: 12px; font-size: 13px; line-height: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-sales-activity .chart-legend { margin-bottom: 12px; font-size: 13px; line-height: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-sales-activity .rail-note { margin-top: 12px; padding-top: 0; font-size: 12px; line-height: 18px; }
:is(.suburb-report, .ta-section-editor__preview) .chart-key-charcoal { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .chart-key-coral { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--sr-coral); }

/* Supply/demand */
:is(.suburb-report, .ta-section-editor__preview) .sd-legend { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .sd-legend .mid { color: var(--sr-ink-subtle); font-size: 11px; text-align: center; }
:is(.suburb-report, .ta-section-editor__preview) .sd-key { display: inline-flex; align-items: center; gap: 6px; }
:is(.suburb-report, .ta-section-editor__preview) .sd-row { display: grid; grid-template-columns: 1fr 66px 1fr; align-items: center; }
:is(.suburb-report, .ta-section-editor__preview) .sd-rows { display: flex; flex-direction: column; gap: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .sd-cell { position: relative; height: 28px; }
:is(.suburb-report, .ta-section-editor__preview) .sd-supply,
:is(.suburb-report, .ta-section-editor__preview) .sd-demand { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; min-width: 28px; color: #fff; font-size: 10px; font-weight: 500; }
:is(.suburb-report, .ta-section-editor__preview) .sd-supply { right: 0; padding-left: 8px; border-radius: 3px 0 0 3px; background: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .sd-demand { left: 0; justify-content: flex-end; padding-right: 8px; border-radius: 0 3px 3px 0; background: var(--sr-coral); }
:is(.suburb-report, .ta-section-editor__preview) .sd-mid { padding: 0 4px; text-align: center; }
:is(.suburb-report, .ta-section-editor__preview) .sd-mid .bed { color: var(--sr-charcoal); font-size: 12px; font-weight: 500; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .sd-mid .ratio { margin-top: 4px; color: var(--sr-coral); font-size: 10px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .sd-axis { display: grid; grid-template-columns: 1fr 66px 1fr; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sr-line); color: var(--sr-ink-subtle); font-size: 10px; }
:is(.suburb-report, .ta-section-editor__preview) .sd-axis > div { display: flex; justify-content: space-between; gap: 8px; }
:is(.suburb-report, .ta-section-editor__preview) [data-price-empty] { padding: 32px 20px; text-align: center; color: var(--sr-ink-muted); }
:is(.suburb-report, .ta-section-editor__preview) .stat-side { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid var(--sr-line); border-radius: 4px; background: #fff; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .big { margin-bottom: 4px; color: var(--sr-coral); font-family: 'Tobias', serif; font-size: 52px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .big small { color: var(--sr-ink-muted); font-family: inherit; font-size: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .cap { margin-bottom: 24px; color: var(--sr-ink-muted); font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sr-line); font-size: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow .k { color: var(--sr-ink-muted); }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow .v { font-weight: 500; text-align: right; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow .v .period { display: block; margin-top: 2px; color: var(--sr-ink-subtle); font-size: 9.5px; font-weight: 400; line-height: 1.2; }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow .up { color: var(--sr-success); }
:is(.suburb-report, .ta-section-editor__preview) .stat-side .mrow .down { color: var(--sr-danger); }

/* Rental market */
:is(.suburb-report, .ta-section-editor__preview) .rental-rail { display: flex; flex-direction: column; }
:is(.suburb-report, .ta-section-editor__preview) .rental-market-split { align-items: start; }
:is(.suburb-report, .ta-section-editor__preview) .rental-price-chart { align-self: start; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-grid { display: grid; gap: 12px; margin-top: 18px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat { position: relative; padding: 18px; border-radius: 3px; background: #fafafa; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-type { margin-bottom: 10px; color: var(--sr-ink-muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-value { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 30px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-value small { margin-left: 3px; color: var(--sr-ink-muted); font-family: inherit; font-size: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat .trend-block { position: absolute; top: 18px; right: 18px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-yield { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sr-line); color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-yield strong { color: var(--sr-coral); font-family: 'Tobias', serif; font-size: 19px; font-weight: 400; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sr-line); }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-meta > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-meta span { color: var(--sr-ink-muted); font-size: 11px; line-height: 1.3; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-meta strong { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 21px; font-weight: 400; line-height: 1.1; }
:is(.suburb-report, .ta-section-editor__preview) .rental-stat-meta small { color: var(--sr-ink-subtle); font-size: 9.5px; line-height: 1.3; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--sr-line); }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-head .rail-title { margin-bottom: 5px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-copy { margin: 0; color: var(--sr-ink-muted); font-size: 13px; line-height: 1.5; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-panel[hidden] { display: none; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-split { align-items: start; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-chart { align-self: start; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-chart .sd-legend { margin-bottom: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-chart .sd-rows { gap: 8px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-chart .sd-cell { height: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-side { align-self: start; padding: 20px 24px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-side .big { font-size: 42px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-side .big.rental-demand-unavailable { font-size: 28px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-side .cap { margin-bottom: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-side .mrow { padding: 8px 0; font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-totals > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 3px; background: #fff; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-totals span { color: var(--sr-ink-muted); font-size: 10px; line-height: 1.3; }
:is(.suburb-report, .ta-section-editor__preview) .rental-demand-totals strong { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 20px; font-weight: 400; line-height: 1; }

/* Nearby suburb comparison */
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-card { overflow: hidden; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-scroll { overflow-x: auto; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; font-size: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table th,
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table td { padding: 0; border-bottom: 1px solid var(--sr-line-hair); text-align: left; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table thead th { padding: 12px 18px; background: #f6f6f6; color: var(--sr-ink-muted); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table tbody tr:last-child td { border-bottom: 0; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table tbody tr { transition: background-color .15s; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table tbody tr:hover { background: var(--sr-muted); }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table tbody tr.is-current { background: #fbfbfb; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table td > a { display: block; min-height: 68px; padding: 15px 18px; color: inherit; text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table tr.is-current td:not(:first-child) > a { display: flex; align-items: center; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table td strong { color: var(--sr-charcoal); font-weight: 500; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table td:nth-child(3) strong { font-family: 'Tobias', serif; font-size: 17px; font-weight: 400; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-suburbs-table td:first-child span { display: block; margin-top: 2px; color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change { position: relative; isolation: isolate; display: inline-flex; align-items: center; width: calc(100% - 32px); min-height: 32px; margin: -6px 0; padding: 6px 8px; color: var(--sr-success); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change::before { content: ''; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: calc(var(--nearby-change-width, 0%) / 2); border-radius: 3px; background: currentColor; opacity: .16; pointer-events: none; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--sr-ink-subtle); }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change.is-lower::before { left: auto; right: 50%; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change.is-baseline::before { width: 8px; height: 8px; top: 12px; margin-left: -4px; border-radius: 50%; opacity: 1; }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change.is-baseline { color: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .nearby-price-change.is-lower { color: var(--sr-danger); }
:is(.suburb-report, .ta-section-editor__preview) .nearby-row-arrow { float: right; color: var(--sr-coral); font-size: 17px; }

/* Local agent */
:is(.suburb-report, .ta-section-editor__preview) .agent-feature { display: grid; grid-template-columns: minmax(320px, 31%) minmax(360px, 1.05fr) minmax(310px, .82fr); align-items: start; overflow: hidden; }
:is(.suburb-report, .ta-section-editor__preview) .agent-portrait-panel { position: relative; align-self: start; height: 490px; min-height: 0; overflow: hidden; background: #c8c8c8; }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact { grid-template-columns: minmax(300px, 31%) minmax(0, 1fr); }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-portrait-panel { height: 420px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-portrait-panel::after { position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(transparent, rgba(25,25,25,.52)); content: ''; pointer-events: none; }
:is(.suburb-report, .ta-section-editor__preview) .agent-portrait { display: flex; width: 100%; height: 100%; align-items: flex-end; justify-content: center; color: #fff; font-family: 'Tobias', serif; font-size: 54px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.05); transform-origin: center bottom; }
:is(.suburb-report, .ta-section-editor__preview) .agent-initials { margin: auto; }
:is(.suburb-report, .ta-section-editor__preview) .agent-portrait-caption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; color: #fff; }
:is(.suburb-report, .ta-section-editor__preview) .agent-name { color: inherit; font-family: 'Tobias', serif; font-size: 30px; font-weight: 400; line-height: 1.08; }
:is(.suburb-report, .ta-section-editor__preview) .agent-role { margin-top: 8px; color: inherit; font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-content { display: contents; }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-content-single { display: block; min-width: 0; }
:is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy,
:is(.suburb-report, .ta-section-editor__preview) .agent-local-data { min-width: 0; min-height: 490px; padding: 38px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy { display: flex; flex-direction: column; border-left: 1px solid var(--sr-line); }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature:not(.agent-feature-compact) .agent-profile-copy { min-height: 490px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-profile-copy { min-height: 420px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-local-data { padding: 28px 38px 24px; border-left: 1px solid var(--sr-line); background: #fdfdfc; }
:is(.suburb-report, .ta-section-editor__preview) .zone-title { margin-bottom: 0; color: var(--sr-ink-muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy h3 { margin: 13px 0 8px; color: var(--sr-charcoal); font-family: 'Tobias', serif !important; font-size: 29px; font-weight: 400; line-height: 1.18; }
:is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy > p { margin: 0; color: var(--sr-ink-muted); font-size: 13px; line-height: 1.65; }
:is(.suburb-report, .ta-section-editor__preview) .agent-office { margin-top: 10px; color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-contact-list { margin: 22px 0; border-top: 1px solid var(--sr-line-hair); }
:is(.suburb-report, .ta-section-editor__preview) .agent-contact-row { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--sr-line-hair); color: var(--sr-charcoal); font-size: 13px; text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .agent-contact-row:hover { color: var(--sr-desert-hover); }
:is(.suburb-report, .ta-section-editor__preview) .agent-contact-row span { min-width: 0; overflow-wrap: anywhere; }
:is(.suburb-report, .ta-section-editor__preview) .agent-contact-icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--sr-ink-subtle); }
:is(.suburb-report, .ta-section-editor__preview) .agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
:is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-actions { margin-top: 24px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-data-period { margin: 6px 0 14px; color: var(--sr-ink-subtle); font-size: 11px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-list { border-top: 1px solid var(--sr-line); }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 51px; border-bottom: 1px solid var(--sr-line); }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-copy { min-width: 0; }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-row .k { color: var(--sr-ink-muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-row .v { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 25px; line-height: 1; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-row .v.coral { color: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .agent-stat-row .d { margin-top: 3px; color: var(--sr-ink-muted); font-size: 10px; line-height: 1.35; }
:is(.suburb-report, .ta-section-editor__preview) .agent-agency-context { margin-top: 16px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-agency-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-agency-values div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
:is(.suburb-report, .ta-section-editor__preview) .agent-agency-values strong { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 25px; font-weight: 400; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .agent-agency-values span { color: var(--sr-ink-muted); font-size: 11px; line-height: 1.4; }
:is(.suburb-report, .ta-section-editor__preview) .agent-listings-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--sr-charcoal); font-size: 12px; font-weight: 500; text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .agent-listings-link:hover { color: var(--sr-desert-hover); }

/* Current listings */
:is(.suburb-report, .ta-section-editor__preview) .listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-card { display: block; overflow: hidden; border: 0; border-radius: 4px; background: #fff; color: inherit; transition: box-shadow .2s, transform .2s; }
:is(.suburb-report, .ta-section-editor__preview) .listing-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.08); text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .listing-photo { position: relative; aspect-ratio: 16/10; background: var(--sr-muted); }
:is(.suburb-report, .ta-section-editor__preview) .listing-photo img { width: 100%; height: 100%; object-fit: cover; }
:is(.suburb-report, .ta-section-editor__preview) .listing-badge { position: absolute; top: 12px; left: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-body { padding: 18px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-price { margin-bottom: 7px; color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 19px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-addr { color: var(--sr-charcoal); font-size: 14px; font-weight: 500; }
:is(.suburb-report, .ta-section-editor__preview) .listing-sub { margin: 2px 0 13px; color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 13px; border-top: 1px solid var(--sr-line-hair); font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; color: var(--sr-ink-subtle); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .listing-foot .view { color: var(--sr-coral-dark); font-size: 13px; font-weight: 500; }

/* Map and sales table */
:is(.suburb-report, .ta-section-editor__preview) .salemap { position: relative; z-index: 0; height: 440px; overflow: hidden; border: 1px solid var(--sr-line); border-radius: 4px; background: #eef1f0; }
:is(.suburb-report, .ta-section-editor__preview) .ta-map-popup--sale .body { padding: 10px 30px 10px 12px; }
:is(.suburb-report, .ta-section-editor__preview) .ta-map-popup--sale .price { font-size: 24px; line-height: 1.2; }
:is(.suburb-report, .ta-section-editor__preview) .ta-map-popup--sale .sale-specs { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--sr-ink-muted); }
:is(.suburb-report, .ta-section-editor__preview) .ta-map-popup--sale .street { margin-top: 4px; font-size: 13px; line-height: 1.4; }
:is(.suburb-report, .ta-section-editor__preview) .ta-map-popup--sale .leaflet-popup-content { margin: 0; }
:is(.suburb-report, .ta-section-editor__preview) .sales-table-wrap { margin-top: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .table-scroll { overflow-x: auto; }
:is(.suburb-report, .ta-section-editor__preview) table.data { width: 100%; min-width: 780px; border-collapse: collapse; background: #fff; font-size: 14px; }
:is(.suburb-report, .ta-section-editor__preview) table.data th,
:is(.suburb-report, .ta-section-editor__preview) table.data td { padding: 12px 16px; border-bottom: 1px solid var(--sr-line-hair); text-align: left; }
:is(.suburb-report, .ta-section-editor__preview) table.data thead th { background: #f6f6f6; color: var(--sr-ink-muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) table.data th.sortable { position: relative; cursor: pointer; user-select: none; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) table.data th.sortable::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 5px; vertical-align: middle; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 7v10m-4-4 4 4 4-4%27/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 7v10m-4-4 4 4 4-4%27/%3E%3C/svg%3E") center/contain no-repeat; opacity: .35; }
:is(.suburb-report, .ta-section-editor__preview) table.data th.sortable.asc::after { transform: rotate(180deg); opacity: 1; }
:is(.suburb-report, .ta-section-editor__preview) table.data th.sortable.desc::after { transform: none; opacity: 1; }
:is(.suburb-report, .ta-section-editor__preview) table.data tbody tr[data-id] { cursor: pointer; }
:is(.suburb-report, .ta-section-editor__preview) table.data tbody tr:hover { background: var(--sr-muted); }
:is(.suburb-report, .ta-section-editor__preview) table.data tbody tr.is-selected td { background: var(--sr-coral-soft); }
:is(.suburb-report, .ta-section-editor__preview) table.data tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--sr-coral); }
:is(.suburb-report, .ta-section-editor__preview) table.data .addr { color: var(--sr-charcoal); font-weight: 500; }
:is(.suburb-report, .ta-section-editor__preview) table.data .addr-sub { color: var(--sr-ink-muted); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) table.data .price { color: var(--sr-charcoal); font-family: 'Tobias', serif; font-size: 16px; }
:is(.suburb-report, .ta-section-editor__preview) table.data .muted-cell { color: var(--sr-ink-muted); white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .sales-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--sr-ink-muted); font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .sales-note { margin-top: 8px; color: var(--sr-ink-subtle); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .pager { display: flex; flex-wrap: wrap; max-width: 100%; min-width: 0; align-items: center; gap: 6px; }
:is(.suburb-report, .ta-section-editor__preview) .pager-btn { display: inline-flex; min-width: 32px; height: 32px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--sr-line); border-radius: 2px; background: #fff; color: var(--sr-ink-muted); font-size: 13px; cursor: pointer; }
:is(.suburb-report, .ta-section-editor__preview) .pager-btn[aria-current="page"] { border-color: var(--sr-charcoal); background: var(--sr-charcoal); color: #fff; }
:is(.suburb-report, .ta-section-editor__preview) .pager-btn:disabled { opacity: .4; cursor: default; }
:is(.suburb-report, .ta-section-editor__preview) .pager-gap { display: inline-flex; min-width: 24px; align-items: center; justify-content: center; color: var(--sr-ink-subtle); }

/* Closing CTA and attribution */
:is(.suburb-report, .ta-section-editor__preview) .cta-band { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; border-radius: 4px; background: var(--sr-charcoal); color: #fff; }
:is(.suburb-report, .ta-section-editor__preview) .cta-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 44px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-copy .eyebrow { margin-bottom: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-copy h2 { margin: 0; color: #fff; font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
:is(.suburb-report, .ta-section-editor__preview) .cta-copy > p { max-width: 640px; margin: 6px 0 24px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.55; }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search { width: 100%; max-width: 640px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search-shell { padding: 12px; border-radius: 4px; background: #fff; color: var(--sr-charcoal); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search-shell :is(.input, .btn) { min-height: 48px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search-shell [data-address-autocomplete] { position: relative; }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search-shell [data-address-suggestions] { position: absolute; top: 100%; right: 0; left: 0; z-index: 40; margin-top: 6px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-property-search-note { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.5; }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal { width: min(680px, calc(100% - 32px)); max-width: 680px; max-height: calc(100dvh - 32px); overflow: visible; margin: auto; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--sr-charcoal); }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal::backdrop { background: rgba(15,15,15,.72); backdrop-filter: blur(2px); }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal__panel { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 4px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.32); }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal__close { position: absolute; top: 12px; right: 12px; z-index: 5; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--sr-charcoal); font-family: Arial, sans-serif; font-size: 24px; font-weight: 300; line-height: 1; cursor: pointer; }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal__close:hover { color: var(--sr-coral); }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal form,
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal :is(.sell-property-summary, [data-lead-options], [data-lead-details], [data-intent-flow]) { width: 100%; min-width: 0; }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal .sell-property-summary { padding-right: 56px; }
:is(.suburb-report, .ta-section-editor__preview) .property-report-modal :is(.sell-property-options, .sell-report-flow, .sell-appraisal-flow) { padding: 28px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-panel { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 44px; border-left: 1px solid rgba(255,255,255,.1); border-radius: 0 4px 4px 0; background: rgba(255,255,255,.06); }
:is(.suburb-report, .ta-section-editor__preview) .cta-panel .k { margin-bottom: 4px; color: var(--sr-line-strong); font-size: 13px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-panel .median { margin-bottom: 18px; color: #fff; font-family: 'Tobias', serif; font-size: 46px; line-height: 1; }
:is(.suburb-report, .ta-section-editor__preview) .cta-meter { position: relative; height: 8px; overflow: visible; margin-bottom: 6px; border-radius: 999px; background: rgba(255,255,255,.14); }
:is(.suburb-report, .ta-section-editor__preview) .cta-meter .range { position: absolute; inset: 0 14%; border-radius: 999px; background: rgba(255,255,255,.18); }
:is(.suburb-report, .ta-section-editor__preview) .cta-meter .marker { position: absolute; top: 50%; left: calc(50% - 6px); z-index: 1; width: 12px; height: 12px; transform: translateY(-50%); border: 2px solid #fff; border-radius: 50%; background: var(--sr-coral); }
:is(.suburb-report, .ta-section-editor__preview) .cta-scale { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--sr-line-strong); font-size: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .cta-fine { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }
:is(.suburb-report, .ta-section-editor__preview) .report-attribution { padding-top: 8px; padding-bottom: 48px; }
:is(.suburb-report, .ta-section-editor__preview) .powered { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .powered .lbl { color: var(--sr-ink-subtle); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
:is(.suburb-report, .ta-section-editor__preview) .proptrack-logo { display: block; width: 124px; height: auto; flex: 0 0 auto; }
:is(.suburb-report, .ta-section-editor__preview) .note { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid var(--sr-line-hair); border-radius: 4px; background: #f6f6f6; }
:is(.suburb-report, .ta-section-editor__preview) .note .proptrack-logo { width: 132px; margin-top: 2px; }
:is(.suburb-report, .ta-section-editor__preview) .sr-disclaimer-marker { margin-left: 3px; font: 600 .72em/1 Arial, sans-serif; vertical-align: super; }
:is(.suburb-report, .ta-section-editor__preview) .sr-disclaimer-marker a { color: currentColor; text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .sr-disclaimer-marker a:hover,
:is(.suburb-report, .ta-section-editor__preview) .sr-disclaimer-marker a:focus-visible { color: var(--sr-coral); outline: 2px solid currentColor; outline-offset: 2px; }
:is(.suburb-report, .ta-section-editor__preview) #suburb-report-disclaimer { scroll-margin-top: 110px; }
:is(.suburb-report, .ta-section-editor__preview) #suburb-report-disclaimer:focus { outline: 2px solid var(--sr-coral); outline-offset: 5px; }
:is(.suburb-report, .ta-section-editor__preview) .disclaimer-copy p { margin: 0 0 8px; }
:is(.suburb-report, .ta-section-editor__preview) .disclaimer-copy p:last-child { margin-bottom: 0; }
:is(.suburb-report, .ta-section-editor__preview) .surface-card:not([data-address-suggestions]),
:is(.suburb-report, .ta-section-editor__preview) .stat-side { position: relative; }
:is(.suburb-report, .ta-section-editor__preview) .sr-card-disclaimer { position: absolute; top: 12px; right: 14px; z-index: 2; color: var(--sr-ink-subtle); }
:is(.suburb-report, .ta-section-editor__preview) .note p { margin: 0; color: var(--sr-ink-muted); font-size: 12.5px; line-height: 1.6; }
:is(.suburb-report, .ta-section-editor__preview) .methodology { margin-top: 24px; color: var(--sr-ink-subtle); font-size: 12px; line-height: 1.6; }
:is(.suburb-report, .ta-section-editor__preview) .methodology strong { color: var(--sr-ink-muted); font-weight: 500; }

@media (max-width: 1100px) {
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature { grid-template-columns: 290px minmax(0, 1fr); }
    :is(.suburb-report, .ta-section-editor__preview) .agent-portrait-panel { height: 430px; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature:not(.agent-feature-compact) .agent-profile-copy { min-height: 430px; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-local-data { grid-column: 1 / -1; min-height: 0; border-top: 1px solid var(--sr-line); border-left: 0; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-row:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--sr-line); }
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-row:nth-child(even) { padding-left: 24px; }
}

@media (max-width: 900px) {
    :is(.suburb-report, .ta-section-editor__preview) .split-band { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-split { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    :is(.suburb-report, .ta-section-editor__preview) .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.suburb-report, .ta-section-editor__preview) .cta-band { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .cta-copy,
    :is(.suburb-report, .ta-section-editor__preview) .cta-panel { padding: 32px 24px; }
    :is(.suburb-report, .ta-section-editor__preview) .cta-panel { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; border-radius: 0 0 4px 4px; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-portrait-panel,
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-portrait-panel { height: 420px; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy,
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature:not(.agent-feature-compact) .agent-profile-copy,
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-profile-copy { min-height: 0; border-top: 1px solid var(--sr-line); border-left: 0; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-profile-copy,
    :is(.suburb-report, .ta-section-editor__preview) .agent-local-data { padding: 28px 24px; }
}

@media (max-width: 640px) {
    :is(.suburb-report, .ta-section-editor__preview) .the-agency-section-suburb-report-hero h1 { font-size: 40px; }
    :is(.suburb-report, .ta-section-editor__preview) .rental-demand-head { align-items: flex-start; flex-direction: column; }
    :is(.suburb-report, .ta-section-editor__preview) .listing-grid { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .salemap { height: 360px; }
    :is(.suburb-report, .ta-section-editor__preview) .property-report-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
    :is(.suburb-report, .ta-section-editor__preview) .property-report-modal__panel { max-height: calc(100dvh - 24px); }
    :is(.suburb-report, .ta-section-editor__preview) .property-report-modal :is(.sell-property-options, .sell-report-flow, .sell-appraisal-flow) { padding: 22px 18px; }
}

@media (max-width: 520px) {
    :is(.suburb-report, .ta-section-editor__preview) .sd-legend .mid { display: none; }
    :is(.suburb-report, .ta-section-editor__preview) .note { flex-direction: column; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-portrait-panel,
    :is(.suburb-report, .ta-section-editor__preview) .agent-feature-compact .agent-portrait-panel { height: 390px; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-list { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-row:nth-child(odd),
    :is(.suburb-report, .ta-section-editor__preview) .agent-stat-row:nth-child(even) { padding-right: 0; padding-left: 0; border-right: 0; }
}

@media (max-width: 500px) {
    :is(.suburb-report, .ta-section-editor__preview) .kpi-grid { grid-template-columns: 1fr; }
    :is(.suburb-report, .ta-section-editor__preview) .sr-skeleton-grid { grid-template-columns: 1fr; }
}

/* Local expertise uses the directory's compact type and report card surfaces. */
:is(.suburb-report, .ta-section-editor__preview) #suburb-local-agents-heading { scroll-margin-top: 100px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agents-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent { min-width: 0; overflow: hidden; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-profile { display: flex; flex-direction: column; height: 100%; padding: 16px; color: inherit; text-decoration: none; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-profile:hover { background: var(--sr-muted); }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-profile:focus-visible { outline: 2px solid var(--sr-coral); outline-offset: -3px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-header { display: flex; align-items: center; gap: 12px; min-height: 76px; margin-bottom: 16px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-photo { flex: 0 0 64px; height: 76px; overflow: hidden; border-radius: 3px; background: var(--sr-muted); display: grid; place-items: center; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-photo img { width: 64px; height: 76px; object-fit: cover; object-position: center top; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-photo .agent-initials { font-size: 22px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-identity { min-width: 0; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-name { display: block; font-size: 15px; line-height: 1.3; font-weight: 500; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-role { display: block; font-size: 12px; line-height: 1.5; color: var(--sr-ink-muted); margin-top: 4px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-content { display: flex; flex: 1; flex-direction: column; min-width: 0; border-top: 1px solid var(--sr-line-hair); padding-top: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-period { font-size: 11px; line-height: 1.5; color: var(--sr-ink-muted); margin-bottom: 10px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-stats { display: grid; gap: 8px; margin-bottom: 14px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-stat .kpi-label { font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: normal; text-transform: none; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-number { font-family: 'Helvetica Now Display', sans-serif; font-size: 16px; line-height: 1.25; font-weight: 400; font-variant-numeric: normal; letter-spacing: normal; white-space: nowrap; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-link { font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; margin-top: auto; }
:is(.suburb-report, .ta-section-editor__preview) .suburb-local-agent-note { font-size: 12px; line-height: 1.5; color: var(--sr-ink-muted); margin: 14px 0 0; }
@media (max-width: 1099px) {
    :is(.suburb-report, .ta-section-editor__preview) .suburb-local-agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    :is(.suburb-report, .ta-section-editor__preview) .suburb-local-agents-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Individual sale prices size naturally in both Mapbox and the raster fallback. */
.sale-price-marker.ta-map-pin-wrap { width: max-content; min-width: 0; height: 28px; padding: 0; border: 0; background: transparent; }
.sale-price-marker .sale-price-label { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: max-content; height: 28px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: #ca491b; color: #fff; font: 600 11px/1 Arial, sans-serif; white-space: nowrap; box-shadow: 0 1px 4px rgb(0 0 0 / 35%); }
.sale-price-marker:hover, .sale-price-marker.active, .sale-price-marker:focus-visible { z-index: 10000 !important; }
.sale-price-marker:hover .sale-price-label, .sale-price-marker.active .sale-price-label { background: #282828; }
.sale-price-marker:focus-visible { outline: 2px solid #282828; outline-offset: 3px; border-radius: 999px; }

/* Closing suburb enquiry band spans the viewport like the Projects page. */
.suburb-report .the-agency-section-suburb-report-valuation-cta { max-width:none; width:100%; padding-left:0; padding-right:0; background:var(--sr-charcoal); }
.suburb-report .the-agency-section-suburb-report-valuation-cta .cta-band { max-width:1440px; margin:auto; border-radius:0; }
.suburb-report .listing-card { border-color:transparent; }
@media(min-width:1201px) {
  .suburb-report .agent-feature:not(.agent-feature-compact) .agent-profile-copy { grid-column:3; grid-row:1; }
  .suburb-report .agent-feature:not(.agent-feature-compact) .agent-local-data { grid-column:2; grid-row:1; }
}

/* Closing enquiry band uses the same warm neutral treatment as the Projects CTA. */
.suburb-report .the-agency-section-suburb-report-valuation-cta { background:#eeedea; color:#262626; }
.suburb-report .the-agency-section-suburb-report-valuation-cta .cta-band { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); align-items:center; gap:44px; padding:44px; background:transparent; color:inherit; }
.suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy { min-width:0; padding:0; }
.suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy > p { margin-bottom:0; }
.suburb-report .the-agency-section-suburb-report-valuation-cta .cta-property-search { min-width:0; justify-self:end; }
@media(min-width:901px) {
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-band { align-items:start; row-gap:0; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy { display:contents; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy > .eyebrow { grid-column:1; grid-row:1; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy > h2 { grid-column:1; grid-row:2; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-copy > p { grid-column:1; grid-row:3; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-property-search { grid-column:2; grid-row:2 / span 2; margin-top:-12px; }
}
@media(max-width:900px) {
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-band { grid-template-columns:minmax(0, 1fr); gap:24px; padding:32px 20px; }
  .suburb-report .the-agency-section-suburb-report-valuation-cta .cta-property-search { justify-self:start; }
}
.suburb-report .the-agency-section-suburb-report-valuation-cta :is(.section-title,.lede,.cta-property-search-note) { color:inherit; }

.suburb-report.bg-page { background:#fafafa; }

/* Reuse the report's centred property-form dialog and the site's saved form styles. */
:is(.suburb-report, .ta-section-editor__preview) .suburb-contact-modal { max-width: 560px; }
.suburb-contact-content { padding: 28px; }
.suburb-contact-content h2 { margin: 0 32px 24px 0; font-size: 28px; line-height: 1.2; }
@media (max-width: 460px) { .suburb-contact-content { padding: 24px 20px; } }
