/* GENERATED by .claude/design/pages-build/mk_agedarea_new.py from agedarea_pg.css. Do not edit by hand. */
/* agedarea: the per-suburb Aged Care page on the CF2 look (layer pg, prefix ac-). Source for asCss/pg/agedarea(-t).css.
   CF2 token ROLES only (asCss/cf2/tokens.css). Square-ish shapes (--r-1 controls, --r-2 cards). Type: Geist through --f, Outfit for headings (see the top of the layer).
   Service kinds use four distinct hues (teal / orange / blue / violet) that stay apart for the common colour-vision types; every
   kind is also named in text (chips, table "Type" column, map popups), so colour is never the only cue. */
/* Type (owner, 25 Nov 2026): Outfit 600 for page titles and headings only; Geist for text, labels, buttons and every figure.
   The four faces below are the ones asCss/pg/eco.css ships (files already in asCss/fonts/; Geist licence asCss/fonts/geist-OFL.txt). */
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/asCss/fonts/geist-latin-ext-wght.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/asCss/fonts/geist-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/asCss/fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/asCss/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@layer pg {
  /* the page's own content (hero and body) takes the two faces; the shared header and footer keep the CF2 face. --f is re-pointed here, so every
     rule below that says var(--f) is Geist. Headings are switched to Outfit in the block that follows. */
  .ac, .ac-hero, #pgDockBar, #pgDock {
    --ac-b: "Geist", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ac-h: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif;
    --f: var(--ac-b); font-family: var(--ac-b);
  }
  .ac button, .ac input, .ac select, .ac textarea, .ac-hero button, .ac-hero a.ac-btn, #pgDockBar button, #pgDock button { font-family: inherit; }
  .ac {
    --ac-res: var(--teal); --ac-hc: var(--orange-dk); --ac-rv: #2a78d6; --ac-oth: #8a63d2; --ac-hosp: #b3264a; --ac-ink: var(--ink);
    display: flex; flex-direction: column; gap: 0; font-family: var(--f); counter-reset: acsec;
  }
  /* page rhythm (5 Dec restyle, after the portfolio page's .pf-sec): each section is a band between hairlines, with a numbered eyebrow */
  .ac > .ac-sec { padding-block: var(--s-7); border-block-start: 1px solid var(--hair); }
  .ac > .ac-sec:first-child { padding-block-start: 0; border-block-start: 0; }
  .ac > .ac-sec[hidden] { display: none; }   /* the empty order slot: .ac-sec's display would otherwise show it as an empty band */
  /* chapters (5 Dec): only a chapter's first section is numbered; the sections after it in the chapter follow without a rule */
  .ac > .ac-sec.is-lead > .ac-head { counter-increment: acsec; }
  .ac > .ac-sec.is-lead { border-block-start: 2px solid var(--ink); }
  .ac > .ac-sec.is-lead > .ac-head > .ac-eyebrow { display: flex; align-items: baseline; font-size: var(--t-sm); color: var(--ink); }
  .ac > .ac-sec.is-lead > .ac-head > .ac-eyebrow::before { font: var(--w-h) 1.75rem/1 var(--ac-h); letter-spacing: -.02em; }
  .ac > .ac-sec.is-sub { border-block-start: 0; padding-block-start: 0; }
  .ac > .ac-sec.is-sub > .ac-head > .ac-h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
  .ac > .ac-sec.is-sub > .ac-head > .ac-eyebrow { color: var(--fg-3); }
  .ac > .ac-sec.is-lead > .ac-head > .ac-eyebrow::before { content: counter(acsec, decimal-leading-zero); margin-inline-end: var(--s-3); color: var(--orange-dk); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
  .ac > .ac-banner { margin-block-end: var(--s-7); border-block-start: 0; }
  .ac > .ac-banner + .ac-sec { border-block-start: 0; padding-block-start: 0; }
  .ac-list:not(.is-all) tr[data-more] { display: none; }
  .ac-more-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
  .ac-list td:nth-child(3) { min-inline-size: 10rem; }
  .ac-list td:nth-child(2) { min-inline-size: 11rem; }   /* 'Residential aged care' on one line */
  .ac-sec { display: flex; flex-direction: column; gap: var(--s-4); min-inline-size: 0; scroll-margin-block-start: 6rem; }   /* + the section's own top padding: the heading lands clear of the header and the section bar (113 px) */
  @media (width >= 1600px) { .ac-sec { scroll-margin-block-start: 5rem; } }   /* 1600+: the dock is a side rail, only the header is above */
  .ac-head { display: flex; flex-direction: column; gap: var(--s-2); max-inline-size: var(--w-prose); }
  .ac-eyebrow { font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
  .ac-h2 { font: var(--w-h) clamp(1.5rem, 1.12rem + 1.6vw, 2.25rem)/1.08 var(--f); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; margin: 0; }
  .ac-h3 { font: var(--w-strong) var(--t-md)/1.25 var(--f); letter-spacing: -.01em; color: var(--ink); margin: 0; }
  .ac-h4 { font: var(--w-strong) var(--t-sm)/1.3 var(--f); color: var(--fg-2); margin: var(--s-2) 0 0; }
  .ac-note { font-size: var(--t-base); line-height: 1.6; color: var(--fg-2); max-inline-size: var(--w-prose); text-wrap: pretty; margin: 0; }
  .ac-note strong, .ac-ctx strong { color: var(--ink); font-weight: var(--w-strong); }
  .ac-fine { font-size: var(--t-sm); line-height: 1.55; color: var(--fg-3); max-inline-size: 75ch; text-wrap: pretty; margin: 0; }
  .ac a { color: var(--link); text-underline-offset: 2px; }
  .ac a:focus-visible, .ac button:focus-visible, .ac .ac-scroll:focus-visible, .ac summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
  .ac-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); padding: clamp(var(--s-3), 2.2vw, var(--s-5)); display: flex; flex-direction: column; gap: var(--s-3); min-inline-size: 0; }
  .ac-grid3 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--s-4); align-items: start; }
  .ac-grid3 > :first-child { grid-row: 1 / span 2; }
  @media (max-width: 900px) { .ac-grid3 { grid-template-columns: 1fr; } .ac-grid3 > :first-child { grid-row: auto; } }

  /* ---------- hero ---------- */
  .ac-hero .ac-h1-pc { color: var(--fg-3); font-weight: var(--w-med); white-space: nowrap; }
  .ac-chips { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
  .ac-chips li { border: 1px solid var(--hair-2); border-radius: var(--r-1); padding: var(--s-1) var(--s-3); font-size: var(--t-sm); color: var(--fg-2); background: var(--surface); }
  .ac-chips b { color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-hero .ac-chips li { background: color-mix(in srgb, #ffffff 8%, transparent); border-color: color-mix(in srgb, #ffffff 28%, transparent); color: color-mix(in srgb, #ffffff 82%, transparent); }
  .ac-hero .ac-chips b { color: #ffffff; }

  /* ---------- nearest services ---------- */
  .ac-near { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .ac-near-c { background: var(--surface); border: 1px solid var(--hair); border-block-start: 4px solid var(--ac-res); border-radius: var(--r-2); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); min-inline-size: 0; }
  .ac-near-c[data-k="hc"] { border-block-start-color: var(--ac-hc); }
  .ac-near-c[data-k="rv"] { border-block-start-color: var(--ac-rv); }
  .ac-near-l { font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
  .ac-near-km { font: var(--w-h) var(--t-kpi)/1.05 var(--f); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-near-n { font: var(--w-strong) var(--t-base)/1.3 var(--f); color: var(--ink); overflow-wrap: anywhere; }
  .ac-near-s { font-size: var(--t-sm); line-height: 1.45; color: var(--fg-2); overflow-wrap: anywhere; }
  .ac-near-x { font-size: var(--t-xs); line-height: 1.45; color: var(--fg-2); background: var(--alt); border-radius: var(--r-1); padding: var(--s-1) var(--s-2); }
  .ac-tag { display: inline-block; margin-inline-end: var(--s-1); padding: 1px var(--s-2); border-radius: var(--r-1); background: var(--navy-9); color: #ffffff;
    font: var(--w-strong) var(--t-xs)/1.5 var(--f); letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
  .ac-cmp .ac-loc, .ac-cmp td:nth-of-type(1) { border-inline-end: 2px solid var(--hair-2); }
  .ac-near-w { margin-block-start: auto; padding-block-start: var(--s-2); font-size: var(--t-sm); color: var(--fg-3); border-block-start: 1px solid var(--hair); }
  .ac-ctx { background: var(--alt); border-inline-start: 4px solid var(--teal); border-radius: var(--r-2); padding: var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); }
  .ac-ctx p { margin: 0; font-size: var(--t-base); line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
  .ac-ctx .ac-fine { font-size: var(--t-sm); color: var(--fg-3); }
  .ac-ctx.is-fine { background: none; border: 0; padding: 0; }   /* nothing new to add: the caveat alone, as fine print */

  /* ---------- tables ---------- */
  .ac-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hair); border-radius: var(--r-2); background: var(--surface); }
  .ac-tbl { inline-size: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
  .ac-tbl th, .ac-tbl td { padding: var(--s-2) var(--s-3); text-align: start; vertical-align: top; border-block-end: 1px solid var(--hair); }
  .ac-tbl thead th { font: var(--w-strong) var(--t-xs)/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); background: var(--alt); white-space: nowrap; }
  .ac-tbl tbody th { font-weight: var(--w-med); color: var(--ink); }
  .ac-tbl tbody tr:last-child > * { border-block-end: 0; }
  .ac-tbl td { color: var(--fg-2); }
  .ac-tbl .ac-k { color: var(--ink); font-weight: var(--w-strong); background: color-mix(in srgb, var(--teal) 7%, transparent); }
  .ac-tbl thead .ac-k { color: var(--teal-2); }
  .ac-tbl .ac-ref { color: var(--fg-3); }
  .ac-tbl .ac-num { text-align: end; white-space: nowrap; }
  .ac-cmp td { text-align: end; white-space: nowrap; }
  .ac-cmp { table-layout: fixed; }
  .ac-cmp thead th:first-child { inline-size: 40%; }
  .ac-cmp thead th { white-space: normal; }
  .ac-cmp thead th:not(:first-child) { text-align: end; }
  .ac-na { color: var(--fg-3); font-size: var(--t-xs); font-weight: var(--w-med); }
  .ac-list tbody th small { display: block; color: var(--fg-3); font-weight: 400; font-size: var(--t-xs); }
  /* RAD/DAP vintage label ('published Dec 2022') under a header or row label */
  .ac-tbl th .ac-when { display: block; color: var(--fg-3); font-weight: 400; font-size: var(--t-xs); letter-spacing: 0; text-transform: none; }
  .ac-list tbody th { min-inline-size: 14rem; }
  .ac-dot { display: inline-block; inline-size: 10px; block-size: 10px; border-radius: 50%; margin-inline-end: var(--s-2); background: var(--ac-res); vertical-align: baseline; flex: none; }
  .ac-dot[data-k="hc"] { background: var(--ac-hc); }
  .ac-dot[data-k="rv"] { background: var(--ac-rv); }
  .ac-dot[data-k="oth"] { background: var(--ac-oth); }

  /* ---------- map + filters ---------- */
  /* The map frame (5 Dec restyle, after the portfolio page's .pf-map): a dark frame holding the suburb's static picture with its outline, a label
     top left and the button bottom left. The button swaps in Mapbox (.is-on); the frame keeps its size, so nothing jumps. */
  .ac-map.has-pic:not(.is-on) { aspect-ratio: 5 / 1; }   /* fix round 1: a band until the map is loaded (the hero already shows the suburb at full size) */
  .ac-map { position: relative; aspect-ratio: 12 / 5; border: 1px solid var(--hair); border-radius: var(--r-2); overflow: hidden; background: #0d1620; }
  /* explicit size: mapbox-gl.css (unlayered, so it beats this layer) sets .mapboxgl-map { position: relative }, which voids inset: 0 */
  .ac-map-c { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
  .ac-map:not(.is-on) .ac-map-c { display: none; }
  /* no picture for this suburb: a short dark band with the button in the middle */
  .ac-map:not(.has-pic):not(.is-on) { aspect-ratio: auto; block-size: 11rem; display: grid; place-items: center;
    background: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 100% 2.75rem, linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 2.75rem 100%, #0d1620; }
  /* The static picture, in the hero frame (.ac-atlas) and the map frame. The box is the WHOLE picture at its own aspect ratio (--pa), so the image
     and the outline drawn over it cannot drift apart; the frame shows the part around the outline. --pw / --px / --py (wide screens) and
     --pw2 / --px2 / --py2 (phones) are worked out in PHP from the outline's bounds (ac_frame): picture width, left and top as % of the frame. */
  .ac-map-pic, .ac-herobg { position: absolute; inset: auto; inset-block-start: var(--py, 0%); inset-inline-start: var(--px, 0%); inline-size: var(--pw, 100%); block-size: auto;
    aspect-ratio: var(--pa, 5 / 3); pointer-events: none; }
  .ac-map-pic img, .ac-herobg img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; opacity: 0; transition: opacity .6s ease; }
  .ac-map-pic.is-ready img, .ac-herobg.is-ready img { opacity: 1; }
  .ac-map-pic svg, .ac-herobg svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: hidden; }
  .ac-map-pic path, .ac-herobg path { fill: color-mix(in srgb, #7fd6c9 12%, transparent); stroke: #7fd6c9; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke;
    stroke-dasharray: 100; stroke-dashoffset: 100; animation: ac-draw 1.8s ease-out .2s forwards; animation-play-state: paused; }
  .ac-map-pic.is-ready path, .ac-herobg.is-ready path { animation-play-state: running; }
  @keyframes ac-draw { to { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) { .ac-map-pic path, .ac-herobg path { animation: none; stroke-dashoffset: 0; } }
  .ac-map.is-on .ac-map-pic, .ac-map.is-on .ac-map-lab { display: none; }
  .ac-map-go { position: absolute; z-index: 2; inset: auto auto var(--s-4) var(--s-4); box-shadow: 0 2px 12px rgb(0 0 0 / .35); }
  .ac-map:not(.has-pic) .ac-map-go { position: relative; inset: auto; }
  /* the label on a picture: what the outline is, and where */
  .ac-map-lab, .ac-atlas-lab { position: absolute; z-index: 1; inset: var(--s-3) auto auto var(--s-3); display: grid; gap: 2px; margin: 0; max-inline-size: calc(100% - var(--s-3) * 2); padding: var(--s-2) var(--s-3);
    border-radius: var(--r-1); border: 1px solid rgb(255 255 255 / .14); background: rgb(12 20 29 / .82); backdrop-filter: blur(6px); color: #ffffff; }
  .ac-map-lab span, .ac-atlas-lab span { font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .08em; text-transform: uppercase; color: #7fd6c9; }
  .ac-map-lab b, .ac-atlas-lab b { font: var(--w-strong) var(--t-sm)/1.25 var(--f); }
  @media (max-width: 760px) {
    .ac-map { aspect-ratio: 1; }
    .ac-map.has-pic:not(.is-on) { aspect-ratio: 2.2 / 1; }
    .ac-map-pic { inset-block-start: var(--py2, 0%); inset-inline-start: var(--px2, 0%); inline-size: var(--pw2, 100%); }
    .ac-map:not(.is-on) .ac-map-pic { inset-inline-start: calc(var(--px2, 0%) + 24%); }   /* the band on phones: the suburb sits right of the button */
    .ac-map-go { inset: auto auto var(--s-3) var(--s-3); }
  }
  /* small frames: the label is one line (the place), so it covers less of the map */
  @media (max-width: 899px) {
    .ac-atlas-lab { inset: auto auto var(--s-2) var(--s-2); padding: var(--s-1) var(--s-2); }
    .ac-atlas-lab span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }

  /* ---------- hero (5 Dec restyle, after the portfolio page's .pf-hero): copy left, the suburb's map set into a frame on the right ---------- */
  .ac-hero { padding-block: var(--s-4) var(--s-8);
    background: radial-gradient(52rem 30rem at 82% 38%, color-mix(in srgb, var(--teal) 34%, transparent), transparent 70%),
      radial-gradient(40rem 22rem at 6% 110%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 70%), var(--navy-9); }
  .ac-hero .pg-wrap { max-inline-size: none; display: grid; grid-template-columns: minmax(0, 1fr); }
  .ac-hero.has-pic .pg-fan { display: none; }   /* the line fan stays only where there is no map picture */
  .ac-atlas { order: 6; position: relative; margin: var(--s-5) 0 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-2); border: 1px solid rgb(255 255 255 / .16);
    background: #0d1620; box-shadow: 0 28px 48px -30px rgb(0 0 0 / .9); }
  .ac-atlas .ac-herobg { inset-block-start: var(--py2, 0%); inset-inline-start: var(--px2, 0%); inline-size: var(--pw2, 100%); }
  .ac-hero .ac-acts { order: 5; display: none; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 0; }
  .ac-hero a.ac-btn-p { background: var(--orange); border-color: var(--orange); color: #0b131e; }
  .ac-hero a.ac-btn-p:hover { background: #f5a22e; border-color: #f5a22e; }
  .ac-hero a.ac-btn-g { background: transparent; border-color: rgb(255 255 255 / .38); color: #ffffff; }
  .ac-hero a.ac-btn-g:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .7); }
  .ac-hero a.ac-btn:focus-visible { outline: 3px solid #7fd6c9; outline-offset: 2px; }
  @media (min-width: 900px) {
    /* two columns: the breadcrumb across the top, the copy in rows down the left, the map frame beside it. The last row (1fr) takes any height the
       frame has over the copy, so the copy's own spacing never stretches. */
    .ac-hero.has-pic .pg-wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(var(--s-6), 4vw, var(--s-8)); }
    .ac-hero.has-pic .pg-wrap > * { grid-column: 1; }
    .ac-hero.has-pic .pg-wrap > .pg-bc { grid-column: 1 / -1; }
    .ac-hero.has-pic .ac-atlas { grid-column: 2; grid-row: 2 / -1; align-self: center; margin: 0; aspect-ratio: 5 / 4; }
    .ac-hero.has-pic .ac-atlas .ac-herobg { inset-block-start: var(--py, 0%); inset-inline-start: var(--px, 0%); inline-size: var(--pw, 100%); }
    .ac-hero .ac-acts { display: flex; }
  }
  .ac-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
  .ac-chip { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-1); min-block-size: 44px; padding: 0 var(--s-3);
    border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--fg-2); font: var(--w-med) var(--t-sm)/1 var(--f); }
  .ac-chip b { color: var(--ink); margin-inline-start: var(--s-1); font-variant-numeric: tabular-nums; }
  .ac-chip[aria-pressed="false"] { opacity: .65; background: var(--alt); }
  .ac-chip[aria-pressed="false"] .ac-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--fg-3); }
  .ac-chip:hover { background: var(--alt); }

  /* ---------- buttons, search ---------- */
  .ac-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; padding: 0 var(--s-5);
    border-radius: var(--r-1); border: 1px solid var(--hair-2); background: var(--surface); color: var(--ink); font: var(--w-strong) var(--t-sm)/1 var(--f); text-decoration: none; }
  .ac-btn:hover { background: var(--alt); }
  .ac a.ac-btn { color: var(--ink); text-decoration: none; }
  .ac .ac-btn-p, .ac a.ac-btn-p { background: var(--orange); border-color: var(--orange); color: #0b131e; }
  .ac .ac-btn-p:hover, .ac a.ac-btn-p:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: #0b131e; }
  .ac-search { display: flex; flex-direction: column; gap: var(--s-1); max-inline-size: 36rem; }
  .ac-search label { font-size: var(--t-sm); color: var(--fg-2); }
  .ac-search div { display: flex; gap: var(--s-2); }
  .ac-search input { flex: 1; min-inline-size: 0; min-block-size: 44px; padding: 0 var(--s-3); border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: var(--t-base) var(--f); }
  .ac-search button { min-block-size: 44px; padding: 0 var(--s-4); border: 0; border-radius: var(--r-1); background: var(--teal); color: var(--white); font: var(--w-strong) var(--t-sm)/1 var(--f); cursor: pointer; }

  /* ---------- bars (owner / room mix) ---------- */
  .ac-bars { display: flex; flex-direction: column; gap: var(--s-2); }
  .ac-bars-k { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-xs); color: var(--fg-3); }
  .ac-bars-k span { display: inline-flex; align-items: center; gap: var(--s-1); }
  .ac-sw { display: inline-block; inline-size: 14px; block-size: 6px; border-radius: 1px; }
  .ac-sw-l { background: var(--orange); }   /* local (within 5 or 10 km): orange, as s1 in the charts */
  .ac-sw-r { background: var(--teal); }     /* the region: dark teal, as s2 */
  .ac-bar { display: grid; grid-template-columns: minmax(7rem, 12rem) minmax(0, 1fr) 5.5rem; gap: var(--s-3); align-items: center; }
  .ac-bar-n { font-size: var(--t-sm); color: var(--fg-2); }
  .ac-bar-t { display: flex; flex-direction: column; gap: 3px; }
  .ac-bar-f { display: block; block-size: 7px; border-radius: 0 2px 2px 0; min-inline-size: 1px; }
  .ac-bar-v { font-size: var(--t-sm); font-weight: var(--w-strong); color: var(--ink); text-align: end; font-variant-numeric: tabular-nums; }
  .ac-bar-v small { color: var(--fg-3); font-weight: var(--w-med); }

  /* ---------- residents ---------- */
  .ac-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--s-3); }
  .ac-tile { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); }
  .ac-tile-l { font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
  .ac-tile-v { font: var(--w-h) var(--t-kpi)/1.05 var(--f); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-tile-s { font-size: var(--t-sm); line-height: 1.5; color: var(--fg-2); }

  /* ---------- approvals (shared partial: give its Bootstrap-grid KPI row a grid of its own) ---------- */
  .ac-da .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-4); }
  .ac-da .row > [class*="col-"] { inline-size: auto; max-inline-size: none; padding: 0; }
  @media (min-width: 992px) { .ac-da .row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  /* ---------- custom catchment, FAQ, links ---------- */
  .ac-banner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); background: var(--navy-9); color: var(--white);
    border-radius: var(--r-2); padding: var(--s-5) clamp(var(--s-4), 3vw, var(--s-6)); }
  .ac-banner .ac-h2 { color: var(--white); }
  .ac-banner .ac-note { color: color-mix(in srgb, var(--white) 82%, transparent); }
  .ac-faq { display: flex; flex-direction: column; border-block-start: 1px solid var(--hair); max-inline-size: 60rem; }
  .ac-faq details { border-block-end: 1px solid var(--hair); }
  .ac-faq summary { cursor: pointer; padding: var(--s-3) 0; min-block-size: 44px; font: var(--w-strong) var(--t-base)/1.4 var(--f); color: var(--ink); }
  .ac-faq p { margin: 0 0 var(--s-4); font-size: var(--t-base); line-height: 1.6; color: var(--fg-2); max-inline-size: var(--w-prose); }
  .ac-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: var(--s-1) var(--s-3); }
  .ac-links a { display: flex; align-items: center; min-block-size: 44px; font-size: var(--t-sm); }
  .ac-more-l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
  .ac-more-l a { display: inline-flex; align-items: center; min-block-size: 44px; font-size: var(--t-sm); }
  .ac-src { padding-block-start: var(--s-4); border-block-start: 1px solid var(--hair); max-inline-size: none; }
  .ac-404 { max-inline-size: 40rem; }
  .ac-warn { font-size: var(--t-sm); padding: var(--s-2) var(--s-3); border-inline-start: 3px solid var(--orange); background: var(--alt); border-radius: var(--r-1); max-inline-size: none; }
  .ac-filters { gap: var(--s-2); }
  @media (max-width: 640px) { .ac-filters .ac-chip { flex: 1 1 auto; justify-content: flex-start; text-align: start; } }

  /* ---------- phone: comparison tables and the services list become cards (each value labelled), no sideways scroll ---------- */
  @media (max-width: 640px) {
    .ac-scroll:has(.ac-cmp), .ac-scroll:has(.ac-list) { overflow: visible; border: 0; background: none; }
    .ac-cmp, .ac-cmp tbody, .ac-list, .ac-list tbody { display: block; }
    .ac-cmp thead, .ac-list thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
    .ac-cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-1) var(--s-2); padding: var(--s-3); margin-block-end: var(--s-2);
      background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); }
    .ac-cmp tr > * { border: 0; padding: 0; background: none; }
    .ac-cmp tbody th { grid-column: 1 / -1; padding-block-end: var(--s-1); }
    .ac-cmp td { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; font-size: var(--t-base); text-align: start; white-space: normal; }
    .ac-cmp td::before { font: var(--w-med) var(--t-xs)/1.25 var(--f); color: var(--fg-3); letter-spacing: 0; text-transform: none; }
    .ac-cmp td:nth-of-type(1)::before { content: var(--l1); }
    .ac-cmp td[data-l]:nth-of-type(1)::before { content: attr(data-l); }
    .ac-cmp td:nth-of-type(2)::before { content: var(--l2); color: var(--teal-2); }
    .ac-cmp td:nth-of-type(3)::before { content: var(--l3); }
    .ac-cmp tr:has(td > .ac-na) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
    .ac-cmp td:has(> .ac-na) { display: block; white-space: normal; min-inline-size: 0; }   /* fix round 3: the note wraps inside its own column */
    .ac-cmp td > .ac-na { display: block; white-space: normal; overflow-wrap: break-word; line-height: 1.3; }   /* a small caption under the dash */
    .ac-cmp td:has(> .ac-na)::before { display: block; margin-block-end: 2px; }
    .ac-cmp td.ac-k { background: color-mix(in srgb, var(--teal) 9%, transparent); margin: calc(-1 * var(--s-1)); padding: var(--s-1); border-radius: var(--r-1); }
    .ac-list tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-3); padding: var(--s-3); margin-block-end: var(--s-2);
      background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); }
    .ac-list tr > * { border: 0; padding: 0; text-align: start; }
    .ac-list tbody th { min-inline-size: 0; grid-column: 1; }
    .ac-list td:nth-of-type(5) { grid-column: 2; grid-row: 1; text-align: end; font-weight: var(--w-strong); color: var(--ink); }
    .ac-list td:nth-of-type(1), .ac-list td:nth-of-type(2) { grid-column: 1 / -1; font-size: var(--t-xs); }
    .ac-list td:nth-of-type(3), .ac-list td:nth-of-type(4) { grid-column: 1 / -1; font-size: var(--t-xs); text-align: start; white-space: normal; }   /* normal: a long labelled RAD range ran past a 360 px screen (5 Dec) */
    .ac-list td:nth-of-type(4)::before { content: var(--rad-l, 'Room prices (RAD): '); color: var(--fg-3); }
    /* AC_RAD_WHEN = '' drops the RAD column: the 4th cell is then the distance */
    .ac-list[data-norad] td:nth-of-type(4) { grid-column: 2; grid-row: 1; text-align: end; font-size: inherit; font-weight: var(--w-strong); color: var(--ink); }
    .ac-list[data-norad] td:nth-of-type(4)::before { content: none; }
    .ac-list td.ac-empty { display: none; }
  }

  /* ---------- phone ---------- */
  @media (max-width: 760px) {
    .ac > .ac-sec { padding-block: var(--s-6); }
    .ac > .ac-sec:first-child { padding-block-start: 0; }
    .ac > .ac-banner { margin-block-end: var(--s-6); }
    .ac > .ac-banner + .ac-sec { padding-block-start: 0; }
    .ac-near { grid-template-columns: 1fr; }
    .ac-near-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-3); }
    .ac-near-c > * { grid-column: 1; }
    .ac-near-km { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: var(--t-xl, 1.75rem); }
    .ac-near-w { grid-column: 1 / -1; }
    .ac-bar { grid-template-columns: minmax(0, 1fr) 4.5rem; }
    .ac-bar-n { grid-column: 1 / -1; }
    .ac-bar-t { grid-column: 1; }
    .ac-banner { flex-direction: column; align-items: flex-start; }
  }

  /* =================== v3 (4 Dec 2026): the top, charts, Then and now, ranks, health, projects, operators =================== */
  /* hero: eyebrow above the H1, audience line below the standfirst (pg_open prints crumbs, h1, sub, then hero_html: flex order) */
  /* pg_open prints crumbs, h1, sub, then hero_html: the order below puts the eyebrow above the H1 and the audience line under the standfirst */
  .ac-hero .pg-bc { order: 0; }
  .ac-hero .pg-bc ol { align-items: center; row-gap: 0; }
  .ac-hero .pg-bc li { min-block-size: 0; }
  .ac-hero .pg-bc li[aria-current] { padding-block: var(--s-1); }
  .ac-hero .ac-kick { order: 1; margin: 0 0 var(--s-2); font: var(--w-strong) var(--t-xs)/1.3 var(--f); letter-spacing: .14em; text-transform: uppercase; color: #7fd6c9; }
  .ac-hero .ac-kick b { color: color-mix(in srgb, #ffffff 55%, transparent); font-weight: inherit; }
  .ac-hero .ac-kick .ac-pcs { white-space: nowrap; }   /* the postcode fact line wraps as one piece ("Postcode 2009") */
  .ac-hero .pg-h1 { order: 2; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); line-height: .98; letter-spacing: -.035em; }
  .ac-hero .pg-sub { order: 3; max-inline-size: 36rem; margin-block-start: var(--s-4); font-size: var(--t-md); line-height: 1.5; }
  .ac-hero .ac-for { order: 4; margin: var(--s-3) 0 0; max-inline-size: 36rem; font-size: var(--t-sm); line-height: 1.5; color: color-mix(in srgb, #ffffff 62%, transparent); }

  /* overview (5 Dec restyle): the headline figures as one hairline strip (the portfolio page's .pf-kpis) that sits over the foot of the hero,
     then the three introduction sentences as labelled rows beside "On this page", then the sources as fine print */
  .ac-ov { gap: var(--s-6); }
  .ac-kpis { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: calc(-1 * (var(--s-6) + var(--s-6))) 0 0; padding: 0; list-style: none;
    background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); box-shadow: var(--e-1); }
  .ac-kpis[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-kpi { padding: var(--s-4) var(--s-5) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); min-inline-size: 0; border-inline-start: 1px solid var(--hair); }
  .ac-kpi:first-child { border-inline-start: 0; }
  @supports (grid-template-rows: subgrid) {
    .ac-kpi { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: var(--s-1); align-content: start; }
    .ac-kpi-c { align-self: end; }
  }
  .ac-kpi-l { font: var(--w-strong) var(--t-xs)/1.25 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
  .ac-kpi-v { font: var(--w-h) var(--t-kpi)/1.05 var(--f); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-kpi-v small { font-size: .5em; font-weight: var(--w-med); letter-spacing: 0; color: var(--fg-3); }
  .ac-kpi-s { font-size: var(--t-sm); line-height: 1.45; color: var(--fg-2); overflow-wrap: anywhere; }
  .ac-kpi-c { margin-block-start: auto; padding-block-start: var(--s-2); font-size: var(--t-xs); line-height: 1.4; font-weight: var(--w-strong); letter-spacing: .02em; color: var(--fg-2); }
  .ac-kpi-c.is-lo { color: var(--fg-2); }   /* fix round 2: neutral, the same for above and below (the words carry it) */
  .ac-kpi-c.is-na { color: var(--fg-3); font-weight: var(--w-med); }
  .ac-ov-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 25rem); gap: var(--s-5) clamp(var(--s-6), 5vw, var(--s-8)); align-items: start; }
  .ac-ov-t { display: flex; flex-direction: column; gap: var(--s-4); min-inline-size: 0; }
  .ac-ov-lead { margin: 0; font: var(--w-h) var(--t-lg)/1.12 var(--f); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
  .ac-ov-intro { margin: 0; display: flex; flex-direction: column; border-block-start: 1px solid var(--hair-2); }
  .ac-ov-intro > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding-block: var(--s-3); border-block-end: 1px solid var(--hair); }
  .ac-ov-intro dt { padding-block-start: .3em; font: var(--w-strong) var(--t-xs)/1.3 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-2); }
  .ac-ov-intro dd { margin: 0; max-inline-size: 64ch; font-size: var(--t-base); line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
  .ac-ov-intro b { color: var(--ink); font-weight: var(--w-strong); }
  .ac-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); align-content: start; margin: 0; padding: 0; }
  .ac-toc span { grid-column: 1 / -1; display: flex; align-items: flex-end; min-block-size: calc(var(--t-lg) * 1.12); padding-block-end: var(--s-4); border-block-end: 1px solid var(--hair-2);
    font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
  .ac .ac-toc a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-block-size: 44px; border-block-end: 1px solid var(--hair);
    font-size: var(--t-sm); font-weight: var(--w-med); line-height: 1.25; color: var(--ink); text-decoration: none; }
  .ac-toc { counter-reset: actoc; }
  .ac .ac-toc a { counter-increment: actoc; justify-content: flex-start; }
  .ac .ac-toc a::before { content: counter(actoc, decimal-leading-zero); flex: none; inline-size: 1.6em; color: var(--orange-dk); font-size: var(--t-xs); font-weight: var(--w-strong); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
  .ac .ac-toc a::after { content: "\2193"; margin-inline-start: auto; color: var(--fg-3); font-weight: 400; }
  .ac .ac-toc a:hover { color: var(--teal-2); border-block-end-color: var(--teal); }
  .ac .ac-toc a:hover::after { color: var(--teal-2); }
  .ac-ov-src { margin: 0; max-inline-size: 100ch; font-size: var(--t-xs); line-height: 1.55; color: var(--fg-3); }
  .ac-oth-n b { color: var(--fg-2); }

  /* charts: horizontal bars with gridlines, legend, end values and a source line (server-rendered; no library) */
  .ac-ch, .ac-ch2 > .ac-ch { margin: 0; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); padding: var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); min-inline-size: 0; }
  .ac-ch-t { font: var(--w-strong) var(--t-md)/1.3 var(--f); color: var(--ink); text-align: start; caption-side: top; padding: 0 0 var(--s-2); }
  .ac-ch-k { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-xs); color: var(--fg-2); }
  .ac-ch-k span { display: inline-flex; align-items: center; gap: var(--s-2); }
  .ac-ch-sw { display: inline-block; inline-size: 14px; block-size: 10px; border-radius: 2px; }
  .ac-ch .s1, .ac-ch-sw.s1 { background: var(--orange); }
  .ac-ch .s2, .ac-ch-sw.s2 { background: var(--teal); }
  .ac-ch .s3, .ac-ch-sw.s3 { background: color-mix(in srgb, var(--teal) 38%, var(--surface)); }
  .ac-ch .s4, .ac-ch-sw.s4 { background: color-mix(in srgb, var(--fg-3) 45%, var(--surface)); }
  .ac-ch .s5, .ac-ch-sw.s5 { background: var(--navy-9, #1f2a44); }
  .ac-ch .ac-rv-c, .ac-ch-sw.ac-rv-c { background: var(--ac-rv); }
  .ac-ch .ac-oth-c, .ac-ch-sw.ac-oth-c { background: var(--ac-oth); }
  .ac-ch .q0, .ac-ch-sw.q0 { background: color-mix(in srgb, var(--teal) 30%, var(--surface)); }
  .ac-ch .q1, .ac-ch-sw.q1 { background: color-mix(in srgb, var(--teal) 60%, var(--surface)); }
  .ac-ch .q2, .ac-ch-sw.q2 { background: var(--teal); }
  .ac-ch .q3, .ac-ch-sw.q3 { background: var(--navy-9, #1f2a44); }
  .ac-ch-g { display: flex; flex-direction: column; gap: var(--s-3); }
  .ac-ch-r { display: grid; grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr); gap: var(--s-3); align-items: center; }
  .ac-ch-c { font-size: var(--t-sm); line-height: 1.3; color: var(--fg-2); }
  .ac-ch-c small { display: block; color: var(--fg-3); font-size: var(--t-xs); }
  .ac-ch-bs { display: flex; flex-direction: column; gap: 3px; padding-block: 2px;
    background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: calc((100% - 5.5rem) / 4) 100%; background-repeat: repeat-x; }
  .ac-ch-b { display: flex; align-items: center; gap: var(--s-2); min-block-size: 16px; }
  .ac-ch-b i { display: block; block-size: 14px; inline-size: calc(var(--w) * (100% - 5.5rem)); min-inline-size: 2px; border-radius: 0 3px 3px 0; flex: none; }
  .ac-ch-b b { font-size: var(--t-xs); font-weight: var(--w-strong); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ac-ch-ax { display: grid; grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr); gap: var(--s-3); border-block-start: 1px solid var(--hair-2); padding-block-start: 2px; }
  .ac-ch-ticks { display: flex; justify-content: space-between; inline-size: calc(100% - 5.5rem); font-size: var(--t-xs); color: var(--fg-3); font-variant-numeric: tabular-nums; }
  .ac-ch-ticks i { font-style: normal; }
  .ac-ch-src { margin: 0; font-size: var(--t-xs); line-height: 1.5; color: var(--fg-3); }
  .ac-vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ac-ch2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  /* 100% stacked */
  .ac-st-bar { display: flex; block-size: 26px; border-radius: 3px; background: var(--alt); margin-block-start: 1.1em; }
  .ac-st-bar i:first-child { border-radius: 3px 0 0 3px; } .ac-st-bar i:last-child { border-radius: 0 3px 3px 0; }
  .ac-st-bar i { display: flex; align-items: center; justify-content: center; flex: 0 0 calc(var(--w) * 1%); min-inline-size: 2px; position: relative; }
  .ac-st-bar i b { font-size: var(--t-xs); font-weight: var(--w-strong); color: #ffffff; font-variant-numeric: tabular-nums; }
  .ac-st-bar i.q0 b, .ac-st-bar i.q1 b, .ac-st-bar i.s3 b { color: var(--ink); }
  .ac-st-bar i b.ac-st-out { position: absolute; inset-block-end: 100%; inset-inline-start: 0; padding-block-end: 1px; color: var(--fg-2); font-weight: var(--w-med); white-space: nowrap; }
  .ac-st-bar i:last-child b.ac-st-out { inset-inline-start: auto; inset-inline-end: 0; }
  .ac-ch-st .ac-ch-g { gap: var(--s-4); padding-block-start: var(--s-2); }
  .ac-ch-st .ac-ch-r { align-items: end; }
  /* range bars (RAD by room type) */
  .ac-rng { display: flex; flex-direction: column; gap: 4px; }
  .ac-rng-t { position: relative; block-size: 16px; inline-size: calc(100% - 0rem); background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 25% 100%; }
  .ac-rng-b { position: absolute; inset-block: 3px; inset-inline-start: calc(var(--a) * 100%); inline-size: max(3px, calc((var(--b) - var(--a)) * 100%)); background: var(--orange); border-radius: 3px; opacity: .55; }
  .ac-rng-m, .ac-rng-g { position: absolute; inset-block: 0; inline-size: 4px; margin-inline-start: -2px; inset-inline-start: calc(var(--p) * 100%); border-radius: 2px; }
  .ac-rng-m { background: var(--orange-dk); }
  .ac-rng-b.is-clip { border-radius: 3px 0 0 3px; background: linear-gradient(90deg, var(--orange) 85%, transparent); }
  .ac-rng-g { background: var(--teal); }
  .ac-ch-mk { display: inline-block; inline-size: 4px; block-size: 12px; border-radius: 2px; background: var(--orange-dk); }
  .ac-ch-mk-g { background: var(--teal); }
  .ac-rng b { font-size: var(--t-xs); font-weight: var(--w-strong); color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-rng b small { color: var(--fg-3); font-weight: var(--w-med); }
  .ac-ch-rng .ac-ch-ticks { inline-size: 100%; }

  /* Then and now */
  .ac-tn { display: flex; flex-direction: column; gap: var(--s-3); background: var(--alt); border-radius: var(--r-2); padding: var(--s-4) var(--s-5); border-inline-start: 4px solid var(--navy-9, #1f2a44); }
  .ac-tntbl td, .ac-optbl td, .ac-rp td { white-space: nowrap; }
  .ac-num { text-align: end; }
  .ac-rp caption { padding: var(--s-3) var(--s-4) var(--s-2); }
  .ac-tbl thead th small { font-weight: var(--w-med); letter-spacing: 0; text-transform: none; }

  /* rank strip */
  .ac-rks { display: flex; flex-direction: column; gap: var(--s-3); }
  .ac-rk-g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--s-3); }
  .ac-rk { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); }
  .ac-rk-l { font: var(--w-strong) var(--t-xs)/1.25 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
  .ac-rk-v { font: var(--w-h) var(--t-md)/1.2 var(--f); color: var(--ink); }
  .ac-rk-g { position: relative; block-size: 10px; border-radius: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--teal) 15%, var(--surface)), var(--teal)); margin-block: var(--s-1); }
  .ac-rk-g i { position: absolute; inset-block: -4px; inline-size: 4px; margin-inline-start: -2px; inset-inline-start: calc(var(--p) * 1%); background: var(--ink); border-radius: 2px; }
  .ac-rk-s { font-size: var(--t-xs); color: var(--fg-2); }

  /* health services strip */
  .ac-hs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: var(--s-3); }
  .ac-hs li { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: 2px; }
  .ac-hs-l { font: var(--w-strong) var(--t-xs)/1.25 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
  .ac-hs-v { font: var(--w-h) var(--t-lg)/1.1 var(--f); color: var(--ink); font-variant-numeric: tabular-nums; }
  .ac-hs-s { font-size: var(--t-sm); color: var(--fg-2); overflow-wrap: anywhere; }

  /* planned projects */
  .ac-proj { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--s-3); }
  .ac-proj li { background: var(--surface); border: 1px solid var(--hair); border-block-start: 3px solid var(--navy-9, #1f2a44); border-radius: var(--r-2); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); }
  .ac-proj li.is-done { border-block-start-color: var(--hair-2); }
  .ac-proj-st { font: var(--w-strong) var(--t-xs)/1.25 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-2); }
  .ac-proj li.is-done .ac-proj-st { color: var(--fg-3); }
  .ac-proj-n { font: var(--w-strong) var(--t-base)/1.3 var(--f); color: var(--ink); }
  .ac-proj-m { font-size: var(--t-sm); color: var(--fg-2); }

  /* operators */
  .ac-ops { display: flex; flex-direction: column; gap: var(--s-3); }

  /* headings only: Outfit 600 (page title, section and card headings, chart and table titles). Figures stay in Geist. */
  .ac-hero .pg-h1, .ac .ac-h2, .ac .ac-h3, .ac .ac-h4, .ac .ac-ov-lead, .ac .ac-ch-t, .ac-404 h2 { font-family: var(--ac-h); font-weight: 600; }
  .ac-hero .pg-h1 { letter-spacing: -.02em; }
  .ac .ac-h2, .ac .ac-ov-lead { letter-spacing: -.015em; }
  .ac .ac-h3, .ac .ac-ch-t { letter-spacing: 0; }
  @media (max-width: 900px) {
    .ac-kpis, .ac-kpis[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-kpi:nth-child(odd) { border-inline-start: 0; }
    .ac-kpi:nth-child(n + 3) { border-block-start: 1px solid var(--hair); }
    .ac-ov-b { grid-template-columns: minmax(0, 1fr); }
    .ac-toc span { min-block-size: 0; padding-block-end: var(--s-3); }
  }
  @media (max-width: 640px) {
    .ac-hero { padding-block-end: var(--s-7); }
    .ac-hero .pg-sub { margin-block-start: var(--s-3); font-size: var(--t-base); }
    .ac-hero .ac-for { display: none; }   /* fix round 2: the audience line gives way on phones so the figures reach the first screen */
    .ac-atlas { margin-block-start: var(--s-3); aspect-ratio: 2.4 / 1; }
    .ac-hero .pg-sub { line-height: 1.42; }
    .ac-kpi-c { align-self: start; margin-block-start: 0; padding-block-start: 0; }
   /* no gap above a cell's last line */
    .ac-ov { gap: var(--s-5); }
    .ac-kpis { margin-block-start: calc(-1 * (var(--s-6) + var(--s-5))); }
    .ac-kpi { padding: var(--s-3); }
    .ac-kpi-v { font-size: calc(var(--t-kpi) * .86); }
    .ac-ov-intro > div { grid-template-columns: minmax(0, 1fr); }
    .ac-ov-intro dt { padding-block-start: 0; }
    .ac-ch, .ac-ch2 > .ac-ch { padding: var(--s-3); }
    .ac-ch-r, .ac-ch-ax { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
    .ac-ch-ax > span:first-child { display: none; }
    .ac-ch-c { font-weight: var(--w-med); color: var(--ink); }
    .ac-ch-b i { inline-size: calc(var(--w) * (100% - 4.5rem)); }
    .ac-ch-bs { background-size: calc((100% - 4.5rem) / 4) 100%; }
    .ac-ch-ticks { inline-size: calc(100% - 4.5rem); }
    .ac-ch2 { grid-template-columns: minmax(0, 1fr); }
    .ac-tn { padding: var(--s-3); }
    /* the Then and now, operators and room x operator tables: one card per row, each value labelled */
    .ac-scroll:has(.ac-tntbl), .ac-scroll:has(.ac-optbl), .ac-scroll:has(.ac-rp) { overflow: visible; border: 0; background: none; }
    .ac-tntbl, .ac-tntbl tbody, .ac-optbl, .ac-optbl tbody, .ac-rp, .ac-rp tbody { display: block; }
    .ac-tntbl thead, .ac-optbl thead, .ac-rp thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
    .ac-rp caption { display: block; }
    .ac-tntbl tr, .ac-optbl tr, .ac-rp tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-1) var(--s-3); padding: var(--s-3); margin-block-end: var(--s-2);
      background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); }
    .ac-tntbl tr > *, .ac-optbl tr > *, .ac-rp tr > * { border: 0; padding: 0; text-align: start; white-space: normal; }
    .ac-tntbl tbody th, .ac-optbl tbody th, .ac-rp tbody th { grid-column: 1 / -1; font-weight: var(--w-strong); }
    .ac-tntbl td::before, .ac-optbl td::before, .ac-rp td::before { content: attr(data-l); display: block; font: var(--w-med) var(--t-xs)/1.25 var(--f); color: var(--fg-3); }
    .ac .ac-tntbl td.ac-num, .ac .ac-optbl td.ac-num, .ac .ac-rp td.ac-num { text-align: start; white-space: normal; }   /* normal: 'Aged 75-84, Census -> latest' ran past the card (fix round 1) */
  }
  /* short phones (fix round 3): a 2.75:1 map strip with its own framing (--pw3 / --px3 / --py3) and tighter spacing, so more of the strip is on the first screen */
  @media (max-width: 640px) and (max-height: 820px) {
    .ac-hero { padding-block-start: var(--s-3); }
    .ac-hero .pg-sub { margin-block-start: var(--s-2); }
    .ac-atlas { margin-block-start: var(--s-2); aspect-ratio: 2.75 / 1; }
    .ac-atlas .ac-herobg { inset-block-start: var(--py3, var(--py2, 0%)); inset-inline-start: var(--px3, var(--px2, 0%)); inline-size: var(--pw3, var(--pw2, 100%)); }
    .ac-kpi { padding-block: var(--s-2); }
  }
}

