/* Reading space and clear navigation after location selection. */
body { font-size: 16px; }
.site-header { height: 76px; }
.header-note { font-size: 20px; }
.coverage { font-size: 14px; }
.workspace { grid-template-columns: minmax(390px, 39%) minmax(0, 1fr); min-height: calc(100dvh - 76px); }
.search-panel { max-height: none; overflow: visible; }
.panel-content { padding: 54px clamp(28px, 4vw, 70px) 40px; }
.eyebrow { font: 600 .875rem/1.5 system-ui, sans-serif; letter-spacing: .08em; margin-bottom: 18px; }
#page-title { font-size: clamp(3rem, 4.7vw, 4.7rem); line-height: 1.02; max-width: 12ch; }
.intro { font-size: 1rem; max-width: 38ch; line-height: 1.65; margin: 22px 0 30px; }
label, .field-hint, .status, .result-context, .source-note, .accuracy-note { font-size: .875rem; }
.search-control input { font-size: 1rem; padding: 15px; }
.search-submit { flex-basis: 54px; }
.result-name { font-size: 1rem; }
.result-type { font: 600 .75rem/1.4 system-ui, sans-serif; letter-spacing: .035em; }
.result { padding: 15px 18px; }
.results { max-height: 300px; }
.selection h2, .selection .place-name { font-size: 1rem; }
.selection p, .selection .property-address-entry p { font-size: .875rem; }
.selection .coordinates { font-size: .875rem; }
.primary-button { justify-content: center; font-size: 1rem; min-height: 50px; }
.property-address-entry textarea { font-size: 1rem; }
.map-panel { height: calc(100dvh - 76px); min-height: 600px; position: sticky; top: 0; }
.map-label { font-size: .75rem; }
.map-actions p, .map-button, .map-message { font-size: .875rem; }
.report-kicker { margin: 0 0 12px; font-size: .875rem; font-weight: 600; letter-spacing: .1em; color: var(--field); }
#neighbourhood-title { font: 500 clamp(2.6rem, 4vw, 3.6rem)/1.08 "Cormorant Garamond", Georgia, serif; letter-spacing: -.025em; margin: 0 0 10px; overflow-wrap: anywhere; }
.report-location-context { margin: 0; font-size: 1rem; color: var(--field); }
.report-address-note { font-size: .875rem; color: var(--muted); }
.report-introduction { margin: 20px 0 8px; font-size: 1rem; line-height: 1.6; max-width: 66ch; }
.report-scope { margin: 0 0 28px; font-size: .875rem; line-height: 1.55; color: var(--muted); max-width: 78ch; }
.report-active .workspace { max-width: 1480px; width: 100%; margin: 0 auto; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; padding: 36px 32px 64px; align-items: start; min-height: calc(100dvh - 160px); }
.report-active .search-panel { border: 0; background: transparent; max-height: none; overflow: visible; min-width: 0; z-index: auto; }
.report-active .panel-content { padding: 0; }
.report-active .panel-content > section { display: none; }
.report-active .panel-content > section.report-section-active { display: block; }
.report-active .panel-content > section:not(#neighbourhood-overview) { margin: 0; padding: 28px 32px; border: 1px solid var(--line); border-radius: 10px; background: #fffefb; }
.report-active .panel-content > section > h2 { font: 500 2.25rem/1.15 "Cormorant Garamond", Georgia, serif; margin: 0 0 14px; }
.report-active .panel-content h1, .report-active .panel-content h2, .report-active .panel-content h3, .report-active #map { scroll-margin-top: var(--report-nav-offset, 144px); }
.report-active #selection, .report-active .accuracy-note, .report-active .panel-footer { display: none; }
.report-active .map-panel { position: sticky; top: calc(var(--report-nav-offset, 96px) + 16px); height: 590px; min-height: 480px; border: 1px solid #cfd6c9; border-radius: 10px; overflow: hidden; }
.report-active .map-viewport { min-height: 370px; }
.report-active .os-search-source { align-items: flex-start; gap: 4px; padding: 10px; font-size: 12px; }
.report-active .os-source-logo { width: 72px; height: auto; padding: 4px; }
.report-active .map-topline { top: 16px; left: 14px; }
.report-active .map-label { padding: 9px; }
.report-active .map-actions { bottom: 32px; }
.report-active .map-actions p { font-size: 12px; }
.report-active .census-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.report-active .census-figures > div { display: block; padding: 0 0 18px; }
.report-active .census-figures dt { max-width: none; font-size: .875rem; margin-bottom: 10px; }
.report-active .census-figures dd { text-align: left; font: 600 2rem/1.15 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.report-active .census-figures small { font-size: .875rem; }
.report-active .age-meta, .report-active .age-note, .report-active .age-source, .report-active .age-unavailable-note, .report-active .age-row-heading, .report-active .age-column-labels, .report-active .census-year, .report-active .census-scope, .report-active .census-area-name, .report-active .census-details, .report-active .boundary-button { font-size: .875rem; }
.report-active .census-intro { font-size: 1rem; }
.report-active details summary { min-height: 44px; padding-top: 12px; padding-bottom: 12px; cursor: pointer; }
.report-active .school-item, .report-active .transport-item { padding: 22px 0; }
.report-active .school-item h3, .report-active .transport-item h3 { font-size: 1.125rem; }
.report-more { margin-top: 28px; border-top: 1px solid var(--line); padding: 24px 0 0; }
.report-more h2 { font: 500 1.75rem/1.2 "Cormorant Garamond", Georgia, serif; margin: 0 0 8px; }
.report-more p { font-size: .875rem; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.report-more-links { display: flex; flex-wrap: wrap; gap: 8px; }
.report-more-links a { min-height: 44px; padding: 10px 14px; border: 1px solid #cad3c7; border-radius: 5px; font-size: .875rem; text-decoration: none; background: #fffefb; }
.report-more-links a:hover { background: var(--soft); }
.around-home-entry { margin: 0 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.around-home-entry a { display: inline-flex; align-items: center; min-height: 44px; color: var(--field); font-size: 1rem; font-weight: 600; text-underline-offset: 3px; }
.around-home-entry p { margin: 4px 0 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.report-active.report-around-home .workspace { grid-template-columns: minmax(0, 1fr); }
.report-active.report-around-home .map-panel { display: none; }
.report-show-map .workspace { display: block; max-width: 1480px; padding-top: 20px; }
.report-show-map .search-panel { display: none; }
.report-show-map .map-panel { position: relative; top: auto; width: 100%; height: calc(100dvh - var(--report-nav-offset, 96px) - 40px); min-height: 480px; }
.report-show-map .os-search-source { align-items: center; }
.report-show-map .os-source-logo { width: 90px; }
@media (max-width: 1099px) {
  .report-active .workspace { grid-template-columns: minmax(0, 1fr); max-width: 940px; padding: 30px 28px 50px; }
  .report-active .map-panel { display: none; }
  .report-show-map .map-panel { display: flex; }
  .report-active .panel-content { padding: 0; }
}
@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 20px; }
  .coverage { display: none; }
  .workspace { display: flex; min-height: calc(100dvh - 68px); }
  .panel-content { padding: 32px 24px; }
  #page-title { font-size: 3.1rem; max-width: 13ch; }
  .intro { margin: 18px 0 24px; }
  .eyebrow { font-size: .75rem; }
  .map-panel { position: relative; height: 62dvh; min-height: 450px; }
  .mobile-selection { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px; box-shadow: 0 -3px 14px #23312612; }
  .mobile-selection button { font-size: .875rem; }
  body:has(.mobile-selection:not([hidden])) { padding-bottom: 76px; }
  .report-active .workspace { display: block; padding: 24px 20px 40px; }
  #neighbourhood-title { font-size: 2.6rem; }
  .report-kicker { font-size: .75rem; margin-bottom: 8px; }
  .report-location-context { font-size: .875rem; }
  .report-introduction { margin-top: 18px; }
  .report-scope { margin-bottom: 22px; }
  .report-active .panel-content > section:not(#neighbourhood-overview) { padding: 22px 18px; }
  .report-active .census-figures { grid-template-columns: 1fr; gap: 0; }
  .report-active .census-figures > div { display: flex; padding: 12px 0; }
  .report-active .census-figures dd { text-align: right; }
  .report-active .map-panel { height: calc(100dvh - var(--report-nav-offset, 144px) - 36px); min-height: 430px; }
  .report-show-map .workspace { padding: 16px 12px 24px; }
  .report-more { margin-top: 24px; }
}
