/* Southborough This Week
   Type: Public Sans (civic UI, headings) + Source Serif 4 (reading).
   Signature: a highlighter marks the items that matter, and each meeting gets
   a timeline strip showing where those items fall in the recording.
   Fonts are self-hosted (SIL Open Font License, see fonts/OFL-*.txt) so
   visitors aren't tracked by a third-party font service. */

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-italic.woff") format("woff");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f4f6f4;
  --ink: #16211c;
  --granite: #55625c;
  --rule: #d3dbd6;
  --rule-soft: #e4eae6;
  --evergreen: #1d5c46;
  --evergreen-soft: #a7cbbc;
  --hl: #f2dc58;
  --banner-bg: #16211c;
  --banner-ink: #f4f6f4;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 40rem;
  --wide: 64rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111714;
    --ink: #e3e9e5;
    --granite: #9aa7a0;
    --rule: #2c3732;
    --rule-soft: #1c2521;
    --evergreen: #7fc8a8;
    --evergreen-soft: #2f5647;
    --hl: #77691a;
    --banner-bg: #e3e9e5;
    --banner-ink: #111714;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.62;
  font-optical-sizing: auto;
}

.page {
  max-width: calc(var(--measure) + 2rem);
  margin: 0 auto;
  padding: 0 1rem 4rem;
}
.page.is-wide { max-width: calc(var(--wide) + 2rem); }
a.plain { color: inherit; text-decoration: none; }
a.plain:hover { text-decoration: underline; }

a {
  color: var(--evergreen);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 2px; border-radius: 2px; }

p { margin: 0 0 0.9em; }

h1, h2, h3 {
  font-family: var(--sans);
  line-height: 1.15;
  margin: 0;
}

mark {
  color: inherit;
  background: linear-gradient(to bottom, transparent 52%, var(--hl) 52%, var(--hl) 92%, transparent 92%);
  padding: 0 0.12em;
  margin: 0 -0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.muted { color: var(--granite); }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Top bar: on every page ---------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.topbar-inner {
  max-width: calc(var(--wide) + 2rem);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
}
.topbar-home { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.topbar-home img { width: 1.6rem; height: 1.6rem; }
.topnav { display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.topnav a:hover { border-bottom-color: var(--rule); }
.topnav a[aria-current="page"] { border-bottom-color: var(--evergreen); color: var(--evergreen); }
.topnav-search { display: inline-flex; align-items: center; gap: 0.3rem; }

/* Sample-data notice ------------------------------------------------------- */
.banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.6rem 1rem;
}

/* Masthead (home) --------------------------------------------------------- */
.masthead { padding: 2.5rem 0 1.75rem; }

.site-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.site-title a { color: inherit; text-decoration: none; }
.logo-link { display: block; }
.logo { display: block; width: 100%; max-width: 30rem; height: auto; }
.crumb-home { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-decoration: none; }
.crumb-home:hover { text-decoration: underline; }
.crumb-home img { width: 1.75rem; height: 1.75rem; }

.site-description {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--granite);
  font-size: 1.15rem;
}

.hero-search { display: flex; gap: 0.5rem; max-width: 40rem; margin-top: 1.25rem; }
.hero-search input {
  flex: 1;
  min-width: 0;
  font: 1rem var(--sans);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.hero-search input:focus { outline: 2px solid var(--evergreen); outline-offset: 1px; }
.hero-search button, .button {
  font: 600 0.95rem var(--sans);
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--evergreen);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* Home: what's happening now ------------------------------------------------ */
.big-event {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.75rem;
  border-radius: 6px;
  background: var(--hl);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
}
.big-event:hover .big-event-what { text-decoration: underline; }
.big-event-when { font-weight: 800; }
.big-event-what { font-weight: 500; }

.home-grid { display: grid; gap: 0 3rem; grid-template-columns: minmax(0, 1fr); }
.home-block { border-top: 3px solid var(--ink); padding-top: 1rem; margin-bottom: 2.5rem; }
.home-block .block-title { font-size: 1.25rem; }
@media (min-width: 60rem) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 21rem;
    grid-template-areas: "issues ahead" "issues decisions" "weeks decisions" "weeks .";
    align-items: start;
  }
  .home-ahead { grid-area: ahead; }
  .home-issues { grid-area: issues; }
  .home-decisions { grid-area: decisions; }
  .home-weeks { grid-area: weeks; }
  .home-grid:not(:has(.home-issues)) { grid-template-areas: "weeks ahead" "weeks decisions"; }
}
.block-more { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; margin-top: 0.75rem; }

