
.more { margin: 20px 0 8px; font-weight: 600; }

table.pay { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 8px 0 24px; }
table.pay th, table.pay td { padding: 6px 8px; border-bottom: 1px solid var(--line, #8884); text-align: left; vertical-align: top; }
table.pay td.n, table.pay th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll { overflow-x: auto; }
details summary { cursor: pointer; margin: 8px 0; }

:root {
  --ink: #1f2328; --muted: #5f6670; --line: #e3e6ea; --bg: #ffffff; --soft: #f5f7fa;
  --accent: #0855ea; --accent-ink: #ffffff; --warn: #8a5a00; --warn-bg: #fff6e0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8eaed; --muted: #a0a7b0; --line: #2e333a; --bg: #14171b; --soft: #1c2026;
    --accent: #6ea0ff; --accent-ink: #0b0d10; --warn: #ffd27a; --warn-bg: #2a2410;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.65 "Atkinson Hyperlegible", system-ui, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-family: "DotGothic16", monospace; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--accent); }
header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
header nav a:hover { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 32px 0 8px; }
.lede { color: var(--muted); margin: 0 0 24px; }
.search { margin: 8px 0 32px; }
.meetings { list-style: none; padding: 0; margin: 0; }
.meetings li { padding: 18px 0; border-top: 1px solid var(--line); }
.meetings .when { font-size: .9rem; color: var(--muted); }
.meetings h2 { font-size: 1.2rem; margin: 2px 0 6px; line-height: 1.3; }
.meetings h2 a { color: var(--ink); text-decoration: none; }
.meetings h2 a:hover { color: var(--accent); }
.meetings p { margin: 0; }
.tag { display: inline-block; font-size: .8rem; padding: 1px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); margin-left: 6px; vertical-align: 2px; }
.meeting h1 { margin-bottom: 4px; }
.meeting .when { color: var(--muted); margin: 0 0 20px; }
.meeting h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.meeting ul { padding-left: 1.2em; margin: 0; }
.meeting li { margin: 0 0 8px; }
.notice { background: var(--warn-bg); color: var(--warn); padding: 12px 16px; border-radius: 8px; margin: 16px 0; }
.sources { margin-top: 32px; padding: 16px; background: var(--soft); border-radius: 8px; font-size: .95rem; }
.sources a { display: inline-block; margin-right: 18px; }
.places { font-size: .95rem; color: var(--muted); }
footer { margin: 56px 0 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.back { font-size: .95rem; text-decoration: none; }
.overview { background: var(--soft); border-radius: 12px; padding: 22px 24px; margin: 8px 0 36px; }
.overview h2 { font-size: 1.35rem; margin: 0 0 6px; }
.ov-intro { margin: 0 0 16px; }
.themes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.themes li { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.themes h3 { font-size: 1.02rem; margin: 0 0 4px; }
.themes p { margin: 0; font-size: .95rem; line-height: 1.55; }
.themes .see { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.themes .see a { margin-right: 6px; white-space: nowrap; }
.ov-status { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.list-title { font-size: 1.35rem; margin: 0 0 4px; }
.toc { font-size: .9rem; line-height: 1.9; }
.projects { list-style: none; padding: 0; margin: 0; }
.projects li { padding: 14px 0; border-top: 1px solid var(--line); }
.projects h3 { font-size: 1.02rem; margin: 0 0 4px; }
.projects p { margin: 0; }
.projects .meta { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.results .kind { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-left: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search input { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--accent); }
.search-status { color: var(--muted); font-size: .9rem; margin: 8px 0 0; min-height: 1.4em; }
.results { list-style: none; padding: 0; margin: 0 0 24px; }
.results > li { padding: 14px 0; border-top: 1px solid var(--line); }
.results ul li { margin: 4px 0; }
.results .when { font-size: .9rem; color: var(--muted); }
.results a { font-weight: 700; text-decoration: none; }
.results ul { margin: 6px 0 0; padding-left: 1.2em; }
.results mark { background: #ffe58a; color: #1f2328; padding: 0 1px; }

/* ---- Naoshi-style system, civic colours ---- */
:root {
  --paper: #F3EFE3; --ink: #0A0D10; --muted: #4E555C; --line: #0A0D10;
  --bg: #F3EFE3; --soft: #FFFDF6; --card: #FFFDF6;
  --accent: #1F55D6; --accent-ink: #FFFFFF; --sky: #CFE4FF; --mint: #9FE3D8;
  --warn: #0A0D10; --warn-bg: #FCE84A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1316; --ink: #F3EFE3; --muted: #A9B0B6; --line: #F3EFE3;
    --bg: #0F1316; --soft: #181D21; --card: #181D21;
    --accent: #7FA8FF; --accent-ink: #0A0D10; --sky: #1E3357; --mint: #1F4A45;
    --warn: #0A0D10; --warn-bg: #FCE84A;
  }
}
body { font: 18px/1.6 "Lato", system-ui, sans-serif; background: var(--paper); }
h1, h2, h3, .brand, .list-title { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 800; letter-spacing: -0.04em; }
h2, h3 { letter-spacing: -0.03em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.15; }
header.site { background: var(--mint); border-bottom: 2px solid var(--line); }
header.site .wrap { align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .45em; letter-spacing: -0.03em; font-size: 1.3rem; }
.brand .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .13em var(--ink); }
header nav a { color: var(--ink); font-weight: 700; }
header nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
a { color: var(--accent); text-underline-offset: 3px; }
.lede { color: var(--muted); }
.search input { border: 2px solid var(--line); border-radius: 0; background: var(--card); box-shadow: 4px 4px 0 var(--line); padding: 14px 16px; }
.search input:focus { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.overview { background: var(--card); border: 2px solid var(--line); border-radius: 0; box-shadow: 6px 6px 0 var(--line); }
.themes li { background: var(--paper); border: 2px solid var(--line); border-radius: 0; }
.ov-status, .themes .see, .meetings .when, .results .when { color: var(--muted); }
.meetings li, .projects li, .results > li { border-top: 2px solid var(--line); }
.tag { border-radius: 0; border: 2px solid var(--line); background: var(--warn-bg); color: var(--ink); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; padding: 1px 6px; }
.notice { border: 2px solid var(--line); border-radius: 0; background: var(--warn-bg); color: var(--ink); }
.sources { background: var(--card); border: 2px solid var(--line); border-radius: 0; box-shadow: 4px 4px 0 var(--line); }
.results mark { background: var(--sky); color: var(--ink); }
.results .kind, .meetings .when, .kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .78rem; }
table.pay th { font-family: "Lato", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
table.pay th, table.pay td { border-bottom: 2px solid var(--line); }
.more a { display: inline-block; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  border: 2px solid var(--line); box-shadow: 3px 3px 0 var(--line); }
.more a:active { transform: translate(3px, 3px); box-shadow: none; }
footer { border-top: 2px solid var(--line); color: var(--muted); }

/* ---- summary cards ---- */
.overview { background: none; border: 0; box-shadow: none; padding: 0; margin: 8px 0 40px; }
.overview > h2 { font-size: 1.5rem; margin: 0 0 16px; }
.themes { counter-reset: theme; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.themes li { counter-increment: theme; display: flex; flex-direction: column; background: var(--card);
  border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--line); padding: 18px 20px 16px; transition: transform .12s, box-shadow .12s; }
.themes li:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--line); }
.themes li::before { content: counter(theme, decimal-leading-zero); font-family: "JetBrains Mono", monospace; font-weight: 800;
  font-size: .8rem; color: var(--accent); margin-bottom: 6px; }
.themes h3 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 8px; }
.themes p { font-size: 1rem; line-height: 1.6; margin: 0; }
.themes .see { margin-top: auto; padding-top: 14px; font-size: .85rem; }
.themes .see a { font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.themes .see a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .themes li { transition: none; } .themes li:hover { transform: none; } }

/* ---- even spacing around the search box ---- */
.search { margin: 40px 0; }
.search-status { margin: 0; min-height: 0; }
.search-status:not(:empty) { margin-top: 10px; }
.overview { margin-top: 0; }

/* ---- labels: always dark text on yellow, in light and dark mode ---- */
.tag, .notice { color: #0A0D10; }
.tag.muted { background: transparent; color: var(--ink); }

/* ---- even spacing when the page heading is hidden ---- */
h1.sr + .month { margin-top: 40px; }
h1.sr + .lede { margin: 40px 0; }

/* ---- Ask box (mockup) ---- */
.ask { display: flex; margin: 40px 0 14px; border: 2px solid var(--line); background: var(--card); box-shadow: 5px 5px 0 var(--line); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; padding: 16px 18px; }
.ask input:focus { outline: none; }
.ask:focus-within { box-shadow: 5px 5px 0 var(--accent); }
.ask button { border: 0; border-left: 2px solid var(--line); background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer; }
.examples { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.examples button { font: inherit; font-size: .9rem; color: var(--ink); background: transparent; border: 2px solid var(--line); padding: 6px 12px; cursor: pointer; }
.examples button:hover { background: var(--sky); }
.answer { background: var(--card); border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--line); padding: 20px 22px; margin: 0 0 40px; }
.answer .q { font-family: "JetBrains Mono", monospace; font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; margin: 0 0 10px; }
.answer p { margin: 0 0 10px; }
.answer ul { margin: 0 0 10px; padding-left: 1.2em; } .answer ul li { margin: 0 0 6px; } .answer sup a { text-decoration: none; margin-left: 1px; }
.answer .label { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .75rem; color: var(--muted); margin: 14px 0 6px; }
.answer ol { margin: 0; padding-left: 1.3em; font-size: .95rem; }
.answer .note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.ask-meeting { margin: 32px 0; }
.ask-meeting .ask { margin: 0 0 10px; }
.copyai { font: inherit; font-size: .9rem; font-weight: 700; background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 6px 12px; cursor: pointer; }

.tagline { font-family: "JetBrains Mono", monospace; font-weight: 800; letter-spacing: -0.04em; font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.2; margin: 40px 0 0; }
.tagline + h1.sr + .ask, .tagline ~ .ask { margin-top: 20px; }

/* ---- meetings list ---- */
.month { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: "Lato", sans-serif; font-weight: 700;
  color: var(--muted); margin: 36px 0 10px; }
.mlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mrow { display: grid; grid-template-columns: 1fr; gap: 4px 16px; align-items: center; padding: 14px 18px;
  background: var(--card); border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); color: var(--ink); text-decoration: none;
  transition: transform .12s, box-shadow .12s; }
.mrow:hover, .mrow:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.mrow .when { grid-column: 1; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mrow .when .tag { margin-left: 0; }
.mrow .mtitle { grid-column: 1; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.mrow .go { grid-column: 2; grid-row: 1 / span 2; font-family: "JetBrains Mono", monospace; font-weight: 800; color: var(--accent); font-size: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .mrow { transition: none; } .mrow:hover { transform: none; } }

/* ---- slim meeting page ---- */
.meeting .mwhen { margin: 32px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meeting .mhead { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin: 0 0 24px; }
.meeting h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.meeting li { margin: 0 0 10px; }
.sources h2 { font-size: 1.05rem; margin: 0 0 8px; }
.sources a { display: block; margin: 0; padding: 8px 0; font-weight: 700; text-decoration: none; }
.sources .copyai { margin-top: 12px; }

/* ---- date tiles ---- */
.mrow { grid-template-columns: auto 1fr; gap: 0 16px; align-items: center; }
.dtile { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 54px; min-height: 54px;
  padding: 6px 4px; border: 2px solid var(--line); background: var(--paper); line-height: 1; align-self: start; }
.dmon, .dwk { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dday { font-family: "JetBrains Mono", monospace; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; margin: 3px 0; color: var(--ink); }
.mbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mrow .when { font-size: .72rem; text-transform: uppercase; }

/* ---- dark mode: quieter shadows ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mrow, :root:not([data-theme="light"]) .themes li { box-shadow: none; }
  :root:not([data-theme="light"]) .mrow:hover, :root:not([data-theme="light"]) .themes li:hover { box-shadow: 4px 4px 0 var(--accent); }
  :root:not([data-theme="light"]) .mrow, :root:not([data-theme="light"]) .themes li, :root:not([data-theme="light"]) .dtile { border-color: #3A4249; }
}

/* ---- projects ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip { flex: none; font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink); background: transparent;
  border: 2px solid var(--line); padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pcard { background: var(--card); border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); padding: 14px 18px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0 0 6px; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pstat { border: 2px solid var(--line); padding: 1px 6px; color: var(--ink); }
.pstat.ok { background: var(--mint); color: #0A0D10; border-color: var(--mint); }
.paddr { font-size: 1.1rem; line-height: 1.3; margin: 0 0 4px; }
.pwhat { margin: 0; }
.pnums { margin: 6px 0 0; font-weight: 700; font-size: .95rem; }
.srcnote { margin: 32px 0 0; font-size: .85rem; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pcard { box-shadow: none; border-color: #3A4249; }
}

/* ---- Approved: green in both themes, dark text (about 13:1 contrast) ---- */
.pstat.ok { background: #9FE3D8; border-color: #9FE3D8; color: #0A0D10; }
.chip.ok { border-color: #2E9C8C; }
.chip.ok.on { background: #9FE3D8; border-color: #9FE3D8; color: #0A0D10; }

/* ---- pay page ---- */
.stiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 28px; }
.stile { border: 2px solid var(--line); background: var(--card); padding: 12px 14px; }
.stile b { display: block; font-family: "JetBrains Mono", monospace; font-weight: 800; letter-spacing: -0.04em; font-size: 1.35rem; line-height: 1.2; }
.stile span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .stiles { grid-template-columns: repeat(2, 1fr); } }
.panel { margin: 0; }
table.pay th, table.pay td { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); padding: 10px 8px; }
table.pay thead th { border-bottom: 2px solid var(--line); color: var(--muted); }
details.fine { font-size: .88rem; color: var(--muted); margin: 0 0 16px; }
details.fine p { margin: 6px 0 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stile { border-color: #3A4249; }
}

/* ==== ORBIT DESIGN (from mockups/orbit-burnaby.html) — overrides everything above ==== */
:root {
  --ground: #eeece6; --paper: #eeece6; --bg: #eeece6; --card: #fafaf7; --soft: #fafaf7;
  --ink: #181818; --muted: #5d5d5d; --line: #181818;
  --navy: #003369; --blue: #004a98; --sky-c: #007ca5; --green: #5e9332; --forest: #00422f;
  --sand: #f4daa6; --peach: #f9c9bf; --mint: #c9e1bd; --sky: #cfe0f5;
  --accent: #004a98; --accent-ink: #ffffff; --warn-bg: #f4daa6;
  --hair: color-mix(in srgb, var(--ink) 14%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0f1720; --paper: #0f1720; --bg: #0f1720; --card: #16212d; --soft: #16212d;
    --ink: #f2f0ea; --muted: #a9b3bf; --line: #f2f0ea; --accent: #8fbcf0; --accent-ink: #0f1720; --sky: #1d3550;
    --mint: #c9e1bd; --sand: #f4daa6; --peach: #f9c9bf;
  }
}
:root[data-theme="dark"] {
  --ground: #0f1720; --paper: #0f1720; --bg: #0f1720; --card: #16212d; --soft: #16212d;
  --ink: #f2f0ea; --muted: #a9b3bf; --line: #f2f0ea; --accent: #8fbcf0; --accent-ink: #0f1720; --sky: #1d3550;
    --mint: #c9e1bd; --sand: #f4daa6; --peach: #f9c9bf;
}
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--ink); font: 400 17px/1.55 Inter, system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, .list-title, .answer .q, .tagline, .dday, .stile b, .mrow .go, .themes li::before {
  font-family: Inter, system-ui, sans-serif; font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: .95; letter-spacing: -0.045em; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
a { color: var(--accent); }

/* nav: floating pill */
header.site { position: sticky; top: 12px; z-index: 20; display: flex; justify-content: center; padding: 0 16px; margin-top: 12px; background: none; border: 0; }
.navpill { display: flex; align-items: center; gap: 4px; background: var(--ink); color: var(--ground); border-radius: 100px; padding: 6px 6px 6px 18px; max-width: 100%; overflow-x: auto; }
.navpill .brand { font-family: Inter, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 1rem; color: inherit; margin-right: 10px; white-space: nowrap; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.navpill .brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--ground); }
.navpill a:not(.brand) { color: inherit; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 8px 14px; border-radius: 100px; white-space: nowrap; margin: 0; }
.navpill a:not(.brand):hover, .navpill a.on { background: var(--ground); color: var(--ink); text-decoration: none; }

/* inner pages: softer, rounded cards instead of hard boxes */
main.wrap { padding-top: 28px; }
.navpill .brand .bn { color: inherit; }
.mrow, .pcard, .themes li, .sources, .answer, .stile, .overview { border: 0; box-shadow: none; border-radius: 24px; background: var(--card); }
.mrow, .themes li, .pcard { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.mrow:hover, .mrow:focus-visible, .themes li:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: none; }
.mrow { padding: 18px 22px; }
.dtile { border: 0; border-radius: 16px; background: var(--ground); }
.dday { font-size: 1.7rem; letter-spacing: -.05em; }
.tag { border: 0; border-radius: 100px; background: var(--peach); color: #181818; padding: 3px 10px; }
.tag.muted { background: var(--ground); color: var(--ink); }
.notice { border: 0; border-radius: 18px; background: var(--sand); color: #181818; }
.pstat { border-radius: 100px; border: 1.5px solid var(--ink); }
.pstat.ok, .chip.ok.on { background: var(--mint); border-color: var(--mint); color: #181818; }
.chip { border-radius: 100px; border: 1.5px solid var(--ink); }
.chip.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.search input, .ask { border-radius: 100px; border: 1.5px solid var(--ink); box-shadow: none; }
.search input:focus, .ask:focus-within { box-shadow: 0 0 0 3px var(--sky); border-color: var(--accent); }
.ask { padding: 6px; background: var(--card); }
.ask input { padding: 10px 16px; }
.ask button, .more a { border: 0; border-radius: 100px; background: var(--blue); color: #fff; padding: 12px 22px; font-weight: 600; box-shadow: none; }
.ask button:hover, .more a:hover { background: var(--navy); }
.examples button, .copyai { border-radius: 100px; border: 1.5px solid var(--ink); }
.themes li::before { color: var(--green); font-size: .9rem; }
table.pay th, table.pay td { border-bottom: 1px solid var(--hair); }
table.pay thead th { border-bottom: 1.5px solid var(--ink); }
.month { font-family: Inter, sans-serif; }
footer { border: 0; text-align: center; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mrow:hover, :root:not([data-theme="light"]) .themes li:hover { box-shadow: none; }
}

/* ===== homepage: simple ===== */
.simple { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.simple h1 { font-weight: 600; font-size: clamp(2.6rem, 8vw, 4.2rem); letter-spacing: -.045em; line-height: 1; margin: clamp(56px, 10vw, 96px) 0 clamp(28px, 5vw, 44px); }
.simple h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: 0; }
.slides { min-height: 270px; touch-action: pan-y; }
.slide h2 { font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; color: var(--c); }
.slide p { font-size: clamp(1.08rem, 2.4vw, 1.22rem); line-height: 1.65; margin: 0 0 18px; max-width: 34em; }
.slide .more { font-weight: 600; text-decoration: none; color: var(--c); }
.slide .more:hover { text-decoration: underline; text-underline-offset: 4px; }
.slide:not([hidden]) { animation: slidein .45s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { opacity: 0; transform: translateX(var(--from, 16px)); } }
.ctrl { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }
.ctrl .arrow { border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.ctrl .arrow:hover { background: var(--hair); }
.dots { display: flex; gap: 7px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: var(--hair); cursor: pointer; transition: width .3s, background .3s; }
.dot[aria-current] { width: 24px; background: var(--c); }
.home footer { max-width: 720px; margin: 96px auto 48px; padding: 0 20px; text-align: left; }
@media (prefers-reduced-motion: reduce) { .slide:not([hidden]) { animation: none; } .dot { transition: none; } }

/* ===== pop palette (cream, near-black, lime/teal/salmon/orange) ===== */
:root { --ground: #f9f1e8; --paper: #f9f1e8; --bg: #f9f1e8; --card: #fffaf4; --soft: #fffaf4; --ink: #242424; --muted: #5a5550;
  --accent: #1f6f72; --blue: #242424; --navy: #000; --green: #8bb33a; --mint: #cde664; --peach: #f9988b; --sand: #f2c14e; --sky: #cde0dc;
  --hair: color-mix(in srgb, var(--ink) 14%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ground: #1c1c1a; --paper: #1c1c1a; --bg: #1c1c1a; --card: #262624; --soft: #262624;
  --ink: #f9f1e8; --muted: #b5aea6; --accent: #7fd0d2; } }
:root[data-theme="dark"] { --ground: #1c1c1a; --paper: #1c1c1a; --bg: #1c1c1a; --card: #262624; --soft: #262624; --ink: #f9f1e8; --muted: #b5aea6; --accent: #7fd0d2; }
.tag, .notice, .pstat.ok, .chip.ok.on { color: #242424; }
.navpill .brand .dot { background: #cde664; box-shadow: 0 0 0 1.5px #242424; }

.hrow { display: flex; align-items: center; gap: 22px; margin: clamp(56px, 10vw, 96px) 0 clamp(28px, 5vw, 44px); }
.hrow h1 { margin: 0; flex: none; }
.hrow .shape { flex: 1; min-width: 0; max-width: 300px; height: clamp(40px, 7vw, 58px); }
@media (max-width: 480px) { .hrow .shape { display: none; } }
.slide h2 { color: var(--ink); }
.slide h2 span { background: var(--c); color: #242424; padding: .04em .28em; border-radius: .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.slide .more { display: inline-flex; align-items: center; gap: 8px; background: #f9988b; color: #242424; font-size: .92rem; font-weight: 700;
  padding: 9px 16px; border-radius: 8px; text-decoration: none; transition: transform .15s; }
.slide .more:hover { text-decoration: none; transform: translateY(-2px); }
.dot[aria-current] { background: var(--c); box-shadow: 0 0 0 1.5px #242424; }

/* ===== meetings list: date + short summary only ===== */
.mrow { align-items: center; padding: 16px 20px; gap: 0 20px; }
.mrow .mtitle { font-weight: 500; font-size: 1.08rem; line-height: 1.45; letter-spacing: -.005em; }
.mbody { justify-content: center; }
.dtile { align-self: center; min-width: 58px; min-height: 58px; }

/* meetings list: date tiles coloured by month */
.mrow .dtile { background: var(--c); }
.mrow .dtile .dmon, .mrow .dtile .dday { color: #242424; }
.mrow { border: 1.5px solid transparent; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.mrow:hover, .mrow:focus-visible { border-color: var(--ink); }

/* ===== projects page ===== */
.ptitle { font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -.045em; line-height: 1; margin: 36px 0 24px; }
.ptitle em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: 0; }
.ptitle + .lede { margin: 0 0 24px; font-size: 1.05rem; }
.chips { gap: 8px; margin: 0 0 12px; }
.chips .chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--hair); background: var(--card); color: var(--ink); padding: 7px 13px; font-weight: 600; }
.chips .chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.chips .chip b { font-weight: 500; color: var(--muted); }
.chips .chip:hover { border-color: var(--ink); }
.chips .chip.on { background: var(--s, var(--ink)); border-color: var(--ink); color: #242424; }
.chips .chip[data-area="all"].on { color: var(--ground); }
.chips .chip.on b { color: inherit; }
.plist { gap: 10px; }
.parea { margin: 28px 0 2px; }
.parea h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.parea h2 span { font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pcard { position: relative; padding: 18px 20px 18px 26px; overflow: hidden; }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--s); }
.ptop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; }
.pcard .pstat { background: var(--s); color: #242424; border: 0; border-radius: 100px; padding: 3px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pbar { display: inline-flex; gap: 3px; }
.pbar i { width: 18px; height: 5px; border-radius: 3px; background: var(--hair); }
.pbar i.on { background: var(--s); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.psince { font-size: .8rem; color: var(--muted); }
.pcard .paddr { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; margin: 0 0 4px; font-family: Inter, sans-serif; }
.pcard .pwhat { margin: 0; color: var(--ink); opacity: .85; line-height: 1.5; }
.pcard .pnums { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-weight: 600; font-size: .85rem; }
.pcard .pnums span { background: var(--ground); border-radius: 6px; padding: 3px 9px; }

/* projects: neighbourhood sections that open and close */
.areas { display: grid; gap: 8px; margin-top: 8px; }
.parea { margin: 0; background: var(--card); border-radius: 18px; }
.parea[hidden] { display: none; }
.parea summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: 18px; }
.parea summary::-webkit-details-marker { display: none; }
.parea summary:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.parea summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.aname { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; min-width: 8.5em; }
.acount { font-size: .9rem; font-weight: 600; color: var(--muted); min-width: 2em; }
.amix { flex: 1; display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; max-width: 340px; margin-left: auto; }
.amix i { display: block; min-width: 4px; }
.achev { width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; margin-left: 8px; }
.parea[open] .achev { transform: rotate(-135deg) translateX(-3px); }
.parea .plist { padding: 0 12px 12px; }
.parea .pcard { background: var(--ground); }
@media (max-width: 560px) { .aname { min-width: 0; flex: 1; } .amix { flex: none; width: 70px; } }
@media (prefers-reduced-motion: reduce) { .achev { transition: none; } }

/* ===== meeting page ===== */
.mtg { max-width: 720px; }
.mdate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 10px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.draft { font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #f2c14e; color: #242424; border: 0; border-radius: 100px; padding: 3px 10px; cursor: pointer; }
.draftnote { font-size: .9rem; color: var(--muted); margin: -2px 0 12px; }
.mtg h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 18px; }
.strip { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.strip li { background: var(--card); border: 1px solid var(--hair); border-radius: 100px; padding: 6px 13px; font-size: .88rem; font-weight: 600; }
.strip li.ok { background: #cde664; color: #242424; border-color: transparent; }
.strip li.warm { background: #f9988b; color: #242424; border-color: transparent; }
.mtg h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 12px; font-family: Inter, sans-serif; }
.big { display: grid; gap: 10px; margin: 0 0 44px; }
.big section { background: var(--card); border-radius: 18px; padding: 18px 20px 16px 24px; position: relative; overflow: hidden; }
.big section::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--t); }
.bk { display: inline-block; margin: 0 0 8px; background: var(--t); color: #242424; border-radius: 100px; padding: 2px 10px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.big h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; margin: 0 0 6px; font-family: Inter, sans-serif; }
.bt { font-size: .97rem; line-height: 1.55; opacity: .88; }
.big .bk + .bt { font-size: 1.05rem; opacity: 1; }
.bt ul { margin: 6px 0 0; padding-left: 1.1em; } .bt ul.cols { columns: 2; column-gap: 24px; } .bt li { margin: 0 0 4px; }
@media (max-width: 560px) { .bt ul.cols { columns: 1; } }
.splitlist { background: var(--card); border-radius: 16px; margin: 0 0 44px; padding: 16px 20px 6px 40px; }
.splitlist li, .plainlist li { margin: 0 0 10px; line-height: 1.55; }
.topics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 8px; }
.topics > .topic { min-width: 0; }
.topic { background: var(--card); border-radius: 16px; }
.topic summary { display: flex; align-items: center; gap: 12px; padding: 15px 18px; cursor: pointer; list-style: none; border-radius: 16px; }
.topic summary::-webkit-details-marker { display: none; }
.topic summary:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.topic summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.topic summary i { width: 12px; height: 12px; border-radius: 4px; background: var(--t); flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.tname { font-weight: 600; font-size: 1.05rem; }
.tcount { color: var(--muted); font-weight: 600; font-size: .9rem; }
.tchev { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.topic[open] .tchev { transform: rotate(-135deg) translateX(-3px); }
.topic ul { margin: 0; padding: 0 22px 16px 42px; }
.topic li { margin: 0 0 10px; line-height: 1.55; font-size: .98rem; }
.also { margin-top: 24px; }
.term { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; position: relative; }
.term:hover::after, .term:focus::after { content: attr(data-tip); position: absolute; left: 0; top: 1.6em; z-index: 3; width: 260px; max-width: 70vw; background: var(--ink); color: var(--ground);
  font-size: .82rem; font-weight: 500; line-height: 1.4; padding: 8px 10px; border-radius: 8px; }
.recs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.rbtn { background: #f9988b; color: #242424; font-weight: 700; font-size: .9rem; text-decoration: none; border-radius: 8px; padding: 9px 14px; transition: transform .15s; }
.rbtn:hover { transform: translateY(-2px); }
.mnav { display: flex; justify-content: space-between; margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--hair); font-weight: 600; }
.mnav a { text-decoration: none; color: var(--ink); } .mnav a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tchev, .rbtn { transition: none; } }

/* meeting page without a summary: status steps */
.slede { font-size: 1.08rem; color: var(--muted); margin: -6px 0 28px; max-width: 36em; }
.steps { list-style: none; padding: 20px 22px; margin: 0; background: var(--card); border-radius: 18px; display: grid; gap: 4px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; position: relative; padding: 8px 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 38px; bottom: -10px; width: 2px; background: var(--hair); }
.steps li.done:not(:last-child)::before { background: #8bb33a; }
.sdot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 800;
  border: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); color: #242424; }
.steps li.done .sdot { background: #cde664; border-color: #cde664; }
.stext { display: flex; flex-direction: column; padding-top: 3px; }
.stext b { font-weight: 600; }
.steps li.todo .stext b { color: var(--muted); }
.stext span { font-size: .92rem; color: var(--muted); }
.stext a { font-weight: 600; }

/* ===== spending page ===== */
.sp { max-width: 720px; }
.kick { margin: 36px 0 6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.sp .ptitle { margin-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 28px; }
.tiles div { background: var(--card); border-radius: 16px; padding: 16px 18px; }
.tiles b { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.tiles span { font-size: .88rem; color: var(--muted); font-weight: 500; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.find input { width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 18px; border-radius: 100px; border: 1.5px solid var(--hair); background: var(--card); color: var(--ink); box-shadow: none; }
.find input:focus { outline: none; border-color: var(--ink); }
.found { list-style: none; margin: 10px 0 0; padding: 6px 18px; background: var(--card); border-radius: 16px; }
.found li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.found li:last-child { border-bottom: 0; }
.found em { font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.found b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.found .none { color: var(--muted); }
.sp h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; margin: 40px 0 14px; font-family: Inter, sans-serif; }
.bars { list-style: none; padding: 18px 20px; margin: 0; background: var(--card); border-radius: 18px; display: grid; gap: 2px; --bar: #00909a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bars { --bar: #4fd1d6; } }
:root[data-theme="dark"] .bars { --bar: #4fd1d6; }
.bars li { display: grid; grid-template-columns: minmax(0, 15em) 1fr 4.5em; align-items: center; gap: 12px; padding: 5px 4px; border-radius: 8px; cursor: default; }
.bars li:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.bn { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw { height: 14px; }
.bw i { display: block; height: 100%; background: var(--bar); border-radius: 0 4px 4px 0; min-width: 3px; }
.bv { font-size: .88rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .bars li { grid-template-columns: 1fr 4.2em; } .bw { grid-column: 1 / -1; grid-row: 2; height: 10px; } }
.small { font-size: .85rem; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.topic .scroll { padding: 0 18px 16px; max-height: 480px; overflow: auto; }
.topic table.pay { margin: 0; }

/* ===== search page ===== */
.srch { max-width: 720px; }
.srch .ptitle { margin: 36px 0 18px; }
.find.big input { font-size: 1.2rem; padding: 17px 22px; border-width: 2px; border-color: var(--ink); }
.find.big input:disabled { opacity: .6; }
.srch .chips { margin: 16px 0 0; }
.srch .chip b { font-weight: 500; color: var(--muted); margin-left: 3px; }
.srch .chip.on b { color: inherit; }
.sstatus { font-size: .85rem; color: var(--muted); margin: 12px 0 8px; min-height: 1.2em; }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.res { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; background: var(--card); border-radius: 14px; color: var(--ink);
  text-decoration: none; border: 1.5px solid transparent; }
.res:hover, .res.active { border-color: var(--ink); }
.rmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 500; }
.rtype { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #242424; background: #e7e1d8; border-radius: 100px; padding: 2px 9px; }
.t-topic .rtype { background: #cde0dc; } .t-meeting .rtype { background: #cde664; } .t-decision .rtype { background: #cde664; }
.t-vote .rtype { background: #f9988b; } .t-project .rtype { background: #6fbcbf; } .t-supplier .rtype, .t-grant .rtype { background: #f2c14e; }
.rtitle { font-weight: 600; line-height: 1.4; }
.rtext { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.res mark { background: #cde664; color: #242424; border-radius: 3px; padding: 0 2px; }
.results .none { padding: 16px 0; color: var(--muted); }
.dym { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.tries { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.try { font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1.5px solid var(--hair); border-radius: 100px; padding: 6px 13px; cursor: pointer; }
.try:hover { border-color: var(--ink); }
.srch .chips .chip.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.srch .results > li { border-top: 0; padding: 0; }
.srch .results a { font-weight: 400; }
.srch .rtitle { font-weight: 600; }
.srch #intro { margin-top: 14px; }
.srch #intro .tries { margin: 0; }
li.hit { background: color-mix(in srgb, #cde664 45%, transparent); border-radius: 6px; box-shadow: 0 0 0 6px color-mix(in srgb, #cde664 45%, transparent); }

/* official record links: small pills under the summary chips */
.mtg .recs { margin: -26px 0 40px; gap: 6px; }
.mtg .rbtn { background: transparent; border: 1.5px solid var(--hair); color: var(--ink); font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.mtg .rbtn::before { content: "↗ "; color: var(--muted); }
.mtg .rbtn:hover { border-color: var(--ink); transform: none; }
.mtg h1 + .recs { margin: 0 0 24px; }

/* sections that open and close: even boxes and even gaps everywhere */
.topic > summary, .parea > summary { margin: 0; }
.topics { margin-bottom: 0; }
.topic.also { margin-top: 8px; }

/* one spacing rule: 8px between pills and boxes, 40px between groups */
.mtg .strip { gap: 8px; margin: 0 0 8px; }
.mtg .recs { gap: 8px; margin: 0 0 40px; }
.mtg h1 + .recs { margin: 0 0 40px; }
.mtg .big { gap: 8px; margin: 0 0 40px; }
.mtg .splitlist { margin: 0 0 40px; }
.mtg .topics { gap: 8px; }
.mtg h2 { margin: 0 0 12px; }
.chips { gap: 8px; margin: 0 0 8px; }
.areas { gap: 8px; margin-top: 0; }
.plist { gap: 8px; }

/* no footer: keep space at the bottom of every page */
body > main { padding-bottom: 72px; }

/* ===== header: light, plain, aligned with the content ===== */
header.site { position: static; display: block; margin: 0; padding: 28px 20px 0; }
.navpill { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  max-width: 680px; margin: 0 auto; padding: 0; background: none; color: var(--ink); border-radius: 0; overflow: visible; }
.navpill .brand { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; margin: 0; gap: 8px; color: var(--ink); }
.navpill .brand .dot { width: 8px; height: 8px; background: var(--green); box-shadow: none; align-self: center; }
.navpill .navlinks { display: flex; gap: 22px; }
.navpill .navlinks a { padding: 0; border-radius: 0; color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none; }
.navpill .navlinks a:hover { background: none; color: var(--ink); }
.navpill .navlinks a.on { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
body:not(.home) .navpill { max-width: 720px; }
@media (max-width: 560px) {
  header.site { padding-top: 20px; }
  .navpill .navlinks { gap: 16px; width: 100%; }
}

/* ===== phones: every tap target at least 44px tall, nothing cut off, no text under 12px ===== */
@media (max-width: 560px) {
  header.site { padding-top: 12px; }
  .navpill { gap: 0; }
  .navpill .brand { padding: 10px 0 2px; }
  .navpill .navlinks { justify-content: space-between; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .navpill .navlinks::-webkit-scrollbar { display: none; }
  .navpill .navlinks a { flex: none; font-size: clamp(.84rem, 4.1vw, .95rem); padding: 12px 0; }
  .navpill .navlinks a.on { text-underline-offset: 5px; }
  .ctrl .arrow { width: 44px; height: 44px; }
  .dots { gap: 10px; }
  .dot { position: relative; }
  .dot::after { content: ""; position: absolute; inset: -18px -5px; }
  .mtg .rbtn, .rbtn { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
  .chips .chip, .try { min-height: 44px; }
  .dmon, .dwk { font-size: 12px; }
  .bk, .pcard .pstat { font-size: 12px; }
  .bars .bn { white-space: normal; overflow: visible; line-height: 1.3; }
}
