/* The Pleasant Hill Wire — house stylesheet.
   Typographic newspaper: Source Serif 4 (optical sizes) for text and display, Inter for labels.
   Paper, ink, one oxblood accent. Rules, not boxes. */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"), url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations"), url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --paper: #faf7f0;
  --paper-2: #f2ede2;
  --ink: #1a1a1a;
  --ink-2: #3f3b35;
  --muted: #69635a;
  --rule: #d9d2c4;
  --rule-strong: #1a1a1a;
  --accent: #8a1c2b;
  --accent-ink: #8a1c2b;
  --warn: #8a4b00;
  --ok: #2f5d34;
  --mark: #f3e3a6;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --gutter: clamp(1rem, 2.4vw, 2rem);
  --wrap: 76rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15130f; --paper-2: #1f1c17; --ink: #ece6da; --ink-2: #d3ccbe; --muted: #a49d8f;
    --rule: #39342c; --rule-strong: #ece6da; --accent: #e2848d; --accent-ink: #ec9ba3; --warn: #e3a857; --ok: #8fc493;
    --mark: #5a4a12; color-scheme: dark;
  }
}

*, *::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.0625rem/1.55 var(--serif); font-optical-sizing: auto;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "onum" 0;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 1px; }
main:focus { outline: none; }
mark { background: var(--mark); color: inherit; padding: 0 .1em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--paper); padding: .5rem .8rem; font: 600 .875rem var(--sans); z-index: 10; }
.skip:focus { left: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- Labels and small type ----------------------------------------------------------------- */
.label, .kicker, .section-head, .meta, .stamp, .mast-meta, .sections, .crumbs, .status, .flag, .pager, .fine, table, .notice, .filters, .chart-x, .chart-y {
  font-family: var(--sans);
}
.label { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--ink); }
.kicker { font-size: .7rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .35rem; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.flag { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; }
.flag--warn { color: var(--warn); }
.meta, .stamp { font-size: .78rem; color: var(--muted); margin: .35rem 0 0; line-height: 1.4; font-variant-numeric: tabular-nums; }
.stamp--hist { color: var(--ink-2); }
.fine { font-size: .75rem; color: var(--muted); }

/* ----- Masthead ------------------------------------------------------------------------------- */
.masthead { padding-top: .5rem; }
.mast-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .74rem; color: var(--ink-2); padding-top: .35rem; padding-bottom: .55rem; }
.mast-meta .mast-edition { text-align: center; flex: 1; }
.mast-sub { font-weight: 600; text-decoration: none; color: var(--accent-ink); white-space: nowrap; }
.mast-sub:hover { text-decoration: underline; }
.nameplate-rule { border-top: 1px solid var(--rule-strong); text-align: center; padding: .55rem 0 .5rem; }
.nameplate { margin: 0; font-family: var(--serif); font-weight: 680; font-variation-settings: "opsz" 60;
  font-size: clamp(1.6rem, 4.2vw, 2.35rem); letter-spacing: -0.022em; line-height: 1; }
.nameplate a { text-decoration: none; }
.masthead--front .nameplate-rule { padding: 1.15rem 0 .9rem; }
.masthead--front .nameplate { font-size: clamp(2.35rem, 8.6vw, 5.4rem); font-weight: 640; letter-spacing: -0.034em; }
.tagline { margin: .55rem 0 0; font-style: italic; font-size: clamp(.92rem, 1.7vw, 1.08rem); color: var(--ink-2); font-variation-settings: "opsz" 16; }
.nameplate--small { font-size: 1.45rem; text-align: left; }