/* 5 Dec 2026 (webLead brief): the nearby hospitals section and the projects swiper. The rail itself is the CF2 infrastructure rail (asCss/cf2/infra.css, loaded as it is). */
@layer pg {
  .ac-dot[data-k="hosp"] { background: var(--ac-hosp); }
  .ac-hosp-t { margin-block-end: var(--s-4); }
  .ac-hosp-sub { display: block; font-weight: var(--w-med); color: var(--fg-3); font-size: var(--t-xs); }
  .ac-hosp tbody th { min-inline-size: 11rem; }
  .ac-hosp th small, .ac-hosp td { white-space: nowrap; }
  .ac .ac-hs-s a { color: inherit; }
  #projects .cf2-inf { margin-block: var(--s-2) var(--s-4); }
  #projects .cf2-inf-name a { color: inherit; }
  .ac-allproj { margin-block: var(--s-3); }
  .ac-allproj > summary { cursor: pointer; min-block-size: 44px; display: flex; align-items: center; font-weight: var(--w-strong); color: var(--teal); }
  .ac-allproj > summary::before { content: "\25B8"; margin-inline-end: var(--s-2); transition: transform .15s; }
  .ac-allproj[open] > summary::before { transform: rotate(90deg); }
  @media (prefers-reduced-motion: reduce) { .ac-allproj > summary::before { transition: none; } }
  @media (max-width: 760px) {
    .ac-hosp, .ac-hosp tbody, .ac-projtbl, .ac-projtbl tbody { display: block; }
    .ac-hosp thead, .ac-projtbl thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
    .ac-hosp tr, .ac-projtbl tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-1) var(--s-3); padding: var(--s-3); margin-block-end: var(--s-2);
      background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); }
    .ac-hosp tr > *, .ac-projtbl tr > * { border: 0; padding: 0; text-align: start; white-space: normal; }
    .ac-hosp tbody th, .ac-projtbl tbody th { grid-column: 1 / -1; font-weight: var(--w-strong); min-inline-size: 0; }
    .ac-hosp td::before, .ac-projtbl td::before { content: attr(data-l); display: block; font: var(--w-med) var(--t-xs)/1.25 var(--f); color: var(--fg-3); }
    .ac .ac-hosp td.ac-num, .ac .ac-projtbl td.ac-num { text-align: start; white-space: normal; }
    .ac-hosp td:last-child { grid-column: 1 / -1; }
    .ac-hosp td.is-na { display: none; }   /* a phone card shows only what is recorded */
  }
}

