/* Latin subsets, self-hosted. swap so text stays readable while the files load. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/outfit-400.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-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/outfit-500.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-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/outfit-600.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-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-700.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: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/sora-600.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: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/sora-700.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: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/sora-800.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;
}

/* AT Disabled Toilet Maps: the Access Tours look (Sora display, Outfit text, slate neutrals, #3f60ac with a sky accent), kept calm and high contrast. */
:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --paper: #ffffff;
  --wash: #f8fafc;
  --wash-2: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #94a3b8;
  --accent: #3f60ac;
  --accent-deep: #2d477f;
  --accent-wash: #eef2fa;
  --sky: #22bdef;
  --sky-ink: #0b7fae;
  --sky-wash: #e2f7fd;
  --ok: #17643a;
  --ok-wash: #e7f6ec;
  --bad: #a3261f;
  --bad-wash: #fbe9e7;
  --focus: #2d477f;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 8px 20px rgba(63, 96, 172, 0.28);
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--font);
  overflow-wrap: break-word;
}
::selection { background: var(--sky-wash); color: var(--ink); }
html { scrollbar-color: var(--line-strong) var(--wash); }
input { caret-color: var(--accent); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; margin-top: 2.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 0.9rem; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: 8px; top: -100px; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 10; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.skip:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--wash-2); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 48px; }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--accent); }
.brand-accent { color: var(--sky-ink); }
.brand-by { font-size: 0.88rem; font-weight: 500; color: var(--ink-2); }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); text-decoration: none; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 0.98rem; }
.site-nav a:hover { background: var(--wash-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-wash); }

main { padding: 20px 0 72px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0 0 16px; padding: 0; font-size: 1rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { display: inline-block; padding: 10px 0; }
.crumbs [aria-current] { display: inline-block; padding: 10px 0; }

.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; margin-top: 0.6rem; }
.hint { font-size: 1rem; color: var(--ink-2); max-width: 65ch; }
.block { margin-top: 2.5rem; }
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font: 700 1.02rem/1.2 var(--display); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: background-color .2s, transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s;
}
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(63, 96, 172, 0.34); }
.button-quiet { background: var(--paper); color: var(--accent-deep); border-color: var(--accent); box-shadow: none; }
.button-quiet:hover { background: var(--paper); color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-md); }
.button-invert { background: #fff; color: var(--accent-deep); border-color: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22); }
.button-invert:hover { background: var(--sky-wash); border-color: var(--sky-wash); color: var(--accent-deep); }

/* Home finder */
body[data-page="home"] main { padding-top: 0; }
.finder { position: relative; isolation: isolate; padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.finder::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(55% 60% at 92% -10%, rgba(34, 189, 239, 0.22), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(63, 96, 172, 0.10), transparent 70%),
    linear-gradient(180deg, var(--wash), var(--paper));
  border-bottom: 1px solid var(--wash-2);
}
.finder h1 { max-width: 17ch; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.6rem); }
.h1-accent { color: var(--accent); }
.finder .lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; padding: 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.98rem; font-weight: 500; color: var(--ink-2); }
.trust-row .icon { color: var(--ok); width: 1.15em; height: 1.15em; }
.search { margin-top: 24px; max-width: 46rem; }
body[data-page="state"] .search { margin: 20px 0 24px; }
.search label { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.search-field { position: relative; flex: 1 1 18rem; }
.search-field .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search input {
  width: 100%; min-height: 60px; padding: 12px 20px 12px 54px;
  font: 400 1.15rem var(--font); color: var(--ink);
  border: 2px solid var(--ink-2); border-radius: 999px; background: var(--paper);
  box-shadow: var(--shadow-lg);
  transition: border-color .2s, box-shadow .2s;
}
.search input:hover { border-color: var(--accent); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.search .hint { margin-top: 8px; }
.search-results { max-width: 46rem; }
.result-count { font-weight: 700; margin: 12px 0 6px; }
.result-count:empty { margin: 0; }
.result-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.result-list:empty { border-top: 0; }
.result-list li { border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result-list a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; min-height: 56px; text-decoration: none; color: var(--ink); flex: 1 1 14rem; }
.result-list a .icon { color: var(--accent); }
.search-results .result-list { background: var(--paper); }
.result-list a strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
.result-list a:hover strong { color: var(--accent-deep); text-decoration-thickness: 2px; }
.result-list a > span { display: flex; flex-direction: column; }
.result-sub { color: var(--ink-2); font-size: 0.95rem; }
.nearby { margin-top: 28px; }

/* State links */
.state-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); border-top: 1px solid var(--line); }
.state-links li { border-bottom: 1px solid var(--line); }
.state-links a { display: flex; flex-direction: column; padding: 12px 12px; min-height: 64px; text-decoration: none; border-radius: var(--radius); transition: background-color .15s; }
.state-links a:hover { background: var(--accent-wash); }
.state-name { font-family: var(--display); font-weight: 700; color: var(--ink); }
.state-links a:hover .state-name { color: var(--accent); text-decoration: underline; }
.state-sub { color: var(--ink-2); font-size: 0.95rem; }

