    .sl-card{display:flex;gap:10px;background:var(--pa-field);border:1px solid var(--pa-edge);border-radius:11px;padding:8px;cursor:pointer;position:relative}
    .sl-card:hover{border-color:#94a3b8}
    .sl-card .ph{width:111px;height:111px;border-radius:8px;object-fit:cover;background:#e2e8f0 center/cover;flex:none}
    .sl-card .in{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
    /* address is the card TITLE (prominent); price sits below it */
    .sl-card .ad{font-size:.85rem;font-weight:700;color:#0f172a;line-height:1.25;
      display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .sl-card .pr{font-weight:600;font-size:.8rem;color:#475569}
    .sl-card .pr .porig{display:block;font-size:.72rem;font-weight:600;color:var(--text-muted);margin-top:1px}
    .sl-card .mt{font-size:.72rem;color:var(--pa-muted);display:flex;align-items:center;gap:11px;flex-wrap:wrap}
    .sl-card .mt .spec{display:inline-flex;align-items:center;gap:3px;font-weight:600}
    .sl-card .mt .spec .ic{width:14px;height:14px;flex:none;opacity:.85}
    .sl-card .mt .spec.tag{text-transform:capitalize}
    .sl-card .sc{display:flex;align-items:center;gap:13px;margin-top:5px;font-size:.72rem}
    .sl-card .sc .score{display:inline-flex;align-items:center;gap:3px;font-weight:700}
    .sl-card .sc .score .ic{width:14px;height:14px;flex:none}
    .sl-card .sc .score.na{color:var(--text-muted);cursor:pointer}
    .sl-card .sc .score.na .q{font-weight:800}
    /* "why no data?" popover */
    .info-pop{position:fixed;z-index:80;max-width:250px;background:#0f172a;color:#fff;font-size:.78rem;
      line-height:1.45;padding:9px 11px;border-radius:9px;box-shadow:0 8px 24px rgba(15,23,42,.35)}
    body.dark .info-pop{background:#1e293b;border:1px solid #334155}
    /* Two equal-width secondaries in a row, then the primary action across the
       full width underneath (Brad, 26 Aug 2026 - they were a ragged flex row
       that left the buttons different sizes and hugging the left edge). Grid,
       so both columns are exactly half whatever the card is. */
    .sl-acts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
    .sl-acts button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 4px;
      font:700 .68rem Inter,sans-serif;cursor:pointer;color:var(--navy);text-align:center;
      display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
    .sl-acts .wl{grid-column:1 / -1}            /* the watchlist toggle spans both */
    /* A card with only one action (a geocoded-only pin has just "Get report")
       must not sit in half the row with a hole beside it. */
    .sl-acts > button:only-child{grid-column:1 / -1}
    .sl-acts .rep{background:#fff}
    /* Already saved: brand lime, so "on the watchlist" reads at a glance. */
    .sl-acts .wl.on{background:var(--lime);border-color:var(--lime);color:#15240a}
    body.dark .sl-acts .wl.on{color:#15240a}
    /* pinned "compare" cards - coloured frame matching their map pin, sit at the top */
    .sl-pins-head{font-size:.7rem;font-weight:800;color:var(--pa-muted);text-transform:uppercase;
      letter-spacing:.05em;margin:2px 2px 1px;display:flex;align-items:center;gap:7px}
    .sl-pins-head .clr{margin-left:auto;border:0;background:none;color:var(--pa-muted);font:600 .7rem Inter;
      cursor:pointer;text-transform:none;letter-spacing:0;text-decoration:underline;min-height:24px;padding:0 6px}
    /* "Are you sure?" dialog (_confirmRemove) */
    .cfm-bg{position:fixed;inset:0;z-index:9500;background:rgba(15,23,42,.5);display:flex;align-items:center;justify-content:center;padding:16px}
    .cfm{background:#fff;color:var(--ink);border-radius:14px;width:min(360px,100%);padding:18px 18px 16px;
      box-shadow:0 20px 60px rgba(15,23,42,.4);font-family:Inter,system-ui,sans-serif}
    .cfm h4{margin:0 0 6px;font:700 1.05rem Inter,sans-serif}
    .cfm p{margin:0 0 16px;font-size:.88rem;line-height:1.5;color:#475569}
    .cfm-act{display:grid;grid-template-columns:1fr 1fr;gap:8px}
    .cfm-act button{height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--navy);
      font:700 .86rem Inter,sans-serif;cursor:pointer}
    .cfm-act button.go{background:var(--navy);border-color:var(--navy);color:#fff}
    .cfm-act button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
    body.dark .cfm{background:#1e293b;color:#e2e8f0}
    body.dark .cfm p{color:#cbd5e1}
    body.dark .cfm-act button{background:#0f172a;border-color:#334155;color:#e2e8f0}
    body.dark .cfm-act button.go{background:#e6dcc6;border-color:#e6dcc6;color:#1a2530}
    .sl-card.pinned{border-width:1px}
    /* Compact row (option 02 / A, 14 Oct 2026): thumbnail + address, price and facts on
       top; the three ratings and the three buttons below, each sharing the full width. */
    .sl-card.sl2{flex-direction:column;gap:10px;padding:10px;cursor:pointer}
    .sl2-top{display:flex;gap:10px;min-width:0;padding-right:36px}
    .sl-card.sl2 .ph{width:76px;height:76px}
    .sl-card.sl2 .sc{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0}
    .sl-card.sl2 .sc .score{justify-content:center;gap:5px;height:32px;font-size:.84rem;background:var(--pa-paper);
      border:1px solid var(--pa-rule);border-radius:8px}
    .sl-card.sl2 .sl-acts{grid-template-columns:repeat(3,1fr);margin:0}
    .sl-card.sl2 .sl-acts button{height:34px;padding:0 4px}
    .sl-card.sl2 .sl-acts .ai{width:14px;height:14px;flex:none}
    .sl-card.sl2 .sl-acts .wl{grid-column:auto}
    .sl-card.sl2 .sl-acts .rep{background:var(--pa-on);color:var(--pa-on-ink);border-color:var(--pa-on)}
    .sl-card .al.corner{position:absolute;top:8px;right:8px;width:30px;height:30px;padding:0;border-radius:8px;
      border:1px solid var(--pa-edge);background:var(--pa-field);color:var(--pa-muted);cursor:pointer;
      display:grid;place-items:center}
    .sl-card .al.corner svg{width:15px !important;height:15px !important;margin:0 !important}
    .sl-card .al.corner.on{background:var(--lime);border-color:var(--lime);color:#15240a}
    .sl-card .al.corner:focus-visible{outline:2px solid var(--pa-ink);outline-offset:2px}
    .sl-card .pin-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:middle;flex:none}
    .sl-card .pin-x{position:absolute;top:6px;right:7px;border:0;background:rgba(15,23,42,.06);color:#64748b;
      border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;
      line-height:1;text-align:center;font-size:1.15rem;cursor:pointer;padding:0}
    .sl-card .pin-x:hover{background:rgba(15,23,42,.14);color:#0f172a}
    body.dark .sl-card .pin-x{background:rgba(255,255,255,.08);color:#cbd5e1}
    body.dark .sl-card .pin-x:hover{background:rgba(255,255,255,.16);color:#fff}
    body.dark .shortlist{color:var(--pa-ink)}
    body.dark .sl-card{background:#0f172a;border-color:#334155}
    body.dark #slSort{background-color:#0f172a;color:#e2e8f0;border-color:#334155}
    body.dark .sl-card .ad{color:#f1f5f9}
    .sl-card .ad a{color:inherit;text-decoration:none}
    .sl-card .ad a:hover{text-decoration:underline}

    /* report modal */
    .modal-bg{position:absolute;inset:0;z-index:60;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center}
    .modal-bg.show{display:flex}
    .modal{background:#fff;border-radius:16px;width:min(440px,92vw);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(15,23,42,.4)}
    .modal h3{margin:0;font-size:1.05rem}
    .modal .mh{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}
    .modal .mh .x{margin-left:auto;border:0;background:none;font-size:1.3rem;cursor:pointer;color:#64748b}
    .modal .mbody{padding:8px 18px;overflow-y:auto;flex:1}
    .modal .ritem{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #f1f5f9;font-size:.86rem}
    .modal .ritem input{accent-color:var(--lime);width:17px;height:17px;flex:none}
    .modal .ritem .ra{flex:1;min-width:0}
    .modal .ritem .ra .a{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .modal .ritem .ra .p{font-size:.76rem;color:#64748b}
    .modal .mfoot{padding:14px 18px;border-top:1px solid var(--line);background:var(--bg)}
    .modal .cost{font-size:.95rem;font-weight:800;margin:4px 0 10px}
    .modal .cost small{font-weight:500;color:#64748b}
    .modal .tnc{display:flex;align-items:flex-start;gap:8px;font-size:.78rem;color:#334155;margin-bottom:12px;cursor:pointer}
    .modal .tnc input{accent-color:var(--lime);width:16px;height:16px;margin-top:1px}
    .modal .tnc a{color:#2563eb}   /* was inline on the link in the template, where dark mode could not reach it */
    body.dark .modal{background:#1e293b;color:#e2e8f0}
    body.dark .modal .mfoot{background:#0f172a}
    /* Dark mode (B25): the consent line kept its light-mode #334155 on the #0f172a footer (about 1.7:1), the link
       #2563eb (about 3.5:1), and the price lines #64748b on #1e293b (about 3.1:1). */
    body.dark .modal .tnc{color:#cbd5e1}
    body.dark .modal .tnc a{color:#93c5fd}
    body.dark .modal .ritem .ra .p, body.dark .modal .cost small{color:#94a3b8}

    /* Fixed colours, not var(--ink): dark mode turns --ink near-white, which put white text on
       #e2e8f0 (1.23:1). Dark mode keeps the inverted look with the pair swapped. */
    .toast{position:absolute;left:50%;top:64px;transform:translateX(-50%);z-index:60;background:#0f172a;color:#fff;
      padding:9px 16px;border-radius:10px;font-size:.82rem;font-weight:600;opacity:0;transition:opacity .25s;pointer-events:none;max-width:88vw;text-align:center}
    body.dark .toast{background:#e2e8f0;color:#0f172a}
    .toast.show{opacity:1}
    /* The tour card takes focus so the keyboard is inside the dialog; it is a container, not a control. */
    #tourCard:focus{outline:none}

    /* ---- map status pill (#count) ----
       A statement about the result, said on the map. Two states reach it:
       `empty` (nothing matched) and `scope` (zoomed out, a filter the area
       counts cannot apply). Loading and failure are MapBusy's corner mark, and
       the standing count is gone (16 Sep 2026), so setMapStatus() never writes
       is-loading, is-error or is-count here. The messages behind this element
       were once computed and thrown away for weeks: the panel header that
       carried this id was deleted and the writes were made null-safe instead
       of re-homed (the case webapp/tests/test_dom_ids_resolve.py now pins).

       It sits UNDER the toast (z-index 21 vs 60) and shares its top:64px:
       the toast is a one-off interruption and is allowed to cover a standing
       status line for its 2.6 s. pointer-events are off so the pill never
       eats a drag on the map behind it - the "clear filters" button it can
       carry turns them back on for itself. */
    .mapstatus{position:absolute;left:50%;top:64px;transform:translateX(-50%);z-index:21;
      pointer-events:none;border-radius:999px;padding:7px 15px;background:rgba(15,23,42,.86);color:#fff;
      font:600 12.5px/1.3 Inter,sans-serif;display:flex;align-items:center;gap:9px;
      max-width:min(560px,88vw);box-shadow:0 3px 12px rgba(15,23,42,.24);
      opacity:1;transition:opacity .45s ease}
    /* `hidden` is a UA rule of the same specificity as .mapstatus, and an
       author `display:flex` beats it - so the attribute would not hide this
       without saying so here. Same for the key strip below. */
    .mapstatus[hidden]{display:none}
    .mapstatus .ms-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    /* The dot IS the state - one glance says which of the two this is. */
    .mapstatus .ms-dot{width:7px;height:7px;border-radius:50%;flex:none;background:#84CC16}
    .mapstatus.is-scope .ms-dot{background:#38BDF8}
    .mapstatus.is-empty .ms-dot{background:#F59E0B}
    @media(prefers-reduced-motion:reduce){
      .mapstatus{transition:none}
    }
    .mapstatus .ms-clear{pointer-events:auto;cursor:pointer;flex:none;
      font:inherit;font-size:12px;color:#fff;padding:0;border:0;background:none;
      text-decoration:underline;text-underline-offset:2px}
    .mapstatus .ms-clear:hover{color:#E2E8F0}

    /* ---------------- DARK MODE ---------------- */
    body.dark{ --ink:#e2e8f0; --muted:#94a3b8; --line:#334155; --bg:#0f172a; --navy:#1e293b; }
    /* The panel and the map key are NOT in this list: they read the --pa-*
       paper tokens, whose dark values (Deep Water's paper) are set with the
       light ones near the top of this sheet. A second dark copy here was how
       the old white sidebar ended up with two backgrounds and an !important. */
    body.dark .count{ color:var(--text-muted); }
    body.dark .chip{ background:#0f172a; color:#cbd5e1; border-color:#334155; }
    body.dark .chip.on{ background:#84CC16; color:#15240a; border-color:#84CC16; }
    body.dark .seg{ background:#1e293b; }
    body.dark .seg button, body.dark #countrySel{ background:#1e293b; color:#cbd5e1; }
    body.dark .seg button.on{ background:#84CC16; color:#15240a; }
    /* PASTEL PREVIEW (4 Nov 2026), OFF by default. The owner liked the toned-down paper-grain
       tiles on the Nearby tab and asked to see the rest of the page that way. Switch on with
       /discover?pastel=1 (remembered in this browser), off with ?pastel=0. It softens the
       CHROME only: the lime and navy controls and the dark selected chips. It never touches
       the dots, whose colours are the score palette master with its colour-blind guards. */
    body.pastel{--p-lime:#BDE07D;--p-lime-ink:#2C3A14;--p-track:#B9C5CE;--p-track-ink:#1F3447;--p-on:#D9CCA9;--p-on-ink:#3B3226;
      --pa-on:var(--p-on);--pa-on-ink:var(--p-on-ink);
      --p-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
    body.pastel.dark,body.pastel.map-dark{--p-lime:#58761D;--p-lime-ink:#EEF6DB;--p-track:#2C3B48;--p-track-ink:#C9D6E0;--p-on:#4A432E;--p-on-ink:#F1EAD3}
    body.pastel .mc-btn,body.pastel .topbar #ltSeg,body.pastel .ct-m .seg.ct-seg,
    body.pastel.dark .topbar #ltSeg,body.pastel.dark .ct-m .seg.ct-seg,body.pastel.map-dark .topbar #ltSeg,body.pastel.map-dark .ct-m .seg.ct-seg{
      background-color:var(--p-track);background-image:var(--p-grain);background-blend-mode:multiply;color:var(--p-track-ink)}
    body.pastel.dark .topbar #ltSeg,body.pastel.dark .ct-m .seg.ct-seg,body.pastel.map-dark .topbar #ltSeg,body.pastel.map-dark .ct-m .seg.ct-seg,
    body.pastel.dark .mc-btn,body.pastel.map-dark .mc-btn{background-blend-mode:normal}
    body.pastel .topbar #ltSeg button,body.pastel .topbar #ltSeg button:first-child,body.pastel .topbar #ltSeg button:last-child,
    body.pastel .ct-m .seg.ct-seg button,body.pastel .ct-m .seg.ct-seg button:first-child,body.pastel .ct-m .seg.ct-seg button:last-child{color:var(--p-track-ink);background:transparent}
    body.pastel .topbar #ltSeg button.on,body.pastel .ct-m .seg.ct-seg button.on,body.pastel .nearme{
      background-color:var(--p-lime);background-image:var(--p-grain);background-blend-mode:multiply;color:var(--p-lime-ink)}
    body.pastel.dark .topbar #ltSeg button.on,body.pastel.dark .ct-m .seg.ct-seg button.on,body.pastel.dark .nearme,
    body.pastel.map-dark .topbar #ltSeg button.on,body.pastel.map-dark .ct-m .seg.ct-seg button.on,body.pastel.map-dark .nearme{background-blend-mode:normal}
    body.pastel .seg button.on{background-color:var(--p-track);color:var(--p-track-ink)}
    body.pastel .sctog-row button.on,body.pastel .minchips .mc.on,body.pastel .pchips .mc.on{
      background-image:var(--p-grain);background-blend-mode:multiply}
    body.pastel.dark .sctog-row button.on,body.pastel.dark .minchips .mc.on,body.pastel.dark .pchips .mc.on,
    body.pastel.map-dark .sctog-row button.on,body.pastel.map-dark .minchips .mc.on,body.pastel.map-dark .pchips .mc.on{background-blend-mode:normal}

    /* A school whose zone is selected on the map takes the tile's own wash in the Show list (9 Nov 2026):
       the same mix as `.zlvl.nbt.on`, so it reads as the Secondary pill's colour. */
    .ivl li button.sel{background:color-mix(in srgb,var(--c,var(--pa-edge)) 16%,var(--pa-field));font-weight:700}

    /* The school bus route key (9 Nov 2026): a dashed swatch in the routes' own colour (--rt is set from
       MapController.busColour(), so it follows the selected school's level colour). On the "Public schools"
       heading line, at its right edge (Brad), not in an "In zone" header. */
    .pubbox .pubh{display:flex;align-items:center;gap:8px}
    .pubh .bus-key{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font:600 .68rem/1.2 Inter,sans-serif;
      letter-spacing:0;text-transform:none;color:var(--pa-ink)}
    .pubh .bus-key[hidden]{display:none}
    .bus-key .dash{display:inline-block;width:18px;border-top:3px dashed var(--rt,#2563eb)}

    /* The in-zone list reads like the Show list above it (9 Nov 2026, Brad: "like this"): one bordered panel in the
       level's colour, plain names in ink, the zone's school(s) only. A tap on a name flies to the school. */
    .sch-sub{padding-left:0}
    .sch-sub .zsch-list.show{gap:0;margin:0;padding:4px;border:1.5px solid var(--c);border-radius:12px;background:var(--pa-field)}
    .sch-sub .zsch-row{border-left:0;padding:0;display:block}
    .sch-sub .zsch{display:block;padding:7px 8px;border-radius:8px;font:600 .78rem/1.3 Inter,sans-serif;color:var(--pa-ink)}
    body.dark .sch-sub .zsch{color:var(--pa-ink)}
    .sch-sub .zsch:hover{text-decoration:none;background:color-mix(in srgb,var(--c) 14%,var(--pa-field))}

    /* The school card's footer buttons round their outer bottom corners with the card (9 Nov 2026): the card
       clips at 12px, so a square button's focus ring lost its bottom-right corner on Website. */
    .sch-card .lp-acts a:first-child{border-bottom-left-radius:11px}
    .sch-card .lp-acts a:last-child{border-bottom-right-radius:11px}

    /* "No school zone" under the school card's head (9 Nov 2026). */
    .sch-card .sch-nozone{padding:7px 14px;font:600 11.5px/1.35 Inter,system-ui,sans-serif;color:#475569;background:#f8fafc;
      border-bottom:1px solid var(--line)}
    body.dark .sch-card .sch-nozone{background:#0f172a;color:#cbd5e1;border-bottom-color:#334155}

    /* The "In zone" header names its level and years now, so the bus route key may wrap under it. */
    .sch-subh.zhead{flex-wrap:wrap;row-gap:4px}

    /* The Show list's divider between what is in the visible map and what is not (9 Nov 2026). */
    .ivl li.ivl-sep{padding:8px 8px 3px;font:700 .62rem/1.2 Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase;
      color:var(--pa-muted);border-top:1px solid var(--pa-edge);margin-top:3px}

    /* A Nearby place with more to say than its name: the pill grows into a small paper card (9 Nov 2026).
       Same paper, border and shadow as the one-line pill; the facts are plain lines, the links are buttons. */
    .am-pill.am-card .maplibregl-popup-content{display:block;width:280px;max-width:82vw;padding:10px 12px 10px;border-radius:12px;
      white-space:normal}
    .am-card .am-hd{display:flex;align-items:flex-start;gap:9px}
    .am-card .am-ico{margin-top:1px}
    .am-card .am-tt{display:flex;flex-direction:column;gap:2px;min-width:0}
    .am-pill.am-card .am-nm{max-width:none;white-space:normal;font:700 .84rem/1.25 Inter,system-ui,sans-serif;color:#3B3226}
    .am-card .am-sub{font:600 .7rem/1.3 Inter,system-ui,sans-serif;color:#6F6350}
    .am-card .am-facts{list-style:none;margin:8px 0 0;padding:8px 0 0;border-top:1px solid #E6DCC8;display:flex;flex-direction:column;gap:4px;
      font:500 .74rem/1.35 Inter,system-ui,sans-serif;color:#3B3226}
    .am-card .am-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
    .am-card .am-links a{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;border:1px solid #CFC2A8;background:#fff;
      color:#3B3226;font:700 .72rem/1 Inter,system-ui,sans-serif;text-decoration:none}
    .am-card .am-links a:hover{background:#F3EBDD}
    .am-card .am-links a:focus-visible{outline:2px solid #3B3226;outline-offset:2px}
    .am-card .am-src{margin-top:8px;font:500 .62rem/1.2 Inter,system-ui,sans-serif;color:#8A7E69}

    /* Where each Show list sits (9 Nov 2026, Brad). Public schools: the Primary list right under the Primary and
       Intermediate tiles, then the Intermediate list (in its own purple), then the Secondary tile with its list
       under it; the zone switch and the "In zone" lists after all of that. Tertiary: one list for both
       categories, under both tiles. The order is set here because the lists are inserted beside their tile
       (beside its .zlw wrapper, B25, which is the grid item the tile used to be). */
    .pubgrid>.zlw[data-for="primary"]{order:1}
    .pubgrid>.zlw[data-for="intermediate"]{order:2}
    .pubgrid>.ivl[data-for="primary"]{order:3}
    .pubgrid>.ivl[data-for="intermediate"]{order:4}
    .pubgrid>.zlw[data-for="secondary"]{order:5}
    .pubgrid>.ivl[data-for="secondary"]{order:6}
    .nbgrid>.zlw{order:1}
    .nbgrid>.ivl{order:2}
    .nbgrid>#tertiaryHint{order:3}

    /* The side panel keeps its scrollbar's room at all times (9 Nov 2026, Brad): the tiles used to shrink the
       moment the list grew long enough to scroll, and grow back when it did not. */
    .sheet{scrollbar-gutter:stable}

    /* The school card's Favourite / Add commute row (9 Nov 2026): the same buttons as the links row below it. */
    .sch-card .lp-acts.sch-do{border-top:1px solid var(--line)}
    .sch-card .lp-acts button{flex:1;min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;
      border:0;border-right:1px solid var(--line);background:#fff;padding:9px 4px;font:700 12px/1 Inter,system-ui,sans-serif;
      color:var(--navy);cursor:pointer}
    .sch-card .lp-acts button:last-child{border-right:0}
    .sch-card .lp-acts button:hover{background:#f8fafc}
    .sch-card .lp-acts button:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
    .sch-card .lp-acts button svg{width:15px;height:15px;fill:currentColor;flex:none}
    /* The heart (the Watchlist's, 9 Nov 2026): outlined until favourited, then filled, in gold. */
    .sch-card .sch-fav svg{stroke:currentColor;stroke-width:1.9}
    .sch-card .sch-fav[aria-pressed="true"]{color:#b45309}
    .sch-card .sch-fav[aria-pressed="false"] svg{fill:none}
    body.dark .sch-card .lp-acts button{background:#0f172a;color:#e2e8f0;border-color:#334155}
    body.dark .sch-card .sch-fav[aria-pressed="true"]{color:#fbbf24}
    /* Only the LAST row of the card rounds its bottom corners. */
    .sch-card .lp-acts.sch-do > :first-child, .sch-card .lp-acts.sch-do > :last-child{border-radius:0}
    .sch-card .lp-acts.sch-do:last-child > :first-child{border-bottom-left-radius:11px}
    .sch-card .lp-acts.sch-do:last-child > :last-child{border-bottom-right-radius:11px}

    /* Favourite Schools, at the bottom of the Education tab (9 Nov 2026). Gold, the colour of Favourited on
       the school card (Brad): a gold wash and edge, the heart and title in gold ink, the count as a gold badge. */
    .sfav{--gold:#b45309;--gold-ink:#92400e;--gold-wash:color-mix(in srgb,#f59e0b 10%,var(--pa-field));
      --gold-edge:color-mix(in srgb,#d97706 45%,var(--pa-edge));
      border:1.5px solid var(--gold-edge);border-radius:12px;background:var(--gold-wash);padding:0;overflow:hidden}
    body.dark .sfav{--gold:#fbbf24;--gold-ink:#fcd34d;--gold-wash:color-mix(in srgb,#f59e0b 12%,var(--pa-field));
      --gold-edge:color-mix(in srgb,#f59e0b 40%,var(--pa-edge))}
    .sfav[hidden]{display:none}
    .sfav summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;cursor:pointer;
      font:700 .85rem/1.2 Inter,sans-serif;color:var(--gold-ink);list-style:none}
    .sfav summary::-webkit-details-marker{display:none}
    .sfav summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
      transform:rotate(45deg);margin:0 4px 3px auto;transition:transform .15s}
    .sfav[open] summary::after{transform:rotate(-135deg);margin-bottom:-2px}
    .sfav summary:focus-visible{outline:2px solid var(--gold-ink);outline-offset:-2px}
    .sfav-t{display:flex;align-items:center;gap:8px;min-width:0}
    .sfav-t svg{width:17px;height:17px;flex:none;fill:var(--gold);stroke:var(--gold);stroke-width:1.9;stroke-linejoin:round}
    .sfav-n{min-width:20px;padding:3px 6px;border-radius:999px;background:var(--gold);color:#fff;text-align:center;
      font:800 .68rem/1 Inter,sans-serif}
    body.dark .sfav-n{color:#1c1305}
    .sfav-n:empty{display:none}
    .sfav-note{margin:0;padding:0 12px 6px;font:500 .7rem/1.35 Inter,sans-serif;color:var(--pa-muted)}
    .sfav-list{list-style:none;margin:0;padding:0 4px 6px}
    .sfav-list li{display:flex;align-items:center;gap:6px;padding:3px 4px;border-top:1px solid var(--gold-edge)}
    .sfav-go{flex:1;min-width:0;text-align:left;border:0;background:none;padding:6px 4px;border-radius:8px;cursor:pointer;
      font:600 .78rem/1.3 Inter,sans-serif;color:var(--pa-ink)}
    .sfav-go:hover{background:color-mix(in srgb,var(--pa-edge) 45%,transparent)}
    .sfav-d{flex:none;font:500 .7rem/1 Inter,sans-serif;color:var(--pa-muted);font-variant-numeric:tabular-nums}
    .sfav-bus, .sfav-x{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--pa-edge);background:var(--pa-field);
      display:grid;place-items:center;cursor:pointer;color:var(--pa-ink);padding:0;font:700 1rem/1 Inter,sans-serif}
    .sfav-bus svg{width:15px;height:15px;fill:currentColor}
    .sfav-bus:hover, .sfav-x:hover{background:color-mix(in srgb,var(--pa-edge) 45%,var(--pa-field))}
    .sfav-go:focus-visible, .sfav-bus:focus-visible, .sfav-x:focus-visible{outline:2px solid var(--pa-ink);outline-offset:2px}

    /* Messages sit over the middle of the map you can SEE (9 Nov 2026): on a desktop the side panel covers the
       left of the page, so 50% of the page put them off to the left, under the panel's edge. A message anchored
       to a control (toast(msg, ms, anchor)) still sets its own position. */
    @media(min-width:880px){ .toast{left:calc((100% + var(--pnl-edge)) / 2)} }

    /* The property controls inside the Search pane (9 Nov 2026): a wrapper for PropPane to read, laid out as if
       its groups were the pane's own, so they keep the pane's spacing. */
    .pf-block{display:contents}

    /* The Search tab has no section headers (10 Nov 2026, Brad): each control's own label - Type, Price, Bedrooms,
       Bathrooms, Listed - is its title, bold and in ink, the price slider's included. */
    .pane[data-pane="search"] .grp > h3,
    .pane[data-pane="search"] .rng .lab{font:700 .82rem/1.3 Inter,sans-serif;color:var(--pa-ink);margin-bottom:6px}
    /* Listed: three equal chips, the same look as Bedrooms and Bathrooms (Brad). */
    #pfListedChips .mc{flex:1 1 0;justify-content:center;padding:6px 4px}
    .pane[data-pane="search"] .rng .lab .lb{gap:4px}
    .pane[data-pane="search"] .rng .lab .lb .ic-ccy{min-width:0;font:inherit;color:inherit}

    /* The tab labels 30% larger (10 Nov 2026, Brad): .8rem in .st, 1.04rem here, on the desktop's side spine. Text
       only; the marks keep their size. The phone's tabs are one row across the sheet, which at 1.04rem ran 24 px
       past a 390 px screen and cut Watchlist off, so there they grow 10% (.88rem), which fits. */
    @media(min-width:880px){ .spine .st{font-size:1.04rem} }
    @media(max-width:879px){ .spine .st{font-size:.88rem} }
    /* The search drop-downs' keyboard row (Discover cleanup B13, scCombobox in 00_util.js): the row the arrow
       keys have reached wears the hover's wash plus the commute drop-down's edge mark, so it is visible without
       a pointer and is not told by colour alone. */
    .pa-drop > [role="option"].act{background:var(--pa-paper);box-shadow:inset 3px 0 0 var(--pa-mark)}