/* Shared partials rendered on this page (the approvals panel renders on the server only): the DA panel (#approvalsAgedCare) and the
   sector-reports band (#as-sr) take the page's faces, Geist for text and figures, Outfit for headings. Unlayered and scoped by id,
   because the partials' own rules are unlayered (some !important, up to one id + two classes); <i> icons keep Font Awesome. */
#approvals #approvalsAgedCare, #approvals #approvalsAgedCare *:not(i), #as-sr, #as-sr *:not(i) {
  font-family: "Geist", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
#approvals #approvalsAgedCare :is(h1, h2, h3, h4, h5, h6, .as-title), #as-sr .as-sr-h, #as-sr h3 {
  font-family: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif !important; font-weight: 600;
}

/* ---- Section headings write themselves in once (round 4), as the CF2 area pages' block headings do. COPIED from asCss/cf2/graphics.css
   (the ".cf2-b-h[data-hd]" block, about lines 789 to 810; the same rules are in asCss/cf2/full.css for the Full chapters), re-scoped to this page's
   section headings (.ac-head > .ac-h2). Class names and states are CF2's: cf2-hd-w (word), cf2-hd-c (character), cf2-hd-tp (topic words),
   cf2-hd-r (the rest of the heading); data-hd = arm (characters hidden, the box is final: nothing moves) -> go (each character rises out of a blur
   in the accent and settles to the ink colour; the rest of the heading, the eyebrow and the note fade in quietly) -> done. The keyframes are CF2's
   cf2-hs-in / cf2-hs-op / cf2-hs-fade under an ac- name. Only opacity, transform, filter and colour change. Nothing for reduced motion or print
   (agedarea_pg.js does not arm either). */