.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.split > div { flex: 1 1 26rem; max-width: 60ch; }
.cp-band { margin-top: 3.5rem; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); align-items: center;
  background: radial-gradient(60% 90% at 100% 0%, rgba(34, 189, 239, 0.28), transparent 70%), linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; box-shadow: 0 18px 45px rgba(63, 96, 172, 0.22); }
.cp-band h2 { color: #fff; margin-top: 0; }
.cp-band p { color: #eaf0fb; margin-bottom: 0; }
.cp-band :focus-visible { outline-color: #fff; }
.at-about { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; background: linear-gradient(180deg, var(--paper), var(--sky-wash)); border: 1px solid var(--wash-2); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); }
.at-about h2 { margin-top: 0; }
.at-about img { width: 220px; height: auto; }
.at-about p { color: var(--ink-2); max-width: 62ch; }
.at-about p:last-child { margin: 18px 0 0; }

/* Home FAQ: ruled rows, Sora summary, the same chevron as the filter box. */
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--display);
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 4px;
  flex: none;
}
.faq details[open] > summary::before { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px 1.4em; max-width: 65ch; color: var(--ink-2); }

/* Filters */
.filters { margin: 24px 0 8px; }
.filters fieldset { border: 0; padding: 0; margin: 4px 0 0; }
.filter-box > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; cursor: pointer; }
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-box > summary::before { content: ""; width: 0.55em; height: 0.55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin-right: 4px; }
.filter-box[open] > summary::before { transform: rotate(45deg); }
.filter-box > summary { list-style: none; padding-right: 8px; }
.filter-on { color: var(--accent); }
.filter-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 10px; border: 1.5px solid var(--line-strong); font-weight: 500; border-radius: 999px; cursor: pointer; font-size: 1rem; background: var(--paper); }
.check:hover { border-color: var(--accent); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.check:has(input:checked) { background: var(--accent-wash); border-color: var(--accent); font-weight: 700; }
.check:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.check input:focus-visible { outline: none; }

/* Facility cards: ruled rows, not boxes */
.cards { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--accent); }
.card { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.card-title { font-size: 1.2rem; flex: 1 1 18rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.card-title a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
.match-full, .match-part { margin: 6px 0 0; font-size: 1rem; }
.match-full { font-weight: 700; color: var(--ok); }
.match-part { color: var(--ink-2); }
.card-place { color: var(--ink-2); margin: 6px 0 10px; font-size: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; }
.chips .icon { color: var(--accent); }
.no-features { color: var(--ink-2); font-size: 1rem; margin: 0; }
.tour-flag { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; font-weight: 700; color: var(--accent-deep); font-size: 1rem; }
.empty { padding: 16px 0; font-weight: 700; }
.closed-group { margin-top: 20px; }
.closed-group summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 700; color: var(--accent); padding: 0 4px; }
.closed-group summary:hover { text-decoration: underline; }

/* Status */
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; padding: 4px 10px 4px 8px; border-radius: 999px; max-width: 100%; }
.status .icon { width: 1.15em; height: 1.15em; }
.tone-ok.status { background: var(--ok-wash); color: var(--ok); }
.tone-bad.status { background: var(--bad-wash); color: var(--bad); }
.tone-neutral.status { background: var(--wash); color: var(--ink); }