.events { list-style: none; padding: 0; margin: 0; }
.event {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  line-height: 1.4;
}
.event-when { font: 700 0.9rem var(--sans); font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.event-what { font-size: 1rem; }
.event-meta { display: block; font: 0.82rem var(--sans); color: var(--granite); margin-top: 0.15rem; }
.event-meta a { color: var(--granite); }
.events.is-past .event { opacity: 0.7; }

.issue-tag {
  display: inline-block;
  font: 600 0.78rem var(--sans);
  line-height: 1.3;
  color: var(--evergreen);
  border: 1px solid var(--evergreen-soft);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  text-decoration: none;
  vertical-align: 0.1em;
  white-space: normal;
}
.issue-tag:hover { background: var(--rule-soft); }
.issue-tag-count { font-weight: 400; color: var(--granite); }

.issue-list { list-style: none; padding: 0; margin: 0; }
.issue-card { padding: 0.8rem 0; border-bottom: 1px solid var(--rule-soft); }
.issue-card p { margin: 0; }
.issue-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.issue-card-title a { color: var(--ink); text-decoration: none; }
.issue-card-title a:hover { text-decoration: underline; }
.issue-card-status { font-size: 1rem; line-height: 1.45; margin-top: 0.2rem !important; }
.issue-card-meta { font: 0.82rem var(--sans); color: var(--granite); margin-top: 0.3rem !important; }

.decision-list { list-style: none; padding: 0; margin: 0; }
.decision-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--rule-soft); }
.decision-list p { margin: 0; }
.decision-motion { font-size: 0.98rem; line-height: 1.4; }
.decision-motion .vote-result { font: 700 0.8rem var(--sans); margin-right: 0.25rem; }
.decision-meta { font: 0.82rem var(--sans); color: var(--granite); margin-top: 0.2rem !important; }
.decision-meta a { color: var(--granite); }
.vote-result.is-failed { color: #b0412e; font-weight: 600; }
@media (prefers-color-scheme: dark) { .vote-result.is-failed { color: #f08b75; } }

.week-headline { font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
.week-points { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.week-points li { font: 0.95rem var(--sans); padding: 0.2rem 0 0.2rem 0.8rem; border-left: 2px solid var(--rule); margin-bottom: 0.2rem; }
.week-points a { color: var(--ink); text-decoration: none; font-weight: 600; }
.week-points a:hover { text-decoration: underline; }
.week-points .muted { font-size: 0.85rem; }
.week-links { list-style: none; padding: 0; margin: 0.5rem 0 0; font-family: var(--sans); font-size: 0.95rem; }
.week-links li { padding: 0.3rem 0; }
.week-links .muted { font-size: 0.85rem; }

/* Index pages: issues, boards, decisions, calendar, archive ------------------ */
.page-header { padding: 2.25rem 0 1rem; }
.page-heading { font-weight: 800; font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.05; }
.page-lede { color: var(--granite); margin-top: 0.75rem; max-width: 40rem; }
.subscribe { font-family: var(--sans); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; }
.count { font-weight: 400; font-size: 0.95rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.filters input, .filters select {
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  max-width: 100%;
}
.filter-text { flex: 1 1 14rem; }
.filter-text input { width: 100%; }
.filter-count { color: var(--granite); font-size: 0.85rem; }

.decisions td { font-size: 0.9rem; }
.dec-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dec-board a { color: var(--ink); }
.tally { display: block; font-weight: 400; color: var(--granite); font-size: 0.82rem; }
@media (max-width: 40rem) {
  .decisions thead { display: none; }
  .decisions tr { display: grid; grid-template-columns: 1fr auto; gap: 0 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule-soft); }
  .decisions td { border: 0; padding: 0; }
  .decisions .dec-date, .decisions .dec-board { font-size: 0.82rem; color: var(--granite); }
  .decisions .dec-motion { grid-column: 1 / -1; padding: 0.2rem 0; }
  .decisions .dec-watch { text-align: right; }
}

.board-list { list-style: none; padding: 0; margin: 0; font-family: var(--sans); }
.board-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.1rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule-soft); }
.board-name { font-weight: 700; }
.board-meta { color: var(--granite); font-size: 0.85rem; }

.status-box { border-left: 4px solid var(--hl); padding: 0.4rem 0 0.4rem 1rem; margin: 0.5rem 0 1.5rem; }
.status-box p { margin: 0; }
.status-label { font: 700 0.8rem var(--sans); text-transform: uppercase; letter-spacing: 0.06em; }
.status-label .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.status-text { font-size: 1.2rem; line-height: 1.5; margin-top: 0.25rem !important; }

.issue-timeline { list-style: none; padding: 0; margin: 0; }
.tl-item { position: relative; padding: 0 0 1.5rem 1.4rem; border-left: 2px solid var(--rule); }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--granite); }
.tl-item.is-high::before { background: var(--hl); border-color: var(--ink); }
.tl-item:last-child { border-left-color: transparent; }
.tl-item p { margin-bottom: 0.4em; }
.tl-when { font: 0.85rem var(--sans); color: var(--granite); margin: 0 0 0.15rem !important; }
.tl-when a { color: var(--granite); }
.tl-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin: 0 0 0.3rem; scroll-margin-top: 1rem; }
.tl-links { font: 0.85rem var(--sans); }

