/* Golden Petal research surfaces. Data, series identities and map scales stay source-owned. */
.insights-golden {
  --ink:#352a24; --muted:#6a5543; --line:#dfd5cc; --paper:#f6f3ef;
  --gold:#795019; --gold-light:#fdecd9; --accent:#795019; --chart-gold:#b77b24;
  --research-paper:#fffdfb; --research-gold:#fac461; --research-apricot:#fdecd9;
  background:var(--paper); color:var(--ink); font:400 15px/1.6 Manrope,sans-serif;
  caret-color:var(--ink); scrollbar-color:#bfae9e var(--paper);
}
.insights-golden * {box-sizing:border-box}
.insights-golden ::selection {background:var(--research-gold);color:var(--ink)}
.insights-golden :focus-visible {outline:3px solid #795019;outline-offset:3px}
.insights-golden :is(button,input,select,textarea) {font-family:inherit}
.insights-golden :is(h1,h2,h3,h4) {font-family:inherit;color:var(--ink);letter-spacing:-.025em}
.insights-golden :is(h1,h2,h3,h4,p) {overflow-wrap:break-word}
.insights-golden a {color:var(--ink);text-underline-offset:4px}
.insights-golden button {cursor:pointer;transition:background-color 140ms ease-out,border-color 140ms ease-out}
.insights-golden button:disabled {cursor:not-allowed;opacity:.55}
.insights-golden :is(input[type=search],input[type=text],input[type=number],input[type=month],select) {
  min-height:44px;max-width:100%;padding:10px 12px;font-size:16px;line-height:1.4;
  border:1px solid #bfae9e;border-radius:7px;background:var(--research-paper);color:var(--ink);
}
.insights-golden input::placeholder {color:var(--muted);opacity:1}
.insights-golden :is(input[type=checkbox],input[type=radio],input[type=range]) {accent-color:#795019}
.insights-golden .site-header {background:var(--research-gold);border:0;box-shadow:none}
.insights-golden .site-header .nav {max-width:none;min-height:60px;padding:10px 24px;gap:24px}
.insights-golden .site-header :is(.brand,.nav-links>a,.nav-dropdown>summary,.site-menu-toggle) {color:var(--ink)}
.insights-golden .site-header .brand {font:700 28px/1.2 Manrope,sans-serif;letter-spacing:-.04em}
.insights-golden .site-header .brand img {filter:brightness(0)}
.insights-golden .site-header .nav-active {color:var(--ink);border-bottom-color:var(--ink)}
.insights-golden .site-header .nav-active:after {background:var(--ink)}
.insights-golden .site-header .nav-dropdown-menu {background:var(--research-paper);border-color:var(--line);border-radius:12px}
.insights-golden .site-header .nav-dropdown-menu :is(a,small,.nav-menu-label) {color:var(--ink)}
.insights-golden .site-header .nav-dropdown-menu a:hover {background:var(--research-apricot)}
.insights-nav {display:flex;gap:4px;max-width:1440px;margin:0 auto;padding:16px 32px 0;overflow-x:auto}
.insights-nav a {display:flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:7px;white-space:nowrap;font-size:13px;color:var(--muted)}
.insights-nav a:hover {background:#eee5da;color:var(--ink)}
.insights-nav a[aria-current=page] {background:var(--research-apricot);color:var(--ink);font-weight:650}
.insights-golden #app,.insights-golden .public-main {max-width:1440px;width:100%;margin:0 auto;padding:24px 32px 48px}
.insights-golden .panel {background:var(--research-paper);border:1px solid var(--line);border-radius:12px;box-shadow:none}
.insights-golden :is(.panel,.kpi,.footer,.section-title,.context-card)::before,
.insights-golden .context-card::after {display:none}
.insights-golden :is(.panel h2,.section-title) {color:var(--ink);font-size:21px;line-height:1.35;font-weight:650}
.insights-golden :is(.panel-subtitle,.method,.period-caption,.no-data,.loading) {color:var(--muted);font-size:13px;line-height:1.65}
.insights-golden :is(.method,.source-note,.census-topic-note,.insight) {border:0;background:transparent;color:var(--muted);line-height:1.7}
.insights-golden :is(.approvals-apply,.map-button,.property-compare-tray>a) {min-height:44px;border:1px solid var(--research-gold);border-radius:7px;padding:10px 16px;background:var(--research-gold);color:var(--ink);font-size:14px;font-weight:650;box-shadow:none}
.insights-golden :is(.approvals-apply,.map-button,.property-compare-tray>a):hover {background:#efb34d;border-color:#efb34d}
.insights-golden .badge {background:var(--research-apricot);color:var(--muted);border-radius:5px;font-size:12px}
.insights-golden :is(.back-link,.census-source-link,.text-button) {color:#795019;font-size:13px;min-height:44px}
.insights-golden .census-back-row {flex-basis:100%}
.insights-golden .census-profile-head .back-link {display:inline-block;width:auto;min-height:32px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:13px;font-weight:400;line-height:1.5}
.insights-golden .census-profile-head .back-link:hover {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.insights-golden .site-footer {color:var(--muted);border-color:var(--line);background:var(--paper);font-family:inherit}
.insights-golden #suburb-property-links {max-width:1376px;margin:0 auto 32px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--research-paper)}
.insights-golden #suburb-property-links h2 {font:600 21px/1.4 Manrope,sans-serif;margin:0 0 12px}
.insights-golden #suburb-property-links p {font-size:14px;color:var(--muted)}

/* Search leads the workflow; results are a compact directory, not a dashboard. */
.insights-golden .census-search {grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:24px!important;margin:0 0 28px;background:var(--research-paper)}
.insights-golden .census-search h1 {font-size:32px;line-height:1.25;font-weight:650;margin:0}
.insights-golden .census-search form {grid-column:1/-1}
.insights-golden .census-search-controls {grid-template-columns:minmax(0,1fr) 220px auto;gap:12px;align-items:end}
.census-search-actions {display:flex;gap:12px}
.census-search-actions button {white-space:nowrap}
.census-search-actions button:disabled {opacity:.5;cursor:not-allowed}
.insights-golden .census-search-controls label {display:flex;flex-direction:column;gap:6px;font-size:13px}
.insights-golden .census-search-controls label>span {position:static;width:auto;height:auto;clip-path:none;overflow:visible;white-space:normal}
.insights-golden .census-search-controls :is(input,select,.approvals-apply) {height:48px;min-height:48px}
.insights-golden #census-search-help {font-size:13px;line-height:1.6}
.insights-golden .census-kinds {gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.insights-golden .census-kinds button {background:transparent;color:var(--muted);min-height:44px;font-size:14px}
.insights-golden .census-kinds button[aria-pressed=true] {background:var(--research-gold);color:var(--ink);box-shadow:none}
.insights-golden .census-results-head {align-items:baseline;gap:16px}
.insights-golden .census-results-head h2 {font-size:23px;font-weight:650}
.insights-golden :is(.census-results-head p,.census-counts) {font-size:13px}
.insights-golden .place-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.insights-golden .place-card {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 20px;padding:18px 20px;border:1px solid var(--line);background:var(--research-paper);border-radius:12px;box-shadow:none}
.insights-golden .place-card:hover {border-color:#bfae9e;background:#fff8ef;box-shadow:none}
.insights-golden .place-card-top {grid-column:1;align-items:center;justify-content:start;gap:12px}
.insights-golden .place-card-top strong {font-size:17px;font-weight:650}
.insights-golden .place-card>.panel-subtitle {grid-column:1;font-size:13px}
.insights-golden .place-card-bottom,.insights-golden .place-card .property-compare-actions {grid-column:2;grid-row:1/3;align-self:center;margin:0;padding:0;font-size:13px;gap:12px}
.insights-golden .place-card-bottom>span {color:#795019}
.insights-golden .property-compare-actions button {min-height:44px;background:var(--research-paper);border:1px solid #bfae9e;border-radius:7px;color:var(--ink);font-size:13px;padding:8px 12px}
.insights-golden .property-compare-actions button[aria-pressed=true] {background:var(--research-apricot);border-color:#795019}
.insights-golden .census-select-card>a {display:grid;gap:6px;min-width:0;color:var(--ink);text-decoration:none}
.insights-golden .census-select-card>a:hover strong {text-decoration:underline}
.insights-golden .census-select-card .panel-subtitle {font-size:13px;color:var(--muted)}
.insights-golden .census-select-card .place-card-bottom {grid-column:1;grid-row:auto;justify-content:flex-start;color:var(--muted);font-size:12px}
.insights-golden .place-card.census-select-card {grid-template-columns:minmax(0,1fr) auto;align-items:center}
.insights-golden .place-card.census-select-card .property-compare-actions {display:flex;align-items:stretch;gap:8px;grid-column:2;grid-row:1;justify-self:end;width:auto;max-width:100%;margin:0}
.insights-golden .place-card.census-select-card .property-compare-actions :is(a,button) {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #bfae9e;border-radius:7px;background:var(--research-paper);color:var(--ink);font:400 13px/1.4 Manrope,sans-serif;text-align:center;white-space:nowrap;text-decoration:none}
.insights-golden .place-card.census-select-card .property-compare-actions :is(a,button):hover:not(:disabled) {background:var(--research-apricot);border-color:#795019}
.insights-golden .place-card.census-select-card .property-compare-actions button[aria-pressed=true] {background:var(--research-apricot);border-color:#795019}
@media(min-width:701px) and (max-width:1100px) {
 .insights-golden .place-grid:has(.census-select-card) {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:500px) {
 .insights-golden .place-card.census-select-card {padding:12px;column-gap:8px}
 .insights-golden .census-select-card .place-card-top {flex-wrap:wrap;gap:4px 8px}
 .insights-golden .census-select-card .place-card-top strong {font-size:15px;overflow-wrap:anywhere}
 .insights-golden .census-select-card .panel-subtitle {font-size:12px}
 .insights-golden .place-card.census-select-card .property-compare-actions {display:grid;grid-template-columns:62px 86px;gap:6px}
 .insights-golden .place-card.census-select-card .property-compare-actions :is(a,button) {padding:8px 6px;font-size:12px;white-space:normal}
}
.insights-golden .census-pagination {font-size:14px;margin:24px 0}
.insights-golden .census-search-note {text-align:left}
.insights-golden .census-empty {border-color:#bfae9e}
.insights-golden .property-compare-tray {background:var(--research-paper);border-color:#bfae9e;color:var(--ink);border-radius:12px;box-shadow:0 8px 24px #352a2420;padding:16px;gap:12px}
.insights-golden .property-compare-tray :is(button,strong,li) {color:var(--ink);font-family:inherit}
.insights-golden .property-compare-tray button {min-height:44px}

/* Profiles and comparisons: a location header, topic navigation, then complete data. */
.insights-golden .census-profile-head {padding:24px;background:var(--research-apricot);border-radius:12px;margin-bottom:16px}
.insights-golden .census-profile-head :is(h1,h2) {font-size:30px;line-height:1.25;margin:0;font-weight:650}
.insights-golden .census-profile-head p:not(.eyebrow) {font-size:13px;line-height:1.6}
.insights-golden .census-profile-head .eyebrow {font:400 13px/1.5 Manrope,sans-serif;letter-spacing:0;text-transform:none;color:var(--muted)}
.insights-golden .census-source-link {border:0;text-decoration:underline;white-space:normal}
.insights-golden .census-topics {background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 12px;gap:8px}
.insights-golden .census-topics button {font-size:14px;font-weight:600;border:1px solid transparent;background:transparent;color:var(--muted);box-shadow:none}
.insights-golden .census-topics button:hover {background:#eee5da;color:var(--ink)}
.insights-golden .census-topics button[aria-pressed=true] {background:var(--research-gold);border-color:var(--research-gold);color:var(--ink);box-shadow:none}
.insights-golden .census-stats {gap:0;background:var(--research-paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:0 0 24px}
.insights-golden .census-stat {background:transparent;border:0;border-radius:0;padding:20px;gap:8px}
.insights-golden .census-stat+ .census-stat {border-left:1px solid var(--line)}
.insights-golden .census-stat strong {font-size:28px;color:var(--ink);letter-spacing:-.025em;font-weight:650}
.insights-golden .census-stat :is(span,small) {font-size:13px;line-height:1.5}
.insights-golden .census-panel-grid {gap:24px}
.insights-golden .census-chart {padding:24px!important}
.insights-golden .census-chart h3 {font-size:20px;font-weight:650}
.insights-golden :is(.census-chart-head p,.census-series-label,.census-variant-label,.census-chart .method,.census-scale,.census-scroll-hint) {font-size:13px;line-height:1.6}
.insights-golden .census-display {border-color:var(--line);background:var(--paper);gap:2px}
.insights-golden .census-display button {min-height:36px;padding:8px 10px;font-size:13px;color:var(--muted)}
.insights-golden .census-display button[aria-pressed=true] {background:var(--research-gold);color:var(--ink)}
.insights-golden .census-variant-label select {font-size:14px;min-height:44px}
.insights-golden :is(.census-data-table,.census-data-table table,.census-bar-head,.census-bar-row,.crime-table) {font-size:13px;border-color:var(--line)}
.insights-golden :is(.census-data-table th,.census-data-table td,.crime-table th,.crime-table td) {border-color:var(--line);padding:12px 8px}
.insights-golden :is(.census-data-table summary,.census-method summary) {color:#795019;min-height:44px}
.insights-golden :is(.census-bar-track,.bar-track) {background:#eee5da}
.insights-golden .census-topic-note {background:var(--research-apricot);border:1px solid var(--line);border-radius:8px;font-size:13px;padding:16px}
.insights-golden .census-edit-selection {margin-bottom:16px}
.insights-golden .census-suburb-comparison .census-profile-head {margin-top:0}
.insights-golden :is(.crime-rate-focus,.crime-source-note,.crime-region-note) {background:var(--research-apricot);border-color:var(--line);color:var(--ink)}
.insights-golden :is(.crime-table small,.crime-rate,.crime-table-scroll) {color:var(--muted);font-size:13px}
.insights-golden .crime-table thead {background:var(--research-apricot)}

/* Map controls stay separate from the source-defined choropleth colours. */
.insights-golden.map-page #app {max-width:1680px;padding:0 32px 40px}
.insights-golden .map-workspace {border:0;border-radius:0;background:transparent;box-shadow:none}
.insights-golden .map-toolbar {padding:12px 0;gap:16px;background:transparent;border:0;align-items:end}
.insights-golden .map-area-controls {display:contents}
.insights-golden .map-area-toggle {display:none}
.insights-golden .map-toolbar label {font-size:13px;color:var(--muted);line-height:1.5;gap:4px}
.insights-golden .map-toolbar :is(input,select) {font-size:15px;min-height:40px;height:40px;padding-top:0;padding-bottom:0}
.insights-golden .map-search label {margin-bottom:4px}
.insights-golden .map-search {max-width:520px;flex:1}
.insights-golden .map-body {grid-template-columns:300px minmax(0,1fr)}
.insights-golden :is(.map-sidebar,.map-stage) {height:680px}
.insights-golden .map-sidebar {background:var(--research-paper);border-color:var(--line)}
.insights-golden .map-sidebar-head {padding:20px 18px 16px;border-color:var(--line)}
.insights-golden .map-sidebar-head h2 {font-size:19px;color:var(--ink)}
.insights-golden .map-sidebar-head p {font-size:13px;color:var(--muted)}
.insights-golden .map-layer {min-height:44px;font-size:13px;line-height:1.5;color:var(--ink);border-radius:7px}
.insights-golden .map-layer:has(input:checked) {background:var(--research-apricot);border-color:#bfae9e;color:var(--ink)}
.insights-golden .map-layer:hover {background:#f6f3ef}
.insights-golden .map-layer-group :is(h3,summary) {font-size:13px;color:var(--muted)}
.insights-golden .map-sidebar-foot {background:var(--research-paper);border-color:var(--line);padding:16px 18px}
.insights-golden .map-sidebar-foot :is(label,small) {font-size:12px;color:var(--muted)}
.insights-golden :is(.map-count,.map-mobile-toggle span) {background:var(--research-apricot);color:var(--ink)}
.insights-golden :is(.map-active,.map-legend,.map-detail),.insights-golden #map-status {background:var(--research-paper);border:1px solid var(--line);color:var(--ink);box-shadow:none;border-radius:12px}
.insights-golden .map-active {padding:16px;max-width:calc(100% - 90px);background:rgb(255 253 251 / 80%)}
.insights-golden .map-active h2 {font-size:18px;color:var(--ink)}
.insights-golden .map-active p {font-size:12px;color:var(--muted);line-height:1.5}
.insights-golden .map-active>span {font-size:12px;letter-spacing:0;color:var(--muted)}
.insights-golden #map-status {font-size:12px;top:136px}
.insights-golden .map-legend {width:220px;padding:16px}
.insights-golden .map-compact-legend,.insights-golden #map-legend-details>summary {display:none}
.insights-golden :is(.map-band,.map-legend-heading,.map-no-data-key,.map-legend p) {font-size:12px;color:var(--muted)}
.insights-golden .map-detail {top:20px;right:76px;width:280px;padding:20px;max-height:calc(100% - 40px);overflow:auto;overscroll-behavior:contain}
.insights-golden .map-detail h2 {font-size:24px;color:var(--ink);padding-right:32px}
.insights-golden .map-detail-value {font-size:34px;color:var(--ink);line-height:1.3}
.insights-golden .map-detail :is(p,dt,dd,a,.map-detail-label,.map-detail-unit,.map-detail-period,.map-estimate) {font-size:13px;line-height:1.6;color:var(--muted)}
.insights-golden .map-detail-close {height:44px;width:44px;top:8px;right:8px;color:var(--ink);background:var(--research-paper);border-radius:7px}
.insights-golden :is(.map-bottom,.map-method,.map-method>div) {font-size:13px;line-height:1.6;color:var(--muted);border-color:var(--line)}
.insights-golden #map-search-results {top:calc(100% + 4px);background:var(--research-paper);border-color:var(--line);border-radius:8px}
.insights-golden #map-search-results button {color:var(--ink);min-height:44px;font-size:14px}
.insights-golden .leaflet-control-zoom a {background:var(--research-paper);color:var(--ink);width:40px;height:40px;line-height:40px}

/* Market data: shared reading rhythm, restrained summary emphasis and large charts. */
.insights-golden .home-heading {padding:0 0 24px}
.insights-golden .home-heading h1 {font-size:34px;color:var(--ink);font-weight:650}
.insights-golden .home-heading p {font-size:15px;color:var(--muted)}
.insights-golden .home-data-heading {border-color:var(--line);padding:0 0 16px;margin-bottom:20px}
.insights-golden .home-data-heading h2 {color:var(--ink);font-size:18px}
.insights-golden .home-data-heading :is(a,h2 span) {font-size:13px;color:var(--muted)}
.insights-golden .kpi-grid {gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--research-paper);margin-bottom:24px}
.insights-golden .kpi {border:0;border-radius:0;background:transparent;box-shadow:none;padding:20px}
.insights-golden .kpi+.kpi {border-left:1px solid var(--line)}
.insights-golden #capital-market-content>section:first-child .kpi:first-child {background:var(--research-apricot)}
.insights-golden .kpi-value {font-size:30px;font-weight:650;letter-spacing:-.025em;color:var(--ink)}
.insights-golden :is(.kpi-label,.period-caption) {font-size:13px;color:var(--muted);line-height:1.5}
.insights-golden .section-head {gap:16px;flex-wrap:wrap}
.insights-golden .section-title {padding-left:0;font-size:20px}
.insights-golden .section-head label {font-size:13px;color:var(--muted)}
.insights-golden .panel {padding:24px}
.insights-golden :is(.panel-head,.live-controls) {gap:16px}
.insights-golden .bar-fill {background:#9b7958}
.insights-golden .bar-row.selected .bar-fill {background:#b77b24}
.insights-golden .bar-row.selected .bar-label {color:#795019;font-weight:650}
.insights-golden .bar-row:hover .bar-fill {background:#795019}
.insights-golden :is(.bar-label,.bar-value,.bar-change,.bar-headers) {font-size:13px;color:var(--muted)}
.insights-golden :is(.chart-toolbar button,.history-range button,.live-period-buttons button) {min-height:40px;font-size:13px;border-radius:6px}
.insights-golden :is(.chart-toolbar button.active,.history-range button.active,.segmented button.active) {background:var(--research-gold);color:var(--ink);box-shadow:none}
.insights-golden .segmented {background:#eee5da}
.insights-golden .segmented button {min-height:40px;font-size:13px;color:var(--muted)}
.insights-golden :is(.approvals-picker summary,.approvals-options) {border-color:#bfae9e;background:var(--research-paper);color:var(--ink);font-size:14px}
.insights-golden .approvals-picker summary {min-height:44px}
.insights-golden .approvals-options label {min-height:44px;color:var(--ink);font-size:13px}
.insights-golden :is(.live-selector-label,.history-current,.history-legend,.chart-legend) {color:var(--muted);font-family:inherit}
.insights-golden :is(.line-chart,.histogram,.crime-trend) text {font-family:Manrope,sans-serif;fill:var(--muted)}
.insights-golden table {font-size:13px;border-color:var(--line)}
.insights-golden :is(th,td) {border-color:var(--line)}
.insights-golden thead {background:var(--research-apricot)}
.insights-golden .home-resources {border-color:var(--line)}
.insights-golden .home-resources :is(h2,h3,a) {color:var(--ink)}
.insights-golden .home-resources p {font-size:14px;color:var(--muted)}
.insights-golden .home-tools>a {background:var(--research-paper);border-color:var(--line);color:var(--ink);box-shadow:none}
.insights-golden .home-tools small {font-size:13px;color:var(--muted)}
.insights-golden .home-tools>a:hover {background:var(--research-apricot);border-color:#bfae9e}
.insights-golden .public-document-head {background:var(--research-apricot);border:0;border-radius:12px;padding:28px;margin-bottom:32px}
.insights-golden .public-document-head h1 {font-size:36px}
.insights-golden .public-document-head .eyebrow {font-size:13px;letter-spacing:0;color:var(--muted)}
.insights-golden .public-section {border-color:var(--line)}
.insights-golden .public-feature-grid article {background:var(--research-paper);border-color:var(--line);box-shadow:none;border-radius:12px}
.insights-golden .learning-table {font:400 14px/1.6 Manrope,sans-serif}
.insights-golden .learning-table th {background:var(--research-apricot);color:var(--ink)}

/* Keep the search workflow compact on phones and portrait tablets. */
@media(max-width:700px), (max-width:1000px) and (orientation:portrait) {
  .insights-golden:has(#census-page-heading) .insights-nav {display:none}
  .insights-golden:has(#census-page-heading) #app {padding-top:12px}
  .insights-golden:has(#census-page-heading) .census-search {grid-template-columns:minmax(0,1fr);padding:12px!important;gap:12px;margin-bottom:16px}
  .insights-golden:has(#census-page-heading) .census-search h1 {font-size:21px;line-height:1.3}
  .insights-golden:has(#census-page-heading) .census-kinds {width:100%;padding:2px}
  .insights-golden:has(#census-page-heading) .census-kinds button {flex:1;min-height:44px;padding:8px;font-size:13px}
  .insights-golden:has(#census-page-heading) .census-search-controls {grid-template-columns:minmax(0,1fr) 128px;gap:8px 12px}
  .insights-golden:has(#census-page-heading) .census-search-controls>label:first-child {grid-column:auto}
  .insights-golden:has(#census-page-heading) .census-search-controls label {gap:4px;font-size:12px}
  .insights-golden:has(#census-page-heading) .census-search-controls :is(input,select,.approvals-apply) {height:44px;min-height:44px}
  .insights-golden:has(#census-page-heading) .census-search-actions {grid-column:1/-1;gap:8px}
  .insights-golden:has(#census-page-heading) .census-search-actions button {flex:1;padding-inline:8px}
  .insights-golden:has(#census-page-heading) .census-search-controls:has(#state-label[hidden]) {grid-template-columns:minmax(0,1fr)}
  .insights-golden:has(#census-page-heading) #census-search-help {font-size:12px;line-height:1.5}
}
@media(max-width:359px) {
  .insights-golden:has(#census-page-heading) .census-search-controls {grid-template-columns:minmax(0,1fr)}
}

@media(max-width:1100px) {
  .insights-golden .census-search {grid-template-columns:minmax(0,1fr)}
  .insights-golden .census-kinds {justify-self:start}
  .insights-golden .map-body {grid-template-columns:260px minmax(0,1fr)}
  .insights-golden .map-toolbar {flex-wrap:wrap}
  .insights-golden .map-detail {width:250px}
  .insights-golden .place-card {grid-template-columns:minmax(0,1fr)}
  .insights-golden .place-card-bottom,.insights-golden .place-card .property-compare-actions {grid-column:1;grid-row:auto;margin-top:8px}
}
@media(max-width:700px) {
  .insights-golden .site-header .nav {padding:10px 16px;min-height:60px}
  .insights-golden .site-header .brand {font-size:25px}
  .insights-golden .site-header .nav-scroll {background:var(--research-gold)}
  .insights-nav {padding:12px 16px 0;gap:4px;display:grid;grid-template-columns:1fr 1fr;overflow:visible}
  .insights-nav a {font-size:12px;padding:8px 10px;white-space:normal;line-height:1.4}
  .insights-golden #app,.insights-golden.map-page #app,.insights-golden .public-main {padding:20px 16px 32px}
  .insights-golden.map-page #app {padding-top:0}
  .insights-golden :is(.home-heading h1,.census-search h1) {font-size:27px;line-height:1.25}
  .insights-golden .census-search {padding:18px!important;gap:16px;margin-bottom:24px}
  .insights-golden .census-search-controls {grid-template-columns:minmax(0,1fr);gap:12px}
  .insights-golden .census-search-actions {grid-column:1/-1;gap:8px}
  .insights-golden .census-search-actions button {flex:1;padding-inline:8px}
  .insights-golden .census-search-controls>label:first-child {grid-column:1/-1}
  .insights-golden .census-kinds {width:100%;justify-self:stretch}
  .insights-golden .census-kinds button {font-size:13px;flex:1;padding:8px}
  .insights-golden .place-grid,.insights-golden .census-panel-grid {grid-template-columns:minmax(0,1fr);gap:16px}
  .insights-golden .place-card {padding:16px;gap:6px}
  .insights-golden .census-results-head {flex-wrap:wrap;gap:8px}
  .insights-golden .census-counts {display:block}
  .insights-golden .census-chart {padding:18px!important}
  .insights-golden .census-chart h3 {font-size:19px}
  .insights-golden .census-profile-head {padding:20px;align-items:start;gap:12px}
  .insights-golden .census-profile-head :is(h1,h2) {font-size:27px}
  .insights-golden .census-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .insights-golden .census-stat {padding:16px}
  .insights-golden .census-stat:nth-child(odd) {border-left:0}
  .insights-golden .census-stat:nth-child(n+3) {border-top:1px solid var(--line)}
  .insights-golden .census-stat strong {font-size:24px}
  .insights-golden .census-topics {flex-wrap:nowrap;overflow:auto}
  .insights-golden .census-topics button {white-space:nowrap;flex-shrink:0}
  .insights-golden #suburb-property-links {margin:0 16px 24px;padding:20px}
  .insights-golden .property-compare-tray {left:8px;right:8px;bottom:8px;width:auto;max-width:none;padding:12px;gap:8px}
  .insights-golden .map-toolbar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 0;gap:8px 12px}
  .insights-golden .map-toolbar label {font-size:12px}
  .insights-golden .map-toolbar :is(input,select) {font-size:16px;width:100%;min-width:0;min-height:44px;height:44px}
  .insights-golden .map-search {grid-column:1/-1;max-width:none;width:100%}
  .insights-golden .map-toolbar>.map-button {font-size:13px;margin:0;padding:10px 8px}
  .insights-golden .map-area-toggle {display:flex;align-items:center;justify-content:space-between;grid-column:1;grid-row:1;min-height:44px}
  .insights-golden .map-area-toggle span {margin:0}
  .insights-golden .area-open .map-area-toggle svg {transform:rotate(180deg)}
  .insights-golden .map-area-controls {display:none;position:absolute;top:100%;left:0;right:0;z-index:2;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;background:var(--research-paper);border:1px solid var(--line);border-radius:10px;max-height:var(--map-dropdown-height,480px);overflow:auto;overscroll-behavior:contain}
  .insights-golden .area-open .map-area-controls {display:grid}
  .insights-golden .map-area-controls>label {min-width:0}
  .insights-golden .map-mobile-toggle {grid-column:2;grid-row:1;order:0;min-height:44px}
  .insights-golden .map-area-controls #map-search-results {position:static;margin-top:8px;max-height:180px}
  .insights-golden .map-body {display:block;position:relative}
  .insights-golden .map-sidebar {position:absolute;top:0;left:0;right:0;z-index:1050;height:auto;max-height:var(--map-dropdown-height,720px);border:1px solid var(--line);border-radius:10px;overflow:hidden}
  .insights-golden .map-sidebar-head,.insights-golden .map-sidebar-foot {flex-shrink:0}
  .insights-golden .map-sidebar-foot:has(#map-dwelling-label[hidden]) {display:none}
  .insights-golden .map-layers {min-height:0;max-height:none}
  .insights-golden .map-stage {height:auto;min-height:600px}
  .insights-golden #interactive-map {height:600px}
  .insights-golden .map-active {top:12px;left:12px;max-width:calc(100% - 76px);padding:12px}
  .insights-golden .map-active h2 {font-size:16px}
  .insights-golden .map-active :is(p,span) {font-size:12px}
  .insights-golden .map-legend {position:relative;inset:auto;transform:none;margin:0;width:auto;max-width:none;padding:10px 12px;border-radius:0;border-width:1px 0 0;box-shadow:none;pointer-events:auto}
  .insights-golden .map-legend-heading {margin-bottom:6px}
  .insights-golden .map-compact-legend {display:block}
  .insights-golden .map-compact-colours {display:flex;gap:2px;height:8px}
  .insights-golden .map-compact-colours i {flex:1;min-width:0;border-radius:1px}
  .insights-golden .map-compact-range {display:flex;justify-content:space-between;font-size:11px;line-height:18px;margin-top:3px;color:var(--muted)}
  .insights-golden #map-legend-details>summary {display:list-item;min-height:36px;padding:8px 0;font-size:12px;line-height:20px;cursor:pointer;color:var(--ink)}
  .insights-golden #map-scale {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}
  .insights-golden .map-band {font-size:11px;line-height:18px;padding:0;gap:6px}
  .insights-golden .map-band i {width:14px;height:7px}
  .insights-golden #map-legend-note {font-size:11px;line-height:1.5;margin:6px 0}
  .insights-golden .map-no-data-key {font-size:11px;line-height:18px;margin:0;padding:0;border:0}
  .insights-golden .map-detail {position:relative;inset:auto;width:auto;max-height:none;border-radius:0;padding:20px;border-width:1px 0 0}
  .insights-golden .map-bottom {font-size:12px}
  .insights-golden .map-method {margin:16px 0;font-size:13px}
  .insights-golden .kpi-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .insights-golden .kpi {padding:16px}
  .insights-golden .kpi:nth-child(odd) {border-left:0}
  .insights-golden .kpi:nth-child(n+3) {border-top:1px solid var(--line)}
  .insights-golden .kpi-value {font-size:25px;overflow-wrap:anywhere}
  .insights-golden .home-data-heading {align-items:start;gap:12px}
  .insights-golden .home-data-heading h2 span {display:block;margin:4px 0 0}
  .insights-golden .panel {padding:18px}
  .insights-golden .home-tools {grid-template-columns:minmax(0,1fr)}
  .insights-golden .public-document-head {padding:20px}
  .insights-golden .public-document-head h1 {font-size:28px}
}
@media(prefers-reduced-motion:reduce) {
  .insights-golden * {scroll-behavior:auto!important;transition:none!important}
}

/* Compact research controls leave the selected area's data in view. */
.insights-golden .census-search[hidden] {display:none}
.insights-golden .census-area-heading>div {display:flex;flex-direction:column;align-items:flex-start;gap:0;width:100%}
.insights-golden .census-area-heading .census-back-row {flex-basis:auto;margin:0 0 12px}
.insights-golden .census-area-heading .back-link {padding:6px 0;margin:0;font-size:12px}
.insights-golden .census-area-heading h1 {font-size:clamp(26px,2.5vw,34px);line-height:1.2;letter-spacing:-.03em;margin:0 0 12px}
.insights-golden .census-area-meta {display:flex;flex-wrap:wrap;gap:4px 24px;color:var(--muted);font-size:13px;line-height:1.6}
.insights-golden .census-area-meta span {max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px) {
 .insights-golden .census-area-heading .census-back-row {margin-bottom:8px}
 .insights-golden .census-area-heading h1 {margin-bottom:8px}
 .insights-golden .census-area-meta {flex-direction:column;gap:2px;font-size:12px}
}
.insights-golden .census-profile-head .eyebrow {display:block;margin:6px 0 0}
.insights-golden #capital-market-content .toolbar {display:flex;gap:16px;align-items:end;justify-content:space-between;margin:0 0 20px;padding:0}
.insights-golden #capital-market-content .toolbar-title {display:flex;flex-direction:column;gap:6px;align-items:start;font-size:13px;font-weight:400;color:var(--muted)}
.insights-golden #capital-market-content .toolbar-title select {min-width:220px}
.insights-golden #capital-market-content .controls {gap:12px}
.insights-golden #capital-market-content .controls label {font-size:13px;color:var(--muted)}
.insights-golden .panel>.kpi-grid {border:0;border-radius:0;margin:0;background:transparent}
.insights-golden :is(.kpi-value,.census-stat strong,td,.bar-value) {font-variant-numeric:tabular-nums}
@media(max-width:700px) {
 .insights-golden #capital-market-content .toolbar {flex-direction:column;align-items:stretch;gap:12px}
 .insights-golden #capital-market-content .toolbar-title {align-items:stretch}
 .insights-golden #capital-market-content .controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .insights-golden #capital-market-content .controls select {width:100%;min-width:0}
 .insights-golden .census-profile-head {padding:16px}
 .insights-golden .census-chart {padding:16px!important;min-width:0}
}

.insights-golden :is(.source-note,.chart-footer,.history-note,.home-source-note) {font-size:13px;line-height:1.65;color:var(--muted)}
.insights-golden .census-search h2 {margin:0;font-size:24px;line-height:1.3}
@media(max-width:650px) {
 .insights-golden .census-bars[data-measure] :is(.census-bar-head,.census-bar-row) {grid-template-columns:repeat(var(--census-series-count),minmax(0,1fr))}
 .insights-golden .census-bars[data-measure] .census-bar-track {grid-column:1/-1}
 .insights-golden .census-bar-head [data-geography] {font-size:12px;overflow-wrap:break-word}
 .insights-golden .census-bar-cell {font-size:12px}
}

.insights-golden .map-detail .eyebrow {font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--muted)}
.insights-golden .map-legend-heading :is(strong,span) {font-size:12px;color:var(--muted)}
.insights-golden .map-legend-heading strong {font-weight:650;color:var(--ink)}
.insights-golden .census-edit-selection {padding-top:0}