@layer pg {
  .ac-head > .ac-h2[data-hd] .cf2-hd-w { display: inline-block; white-space: nowrap; }
  .ac-head > .ac-h2[data-hd] .cf2-hd-c { display: inline-block; }
  .ac-head > .ac-h2[data-hd="arm"] .cf2-hd-c, .ac-head > .ac-h2[data-hd="arm"] .cf2-hd-r, .ac-head > .ac-h2[data-hd="arm"] ~ .ac-note,
  .ac-head:has(> .ac-h2[data-hd="arm"]) > .ac-eyebrow { opacity: 0; }
  .ac-head > .ac-h2[data-hd="go"] .cf2-hd-c { animation: ac-hs-in var(--hd-dur, .56s) var(--ease) backwards; animation-delay: calc(var(--i) * var(--hd-step)); }
  .ac-head > .ac-h2[data-hd="go"] .cf2-hd-r { animation: ac-hs-op .8s var(--ease) var(--hd-rule) backwards; }
  .ac-head:has(> .ac-h2[data-hd="go"]) > .ac-eyebrow { animation: ac-hs-op .6s var(--ease) backwards; }
  .ac-head > .ac-h2[data-hd="go"] ~ .ac-note { animation: ac-hs-fade .8s var(--ease) var(--hd-late) backwards; }
  @keyframes ac-hs-in { from { opacity: 0; transform: translate3d(0, .42em, 0); filter: blur(7px); color: var(--tick, var(--orange-dk)); } 55% { color: var(--tick, var(--orange-dk)); } }
  @keyframes ac-hs-op { from { opacity: 0; } }
  @keyframes ac-hs-fade { from { opacity: 0; transform: translate3d(0, .4rem, 0); } }
  @media (prefers-reduced-motion: reduce), print {
    .ac-head > .ac-h2[data-hd] :is(.cf2-hd-c, .cf2-hd-r), .ac-head > .ac-h2[data-hd] ~ .ac-note, .ac-head:has(> .ac-h2[data-hd]) > .ac-eyebrow { animation: none; opacity: 1; transform: none; filter: none; }
  }
}

/* Fix round 5: the corner graphic (asCss/pg/corner.css, shared) is hidden while the dark sector band is under it (agedarea_pg.js sets .ac-cnr-off
   on <html>). The component's own fade and timing; the extra class in the selector lets this win over its [data-on] rule. */