.ahead li.is-past { opacity: 0.6; }
.past-note { font: 0.8rem var(--sans); color: var(--granite); }

/* Search (Pagefind UI, themed to match) */
.search-ui {
  --pagefind-ui-scale: 0.9;
  --pagefind-ui-primary: var(--evergreen);
  --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: var(--paper);
  --pagefind-ui-border: var(--rule);
  --pagefind-ui-tag: var(--rule-soft);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 6px;
  --pagefind-ui-font: var(--sans);
}
.search-ui mark { background: var(--hl); }

/* Week list (home) -------------------------------------------------------- */
.week-entry {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0 0.75rem;
}
.home-block .week-entry:first-of-type { border-top: 0; padding-top: 0.25rem; }

.week-title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.week-title a { color: inherit; text-decoration: none; }
.week-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.week-stats {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--granite);
  margin: 0.45rem 0 1rem;
}

.synopsis { font-size: 1.125rem; }
.synopsis-lead { font-size: 1.28rem; line-height: 1.55; }

.headline-list { padding-left: 1.1rem; margin: 0 0 1rem; }
.headline-list li { margin-bottom: 0.4rem; }

.highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0.5rem;
}
.highlight { margin: 0 0 1.15rem; }
.highlight p { margin: 0; }
.highlight-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}
.highlight-why { margin-top: 0.2rem !important; }
.highlight-source {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--granite);
  margin-top: 0.2rem !important;
}

.pending-note {
  font-style: italic;
  color: var(--granite);
}

.week-more {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Week page ---------------------------------------------------------------- */
.week-header { padding: 2.5rem 0 1.5rem; }

.crumb {
  font-family: var(--sans);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.week-heading {
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.overview { margin-bottom: 1rem; }

.block { margin: 2.25rem 0; }

.block-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.ahead { list-style: none; padding: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ahead li {
  display: grid;
  grid-template-columns: minmax(6.5rem, max-content) 1fr;
  gap: 0 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ahead-when { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; }
.ahead li:not(:has(.ahead-when)) .ahead-what { grid-column: 1 / -1; }

/* Meetings index: one line per meeting, key meetings first */
.index-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.expand-all {
  font: 600 0.85rem var(--sans);
  color: var(--evergreen);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.expand-all:hover { border-color: var(--evergreen); }
.expand-all:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 2px; }
.index-group {
  font: 700 0.78rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--granite);
  margin: 1.1rem 0 0.2rem;
}
.index-list { list-style: none; padding: 0; margin: 0; }
.index-item { padding: 0.6rem 0; border-bottom: 1px solid var(--rule-soft); }
.index-item p { margin: 0; }
.index-head { font-family: var(--sans); font-size: 0.95rem; }
.index-head a { font-weight: 600; }
.index-head .muted { font-size: 0.85rem; }
.key-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--hl);
  border-radius: 2px;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.index-headline { font-size: 0.98rem; line-height: 1.45; margin-top: 0.15rem !important; }

.group-title {
  font: 700 0.85rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--granite);
  margin: 3.25rem 0 -1.5rem;
}

/* Side rail on wide screens: stays in view while scrolling the week */
.rail { display: none; }
@media (min-width: 76rem) {
  .page.has-rail {
    max-width: calc(var(--measure) + 15rem + 4rem + 2rem);
    display: grid;
    grid-template-columns: 15rem minmax(0, var(--measure));
    column-gap: 4rem;
    align-items: start;
  }
  .page.has-rail > * { grid-column: 2; }
  .page.has-rail > .rail {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: stretch;
  }
  .rail-inner {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2.6rem 0 2rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .rail-week { font-weight: 800; font-size: 1rem; margin-bottom: 0.6rem; }
  .rail-week a { color: inherit; text-decoration: none; }
  .rail-link { margin-bottom: 0.4rem; }
  .rail-group {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--granite);
    margin: 1.1rem 0 0.35rem;
  }
  .rail-list { list-style: none; padding: 0; margin: 0; }
  .rail-list li { padding: 0.22rem 0; }
  .rail a { text-decoration: none; }
  .rail a:hover { text-decoration: underline; }
}

/* A meeting ----------------------------------------------------------------- */
.meeting {
  border-top: 3px solid var(--ink);
  padding-top: 1.25rem;
  margin-top: 3rem;
}
.meeting-title, .topic-title { scroll-margin-top: 1.25rem; }
.meeting.is-minor { border-top-width: 1px; margin-top: 2.25rem; }
.meeting.is-minor .meeting-title { font-size: 1.3rem; }
.meeting.is-minor .meeting-headline { font-size: 1.06rem; font-weight: 500; }

/* At-a-glance topic list, always visible */
.glance { list-style: none; padding: 0; margin: 0.25rem 0 0.9rem; }
.glance li {
  padding: 0.3rem 0 0.3rem 0.9rem;
  border-left: 2px solid var(--rule);
  margin-bottom: 0.15rem;
}
.glance-title { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none; }
.glance-title:hover { text-decoration: underline; }
.glance-outcome { display: block; font-size: 0.95rem; color: var(--granite); line-height: 1.45; }

/* Everything else collapses under "Full summary" */
.meeting-more { margin-top: 0.5rem; }
.meeting-more > summary {
  font: 600 0.92rem var(--sans);
  color: var(--evergreen);
  cursor: pointer;
  padding: 0.35rem 0;
  list-style-position: inside;
}
.meeting-more > summary:hover { text-decoration: underline; }
.meeting-more > summary:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 2px; }
.more-counts { color: var(--granite); font-weight: 400; margin-left: 0.4rem; }
.more-body { padding-top: 0.75rem; }

.meeting-title {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.meeting-meta {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--granite);
  margin: 0.45rem 0 1rem;
}

.meeting-headline {
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 600;
}

/* Timeline strip: where each item falls in the recording */
.timeline { margin: 0.25rem 0 1.4rem; }
.timeline-track {
  position: relative;
  height: 0.8rem;
  background: var(--rule-soft);
  border-radius: 2px;
  overflow: hidden;
}
.seg {
  position: absolute;
  top: 0;
  bottom: 0;
  border-right: 2px solid var(--paper);
}
.seg.is-high { background: var(--hl); }
.seg.is-medium { background: var(--evergreen-soft); }
.seg.is-low { background: var(--rule); }
.seg:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.timeline-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--granite);
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
}
.scale-key { display: inline-flex; align-items: center; gap: 0.35rem; }
.key-swatch { width: 0.9rem; height: 0.55rem; border-radius: 1px; background: var(--hl); }