/* Town lists */
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 20px 0 0; }
.jump a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-family: var(--display); font-weight: 700; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; }
.jump a:hover { background: var(--accent-wash); }
.letter h2 { border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.town-list { list-style: none; padding: 0; margin: 0; columns: 3 16rem; column-gap: 32px; }
.town-list li { break-inside: avoid; padding: 6px 0; }
.town-list a { display: inline-block; padding: 6px 0; font-weight: 700; }
.town-sub { display: block; color: var(--ink-2); font-size: 0.95rem; }

/* Toilet page */
.toilet { max-width: 52rem; }
.toilet-head .lede { margin-bottom: 0; }
.status-block { margin: 20px 0 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--wash); }
.status-block.tone-ok { background: var(--ok-wash); border-color: #b7dcc5; }
.status-block.tone-bad { background: var(--bad-wash); border-color: #efc1bc; }
.status-lg { font-size: 1.25rem; padding: 0; background: none !important; white-space: normal; }
.status-note { margin: 8px 0 0; }
.toilet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.address { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.address .icon { margin-top: 2px; color: var(--ink-2); }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 8px 32px; }
.feature-group h3 { margin: 12px 0 4px; font-size: 1.05rem; }
.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.feature-label { flex: 1; }
.feature-value { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }
.is-yes .icon:first-child { color: var(--accent); }
.is-yes .tick { color: var(--ok); width: 1.1em; height: 1.1em; }
.is-yes .feature-value { color: var(--ok); }
.notes { margin: 0; }
.note { padding: 10px 0; border-bottom: 1px solid var(--line); }
.note dt { font-weight: 700; }
.note dd { margin: 2px 0 0; white-space: pre-line; }
.near-list { padding-left: 1.4em; margin: 0; }
.near-list li { padding: 8px 0; }
.near-list a { font-weight: 700; }
.near-meta { display: block; color: var(--ink-2); font-size: 1rem; }
.tour-panel { margin: 24px 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: radial-gradient(60% 90% at 100% 0%, rgba(34, 189, 239, 0.28), transparent 70%), linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 18px 45px rgba(63, 96, 172, 0.22); }
.tour-panel h2 { margin: 0 0 8px; display: flex; gap: 8px; align-items: center; color: #fff; }
.tour-panel .button { background: #fff; color: var(--accent-deep); border-color: #fff; }
.tour-panel :focus-visible { outline-color: #fff; }
.owner-cta { margin: 24px 0 8px; padding: 18px 22px; border: 1px solid var(--wash-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--paper), var(--sky-wash)); font-size: 1rem; }
.owner-cta p:first-child { font-family: var(--display); font-weight: 700; color: var(--ink); }
.owner-cta p { margin: 0 0 4px; }
.owner-cta p:last-child { margin: 0; }
.owner-cta a { display: inline-block; padding: 8px 0; }
.correction a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font-weight: 700; }

/* Maps */
.map { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--wash); overflow: hidden; }
.map-block { margin: 8px 0 24px; }
.map-block h2 { margin-top: 0; }
.map-town,
.map-region,
.map-full { height: 420px; }
.map-home { height: 460px; }
.map-toilet { height: 360px; }
.map-toggle { margin: 0 0 8px; }
.user-marker { display: flex; align-items: center; gap: 6px; pointer-events: none; }
.user-dot { width: 18px; height: 18px; border-radius: 50%; background: #14161b; border: 3px solid #fff; box-shadow: 0 0 0 3px #f2b705; }
.user-label { background: #14161b; color: #fff; font: 700 0.85rem/1.2 var(--font); padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.also { margin-left: 8px; font-size: 0.95rem; color: var(--ink-2); }
.card-also { margin: 8px 0 0; }
.card-also .also { margin-left: 0; }
.uat-note { margin: 8px 0 0; font-size: 1rem; color: var(--ink-2); max-width: 60ch; }
.map-fallback { padding: 16px; margin: 0; }
.map-legend { list-style: none; margin: 12px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 1rem; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend [data-legend-partial] { flex-basis: 100%; color: var(--ink-2); }
.map-legend svg, .map-legend img { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 1px rgba(20, 22, 27, 0.6)); }
.location-warning { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--bad-wash); color: var(--bad); font-weight: 700; }
.location-warning .icon { margin-top: 2px; }
.list-heading { margin-top: 2rem; }
.map-tools { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.map-tools label { font-weight: 700; }
.map-tools select { min-height: 48px; padding: 8px 12px; font: 400 1.05rem var(--font); border: 2px solid var(--ink-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.popup-title { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.maplibregl-popup-content { font-family: var(--font); padding: 12px 14px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.maplibregl-popup-close-button { width: 32px; height: 32px; font-size: 20px; }
.maplibregl-ctrl-attrib { font-size: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--wash-2); background: var(--wash); padding: 44px 0 56px; font-size: 0.95rem; color: var(--ink-2); }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 200px; height: auto; }
.site-footer strong { color: var(--ink); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.footer-grid > div { flex: 1 1 28rem; max-width: 70ch; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding: 10px 0; }

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .brand-name { font-size: 1.05rem; }
  .site-nav { width: 100%; }
  .site-nav ul { margin-left: -12px; }
  .at-about { grid-template-columns: 1fr; }
  .at-about img { width: 180px; }
  .cp-band .button { width: 100%; }
  .site-header { position: static; }
  .toilet-actions .button { flex: 1 1 100%; }
  .search-row .button { flex: 1 1 100%; }
  .search-row [data-locate] { order: -1; width: 100%; }
  .card-head .status { margin-top: 2px; }
  .map-town, .map-region, .map-full, .map-toilet { height: 300px; }
  .map-home { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header nav, .filters, .map, .toilet-actions, .owner-cta { display: none !important; }
}

/* Home page state map (pointer shortcut; the list beside it is the accessible route) */
.states-split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .states-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .states-split .state-links { grid-template-columns: 1fr; } }
.au-map-wrap { margin: 0; }
.au-map { display: block; width: 100%; height: auto; }
.au-map-wrap { padding: clamp(12px, 2vw, 24px); background: radial-gradient(70% 70% at 80% 10%, var(--sky-wash), transparent 70%), var(--wash); border: 1px solid var(--wash-2); border-radius: var(--radius-lg); }
.au-state { fill: #dbe4f4; stroke: #fff; stroke-width: 1.5; transition: fill .15s; }
.au-map a:hover .au-state, .au-map a.is-hot .au-state { fill: var(--accent); }
.au-label { font-family: var(--display); font-weight: 700; font-size: 15px; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.au-count { font-size: 12px; fill: var(--ink-2); text-anchor: middle; pointer-events: none; }
.au-map a:hover .au-label, .au-map a:hover .au-count, .au-map a.is-hot .au-label, .au-map a.is-hot .au-count { fill: #fff; }
.au-map a[data-state="act"]:hover .au-label, .au-map a[data-state="act"]:hover .au-count,
.au-map a[data-state="act"].is-hot .au-label, .au-map a[data-state="act"].is-hot .au-count { fill: var(--accent); }
.au-leader { stroke: var(--ink-2); stroke-width: 1; }
.au-map-wrap figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; }

/* First-visit disclaimer */
.disclaimer { width: min(36rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(22px, 4vw, 36px); border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28); }
.disclaimer::backdrop { background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(3px); }
.disclaimer h2 { margin: 0 0 12px; }
.disclaimer p { color: var(--ink-2); }
.disclaimer-small { font-size: 0.92rem; }
.disclaimer form { margin: 20px 0 0; }
.disclaimer .button { width: 100%; }
.disclaimer[open] { animation: disc-in .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes disc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.answer { font-size: 1.15rem; font-weight: 500; color: var(--ink); max-width: 60ch; margin: 10px 0 0; }

/* Example walkthrough on the Access Tours about page */
.tour-example { margin: 12px 0 8px; }
.tour-example a { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.tour-example a:hover { color: #fff; text-decoration: none; }
.tour-example img { width: 100%; height: auto; display: block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.tour-example a:hover img { transform: scale(1.02); }
.tour-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; white-space: nowrap;
  font: 700 1.02rem/1.2 var(--display); box-shadow: var(--shadow-blue);
}
.tour-play svg { width: 14px; height: 14px; flex: none; }
.tour-example a:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }
.tour-example figcaption { font-size: .92rem; color: var(--ink-2); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .tour-example a:hover img { transform: none; }
}

/* Map full screen */
.map.map-is-full {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  overscroll-behavior: none;
}
.map-block:fullscreen,
.map-block:-webkit-full-screen {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 12px 16px 16px;
  background: var(--paper, #fff);
  overflow: hidden;
}
.map-block:fullscreen > :not(.map),
.map-block:-webkit-full-screen > :not(.map) { flex: none; }
.map-block:fullscreen .map,
.map-block:-webkit-full-screen .map {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 0;
}
.map-is-full .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner,
.map-block:fullscreen .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner,
.map-block:-webkit-full-screen .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner {
  display: block;
}
.maplibregl-ctrl-group.map-fs-ctrl button.map-fs-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}
.maplibregl-ctrl-group.map-fs-ctrl button.map-fs-button svg {
  display: block;
  width: 20px;
  height: 20px;
}
.maplibregl-ctrl-group.map-fs-ctrl button.map-fs-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Contact form */
.contact-form { margin-top: 1.25rem; }
.contact-field { margin: 0 0 1.1rem; }
.contact-field label { display: block; font-family: var(--display); font-weight: 700; margin-bottom: 6px; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: 400 1.05rem/1.4 var(--font);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink-2);
  border-radius: var(--radius);
}
.contact-field input,
.contact-field select { min-height: 52px; }
.contact-field textarea { min-height: 12rem; resize: vertical; }
.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.contact-field input[aria-invalid="true"],
.contact-field select[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] { border-color: var(--bad); }
.contact-error { color: var(--bad); font-weight: 600; margin: 6px 0 0; }
.contact-error:empty { display: none; }
.contact-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; }
.contact-form .button:disabled { opacity: 0.72; cursor: progress; transform: none; }

/* Bigger feature icons on toilet pages (Craig 2026-10-30) */
.feature > .icon:first-child { width: 32px; height: 32px; }
.map-legend li { gap: 10px; }