@layer pg {
  html.ac-cnr-off .pg-cnr, html.ac-cnr-off .pg-cnr[data-on] { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
  @media (prefers-reduced-motion: reduce) { html.ac-cnr-off .pg-cnr, html.ac-cnr-off .pg-cnr[data-on] { transition: none; } }
}
/* the project card titles are headings: Outfit 600 (Chris, 25 Nov), over the CF2 rail's own layer (unlayered, scoped to this page's section) */
#projects .cf2-inf-name { font-family: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; }

/* ---------- the map hub (5 Dec, BRIEF_map_hub_rework): one live map with every layer, the list beside it, filters that drive both ----------
   The interface follows the aged care and medical modals (type toggles with Select all / Remove all, rich popups, a Map | List switch on
   phones), rewritten under ac- names: neither modal is loaded or edited. */
@layer pg {
  .ac { --ac-hpri: #f7ccd6; --ac-proj: #f2b705; }
  .ac-anchor { display: block; block-size: 0; scroll-margin-block-start: 6rem; }
  .ac-hub-card { border: 1px solid var(--hair-2); border-block-start: 4px solid var(--teal); border-radius: var(--r-2); background: var(--surface); overflow: hidden;
    box-shadow: 0 18px 40px -28px rgb(13 22 32 / .55); }
  .ac-hub-bar { display: grid; gap: var(--s-3); padding: var(--s-4); background: var(--alt); border-block-end: 1px solid var(--hair); }
  .ac-fgrp { display: grid; gap: var(--s-1); min-inline-size: 0; align-content: start; }
  .ac-fhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-4); min-block-size: 24px; }
  .ac-flab { font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); }
  .ac-hub .ac-filters { align-items: center; }
  .ac-hub .ac-chip { min-block-size: 44px; white-space: nowrap; }
  .ac-chip-f[aria-pressed="false"] { opacity: 1; background: var(--surface); }
  .ac-chip-f b { font-weight: var(--w-med); color: var(--fg-3); }
  .ac-chip-f[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
  .ac-chip-f[aria-pressed="true"] b { color: color-mix(in srgb, var(--surface) 80%, transparent); }
  .ac-chip-f[aria-pressed="true"]:hover { background: var(--ink); }
  .ac-chip-f:disabled { opacity: .45; cursor: default; }
  .ac-dot[data-k="hpub"] { background: var(--ac-hosp); }
  .ac-dot[data-k="hpri"] { background: var(--ac-hpri); box-shadow: inset 0 0 0 2.5px var(--ac-hosp); }
  .ac-dot[data-k="proj"] { background: var(--ac-proj); border-radius: 1px; inline-size: 9px; block-size: 9px; transform: rotate(45deg); box-shadow: 0 0 0 1.5px var(--ac-ink); margin-inline: 2px calc(var(--s-2) + 2px); }
  .ac-chip[aria-pressed="false"] .ac-dot[data-k="proj"] { box-shadow: 0 0 0 1.5px var(--fg-3); }
  .ac-chip[aria-pressed="false"] .ac-dot[data-k] { background: transparent; box-shadow: inset 0 0 0 2px var(--fg-3); }
  .ac-fall { display: inline-flex; align-items: center; gap: var(--s-4); }
  .ac-fall .ac-lnk { min-block-size: 44px; font-size: var(--t-xs); }
  .ac-fhead:has(.ac-fall) { margin-block: -10px -6px; }
  .ac-lnk { appearance: none; background: none; border: 0; padding: 0; min-block-size: 44px; cursor: pointer; font: var(--w-med) var(--t-sm)/1.2 var(--f); color: var(--ink);
    text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .ac-lnk:hover { color: var(--teal); }
  .ac-hub-head { display: grid; gap: var(--s-2); padding: var(--s-3) var(--s-4); background: var(--surface); border-block-end: 1px solid var(--hair); min-inline-size: 0; }
  .ac-hub-count { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-3); font: var(--w-strong) var(--t-base)/1.3 var(--ac-h); color: var(--ink); min-block-size: 32px; }
  .ac-hub-count .ac-lnk { min-block-size: 44px; margin-block: -6px; }
  .ac-hub-sel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); padding: var(--s-3) var(--s-4); background: var(--surface); border-block-end: 1px solid var(--hair); min-inline-size: 0; }
  .ac-hub-sel:empty { display: none; }
  .ac-sel { display: grid; gap: 4px; min-inline-size: 0; }
  .ac-sel select { appearance: auto; inline-size: 100%; min-block-size: 44px; padding: 0 var(--s-2); border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: var(--w-med) var(--t-sm)/1.2 var(--f); }
  .ac-hub-why { margin: 0; }
  .ac-hub-split { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ac-hub-list { min-inline-size: 0; padding: var(--s-3); }
  .ac-hub-none { margin: var(--s-3); }
  .ac-hub .ac-map, .ac-hub .ac-map.has-pic:not(.is-on), .ac-hub .ac-map:not(.has-pic):not(.is-on) { aspect-ratio: 4 / 3; block-size: auto; border: 0; border-radius: 0; }
  .ac-hub .ac-map-go[hidden] { display: none; }

  /* the list: each service a card (at every width: the panel is a column beside the map) */
  .ac-hub .ac-scroll { overflow: visible; border: 0; background: none; }
  .ac-hub .ac-list, .ac-hub .ac-list tbody { display: block; }
  .ac-hub .ac-list thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .ac-hub .ac-list tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px var(--s-2); padding: var(--s-2) var(--s-3); margin-block-end: var(--s-2); cursor: pointer;
    background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); font-size: var(--t-xs); line-height: 1.45; color: var(--fg-2); }
  .ac-hub .ac-list tr[hidden] { display: none; }
  .ac-hub .ac-list tr > * { border: 0; padding: 0; text-align: start; min-inline-size: 0; background: none; white-space: normal; font-weight: 400; }
  .ac-hub .ac-list tbody th { display: contents; }
  .ac-hub .ac-list .ac-dot { order: 0; flex: none; margin-inline-end: 0; align-self: center; }
  .ac-row-go { appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: start; order: 1; flex: 1 1 calc(100% - 9.5rem); min-inline-size: 0;
    font: var(--w-strong) var(--t-sm)/1.3 var(--f); color: var(--ink); }
  .ac-hub .ac-list td.ac-num:last-child { order: 2; flex: none; margin-inline-start: auto; font: var(--w-strong) var(--t-sm)/1.3 var(--f); color: var(--ink); white-space: nowrap; }
  .ac-hub .ac-list tbody th small { order: 3; display: inline; font-size: var(--t-xs); color: var(--fg-2); }
  /* line 2: suburb, size, RAD. line 3 (muted): type, operator */
  .ac-hub .ac-list tr::before { content: ''; order: 6; flex: 0 0 100%; block-size: 0; }
  .ac-hub .ac-list td:nth-of-type(1) { order: 7; color: var(--fg-3); flex: none; }
  .ac-hub .ac-list td:nth-of-type(3) { order: 4; }
  .ac-hub .ac-list td:nth-of-type(3)::before { content: '\00b7\00a0'; }
  .ac-hub .ac-list td.ac-rad { order: 5; color: var(--ink); font-weight: var(--w-med); }
  .ac-hub .ac-list td.ac-rad::before { content: '\00b7\00a0RAD\00a0'; color: var(--fg-2); font-weight: 400; }
  .ac-hub .ac-list td:nth-of-type(2) { order: 8; flex: 1 1 0; min-inline-size: 0; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ac-hub .ac-list td:nth-of-type(2)::before { content: '\00b7\00a0'; }
  .ac-hub .ac-list td.ac-empty { display: none; }
  .ac-hub .ac-list tr:hover { border-color: var(--teal); }
  .ac-hub .ac-list tr.is-sel { border-color: var(--teal); box-shadow: inset 4px 0 0 var(--teal); background: color-mix(in srgb, var(--teal) 8%, var(--surface)); }
  .ac-hub .ac-more-row { margin-block-start: var(--s-2); }
  .ac-hub-switch, .ac-hub-fx, .ac-hub-done { display: none; }
  .ac-hub-about { margin-block: 0; }
  .ac-hub-rad { padding: var(--s-3) var(--s-4); background: var(--alt); border-block-end: 1px solid var(--hair); }

  /* the hospitals block: large figures, the nearest five with "Show on map", the full table in a panel */
  .ac-hosp-card { display: grid; gap: var(--s-4); padding: var(--s-4); background: var(--surface); border: 1px solid var(--hair-2); border-block-start: 4px solid var(--ac-hosp); border-radius: var(--r-2);
    box-shadow: 0 18px 40px -28px rgb(13 22 32 / .55); min-inline-size: 0; }
  .ac-hosp-big { gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-hosp-big .ac-tile { border: 0; border-radius: 0; background: none; padding: 0 var(--s-4); border-inline-start: 1px solid var(--hair); }
  .ac-hosp-big .ac-tile:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .ac-hosp-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-block-start: var(--s-4); border-block-start: 1px solid var(--hair); }
  .ac-hosp5 li { background: var(--alt); }
  .ac-more-ph { display: none; }
  .ac-hosp-big .ac-tile-v { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
  .ac-hosp5 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
  .ac-hosp5 li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-2) var(--s-3);
    background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-2); }
  .ac-hosp5-m { inline-size: 28px; block-size: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--f); background: var(--ac-hosp); color: #ffffff; }
  .ac-hosp5 li[data-pub="0"] .ac-hosp5-m { background: var(--ac-hpri); color: var(--ac-hosp); box-shadow: inset 0 0 0 2px var(--ac-hosp); }
  .ac-hosp5-n { display: grid; min-inline-size: 0; }
  .ac-hosp5-n b { font: var(--w-strong) var(--t-base)/1.3 var(--f); color: var(--ink); }
  .ac-hosp5-n small { font-size: var(--t-xs); color: var(--fg-2); }
  .ac-hosp5-k { font: var(--w-strong) var(--t-base)/1 var(--f); color: var(--ink); white-space: nowrap; }
  .ac-hosp5-go { min-block-size: 44px; padding: 0 var(--s-4); white-space: nowrap; }
  @media (max-width: 640px) {
    .ac-hosp-card { padding: var(--s-3); gap: var(--s-3); }
    .ac-hosp-big { grid-template-columns: minmax(0, 1fr); }
    .ac-hosp-big .ac-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px var(--s-3); padding: var(--s-2) 0; border-inline-start: 0; border-block-start: 1px solid var(--hair); }
    .ac-hosp-big .ac-tile:first-child { border-block-start: 0; padding-block-start: 0; }
    .ac-hosp-big .ac-tile-l { grid-column: 1; grid-row: 1; }
    .ac-hosp-big .ac-tile-s { grid-column: 1; grid-row: 2; font-size: var(--t-xs); }
    .ac-hosp-big .ac-tile-v { grid-column: 2; grid-row: 1 / 3; font-size: 2.25rem; }
    .ac-hosp-h .ac-btn { inline-size: 100%; }
    .ac-hosp5 li { padding: var(--s-2); gap: var(--s-2); }
    .ac-hosp5-go { padding: 0 var(--s-3); min-inline-size: 44px; }
    .ac-hosp5-go span { display: none; }
    .ac-hosp5-go { text-transform: capitalize; }
    .ac-more-ph { display: inline-flex; margin-block-start: var(--s-2); }
    .ac-optbl:not(.is-all) tr[data-more], .ac-cut:not(.is-all) tr[data-more] { display: none; }

  }
  .ac-hosp-all { margin-block: var(--s-2); }
  .ac-hosp-all > summary { cursor: pointer; min-block-size: 44px; display: flex; align-items: center; font-weight: var(--w-strong); color: var(--teal); }
  .ac-hosp-all > summary::before { content: "\25B8"; margin-inline-end: var(--s-2); }
  .ac-hosp-all[open] > summary::before { transform: rotate(90deg); }
  .ac-hosp-all[open] > summary { margin-block-end: var(--s-3); }
  .ac-hosp-all > .ac-fine { margin-block-start: var(--s-3); }
  .ac-hub .ac-more-row[hidden], .ac-hub-none[hidden], .ac-lnk[hidden], .ac-hub-why[hidden] { display: none; }

  @media (max-width: 760px) {
    .ac-hub .ac-map, .ac-hub .ac-map.has-pic:not(.is-on), .ac-hub .ac-map:not(.has-pic):not(.is-on) { aspect-ratio: 4 / 5; }
    .ac-hub .ac-map:not(.is-on) .ac-map-pic { inset-inline-start: var(--px2, 0%); }
    .ac-hub-bar { padding: var(--s-3); }
    .ac-hub .ac-filters .ac-chip { flex: none; padding-inline: var(--s-2); }
    /* the chip row scrolls sideways: hospitals and projects come second, so they are in view without scrolling; the row fades where it continues */
    .ac-hub-bar .ac-chip[data-k="hpub"] { order: -3; } .ac-hub-bar .ac-chip[data-k="res"] { order: -4; } .ac-hub-bar .ac-chip[data-k="hpri"] { order: -2; } .ac-hub-bar .ac-chip[data-k="proj"] { order: -1; }
    .ac-hub-bar .ac-frow { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); padding-inline-end: 2.5rem; }
    .ac-frow { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--s-3)); padding-inline: var(--s-3); scroll-padding-inline: var(--s-3); }
    .ac-frow::-webkit-scrollbar { display: none; }
    .ac-hub-head, .ac-hub-sel { padding: var(--s-2) var(--s-3); }
  }
  @media (max-width: 1023.98px) {
    .ac-hub-switch { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; padding: var(--s-2); background: var(--surface); border-block-end: 1px solid var(--hair); }
    .ac-hub-switch button { appearance: none; cursor: pointer; min-block-size: 44px; border: 1px solid var(--hair-2); background: var(--surface); color: var(--fg-2); font: var(--w-strong) var(--t-sm)/1 var(--f); }
    .ac-hub-switch button:first-child { border-radius: var(--r-1) 0 0 var(--r-1); }
    .ac-hub-switch button[data-v="list"] { border-radius: 0 var(--r-1) var(--r-1) 0; border-inline-start: 0; }
    .ac-hub-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
    .ac-hub-switch .ac-hub-fx::after { content: "\25BE"; margin-inline-start: 6px; display: inline-block; }
    .ac-hub-switch .ac-hub-fx[aria-expanded="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); color: var(--teal); }
    .ac-hub-switch .ac-hub-fx[aria-expanded="true"]::after { transform: rotate(180deg); }
    .ac-hub-rad .ac-frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-hub-rad .ac-frow .ac-chip { justify-content: space-between; }
    .ac-hub-done { display: inline-flex; grid-column: 1 / -1; }
    .ac-hub-head { order: 1; } .ac-hub-rad { order: 2; } .ac-hub-sel { order: 3; } .ac-hub-switch { order: 4; } .ac-hub-list, .ac-hub-map { order: 5; }
    /* phones: the room-price chips and the two dropdowns are one panel behind the Filters button; the type chips and the count stay in view */
    .ac-hub-switch .ac-hub-fx { display: block; padding: 0 var(--s-4); margin-inline-start: var(--s-2); border-radius: var(--r-1); white-space: nowrap; }
    .ac-hub-split:not(.fx-open) > .ac-hub-rad, .ac-hub-split:not(.fx-open) > .ac-hub-sel { display: none; }
    .ac-hub-rad, .ac-hub-sel { background: var(--alt); border-block-end: 0; }
    .ac-hub-sel { border-block-end: 1px solid var(--hair); }
    .ac-hub-rad .ac-frow { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .ac-hub-count { gap: var(--s-1) var(--s-3); }
    .ac-hub-split[data-view="map"] .ac-hub-list, .ac-hub-split[data-view="list"] .ac-hub-map { display: none; }
    .ac-hub-split:not(.is-all) .ac-list tr[data-cut] { display: none; }
  }
  @media (min-width: 1024px) {
    .ac-hub-split:not(.is-solo) { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); }
    .ac-hub-rad { grid-column: 1 / -1; grid-row: 1; }
    .ac-sel .ac-flab { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
    .ac-hub-head { grid-column: 1; grid-row: 2; border-inline-end: 1px solid var(--hair); border-block-end: 0; padding-block-end: 0; }
    .ac-hub-sel { grid-column: 1; grid-row: 3; border-inline-end: 1px solid var(--hair); }
    .ac-hub-split:not(.is-solo) .ac-hub-map { grid-column: 2; grid-row: 2 / 5; }
    .ac-hub-split.is-solo .ac-map { aspect-ratio: 12 / 5; }
    .ac-hub-list { grid-column: 1; grid-row: 4; block-size: 0; min-block-size: 100%; overflow-y: auto; overscroll-behavior: contain; border-inline-end: 1px solid var(--hair); background: var(--alt); scrollbar-width: thin; }
    .ac-hub .ac-more-row { display: none; }
  }
}
/* popups: after mapbox-gl.css, which is unlayered */
.ac-pop-wrap .mapboxgl-popup-content { padding: 12px 14px 12px; border-radius: 10px; box-shadow: 0 10px 30px rgb(13 22 32 / .3); font: 400 13px/1.4 "Geist", ui-sans-serif, system-ui, sans-serif; color: #1c2733; }
.ac-pop-wrap .mapboxgl-popup-close-button { inline-size: 32px; block-size: 32px; font-size: 20px; line-height: 1; color: #5b6875; border-radius: 0 10px 0 6px; }
.ac-pop-k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5b6875; padding-inline-end: 22px; }
.ac-pop-k i { flex: none; inline-size: 10px; block-size: 10px; border-radius: 50%; }
.ac-pop strong { display: block; margin: 4px 0 0; font: 600 15px/1.25 "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif; color: #0d1620; }
.ac-pop-s { display: block; color: #5b6875; }
.ac-pop dl { margin: 8px 0 0; padding: 8px 0 0; border-block-start: 1px solid #e3e8ee; display: grid; gap: 3px; }
.ac-pop dd { white-space: nowrap; }
.ac-pop dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.ac-pop dt { color: #5b6875; }
.ac-pop dd { margin: 0; font-weight: 600; text-align: end; color: #0d1620; }
.ac-pop-l { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-block-start: 1px solid #e3e8ee; display: grid; gap: 4px; }
.ac-pop-l button { appearance: none; inline-size: 100%; min-block-size: 44px; padding: 4px 8px; border: 1px solid #d5dce4; border-radius: 6px; background: #ffffff; cursor: pointer; text-align: start; font: 600 13px/1.3 "Geist", ui-sans-serif, system-ui, sans-serif; color: #0d1620; }
.ac-pop-l button small { display: block; font-weight: 400; color: #5b6875; }
#projects .cf2-inf-card.ac-card-hit { outline: 3px solid #f2b705; outline-offset: 3px; }
.ac-pop-a { display: inline-flex; align-items: center; min-block-size: 32px; margin-block-start: 6px; font-weight: 600; color: #00736d; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
/* the map's own zoom buttons: 44 px targets */
.ac-hub .mapboxgl-ctrl-group button { inline-size: 44px; block-size: 44px; }

/* ---------- "More than an aged care site" (5 Dec): the homepage's sector chooser (index.html 04 Sectors: .h5-idx / .h5-row / .h5-panel / .h5-sp /
   .h5-rep), copied under ac-sx names. Rows on the left and the open sector's panel on the right from 1024 px; rows that open in place below. ---------- */
@layer pg {
  .ac-sx-head .ac-sx-draw-b { align-self: flex-start; justify-self: start; margin-block-start: var(--s-2); }
  .ac-sx-draw-b em { font-style: italic; margin-inline: .28em; }
  .ac a.ac-sx-draw-b { text-decoration: none; }
  .ac-sx-idx { border-block-start: 1px solid var(--hair); }
  .ac-sx-row { border-block-end: 1px solid var(--hair); }
  .ac-sx-h { margin: 0; }
  .ac-sx-b { appearance: none; background: none; border: 0; border-inline-start: 3px solid transparent; cursor: pointer; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center; gap: var(--s-3); inline-size: 100%; min-block-size: 64px; padding: var(--s-3) var(--s-3); text-align: start; color: var(--ink); }
  .ac-sx-ic { inline-size: 28px; block-size: 28px; color: var(--ink); }
  .ac-sx-ic svg { inline-size: 100%; block-size: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .ac-sx-t { display: grid; gap: 2px; min-inline-size: 0; }
  .ac-sx-t b { font: var(--w-strong) var(--t-md)/1.15 var(--ac-h); letter-spacing: -.01em; color: var(--ink); }
  .ac-sx-t em { font: 400 var(--t-sm)/1.35 var(--f); font-style: normal; color: var(--fg-2); }
  .ac-sx-c { inline-size: 10px; block-size: 10px; border-inline-end: 2px solid var(--fg-2); border-block-end: 2px solid var(--fg-2); transform: rotate(45deg); margin-inline: var(--s-2); transition: transform .18s ease; }
  .ac-sx-row.is-on .ac-sx-c { transform: rotate(225deg); border-color: var(--orange); }
  .ac-sx-row.is-on .ac-sx-b { border-inline-start-color: var(--orange); }
  .ac-sx-panel { padding: var(--s-3) 0 var(--s-6); }
  .ac-sx-panel[hidden] { display: none; }
  .ac-sx:not(.is-js) .ac-sx-panel[hidden] { display: block; }
  .ac-sx:not(.is-js) .ac-sx-c { display: none; }
  .ac-sx-sp { display: grid; gap: var(--s-4); min-inline-size: 0; }
  .ac-sx-q { margin: 0; font: var(--w-h) clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.15 var(--ac-h); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
  .ac-sx-ill { margin: 0; position: relative; aspect-ratio: 16 / 9; background: #ffffff; border: 1px solid var(--hair); border-radius: var(--r-2); overflow: hidden; }
  .ac-sx-ill video { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
  .ac-sx-use { margin: 0; font: 400 var(--t-sm)/1.5 var(--f); color: var(--fg-2); }
  .ac-sx-use b { display: block; margin-block-end: var(--s-2); font: var(--w-strong) var(--t-xs)/1 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
  .ac-sx-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
  .ac-sx-pts li { position: relative; padding-inline-start: var(--s-4); font: 400 var(--t-sm)/1.45 var(--f); color: var(--fg-2); text-wrap: pretty; }
  .ac-sx-pts li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .55em; inline-size: 6px; block-size: 6px; background: var(--orange); }
  .ac-sx-acc { margin: 0; padding: var(--s-3) var(--s-4); border-inline-start: 3px solid var(--teal); background: var(--alt); font: var(--w-med) var(--t-sm)/1.45 var(--f); color: var(--ink); }
  .ac-sx-acc span { display: block; }
  .ac-sx-acc span + span { margin-block-start: var(--s-2); }
  .ac-sx-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
  .ac-sx-btns .ac-btn { text-decoration: none; }
  .ac-sx-rep > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-block-size: 48px; padding: 0 var(--s-4);
    border: 1px solid var(--hair-2); border-radius: var(--r-1); font: var(--w-strong) var(--t-sm)/1.2 var(--f); color: var(--teal-2); cursor: pointer; background: var(--surface); }
  .ac-sx-rep > summary::-webkit-details-marker { display: none; }
  .ac-sx-rep > summary { padding-block: var(--s-2); padding-inline-start: var(--s-2); justify-content: flex-start; }
  .ac-sx-rep > summary > span { flex: 1 1 auto; min-inline-size: 0; }
  .ac-sx-th { flex: none; inline-size: 96px; block-size: 54px; object-fit: cover; border: 1px solid var(--hair); border-radius: 4px; background: var(--alt); }
  .ac-sx-rep[open] > summary > .ac-sx-th { display: none; }
  .ac-sx-rep > summary::after { content: ""; inline-size: 9px; block-size: 9px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .ac-sx-rep[open] > summary::after { transform: translateY(2px) rotate(225deg); }
  .ac-sx-plate { margin: var(--s-3) 0 0; }
  .ac-sx-plate figcaption { margin-block-start: var(--s-2); font: 400 var(--t-xs)/1.45 var(--f); color: var(--fg-3); }
  .ac-sx-poster { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--hair); border-radius: var(--r-1); background: var(--alt); overflow: hidden; }
  .ac-sx-poster img, .ac-sx-poster video { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
  @media (max-width: 1023.98px) {
    .ac-sx-row.is-on .ac-sx-t em { display: none; }
    .ac-sx-panel { padding-inline: var(--s-3); }
    .ac-sx-btns .ac-btn { flex: 1 1 auto; }
  }
  @media (min-width: 1024px) {
    .ac-sx.is-js .ac-sx-idx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(7, auto) 1fr; align-items: start; border-block-start: 0; }
    .ac-sx.is-js .ac-sx-row { display: contents; }
    .ac-sx.is-js .ac-sx-h { grid-column: 1; border-block-end: 1px solid var(--hair); }
    .ac-sx.is-js .ac-sx-row:first-child .ac-sx-h { border-block-start: 1px solid var(--hair); }
    .ac-sx.is-js .ac-sx-row:not(.is-on) .ac-sx-b:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
    .ac-sx.is-js .ac-sx-row.is-on .ac-sx-b { background: var(--surface); }
    .ac-sx.is-js .ac-sx-c, .ac-sx.is-js .ac-sx-row.is-on .ac-sx-c { transform: rotate(-45deg); inline-size: 9px; block-size: 9px; }
    .ac-sx.is-js .ac-sx-panel { grid-column: 2; grid-row: 1 / 9; padding: var(--s-5); background: var(--surface); border: 1px solid var(--hair-2); border-inline-start: 0; border-radius: 0 var(--r-2) var(--r-2) 0;
      box-shadow: 0 18px 40px -30px rgb(13 22 32 / .5); }
    .ac-sx.is-js .ac-sx-sp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-5); align-items: start; }
    .ac-sx.is-js .ac-sx-sp > * { grid-column: 1 / -1; }
    .ac-sx.is-js .ac-sx-sp > .ac-sx-ill { grid-column: 1; grid-row: 2 / span 2; }
    .ac-sx.is-js .ac-sx-sp > .ac-sx-use { grid-column: 2; grid-row: 2; }
    .ac-sx.is-js .ac-sx-sp > .ac-sx-pts { grid-column: 2; grid-row: 3; }
  }
  @media (prefers-reduced-motion: reduce) { .ac-sx-c { transition: none; } }
}

/* ---------- full-width chapter bands, as on the homepage (5 Dec): index.html's .h5-sec / .h5-sec--cream, paper #FDFDFC and cream #EFEDE7, and one
   dark band (navy #0C141D). The site's own tokens hold the same values (--bg, --alt, --navy-9) and their dark-theme partners (#0F1923, #122030),
   so the bands follow the theme. No wrapper element: the band colour is painted past the content width by border-image's outset, which adds no
   scroll width and no stacking context; the content keeps its width. A chapter's sections share its band. ---------- */
@layer pg {
  .ac { --ac-paper: var(--bg, #FDFDFC); --ac-cream: var(--alt, #EFEDE7); }
  .ac > .ac-bp, .ac > .ac-bc, .ac > .ac-banner { border-image: conic-gradient(var(--ac-band) 0 0) fill 0 / 0 / 0 100vw; }
  .ac > .ac-bp { --ac-band: var(--ac-paper); }
  /* on cream, a tinted box set straight on the band would vanish: it turns white there, and the cards keep cream for their own tinted parts */
  .ac > .ac-bc { --ac-band: var(--ac-cream); --alt: var(--surface); }
  .ac > .ac-bc :is(.ac-hub-card, .ac-hosp-card, .ac-card, .ac-sx-panel, .ac-scroll, .ac-near-c, .ac-tile, .ac-ch) { --alt: color-mix(in srgb, var(--ac-cream) 50%, var(--surface)); }   /* a lighter tint inside a card, so the card still reads against the band */
  .ac > .ac-sec.is-lead { border-block-start: 0; }
  .ac > .ac-bc.is-lead > .ac-head > .ac-eyebrow::before { color: color-mix(in srgb, var(--orange-dk) 80%, #000000); }   /* the chapter number on cream: 3.9:1 (it was 2.98:1) */
  .ac > .ac-sec.is-lead, .ac > .ac-sec.is-sub:last-of-type { padding-block-end: var(--s-7); }
  /* the one dark band: the custom report banner, edge to edge */
  .ac > .ac-banner { --ac-band: var(--navy-9); border-radius: 0; margin-block-end: 0; padding-inline: 0; }
  .ac > .ac-banner + .ac-sec { padding-block-start: var(--s-7); }
  /* dark theme: the banner is a step deeper than the page's dark bands, so it still reads as the accent; a tinted box set on a band gets an edge */
  html[data-theme="dark"] .ac > .ac-banner { --ac-band: #070B11; background: #070B11; }
  html[data-theme="dark"] .ac > .ac-bc.is-lead > .ac-head > .ac-eyebrow::before { color: var(--orange-dk); }
  .ac > .ac-bc .ac-ctx { border: 1px solid var(--hair); }
  .ac > .ac-src { margin: 0; padding-block: 0 var(--s-7); }
  .pg-body:has(> .ac) { padding-block-end: 0; }
  @media (max-width: 760px) {
    .ac > .ac-banner { margin-block-end: 0; }
    .ac > .ac-banner + .ac-sec { padding-block-start: var(--s-6); }
    .ac > .ac-src { padding-block-end: var(--s-6); }
  }
}
/* ---------- the Google search "G" (5 Dec): beside the name on every list card and in every map popup; 44 px to touch, small to look at ---------- */
@layer pg {
  .ac-g { display: inline-grid; place-items: center; flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; color: var(--fg-3); text-decoration: none; }
  .ac a.ac-g { color: var(--fg-3); }
  .ac a.ac-g:hover { color: var(--ink); }
  .ac-g:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
  .ac-hub .ac-list .ac-g { order: 2; margin-block: -6px; margin-inline: 0 calc(-1 * var(--s-1)); align-self: flex-start; }
  .ac-hub-added { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-3); color: var(--ink); font: var(--w-strong) var(--t-sm)/1.3 var(--f); }
  .ac-hub-added > span::before { content: ""; display: inline-block; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--ac-hosp); margin-inline-end: var(--s-2); }
  .ac-hub-added[hidden] { display: none; }
  .ac-hub-added .ac-lnk { min-block-size: 44px; margin-block: -10px; }
  .ac-hosp-sep th { background: var(--alt); color: var(--fg-2); font: var(--w-strong) var(--t-xs)/1.3 var(--f); letter-spacing: .04em; text-align: start; white-space: normal; }
  .ac-hosp tr[data-x] th { font-weight: var(--w-med); }
  .ac-hosp-mapc { text-align: end; }
  .ac-hosp-rowgo { min-block-size: 44px; padding: 0 var(--s-3); white-space: nowrap; font-size: var(--t-sm); }
  @media (max-width: 760px) {
    .ac-g { inline-size: 44px; block-size: 44px; }
    .ac-hub .ac-list .ac-g { margin-block: -10px; }
    .ac-hosp tr.ac-hosp-sep { display: block; padding: var(--s-2) 0; background: none; border: 0; }
    .ac-hosp-sep th { background: none; padding: 0; }
    .ac-hosp-rowgo span { display: inline; }
    .ac .ac-hosp td.ac-hosp-mapc::before { content: none; }
    .ac-hosp-rowgo { inline-size: 100%; text-transform: none; }
    .ac .ac-hosp tr[data-x] { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0 var(--s-3); padding: var(--s-2) var(--s-3); }
    .ac .ac-hosp tr[data-x] th { grid-column: 1; grid-row: 1; }
    .ac .ac-hosp tr[data-x] td[data-l="Type"] { grid-column: 1; grid-row: 2; font-size: var(--t-xs); color: var(--fg-2); }
    .ac .ac-hosp tr[data-x] td[data-l="Type"]::before, .ac .ac-hosp tr[data-x] td[data-l="Distance"]::before { content: none; }
    .ac .ac-hosp tr[data-x] td[data-l="Type"]::after { content: " hospital"; }
    .ac .ac-hosp tr[data-x] td[data-l="Distance"] { grid-column: 2; grid-row: 1 / 3; font-weight: var(--w-strong); color: var(--ink); white-space: nowrap; }
    .ac .ac-hosp tr[data-x] td.ac-hosp-mapc { grid-column: 3; grid-row: 1 / 3; }
    .ac .ac-hosp tr[data-x] td:not([data-l="Type"]):not([data-l="Distance"]):not(.ac-hosp-mapc) { grid-column: 1 / -1; grid-row: auto; font-size: var(--t-xs); }
    .ac .ac-hosp tr[data-x] .ac-hosp-rowgo { inline-size: auto; min-inline-size: 44px; padding-inline: var(--s-2); }
  }
}
.ac-pop-t { display: flex; align-items: flex-start; gap: 4px; margin: 4px 22px 0 0; }
.ac-pop-t strong { flex: 1 1 auto; margin: 0; min-inline-size: 0; }
.ac-pop .ac-g { display: inline-grid; place-items: center; flex: none; inline-size: 32px; block-size: 32px; margin: -6px -4px -6px 0; border-radius: 50%; color: #5b6875; }
.ac-pop .ac-g:hover { color: #0d1620; background: #eef1f4; }
@media (max-width: 760px) { .ac-pop .ac-g { inline-size: 44px; block-size: 44px; margin: -12px -8px -12px 0; } }
/* the G: one drawing for every link (a mask, so it takes the link's colour) */
.ac-g::before { content: ""; inline-size: 16px; block-size: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Older residents and health: tabs (5 Dec) ---------- one segmented bar in the Map | List switch's style; no new colours.
   Without script (.is-js is missing) and in print the bar is hidden and every panel shows, each under its own heading. */
.ac-tabs { display: flex; flex-direction: column; gap: var(--s-4); min-inline-size: 0; }
.ac-tabpanel { display: flex; flex-direction: column; gap: var(--s-4); min-inline-size: 0; scroll-margin-block-start: 6rem; }
.ac-tabpanel:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.ac-tabs.is-js > .ac-tabpanel[hidden] { display: none; }
.ac-tabs:not(.is-js) > .ac-tabpanel[hidden] { display: flex; }
.ac-tabs:not(.is-js) > .ac-tablist { display: none; }
.ac-tabs.is-js .ac-tabs-ph { display: none; }
.ac-tablist { display: flex; align-self: flex-start; max-inline-size: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-margin-block-start: 6rem;
  border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); }
.ac-tablist::-webkit-scrollbar { display: none; }
.ac-tab { appearance: none; cursor: pointer; flex: none; min-block-size: 44px; padding: 0 var(--s-5); border: 0; border-inline-start: 1px solid var(--hair-2); background: transparent; color: var(--fg-2);
  font: var(--w-strong) var(--t-sm)/1 var(--f); white-space: nowrap; }
.ac-tab:first-child { border-inline-start: 0; }
.ac-tab:hover { background: var(--alt); color: var(--ink); }
.ac-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.ac-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.ac-tab[aria-selected="true"]:focus-visible { outline-color: var(--surface); }
.ac #then-now, .ac #ranks, .ac-tabpanel .ac-ch { scroll-margin-block-start: 6rem; }
@media (width >= 1600px) { .ac-tabpanel, .ac-tablist, .ac #then-now, .ac #ranks, .ac-tabpanel .ac-ch { scroll-margin-block-start: 5rem; } }
@media (max-width: 640px) {
  .ac-tablist { align-self: stretch; }
  .ac-tab { flex: 1 0 auto; padding: 0 var(--s-4); }
  .ac-tablist.is-more { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 64px); mask-image: linear-gradient(to left, transparent 0, #000 64px); }
  .ac-tablist.is-back { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px); mask-image: linear-gradient(to right, transparent 0, #000 64px); }
  .ac-tablist.is-more.is-back { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
}
@media (min-width: 641px) { .ac-tabpanel .ac-cmp > caption { padding: var(--s-3) var(--s-4) var(--s-2); } }
@media print {
  .ac-tabs > .ac-tablist, .ac-tabs.is-js > .ac-tablist { display: none; }
  .ac-tabs > .ac-tabpanel[hidden], .ac-tabs.is-js > .ac-tabpanel[hidden] { display: flex; }
  .ac-tabs .ac-tabs-ph, .ac-tabs.is-js .ac-tabs-ph { display: block; }
}
/* ---------- the plot: the hub's default view, no map library (5 Dec) ---------- */
.ac-map.is-plot { background: var(--surface); }
.ac-map.is-plot:not(.is-on) .ac-map-pic, .ac-map.is-plot:not(.is-on) .ac-map-lab { display: none; }
.ac-map:not(.is-plot) .ac-plot { display: none; }
.ac-plot { position: absolute; inset: 0; overflow: hidden; background: var(--surface); touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.ac-plot[hidden] { display: none; }
.ac-plot.is-zoomed { touch-action: none; cursor: grab; }
.ac-plot.is-hit { cursor: pointer; }
.ac-plot.is-drag { cursor: grabbing; }
.ac-plot-g { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.ac-plot-gr { fill: none; stroke: var(--hair); stroke-width: 1; opacity: .6; }
.ac-plot-sh { fill: color-mix(in srgb, var(--ac-res) 11%, transparent); stroke: var(--ac-res); stroke-width: 2; stroke-linejoin: round; }
.ac-plot-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .7; }
.ac-plot-lab { font: 600 13px/1 var(--ac-h, var(--f)); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; letter-spacing: .01em; }
.ac-plot-rl { font: 600 11px/1 var(--f); fill: var(--fg-2); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }
.ac-plot-m { position: absolute; inset: 0; pointer-events: none; }
.ac-pm { position: absolute; inset-block-start: 0; inset-inline-start: 0; appearance: none; margin: 0; padding: 0; border: 0; pointer-events: none; cursor: pointer; border-radius: 50%; box-sizing: border-box; }
.ac-pm[hidden], .ac-pm-sel[hidden] { display: none; }
.ac-pm:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; z-index: 6; }
.ac-pm-p { inline-size: 20px; block-size: 20px; background: none; border-radius: 0; z-index: 1; }   /* the diamond is drawn inside: turning the button itself would turn its placement too */
.ac-pm-p::before { content: ""; position: absolute; inset: 3px; border-radius: 2px; background: var(--ac-proj); box-shadow: 0 0 0 2px var(--ac-ink); rotate: 45deg; }
.ac-pm-s { inline-size: var(--d, 10px); block-size: var(--d, 10px); background: var(--ac-oth); box-shadow: 0 0 0 1.5px #ffffff; z-index: 2; }
.ac-pm-s[data-k="res"] { background: var(--ac-res); } .ac-pm-s[data-k="hc"] { background: var(--ac-hc); } .ac-pm-s[data-k="rv"] { background: var(--ac-rv); }
.ac-pm-s.is-near::after { content: ""; position: absolute; inset: 50% auto auto 50%; inline-size: 24px; block-size: 24px; translate: -50% -50%; border-radius: 50%; border: 2px solid currentColor; opacity: .75; }
.ac-pm-s.is-near { color: var(--ac-oth); } .ac-pm-s.is-near[data-k="res"] { color: var(--ac-res); } .ac-pm-s.is-near[data-k="hc"] { color: var(--ac-hc); } .ac-pm-s.is-near[data-k="rv"] { color: var(--ac-rv); }
.ac-pm-h { inline-size: 22px; block-size: 22px; background: var(--ac-hosp); color: #ffffff; box-shadow: 0 0 0 2px #ffffff; font: 700 12px/22px var(--f); text-align: center; z-index: 3; }
.ac-pm-h.is-pri { background: var(--ac-hpri); color: var(--ac-hosp); box-shadow: 0 0 0 2px var(--ac-hosp); }
.ac-pm-c { inline-size: auto; min-inline-size: 30px; block-size: 30px; padding: 0 7px; border-radius: 15px; line-height: 30px; z-index: 4; }
.ac-pm-sel { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 32px; block-size: 32px; border-radius: 50%; border: 3px solid var(--ac-ink); box-sizing: border-box; z-index: 5; pointer-events: none; }
.ac-plot-z { position: absolute; z-index: 7; inset: var(--s-3) var(--s-3) auto auto; display: grid; border: 1px solid var(--hair-2); border-radius: var(--r-1); overflow: hidden; background: var(--surface); box-shadow: 0 1px 6px rgb(13 22 32 / .12); }
.ac-plot-z button { appearance: none; cursor: pointer; inline-size: 44px; block-size: 44px; border: 0; border-block-start: 1px solid var(--hair-2); background: var(--surface); color: var(--ink); font: 400 22px/1 var(--f); }
.ac-plot-z button:first-child { border-block-start: 0; }
.ac-plot-z button:hover { background: var(--alt); }
.ac-plot-z button:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
/* the north mark sits above the scale bar: the fit keeps that corner clear of markers (the top-left corner is not kept clear) */
.ac-plot-n { position: absolute; z-index: 1; inset: auto var(--s-3) 40px auto; display: grid; justify-items: center; font: 700 11px/1 var(--f); color: var(--fg-2); pointer-events: none; }
.ac-plot-n::before { content: ""; inline-size: 0; block-size: 0; border-inline: 5px solid transparent; border-block-end: 9px solid var(--fg-2); margin-block-end: 3px; }
.ac-plot-sc { position: absolute; z-index: 1; inset: auto var(--s-3) var(--s-3) auto; box-sizing: border-box; block-size: 18px; padding-block-end: 4px; border: 1.5px solid var(--fg-2); border-block-start: 0; font: 600 11px/1 var(--f); color: var(--fg-2); text-align: center; pointer-events: none; }
.ac-hub .ac-map.is-plot .ac-map-go { position: absolute; z-index: 7; inset: auto auto var(--s-3) var(--s-3); max-inline-size: calc(100% - var(--s-3) * 2 - 96px); min-block-size: 44px; text-align: start; }
.ac-plot-pop { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.ac-plot-pop[hidden] { display: none; }
.ac-pp { position: absolute; inset-block-start: 0; inset-inline-start: 0; box-sizing: border-box; pointer-events: auto; padding: 12px 14px; border-radius: 10px; background: #ffffff; box-shadow: 0 10px 30px rgb(13 22 32 / .3), 0 0 0 1px rgb(13 22 32 / .06); font: 400 13px/1.4 "Geist", ui-sans-serif, system-ui, sans-serif; color: #1c2733; user-select: text; -webkit-user-select: text; }
.ac-pp::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: var(--tx, 50%); translate: -50% 0; border: 8px solid transparent; border-block-start-color: #ffffff; border-block-end: 0; }
.ac-pp.is-below::after { inset-block-start: auto; inset-block-end: 100%; border-block-start: 0; border-block-end: 8px solid #ffffff; }
.ac-pp-x { position: absolute; inset: 0 0 auto auto; appearance: none; cursor: pointer; inline-size: 32px; block-size: 32px; border: 0; background: none; font: 400 20px/1 var(--f); color: #5b6875; border-radius: 0 10px 0 6px; }
.ac-pp-x:hover { background: #eef1f4; color: #0d1620; }
@media (max-width: 760px) {
  .ac-pp-x { inline-size: 44px; block-size: 44px; }
  .ac-hub .ac-map.is-plot .ac-map-go span { display: none; }
}
/* plot polish (5 Dec): edge arrows for places off the sheet; the phone popup is a sheet along the bottom; the phone type chips wrap */
.ac-plot-off { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.ac-plot-ofb { position: absolute; appearance: none; cursor: pointer; pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-inline-size: 44px; min-block-size: 44px; padding: 0 var(--s-2);
  border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: var(--w-strong) var(--t-xs)/1 var(--f); box-shadow: 0 1px 6px rgb(13 22 32 / .12); }
.ac-plot-ofb i { font-style: normal; font-size: 10px; color: var(--fg-2); }
.ac-plot-ofb[data-s="l"] { inset: 50% auto auto 6px; translate: 0 -50%; }
.ac-plot-ofb[data-s="r"] { inset: 50% 6px auto auto; translate: 0 -50%; }
.ac-plot-ofb[data-s="t"] { inset: 6px auto auto 50%; translate: -50% 0; }
.ac-plot-ofb[data-s="b"] { inset: auto auto 64px 50%; translate: -50% 0; }   /* above the full-map button and the scale bar */
.ac-plot-ofb:hover { background: var(--alt); }
.ac-plot-ofb:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ac-pp.is-sheet::after { content: none; }
.ac-pp.is-sheet { max-block-size: 62%; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 760px) {
  .ac-hub-bar .ac-frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; -webkit-mask-image: none; mask-image: none; margin-inline: 0; padding-inline: 0; }
  .ac-hub-bar .ac-filters .ac-chip { justify-content: flex-start; min-inline-size: 0; }
  .ac-hub-bar .ac-filters .ac-chip { white-space: normal; text-align: start; line-height: 1.2; padding-block: 6px; }   /* a long type name wraps inside its cell; the count is never cut */
  .ac-hub-bar .ac-filters .ac-chip b { margin-inline-start: auto; padding-inline-start: 6px; }
  .ac-plot.has-pop .ac-plot-off { display: none; }   /* the sheet along the bottom would half-cover them */
}
/* ---------- a project's full details (5 Dec): Medical's project dialog, in this page's style ---------- */
html.ac-pj-on { overflow: hidden; }
.ac-pj { inline-size: min(40rem, calc(100vw - 2rem)); max-block-size: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; border-radius: var(--r-2); background: var(--surface); color: var(--fg); overflow: hidden;
  box-shadow: 0 24px 70px rgb(13 22 32 / .45); font-family: var(--ac-b, var(--f)); }
.ac-pj::backdrop { background: rgb(13 22 32 / .62); }
.ac-pj[open] { display: flex; }
.ac-pj-c { position: relative; display: flex; flex-direction: column; inline-size: 100%; max-block-size: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.ac-pj-pic { position: relative; flex: none; aspect-ratio: 16 / 9; max-block-size: 42dvh; background: var(--alt); overflow: hidden; }
.ac-pj-pic img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ac-pj-st, .ac-pj-val, .ac-pj-cap { position: absolute; padding: 4px var(--s-2); border-radius: var(--r-1); font: var(--w-strong) var(--t-xs)/1.2 var(--f); }
.ac-pj-st { inset: var(--s-3) auto auto var(--s-3); background: #ffffff; color: #0d1620; letter-spacing: .04em; text-transform: uppercase; }
.ac-pj-val { inset: auto auto var(--s-3) var(--s-3); background: rgb(13 22 32 / .82); color: #ffffff; font-size: var(--t-sm); }
.ac-pj-cap { inset: auto var(--s-3) var(--s-3) auto; max-inline-size: 55%; background: rgb(13 22 32 / .6); color: #ffffff; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-pj-x { position: absolute; z-index: 2; inset: var(--s-2) var(--s-2) auto auto; appearance: none; cursor: pointer; inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .94); color: #0d1620;
  font: 400 26px/1 var(--f); box-shadow: 0 1px 6px rgb(13 22 32 / .25); }
.ac-pj-x:hover { background: #ffffff; }
.ac-pj-x:focus-visible, .ac-pj-l:focus-visible, .ac-pj-nm:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ac-pj-b { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.ac-pj-t { margin: 0; font: var(--w-h) var(--t-lg)/1.2 var(--ac-h, var(--f)); letter-spacing: -.01em; color: var(--ink); }
.ac-pj-own { margin: calc(-1 * var(--s-2)) 0 0; font-size: var(--t-sm); color: var(--fg-2); }
.ac-pj-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ac-pj-tags li { padding: var(--s-1) var(--s-3); border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--alt); font-size: var(--t-sm); color: var(--ink); }
.ac-pj-desc { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--fg); max-inline-size: 62ch; overflow-wrap: anywhere; }
.ac-pj-none { color: var(--fg-2); }
.ac-pj-links { display: flex; flex-wrap: wrap; gap: var(--s-2); padding-block-start: var(--s-3); border-block-start: 1px solid var(--hair); }
.ac .ac-pj-l { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 var(--s-4); border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: var(--w-strong) var(--t-sm)/1 var(--f); text-decoration: none; }
.ac .ac-pj-l::after { content: "\2197"; margin-inline-start: 6px; color: var(--fg-3); }
.ac .ac-pj-l:hover { background: var(--alt); }
.ac-pj-fine { margin: 0; font-size: var(--t-xs); line-height: 1.5; color: var(--fg-3); }
.ac-pj-nm { appearance: none; cursor: pointer; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: var(--teal); text-align: start; text-decoration: underline; text-underline-offset: 3px; min-block-size: 44px; }
.ac-pop-as { display: flex; flex-wrap: wrap; gap: 0 14px; }
@media (prefers-reduced-motion: no-preference) {
  .ac-pj[open] { animation: ac-pj-in .18s ease-out; }
  @keyframes ac-pj-in { from { opacity: 0; transform: translateY(8px); } }
}
@media (max-width: 640px) {
  .ac-pj { inline-size: 100vw; max-inline-size: 100vw; max-block-size: 92dvh; margin: auto 0 0; border-radius: var(--r-2) var(--r-2) 0 0; }
  .ac-pj-c { max-block-size: 92dvh; }
  .ac-pj-b { padding: var(--s-4); }
  .ac-pj-t { font-size: var(--t-lg); }
  .ac-pj-l { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 760px) { .ac-pop-a { min-block-size: 44px; } }
.ac-plot-nm { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 5; pointer-events: none; white-space: nowrap; font: 600 13px/1 var(--ac-h, var(--f)); letter-spacing: .01em; color: var(--ink);
  text-shadow: 0 0 3px var(--surface), 0 0 3px var(--surface), 1px 1px 0 var(--surface), -1px -1px 0 var(--surface), 1px -1px 0 var(--surface), -1px 1px 0 var(--surface); }
.ac-plot-nm[hidden] { display: none; }

/* ================= r20 (6 Dec): fixes from the two outside reviews ================= */
.ac-hub-radn { margin: 2px 0 0; }
/* 14: a pressed chip is a filled tint with a strong border; an unpressed one is a ghost (dashed, no fill). The border carries it in forced colours */
.ac-hub .ac-chip:not(.ac-chip-f)[aria-pressed="true"] { background: color-mix(in srgb, var(--teal) 13%, var(--surface)); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.ac-hub .ac-chip:not(.ac-chip-f)[aria-pressed="false"] { opacity: 1; background: transparent; border-style: dashed; border-color: var(--fg-3); color: var(--fg-3); }
.ac-hub .ac-chip:not(.ac-chip-f)[aria-pressed="false"] b { color: var(--fg-3); }
.ac-hub .ac-chip:not(.ac-chip-f)[aria-pressed="false"]:hover { background: var(--alt); }
.ac-hub .ac-chip-f[aria-pressed="false"]:not(:disabled) { background: transparent; }
.ac-hub .ac-chip-f[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); }
html[data-theme="dark"] .ac-hub .ac-chip:not(.ac-chip-f)[aria-pressed="true"] { background: color-mix(in srgb, #7fd6c9 20%, var(--surface)); }
@media (forced-colors: active) {   /* fills are dropped there: a thick solid border is on, a thin dashed one is off */
  .ac-hub .ac-chip[aria-pressed="true"] { border: 3px solid ButtonText; box-shadow: none; }
  .ac-hub .ac-chip[aria-pressed="false"] { border: 1px dashed GrayText; }
}
/* 13: the plot popup's close button shows the same focus ring as the project dialog's */
.ac-pp-x:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
/* 12: the hero's shortcut on phones: "See the nearest services" always; "Map and services" beside it once both fit on one line */
@media (max-width: 899px) {
  .ac-hero .ac-acts { display: flex; margin-block-start: var(--s-4); }
  .ac-hero .ac-acts .ac-btn { flex: 0 1 auto; }
}
@media (max-width: 479px) { .ac-hero .ac-acts .ac-btn-g { display: none; } .ac-hero .ac-acts .ac-btn-p { flex: 1 1 auto; justify-content: center; text-align: center; } }
/* 10: the residents tabs on phones: a 2 x 2 grid, every name in full, no sideways scroll */
@media (max-width: 640px) {
  .ac-tablist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; -webkit-mask-image: none !important; mask-image: none !important; }
  .ac-tab { flex: none; min-inline-size: 0; padding: 0 var(--s-2); white-space: normal; line-height: 1.15; border-inline-start: 0; }
  .ac-tab:nth-child(even) { border-inline-start: 1px solid var(--hair-2); }
  .ac-tab:nth-child(n + 3) { border-block-start: 1px solid var(--hair-2); }
  .ac-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* 11: the method behind the latest estimate, closed until asked for */
.ac-how { margin-block: 0 var(--s-2); }
.ac-how > summary { cursor: pointer; min-block-size: 44px; display: flex; align-items: center; font-weight: var(--w-strong); color: var(--teal); list-style: none; }
.ac-how > summary::-webkit-details-marker { display: none; }
.ac-how > summary::before { content: "\25B8"; margin-inline-end: var(--s-2); }
.ac-how[open] > summary::before { transform: rotate(90deg); }
.ac-how > summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ac-how > .ac-note { margin-block: 0 var(--s-3); }
html[data-theme="dark"] .ac-how > summary { color: #7fd6c9; }
.ac-tn-lead { margin-block-end: var(--s-2); }
/* 8: the RAD bar's label now carries the daily payment: keep it on one line and let the bar give way */
#ch-rad .ac-ch-b > b { white-space: nowrap; }
#ch-rad .ac-ch-b i { inline-size: calc(var(--w) * (100% - 9.5rem)); }
#ch-rad .ac-ch-bs { background-size: calc((100% - 9.5rem) / 4) 100%; }
#ch-rad .ac-ch-ticks { inline-size: calc(100% - 9.5rem); }
/* 16: the project dialog: "AI impression" on the picture itself; a cue on phones that the sheet scrolls on to the links */
.ac-pj-ai { position: absolute; inset: var(--s-3) auto auto var(--s-3); padding: 4px var(--s-2); border-radius: var(--r-1); background: rgb(13 22 32 / .86); color: #ffffff; font: var(--w-strong) var(--t-xs)/1.2 var(--f); letter-spacing: .04em; text-transform: uppercase; }
.ac .ac-pj-l { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .ac-pj-more { position: sticky; inset-block-end: 0; z-index: 3; flex: none; display: flex; align-items: center; justify-content: center; block-size: 36px; margin-block-start: -36px; pointer-events: none;
    border-block-start: 1px solid var(--hair-2); background: var(--surface); color: var(--fg-2); font: var(--w-strong) var(--t-xs)/1 var(--f); letter-spacing: .04em; }
  .ac-pj-c.is-end > .ac-pj-more { display: none; }
}
@media (min-width: 641px) { .ac-pj-more { display: none; } }
/* 4: a list row with no suburb line (the name ends with it): its second line starts without a separator */
.ac-hub .ac-list tr[data-ns] td:nth-of-type(3)::before { content: none; }
.ac-hub .ac-list tr[data-ns] td:nth-of-type(3).ac-empty + td.ac-rad::before { content: 'RAD\00a0'; }
/* dark theme: the latest-estimate series and the reference series were close to the card colour */
html[data-theme="dark"] .ac-ch .s5, html[data-theme="dark"] .ac-ch-sw.s5 { background: #d7dee6; }
html[data-theme="dark"] .ac-ch .s3, html[data-theme="dark"] .ac-ch-sw.s3 { background: #a9d9d2; }
html[data-theme="dark"] .ac-rng-g { background: #9fd3cb; }
html[data-theme="dark"] .ac-ch .q1, html[data-theme="dark"] .ac-ch-sw.q1 { background: #357783; }
html[data-theme="dark"] .ac-ch .s4, html[data-theme="dark"] .ac-ch-sw.s4 { background: #6f7b89; }

/* ================= r21 (6 Dec): structure ================= */
/* 24: the projects rail: one card row, sideways scroll with snap (CF2's card styles), this page's Previous / Next and position line */
#projects .ac-pjr-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-block-size: 44px; margin-block-end: var(--s-2); }
.ac-pjr-n { font: var(--w-strong) var(--t-sm)/1.2 var(--f); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ac-pjr-btns { display: inline-flex; gap: var(--s-2); }
.ac-pjr-btns[hidden] { display: none; }
.ac-pjr-b { appearance: none; cursor: pointer; inline-size: 44px; block-size: 44px; padding: 0; border: 1px solid var(--hair-2); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: 400 20px/1 var(--f); }
.ac-pjr-b:hover:not(:disabled) { background: var(--alt); border-color: var(--ink); }
.ac-pjr-b:disabled { opacity: .38; cursor: default; }
.ac-pjr-b:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
#projects .ac-pjr .cf2-inf-scroll { padding-inline-start: 3px; scroll-padding-inline-start: 3px; }   /* the end padding stays CF2's (it balances the rail's bleed into the page margin) */
.ac-near-fine { margin-block-start: var(--s-3); }
#projects .ac-pjr .cf2-inf-scroll:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (max-width: 760px) { .ac-pjr-btns { display: none; } }   /* phones: the cards swipe; the position line stays */
@media (prefers-reduced-motion: reduce) { #projects .ac-pjr .cf2-inf-scroll { scroll-behavior: auto; } }
/* 21: phones (600 px and under). Operators: two lines a card; only the measures an operator has */
.ac-op-ph { display: none; }
@media (max-width: 600px) {
  .ac-optbl tr { grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--s-2) var(--s-3); margin-block-end: 6px; }
  .ac-optbl td { display: none; }
  .ac-optbl tbody th { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-3); align-items: baseline; }
  .ac-op-ph { display: contents; }
  .ac-op-km { font: var(--w-med) var(--t-xs)/1.3 var(--f); color: var(--fg-2); white-space: nowrap; }
  .ac-op-run { grid-column: 1 / -1; font: 400 var(--t-sm)/1.4 var(--f); color: var(--fg-2); }
}
/* 21: the room type x operator table: a closed disclosure on phones; open, with no summary, on wider screens */
@media (min-width: 601px) { .ac-phdet > summary { display: none; } .ac-phdet { margin: 0; } }
.ac-mixdet > .ac-ch { margin-block: 0 var(--s-3); }
/* 21: the Region table on phones: the three column names once, then one compact row a measure */
@media (max-width: 600px) {
  #sa4 .ac-cmp thead { position: static; inline-size: auto; block-size: auto; overflow: visible; clip-path: none; display: block; }
  #sa4 .ac-cmp thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-2); padding: var(--s-2) var(--s-3); margin: 0; border: 0; border-block-end: 2px solid var(--hair-2); border-radius: 0; background: none; box-shadow: none; }
  #sa4 .ac-cmp thead th:first-child { display: none; }
  #sa4 .ac-cmp thead th { inline-size: auto; padding: 0; border: 0; background: none; text-align: start; font: var(--w-strong) var(--t-xs)/1.25 var(--f); color: var(--fg-2); }
  #sa4 .ac-cmp thead th.ac-k { color: var(--teal-2, var(--teal)); }
  #sa4 .ac-cmp tbody tr { gap: 2px var(--s-2); padding: var(--s-2) var(--s-3); margin: 0; border: 0; border-block-end: 1px solid var(--hair); border-radius: 0; background: none; box-shadow: none; }
  #sa4 .ac-cmp tbody tr:has(td > .ac-na) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #sa4 .ac-cmp tbody th { padding-block-end: 0; font-size: var(--t-sm); font-weight: var(--w-med); color: var(--fg-2); }
  #sa4 .ac-cmp td { display: block; font-size: var(--t-base); font-weight: var(--w-strong); color: var(--ink); }
  #sa4 .ac-cmp td::before, #sa4 .ac-cmp td:has(> .ac-na)::before { content: none; display: none; }
  #sa4 .ac-cmp td.ac-k { margin: 0; padding: 0; background: none; color: var(--teal-2, var(--teal)); }
  #sa4 .ac-cmp td > .ac-na { font-weight: 400; font-size: var(--t-xs); color: var(--fg-3); }
  #sa4 .ac-cmp.ac-cut:not(.is-all) tr[data-more] { display: grid; }   /* compact rows: every measure shows; no "Show all" step */
  #sa4 .ac-more-ph { display: none; }
  #sa4 .ac-scroll:has(.ac-cmp) { border: 1px solid var(--hair-2); border-radius: var(--r-2); background: var(--surface); overflow: hidden; }
}
html[data-theme="dark"] #sa4 .ac-cmp thead th.ac-k, html[data-theme="dark"] #sa4 .ac-cmp td.ac-k { color: #7fd6c9; }
/* 23: back to the top, on phones, once the first chapter is behind */
.ac-top { position: fixed; inset: auto 12px calc(14px + env(safe-area-inset-bottom, 0px)) auto; z-index: 30; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-inline-size: 44px; block-size: 44px; padding: 0 14px;
  border: 1px solid rgb(255 255 255 / .28); border-radius: 22px; background: #0d1620; color: #ffffff; font: var(--w-strong) var(--t-xs)/1 var(--f); letter-spacing: .03em; box-shadow: 0 4px 14px rgb(13 22 32 / .35); }
.ac-top[hidden] { display: none; }
.ac-top:focus-visible { outline: 3px solid #7fd6c9; outline-offset: 2px; }
html.ac-pj-on .ac-top { display: none; }
@media (min-width: 761px) { .ac-top { display: none; } }
@media print { .ac-top, .ac-pjr-btns { display: none; } }