.topics { list-style: none; padding: 0; margin: 1.5rem 0 0; }

.topic { margin: 0 0 1.6rem; }
.topic p { margin-bottom: 0.45em; }

.topic-title {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}

.topic-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--granite);
  margin: 0.2rem 0 0.4rem;
  font-variant-numeric: tabular-nums;
}

.details { margin: 0.3rem 0 0.6rem; padding-left: 1.1rem; }
.details li { margin-bottom: 0.25rem; }
.details li::marker { color: var(--granite); }

.topic-outcome strong,
.topic-why strong { font-family: var(--sans); font-size: 0.92rem; }

.routine {
  margin: 0.5rem 0 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0 1rem;
}
.routine summary {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.75rem 0;
}
.routine[open] summary { border-bottom: 1px solid var(--rule-soft); margin-bottom: 1rem; }
.routine .topics { margin-top: 0; }

.sub-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 1.75rem 0 0.6rem;
}

.table-wrap { overflow-x: auto; }
.votes {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.45;
}
.votes th {
  text-align: left;
  font-weight: 600;
  color: var(--granite);
  border-bottom: 1px solid var(--rule);
  padding: 0.4rem 0.75rem 0.4rem 0;
}
.votes td {
  vertical-align: top;
  border-bottom: 1px solid var(--rule-soft);
  padding: 0.5rem 0.75rem 0.5rem 0;
}
.votes td:last-child, .votes th:last-child { padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vote-result { white-space: nowrap; }
.vote-result.is-passed { color: var(--evergreen); font-weight: 600; }

.plain-list { padding-left: 1.1rem; margin: 0; }
.plain-list li { margin-bottom: 0.45rem; }

.caveat {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--granite);
  border-left: 3px solid var(--rule);
  padding-left: 0.75rem;
  margin-top: 1.5rem;
}

.status-block { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.pager-newer { text-align: right; }

.empty { border-top: 1px solid var(--rule); padding-top: 2rem; }
.empty h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }

/* Footer ------------------------------------------------------------------- */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--granite);
  line-height: 1.55;
}

@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  .masthead { padding-top: 2.25rem; }
  .synopsis-lead { font-size: 1.15rem; }
  .ahead li { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .topnav { gap: 0.1rem 0.85rem; font-size: 0.88rem; }
  .meeting-headline { font-size: 1.12rem; }
}

@media print {
  .timeline, .pager, .banner, .rail, .expand-all, .topbar, .filters, .hero-search { display: none; }
  .routine { border: 0; padding: 0; }
  a { color: inherit; }
}