.sections { border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong); margin-bottom: 1.6rem; }
.masthead--front .sections { border-top-width: 4px; }
.sections ul { list-style: none; margin: 0 auto; display: flex; justify-content: center; gap: 0 1.45rem; padding-top: .55rem; padding-bottom: .55rem;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.sections ul::-webkit-scrollbar { display: none; }
.sections a { font-size: .78rem; font-weight: 560; letter-spacing: .015em; text-decoration: none; color: var(--ink); padding: .2rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.sections a:hover { border-bottom-color: var(--rule); }
.sections a[aria-current="page"] { border-bottom-color: var(--accent); }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .25rem .45rem; font-size: .7rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.crumbs li { color: var(--accent-ink); }
.crumbs li + li::before { content: "›"; margin-right: .45rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ----- Headlines ------------------------------------------------------------------------------ */
.hed { font-family: var(--serif); font-weight: 650; line-height: 1.14; letter-spacing: -0.008em; margin: 0; text-wrap: balance; }
.hed a { text-decoration: none; }
.hed a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.dek { margin: .45rem 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
h3.hed { font-size: 1.28rem; }
.hed--row { font-size: 1.22rem; }

.section-head { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem;
  border-top: 2px solid var(--rule-strong); padding-top: .5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.section-head a { text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
.section-head .more { font-weight: 550; letter-spacing: .02em; text-transform: none; color: var(--accent-ink); font-size: .76rem; }

.page-head { margin: 0 0 1.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.page-head .kicker { margin-bottom: .5rem; }
.page-title { font-family: var(--serif); font-weight: 650; font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
.page-dek { font-size: 1.12rem; color: var(--ink-2); margin: .7rem 0 0; max-width: 44rem; line-height: 1.45; }

/* ----- Front page ----------------------------------------------------------------------------- */
.front { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "rail" "lead" "rest"; }
.front-lead { grid-area: lead; } .front-rail { grid-area: rail; margin-bottom: 2.2rem; } .front-rest { grid-area: rest; }
@media (min-width: 62rem) {
  .front { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "lead rail" "rest rail"; grid-template-rows: auto 1fr; }
  .front-lead, .front-rest { padding-right: 2rem; border-right: 1px solid var(--rule); }
  .front-rail { padding-left: 2rem; margin-bottom: 0; }
}
.rail-story-line { margin: 0 0 .45rem; font-size: .92rem; line-height: 1.3; font-weight: 600; }
.rail-story-line a { text-decoration: none; } .rail-story-line a:hover { text-decoration: underline; }
.lead { padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.6rem; }
.lead .hed { font-size: clamp(1.9rem, 4.3vw, 3.05rem); line-height: 1.06; letter-spacing: -0.022em; font-weight: 640; }
.lead .dek { font-size: clamp(1.06rem, 1.6vw, 1.22rem); margin-top: .8rem; max-width: 40rem; }
.lead-excerpt { margin: .9rem 0 0; font-size: 1.02rem; line-height: 1.55; max-width: 40rem; }
.lead .meta { margin-top: .8rem; }

.secondaries { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem 0; }
@media (min-width: 40rem) {
  .secondaries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secondaries > * { padding: 0 1.4rem; border-left: 1px solid var(--rule); }
  .secondaries > *:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
.secondaries .story--col .hed { font-size: 1.3rem; }
.secondaries + .module { margin-top: 2rem; }
.story--col .dek { font-size: .97rem; }

.module { margin: 0 0 2.2rem; }
.rail-module { margin: 0 0 2rem; }

.briefs { list-style: none; padding: 0; margin: 0; columns: 1; }
@media (min-width: 40rem) { .briefs--two { columns: 2; column-gap: 2rem; column-rule: 1px solid var(--rule); } }
.brief { break-inside: avoid; padding: 0 0 .55rem; margin-bottom: .55rem; border-bottom: 1px solid var(--rule); line-height: 1.35; }
.brief a { text-decoration: none; }
.brief a:hover .brief-hed { text-decoration: underline; }
.brief-hed { font-weight: 600; font-size: 1rem; }
.brief-meta { display: block; font: .72rem var(--sans); color: var(--muted); margin-top: .2rem; }

.quiet { font-size: 1rem; color: var(--ink-2); font-style: italic; margin: 0 0 1rem; }
.quiet-day { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.1rem 0; margin-bottom: 1.6rem; }
.quiet-day p { margin: 0; max-width: 40rem; }
.quiet-day p + p { margin-top: .5rem; }
.quiet-day .lede { font-size: 1.25rem; line-height: 1.35; font-weight: 500; font-style: normal; color: var(--ink); }

/* Police column: compact, log-like */
.log { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: .82rem; }
.log li { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .32rem 0; border-bottom: 1px dotted var(--rule); }
.log .n { font-variant-numeric: tabular-nums; font-weight: 600; }
.figure-line { font-family: var(--sans); font-size: .82rem; color: var(--ink-2); margin: 0 0 .7rem; line-height: 1.45; }
.figure-line strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 650; color: var(--ink); margin-right: .2rem; vertical-align: -0.08em; }
.rail-story { padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.rail-story:first-of-type { padding-top: 0; }
.rail-story .hed { font-size: 1.08rem; }
.rail-links { font-family: var(--sans); font-size: .78rem; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.rail-links a { color: var(--accent-ink); text-decoration: none; font-weight: 550; }
.rail-links a:hover { text-decoration: underline; }

/* Agenda list (meetings, events) */
.agenda { list-style: none; padding: 0; margin: 0; }
.agenda-day { display: grid; grid-template-columns: 3.1rem 1fr; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.agenda-day:first-child { padding-top: 0; }
.agenda-title { margin: 0; font-weight: 600; line-height: 1.3; }
.agenda-title a { text-decoration: none; }
.agenda-title a:hover { text-decoration: underline; }
.agenda-day .meta { margin-top: .15rem; }
.agenda-items { margin: .4rem 0 0; padding-left: 1rem; font-size: .92rem; color: var(--ink-2); }
.agenda-items li { margin: .15rem 0; }
.cal { display: flex; flex-direction: column; align-items: center; border-top: 2px solid var(--rule-strong); padding-top: .2rem; font-family: var(--sans); line-height: 1; }
.cal-w { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cal-d { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: .12rem 0 .08rem; font-variant-numeric: lining-nums; }
.cal-m { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 650; }

.events-band { margin-top: 1.2rem; }
.events-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 40rem) { .events-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 62rem) { .events-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.events-strip .ev { display: grid; grid-template-columns: 3.1rem 1fr; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.ev-title { margin: 0; font-weight: 600; line-height: 1.3; font-size: .98rem; }
.ev-title a { text-decoration: none; }
.ev-title a:hover { text-decoration: underline; }

.daily-teaser { margin: 2.4rem 0 0; padding: 1.5rem 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); display: grid; gap: 1rem; align-items: center; }
@media (min-width: 50rem) { .daily-teaser { grid-template-columns: 1fr auto; gap: 2rem; } }
.daily-teaser h2 { font-family: var(--serif); font-weight: 650; font-style: italic; font-size: 1.6rem; margin: 0; letter-spacing: -0.01em; }
.daily-teaser p { margin: .35rem 0 0; color: var(--ink-2); max-width: 44rem; }

.freshness { font-family: var(--sans); font-size: .76rem; color: var(--muted); margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.freshness a { color: inherit; }
.freshness .bad { color: var(--warn); font-weight: 600; }

/* ----- Buttons and forms --------------------------------------------------------------------- */
.button { display: inline-block; font: 600 .86rem/1 var(--sans); letter-spacing: .01em; padding: .8rem 1.15rem; background: var(--ink); color: var(--paper); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; border-radius: 0; }
.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.button--ghost { background: transparent; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-end; padding: 1rem 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin: 0 0 1.4rem; font-size: .82rem; }
.filters label, .field label { display: block; font-weight: 600; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .3rem; }
input[type=text], input[type=search], input[type=email], input[type=date], input[type=url], select, textarea {
  font: 400 .95rem/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #b7af9f; border-radius: 0; padding: .55rem .6rem; max-width: 100%; }
@media (prefers-color-scheme: dark) { input[type=text], input[type=search], input[type=email], input[type=date], input[type=url], select, textarea { border-color: #5b554a; } }
.filters .grow { flex: 1 1 14rem; }
.filters .grow input { width: 100%; }
.filters .button { padding: .62rem 1rem; }
.filters .reset { font-size: .8rem; color: var(--muted); padding: .62rem 0; }
.field { margin: 0 0 1.1rem; }
.field input, .field textarea { width: 100%; }
.field .hint { font: .78rem/1.4 var(--sans); color: var(--muted); margin: .3rem 0 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.errors { border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1rem; margin: 0 0 1.2rem; font-family: var(--sans); font-size: .9rem; }
.errors p { margin: .2rem 0; }

/* ----- Section fronts and lists -------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
@media (min-width: 62rem) {
  .two-col { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; }
  .two-col > :first-child { padding-right: 2rem; border-right: 1px solid var(--rule); }
  .two-col > :last-child { padding-left: 2rem; }
}
.rows { list-style: none; padding: 0; margin: 0; }
.row { padding: 1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
.row:first-child { padding-top: 0; }
@media (min-width: 46rem) { .row { grid-template-columns: minmax(0, 1fr) 9rem; gap: 2rem; } .row-time { text-align: right; } }
.row-time { margin: 0; }
.row .dek { font-size: .97rem; }
.day-head { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 2rem 0 .8rem; padding-top: .5rem; border-top: 2px solid var(--rule-strong); }
.day-head:first-child { margin-top: 0; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem 2rem; margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 46rem) { .lead-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .lead-grid > :nth-child(2) { border-left: 1px solid var(--rule); padding-left: 2rem; } }
.lead-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.lead-grid .lead-story .hed { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.1; }
.lead-grid .stack > * + * { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }

.record-list { list-style: none; padding: 0; margin: 0; }
.record-list li { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.record-list li:first-child { padding-top: 0; }
.record-list .t { margin: 0; font-weight: 600; line-height: 1.3; font-size: .98rem; }
.record-list a { text-decoration: none; }
.record-list a:hover { text-decoration: underline; }

.prose { max-width: var(--measure); }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.6; }
.prose h2 { font-size: 1.45rem; font-weight: 650; margin: 2.2rem 0 .6rem; letter-spacing: -0.01em; line-height: 1.2; }
.prose h3 { font-size: 1.15rem; font-weight: 650; margin: 1.6rem 0 .4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }

/* ----- Notices / status --------------------------------------------------------------------- */
.notice { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: .75rem 0; margin: 0 0 1.6rem; font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.notice p { margin: 0; }
.notice p + p { margin-top: .35rem; }
.notice strong { color: var(--ink); }
.notice--compact { font-size: .78rem; padding: .55rem 0; margin-bottom: 1rem; }
.notice-warn { color: var(--warn); font-weight: 550; }
.notice-warn::before { content: "▲ "; font-size: .7em; vertical-align: .1em; }
.status { font-size: .74rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .35rem; background: currentColor; vertical-align: .05em; }
.status--ok { color: var(--ok); }
.status--failing, .status--degraded, .status--stale { color: var(--warn); }
.status--planned, .status--paused { color: var(--muted); }
.status--planned::before, .status--paused::before { background: transparent; border: 1px solid currentColor; }

/* ----- Tables ------------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .84rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-size: .8rem; color: var(--muted); padding-bottom: .5rem; caption-side: top; }
th { text-align: left; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-bottom: 2px solid var(--rule-strong); padding: .5rem .7rem .4rem 0; vertical-align: bottom; white-space: nowrap; }
td { border-bottom: 1px solid var(--rule); padding: .5rem .7rem .5rem 0; vertical-align: top; }
td.num, th.num { text-align: right; }
tr.sensitive-row td { color: var(--muted); font-style: italic; background: var(--paper-2); }
.bar-cell { width: 45%; }
.hbar { display: block; height: .55rem; background: var(--ink); min-width: 1px; }
.hbar--accent { background: var(--accent); }

/* ----- Charts ------------------------------------------------------------------------------- */
.chart { margin: 0 0 2.4rem; }
.chart figcaption { margin: 0 0 .8rem; }
.chart figcaption .hed { font-size: 1.2rem; }
.chart figcaption .meta { margin-top: .2rem; }
.chart-plot { display: grid; grid-template-columns: 2.4rem 1fr; height: var(--chart-h, 170px); }
.chart-y { position: relative; font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-y span { position: absolute; right: .45rem; transform: translateY(50%); }
.chart-area { position: relative; height: var(--chart-h, 170px); }
.chart-y { height: var(--chart-h, 170px); }
.chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-svg .grid { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-svg .grid.base { stroke: var(--rule-strong); }
.chart-svg .bar { fill: var(--ink); }
.chart-svg .bar.last { fill: var(--accent); }
.chart-svg .line { fill: none; stroke: var(--accent); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart-svg .hit { fill: transparent; }
.chart-svg .hit:hover { fill: color-mix(in srgb, var(--ink) 7%, transparent); }
.chart-endlabel { position: absolute; right: -.2rem; transform: translate(100%, 50%); font: 600 .74rem var(--sans); padding-left: .3rem; }
.chart-x { position: relative; height: 1.4rem; margin-left: 2.4rem; font-size: .68rem; color: var(--muted); }
.chart-x span { position: absolute; top: .35rem; transform: translateX(-50%); white-space: nowrap; }
details.numbers { margin-top: .4rem; font-family: var(--sans); font-size: .8rem; }
details.numbers summary { cursor: pointer; color: var(--accent-ink); }

/* ----- Article ------------------------------------------------------------------------------ */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 62rem) { .article { grid-template-columns: minmax(0, 1fr) 17rem; gap: 4rem; } .article > aside { padding-top: 1.6rem; } }
.article-head { max-width: 46rem; margin-bottom: 1.6rem; }
.article-head .hed { font-size: clamp(2rem, 4.8vw, 3.25rem); line-height: 1.06; letter-spacing: -0.024em; font-weight: 640; }
.article-head .dek { font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.42; margin-top: .9rem; }
.byline { font-family: var(--sans); font-size: .82rem; margin: 1.2rem 0 0; padding-top: .8rem; border-top: 1px solid var(--rule); color: var(--ink-2); line-height: 1.6; }
.byline strong { color: var(--ink); font-weight: 650; }
.byline .hist { display: block; margin-top: .4rem; color: var(--ink); font-weight: 550; }
.byline .hist::before { content: "◆ "; color: var(--accent); font-size: .7em; vertical-align: .1em; }
.body { max-width: var(--measure); }
.body p, .body li { font-size: 1.15rem; line-height: 1.62; }
.body > p:first-child { margin-top: 0; }
.body h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; line-height: 1.2; letter-spacing: -0.01em; }
.body h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.body blockquote { margin: 1.4rem 0; padding-left: 1.1rem; border-left: 2px solid var(--accent); color: var(--ink-2); font-style: italic; }
.body table { font-size: .88rem; margin: 1.2rem 0; }
.cite { font: 600 .62em/0 var(--sans); margin-left: .08em; vertical-align: super; white-space: nowrap; }
.cite a { color: var(--accent-ink); text-decoration: none; padding: 0 .06em; }
.cite a:hover { text-decoration: underline; }
.box { border-top: 2px solid var(--rule-strong); margin: 2rem 0; padding-top: .6rem; max-width: var(--measure); }
.box > .label { margin-bottom: .5rem; }
.box p, .box li { font-size: 1.02rem; line-height: 1.55; }
.box--why { background: var(--paper-2); border-top-color: var(--accent); padding: .8rem 1.1rem 1rem; }
.box--correction { border-top-color: var(--accent); }
.box--correction .when { font: .76rem var(--sans); color: var(--muted); }
.sources-list { list-style: none; padding: 0; margin: 0; counter-reset: src; }
.sources-list > li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .2rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: .92rem; line-height: 1.45; }
.sources-list > li:target { background: var(--mark); }
.sources-list .n { font: 650 .8rem var(--sans); color: var(--accent-ink); padding-top: .15rem; }
.sources-list .ev + .ev { margin-top: .5rem; }
.sources-list .src-label { font-weight: 600; }
.sources-list q { display: block; margin-top: .25rem; color: var(--ink-2); font-style: italic; quotes: "“" "”"; }
.sources-list .back { font: .74rem var(--sans); text-decoration: none; color: var(--muted); margin-left: .3rem; }
.disclosure { font: .8rem/1.5 var(--sans); color: var(--ink-2); max-width: var(--measure); border-top: 1px solid var(--rule); padding-top: .8rem; margin-top: 2rem; }
.aside-block { margin-bottom: 2rem; }
.aside-block .story--col { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.aside-block .story--col:first-of-type { padding-top: 0; }
.aside-block .story--col .hed { font-size: 1.05rem; }
.facts { margin: 0; font-family: var(--sans); font-size: .82rem; }
.facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }
.facts dd { margin: .1rem 0 0; color: var(--ink); }

/* ----- Meeting page ------------------------------------------------------------------------- */
.docs { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--sans); font-size: .84rem; }
.docs a { font-weight: 600; color: var(--accent-ink); }
.items { list-style: none; padding: 0; margin: 0 0 2rem; }
.item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .4rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 46rem) { .item { grid-template-columns: 3.4rem minmax(0, 1fr) 9.5rem; } }
.item-no { font: 650 .82rem var(--sans); color: var(--muted); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.item-title { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.32; }
.item-desc { margin: .35rem 0 0; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.item-outcome { font-family: var(--sans); font-size: .78rem; grid-column: 2; }
@media (min-width: 46rem) { .item-outcome { grid-column: 3; text-align: right; } }
.outcome { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .7rem; }
.outcome--approved { color: var(--ok); }
.outcome--denied { color: var(--accent-ink); }
.outcome--continued, .outcome--pulled { color: var(--warn); }

/* ----- Timeline ----------------------------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule-strong); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.3rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .42rem; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--accent); border-radius: 50%; }
.timeline .when { font: 650 .74rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0; }
.timeline .what { margin: .2rem 0 0; font-size: 1.02rem; line-height: 1.45; }

/* ----- Sources page ------------------------------------------------------------------------- */
.src { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem 2rem; }
@media (min-width: 52rem) { .src { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.src h3 { margin: 0; font-size: 1.12rem; font-weight: 650; }
.src .org { font: .78rem var(--sans); color: var(--muted); margin: .15rem 0 0; }
.src p { margin: .45rem 0 0; font-size: .95rem; line-height: 1.45; }
.src .limits { font-size: .88rem; color: var(--ink-2); }
.src .facts dt:first-child { margin-top: 0; }
.src .err { color: var(--warn); font-size: .76rem; word-break: break-word; }

/* ----- Daily Briefing --------------------------------------------------------------------------- */
.edition { max-width: 42rem; }
.edition-items { list-style: none; padding: 0; margin: 1.4rem 0 0; counter-reset: ed; }
.edition-items li { padding: 1rem 0 1rem 2.4rem; border-bottom: 1px solid var(--rule); position: relative; counter-increment: ed; }
.edition-items li::before { content: counter(ed); position: absolute; left: 0; top: .9rem; font: 600 1.6rem/1 var(--serif); color: var(--accent-ink); }
.edition-frame { width: 100%; min-height: 70vh; border: 1px solid var(--rule); background: #fff; }

/* ----- Pager -------------------------------------------------------------------------------- */
.pager { display: flex; justify-content: space-between; align-items: center; margin: 2rem 0; padding-top: 1rem; border-top: 1px solid var(--rule-strong); font-size: .84rem; }
.pager a { font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.pager a:hover { text-decoration: underline; }
.pager-n { color: var(--muted); }

/* ----- Error page --------------------------------------------------------------------------- */
.error-page { text-align: center; padding: 3rem 0 4rem; max-width: 38rem; margin: 0 auto; }
.error-page .code { font: 650 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.error-page h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; margin: .4rem 0 .8rem; line-height: 1.05; }

/* ----- Footer ------------------------------------------------------------------------------- */
.colophon { margin-top: 4rem; border-top: 3px double var(--rule-strong); padding: 2rem 0 2.5rem; background: var(--paper); }
.colophon-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
@media (min-width: 46rem) { .colophon-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.colophon-brand p:last-child { font-size: .92rem; color: var(--ink-2); max-width: 24rem; margin: .5rem 0 0; }
.colophon ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: .82rem; line-height: 1.9; }
.colophon ul a { text-decoration: none; }
.colophon ul a:hover { text-decoration: underline; }
.colophon .fine { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }

/* ----- Small screens ------------------------------------------------------------------------ */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .mast-meta { font-size: .68rem; }
  .mast-meta .mast-edition { display: none; }
  .masthead--front .mast-meta .mast-edition { display: block; text-align: right; }
  .en-place { display: none; }
  .secondaries > * + * { border-top: 1px solid var(--rule); padding-top: 1.2rem; }
  .masthead--front .mast-sub { display: none; }
  .sections ul { justify-content: flex-start; gap: 0 1.1rem; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .sections { margin-bottom: 1.2rem; }
  .body p, .body li { font-size: 1.08rem; }
  .lead .hed { font-size: 2rem; }
  th, td { padding-right: .5rem; }
}

@media print {
  .sections, .colophon nav, .filters, .pager, .skip, .mast-sub { display: none !important; }
  body { background: #fff; }
}

/* Events listing */
.events-list .event { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.events-list .event:first-child { padding-top: .1rem; }
.event-time { margin: 0; font: 600 .82rem/1.5 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.event-title { margin: 0; font-weight: 600; line-height: 1.3; font-size: 1.04rem; }
.event-title a { text-decoration: none; }
.event-title a:hover { text-decoration: underline; }
@media (max-width: 30rem) { .events-list .event { grid-template-columns: 4.6rem minmax(0, 1fr); gap: .7rem; } }

.page-head + .notice { border-top: 0; margin-top: -1.8rem; }
.notice + .filters { border-top: 0; padding-top: .2rem; }
.event-time .until { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.src .facts { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: .45rem 1rem; align-items: baseline; }
.src .facts dt, .src .facts dd { margin: 0; }
@media (max-width: 30rem) { .src .facts { grid-template-columns: 8.5rem minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .calls-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .calls-table tr { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .calls-table td { border: 0; padding: 0; }
  .calls-table td:first-child { grid-row: span 3; }
  .calls-table .c-type { font-weight: 600; }
  .calls-table .c-out { color: var(--muted); font-size: .78rem; }
  .calls-table .c-out:empty { display: none; }
}
.event-time .until { white-space: nowrap; }
@media (max-width: 40rem) {
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters > div > input, .filters > div > select { width: 100%; }
  .filters .grow { grid-column: 1 / -1; }
}

/* Masthead links, event categories, Pagefind */
.mast-links { display: flex; gap: 1.1rem; white-space: nowrap; }
.mast-search { text-decoration: none; font-weight: 600; color: var(--ink); }
.mast-search:hover { text-decoration: underline; }
.cat-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font: 550 .8rem var(--sans); margin: -0.6rem 0 1.2rem; }
.cat-links a { text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; padding-bottom: .1rem; }
.cat-links a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.cat-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.search-wrap { max-width: 46rem; margin: 0 0 2rem; }
.pf { --pagefind-ui-scale: .86; --pagefind-ui-primary: var(--accent); --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--paper);
  --pagefind-ui-border: #b7af9f; --pagefind-ui-tag: var(--paper-2); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 0;
  --pagefind-ui-image-border-radius: 0; --pagefind-ui-font: var(--sans); }
.pf .pagefind-ui__result-title { font-family: var(--serif); font-weight: 650; }
.pf .pagefind-ui__result-excerpt { font-family: var(--serif); }
.pf mark { background: var(--mark); color: inherit; }
@media (max-width: 40rem) { .mast-links .mast-sub { display: none; } .masthead--front .mast-links { display: none; } }
.calls-table td:first-child { white-space: nowrap; }
.sitemap-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 2.4rem; }
@media (min-width: 46rem) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sitemap-grid section { margin-bottom: 1.6rem; }
.log a { text-decoration: none; } .log a:hover { text-decoration: underline; }
.policy table { font-family: var(--sans); font-size: .82rem; margin: 1rem 0; }
.policy code { font-size: .85em; background: var(--paper-2); padding: 0 .2em; }
.item-orig { margin: .2rem 0 0; font: .76rem/1.4 var(--sans); color: var(--muted); }
.item-title--proc { font-weight: 400; color: var(--ink-2); font-size: .98rem; }

/* ----- Police log ---------------------------------------------------------------------------- */
.log-title { display: flex; align-items: center; gap: .55rem; font: 700 .82rem var(--sans); letter-spacing: .1em; text-transform: uppercase;
  margin: 0; border-top: 2px solid var(--rule-strong); padding-top: .55rem; }
.log-title a { text-decoration: none; }
.log-title a:hover { text-decoration: underline; }
.log-dot { width: .56rem; height: .56rem; border-radius: 50%; background: var(--muted); flex: none; }
.log-dot--new { background: #c4262e; box-shadow: 0 0 0 0 rgba(196, 38, 46, .5); animation: log-pulse 2.4s ease-out infinite; }
@keyframes log-pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 38, 46, .45); } 70% { box-shadow: 0 0 0 .5rem rgba(196, 38, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 38, 46, 0); } }
@media (prefers-reduced-motion: reduce) { .log-dot--new { animation: none; } }
.log-fresh { font: .78rem/1.45 var(--sans); color: var(--muted); margin: .35rem 0 .9rem; }
.log-day { margin: 0 0 .6rem; }
.log-day-head { font: 650 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: .9rem 0 .2rem;
  padding-bottom: .25rem; border-bottom: 1px solid var(--rule); }
.calls { list-style: none; padding: 0; margin: 0; }
.call { border-bottom: 1px dotted var(--rule); }
.call summary { display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); gap: .6rem; padding: .42rem 0; cursor: pointer; list-style: none; }
.call summary::-webkit-details-marker { display: none; }
.call summary:hover .call-hed { text-decoration: underline; text-decoration-color: var(--rule); }
.call-time { font: 500 .78rem/1.5 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: .05rem; }
.call-hed { font-size: .96rem; line-height: 1.32; }
.call details[open] summary .call-hed { font-weight: 600; }
.call-record { margin: 0 0 .7rem 4.9rem; padding: .55rem .7rem; background: var(--paper-2); border-left: 2px solid var(--rule-strong); }
.rec { width: 100%; font: .78rem/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace; border: 0; }
.rec th { font: inherit; text-transform: none; letter-spacing: 0; color: var(--muted); border: 0; padding: .08rem .8rem .08rem 0; width: 7.5rem; vertical-align: top; white-space: nowrap; }
.rec td { border: 0; padding: .08rem 0; word-break: break-word; }
.rec-note { display: block; font-family: var(--sans); color: var(--ink-2); }
.call-note { font: italic .78rem/1.4 var(--serif); color: var(--ink-2); margin: .45rem 0 0; }
.log-private { font: italic .82rem/1.45 var(--serif); color: var(--muted); margin: .45rem 0 .2rem; }
.log-foot { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--rule-strong); }
.log-foot .figure-line { margin-bottom: .5rem; }
@media (max-width: 40rem) { .call-record { margin-left: 0; } .call summary { grid-template-columns: 3.9rem minmax(0, 1fr); } }

/* "Coming soon" label for the newsletter */
.soon { display: inline-block; font: 700 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink);
  border: 1px solid currentColor; padding: .28rem .45rem .24rem; margin: 0 0 .6rem; }
.soon--inline { margin: 0 0 0 .35rem; padding: .16rem .32rem .12rem; font-size: .58rem; vertical-align: .1em; }

.no-lead { font: italic .9rem/1.4 var(--serif); color: var(--muted); margin: 0 0 1.2rem; }
.log-more-link { display: none; margin: .7rem 0 0; font: 600 .84rem var(--sans); }
.log-more-link a { color: var(--accent-ink); text-decoration: none; }
@media (max-width: 61.99rem) {
  .front-rail .call--more { display: none; }
  .log-more-link { display: block; }
  .front-rail { padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule-strong); }
}
/* Around the Bay link-outs */
.linkout { max-width: 42rem; }
.linkout .hed { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1rem; }
.linkout-lede { font-size: 1.15rem; line-height: 1.55; margin: 0 0 1.2rem; }
.linkout-button { font-size: .95rem; padding: .9rem 1.3rem; }
.linkout-facts { margin: 1.6rem 0; }
.outlet-link { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.outlet-link:hover { text-decoration: underline; }
