/* Oversight Archive: documentary theme, dark by default with a light-gray option. No external fonts or assets. */
:root {
  --bg: #0e1013;
  --bg-2: #13161b;
  --surface: #181c22;
  --surface-2: #1f242c;
  --border: #2b313b;
  --border-2: #3a4250;
  --text: #e7e9ec;
  --text-2: #c3c8d0;
  --muted: #8d96a3;
  --accent: #f0b54a;          /* the spotlight */
  --listen: #26784a; --listen-ink: #ffffff;   /* "Listen and read": a calm green, readable on any screen */
  --listen-hi: #4cb87a; --listen-soft: rgba(76,184,122,.13);   /* the same green for the player's trim on a dark page */
  --accent-ink: #1a1305;
  --link: #8fc7ff;
  --documented: #f0b54a;
  --indicated: #d98c4a;
  --open: #7f96b2;
  --warn: #e0705f;
  --heading: #f4f5f7;
  --strong: #ffffff;
  --link-hover: #b9dcff;
  --topbar-bg: rgba(14,16,19,.92);
  --placeholder: #6f7885;
  --row-hover: rgba(255,255,255,.02);
  --accent-glow: rgba(240,181,74,.13);
  --link-glow: rgba(143,199,255,.06);
  --accent-soft: rgba(240,181,74,.10);
  --accent-faint: rgba(240,181,74,.02);
  --accent-line: rgba(240,181,74,.35);
  --mark: rgba(240,181,74,.28);
  --ref-bg: rgba(143,199,255,.08);
  --ref-bg-hover: rgba(143,199,255,.18);
  --warn-line: rgba(224,112,95,.5);
  --shadow: rgba(0,0,0,.45);
  --backdrop: rgba(0,0,0,.7);
  color-scheme: dark;
  --radius: 10px;
  --wrap: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; color: var(--heading); }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: .2em 0 .35em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; }
h3, .h3 { font-size: 1.12rem; margin: .2em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono, .id { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* header */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--topbar-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.brand b, .footer-brand b { color: var(--accent); font-weight: 600; margin-left: 2px; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: .94rem; }
.nav a:hover { background: var(--surface); color: var(--text); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-search input { width: 190px; margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; font: inherit; }
input[type="search"], select { background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .94rem; }
input[type="search"]::placeholder { color: var(--placeholder); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 20px 16px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav-search input { width: 100%; margin: 8px 0 0; }
}

/* hero */
.hero { border-bottom: 1px solid var(--border); background:
  radial-gradient(900px 380px at 18% -10%, var(--accent-glow), transparent 70%),
  radial-gradient(700px 300px at 95% 0%, var(--link-glow), transparent 70%), var(--bg); }
.hero .wrap { padding-top: 64px; padding-bottom: 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); margin-bottom: .4em; }
.hero h1 { max-width: 18em; }
.lede { font-size: 1.1rem; color: var(--text-2); max-width: 46em; }
.hero-search { display: flex; gap: 8px; margin: 26px 0 30px; max-width: 720px; }
.hero-search input { flex: 1; padding: 13px 16px; font-size: 1rem; }
.hero-search button, .btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 11px 20px; font: 600 .98rem var(--sans); cursor: pointer; text-decoration: none; display: inline-block; }
.hero-search button:hover, .btn:hover { filter: brightness(1.08); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 0; max-width: 820px; }
.stats div { border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; }
.stats dt { color: var(--muted); font-size: .82rem; }
.stats dd { margin: 0; font: 600 1.9rem/1.2 var(--serif); color: var(--strong); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* sections, cards */
.section { padding-top: 12px; padding-bottom: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head a { text-decoration: none; font-size: .94rem; white-space: nowrap; }
.page-head { padding-top: 40px; padding-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.topics-grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
a.card:hover { border-color: var(--border-2); background: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.card p { color: var(--text-2); font-size: .95rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.card-meta { color: var(--muted) !important; font-size: .84rem !important; margin: 6px 0 0; }
.id { color: var(--accent); font-size: .86rem; letter-spacing: .02em; }
.finding-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.meter { display: flex; gap: 3px; height: 6px; margin-top: 12px; border-radius: 3px; overflow: hidden; }
.meter span { display: block; }
.m-documented { background: var(--documented); } .m-indicated { background: var(--indicated); } .m-open { background: var(--open); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 0; } }

/* grades, pills, chips */
.grade { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .03em; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.grade small { font-weight: 400; opacity: .8; }
.grade-documented { background: var(--documented); color: var(--accent-ink); }
.grade-indicated { background: transparent; color: var(--indicated); box-shadow: inset 0 0 0 1.5px var(--indicated); }
.grade-open { background: transparent; color: var(--open); box-shadow: inset 0 0 0 1.5px var(--open); }
.legend { list-style: none; padding: 0; }
.legend li { margin: 0 0 10px; color: var(--text-2); }
.legend .grade { margin-right: 8px; min-width: 112px; text-align: center; }
.pill { font-size: .76rem; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--text-2); }
.pill-high { border-color: var(--accent); color: var(--accent); }
.chip { display: inline-block; font-size: .74rem; padding: 1px 7px; margin: 1px 3px 1px 0; border-radius: 4px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.chip-warn { color: var(--warn); border-color: var(--warn-line); }
a.ref { font-family: var(--mono); font-size: .86em; text-decoration: none; background: var(--ref-bg); padding: 0 4px; border-radius: 4px; }
a.ref:hover { background: var(--ref-bg-hover); }

/* filters, tables */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.filters .f-text { flex: 1 1 260px; }
.f-count { font-size: .86rem; margin-left: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { position: sticky; top: 0; background: var(--surface-2); text-align: left; font-weight: 600; color: var(--text-2); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
table.data tbody tr:hover td { background: var(--row-hover); }
table.data td a:not(.ref):not(.dl) { color: var(--text); text-decoration: none; }
table.data td a:not(.ref):not(.dl):hover { color: var(--link); text-decoration: underline; }
.dl { font-family: var(--mono); font-size: .84rem; text-decoration: none; color: var(--accent); }
[hidden] { display: none !important; }

/* articles */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.article-head { border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 8px; }
.id-line { display: flex; gap: 10px; align-items: center; margin: 10px 0 0; }
.block h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--sans); color: var(--muted); margin: 26px 0 8px; }
.block p { color: var(--text); }
.block-alt { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--open); border-radius: var(--radius); padding: 4px 18px 6px; margin-top: 22px; }
.exhibit-list, .plain { list-style: none; padding: 0; }
.exhibit-list li, .plain li { padding: 8px 0; border-bottom: 1px solid var(--border); }
details { margin: 10px 0; }
summary { cursor: pointer; color: var(--text-2); }
summary:hover { color: var(--text); }
.download-box { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0 8px; }
.facts { display: grid; gap: 0; margin: 14px 0; border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; }
.hash { word-break: break-all; font-size: .82rem; color: var(--text-2); }
@media (max-width: 640px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.doctext pre { white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 14px; max-height: 480px; overflow: auto; font: .84rem/1.55 var(--mono); color: var(--text-2); }

/* requests */
.request-list { display: grid; gap: 14px; }
.wording { margin: 10px 0; padding: 12px 16px; background: var(--bg-2); border-left: 3px solid var(--accent); border-radius: 6px; color: var(--text); font-size: .95rem; }
.copy { background: transparent; color: var(--link); border: 1px solid var(--border-2); border-radius: 6px; padding: 4px 10px; font: .84rem var(--sans); cursor: pointer; }
.copy.done { color: var(--accent); border-color: var(--accent); }
.steps li { margin-bottom: 8px; color: var(--text-2); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0 10px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline time { font-family: var(--mono); font-size: .86rem; color: var(--accent); padding-top: 2px; }
.timeline p { margin: 0 0 2px; }
.mini-timeline { list-style: none; padding: 0; }
.mini-timeline li { padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: .94rem; }
.mini-timeline time { font-family: var(--mono); color: var(--accent); font-size: .84rem; margin-right: 8px; }
.mini-timeline a { display: block; color: inherit; text-decoration: none; border-radius: 6px; margin: 0 -6px; padding: 0 6px; }
.mini-timeline a:hover, .mini-timeline a:focus-visible { background: var(--surface); color: var(--text); }
.mini-timeline a:hover time { text-decoration: underline; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* law, prose */
.law div { padding: 12px 0; border-bottom: 1px solid var(--border); }
.law dt { font-family: var(--mono); color: var(--accent); font-size: .92rem; }
.law dd { margin: 4px 0 0; color: var(--text-2); }
.prose p, .prose li { color: var(--text-2); }
.code { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font: .86rem var(--mono); color: var(--text); }
.legend-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 14px; }

/* footer */
.footer { border-top: 1px solid var(--border); margin-top: 60px; background: var(--bg-2); }
.footer-in { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding-top: 30px; padding-bottom: 36px; }
.footer-brand { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.footer p.muted { font-size: .88rem; max-width: 60em; }
.footer-links { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* Pagefind UI, dark */
#search { --pagefind-ui-scale: .95; --pagefind-ui-primary: var(--accent); --pagefind-ui-text: var(--text); --pagefind-ui-background: var(--bg-2); --pagefind-ui-border: var(--border); --pagefind-ui-tag: var(--surface-2); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 8px; --pagefind-ui-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#search .pagefind-ui__result-link { color: var(--link); }
#search mark { background: var(--mark); color: inherit; }

/* small-screen fixes */
.id-line { flex-wrap: wrap; }
.id { white-space: nowrap; }
@media (max-width: 640px) { .id-line .grade { white-space: normal; } .hero .wrap { padding-top: 40px; } .hero-search { flex-direction: column; } }

/* multi-jurisdiction + submissions */
.nav-cta { color: var(--accent-ink) !important; background: var(--accent); font-weight: 600; margin-left: 6px; }
.nav-cta:hover { background: var(--accent) !important; filter: brightness(1.08); }
.nav-cta[aria-current="page"] { color: var(--accent-ink) !important; }
.jtag { color: var(--muted); font-family: var(--sans); font-size: .78rem; letter-spacing: 0; margin-right: 4px; }
.eyebrow.small { font-size: .72rem; margin-bottom: .2em; }
.card-open { border-style: dashed; background: transparent; }
.card-open h3 { color: var(--accent); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.subnav a { text-decoration: none; color: var(--text-2); border: 1px solid var(--border); background: var(--surface); padding: 7px 12px; border-radius: 8px; font-size: .92rem; }
.subnav a:hover { border-color: var(--border-2); color: var(--text); }
.subnav b { color: var(--accent); font-weight: 600; margin-left: 4px; }
.cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, var(--accent-soft), var(--accent-faint)); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: var(--text-2); max-width: 52em; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; } }
.notice { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 6px 20px 8px; margin: 10px 0 24px; }
.notice h2 { margin-top: 12px; }
.notice li { color: var(--text-2); margin-bottom: 6px; }
.submit-form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px 8px; margin: 0 0 16px; background: var(--bg-2); }
.submit-form legend { padding: 0 6px; font-family: var(--serif); font-size: 1.1rem; color: var(--heading); }
.submit-form label { display: block; color: var(--text-2); font-size: .94rem; margin-bottom: 12px; }
.submit-form input:not([type=checkbox]):not([type=file]), .submit-form select, .submit-form textarea { display: block; width: 100%; margin-top: 5px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font: inherit; }
.submit-form textarea { resize: vertical; }
.submit-form input[type=file] { display: block; margin-top: 6px; color: var(--text-2); font-size: .9rem; }
.submit-form input[type=file]::file-selector-button { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }
.submit-form label.file { padding: 10px 0; border-top: 1px solid var(--border); margin: 0; }
.field-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .field-row.two { grid-template-columns: 1fr; gap: 0; } }
.check { display: flex !important; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.req { color: var(--accent); font-size: .76rem; margin-left: 4px; }
.opt { color: var(--muted); font-size: .76rem; margin-left: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; color: var(--text-2); }
.form-msg.err { color: var(--warn); }
.submit-form button[disabled] { opacity: .6; cursor: progress; }

/* about */
.toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0 4px; border-bottom: 1px solid var(--border); margin-bottom: 8px; font-size: .9rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.about h2 { margin-top: 1.8em; }
.cases li { margin-bottom: 10px; }
.cases b { color: var(--text); }
.about sup a { text-decoration: none; font-size: .78em; padding: 0 2px; }
.sources li { margin-bottom: 6px; color: var(--muted); }
.sources a { word-break: break-word; }
.prose h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 22px 0 6px; }

/* tip line + jurisdiction switcher */
.tip-go { margin: 28px 0; }
.notice-inline { background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius); padding: 12px 16px; color: var(--text-2); }
.tip-dialog { max-width: 640px; width: calc(100% - 32px); background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 12px; padding: 0; }
.tip-dialog::backdrop { background: var(--backdrop); }
.tip-dialog-in { padding: 20px 24px; }
.tip-dialog h2 { margin-top: 4px; }
.tip-dialog li { color: var(--text-2); margin-bottom: 8px; }
.tip-dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.jswitch { position: relative; margin-left: 4px; }
.jswitch summary { list-style: none; cursor: pointer; font-size: .86rem; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.jswitch summary::-webkit-details-marker { display: none; }
.jswitch summary::after { content: " ▾"; color: var(--muted); }
.jswitch[open] summary { border-color: var(--accent); color: var(--text); }
.jswitch ul { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 260px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; box-shadow: 0 10px 30px var(--shadow); }
.jswitch li a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text-2); text-decoration: none; font-size: .92rem; }
.jswitch li a:hover, .jswitch li a[aria-current] { background: var(--surface-2); color: var(--text); }
.jswitch li.sep { border-top: 1px solid var(--border); margin: 4px 0; }
.jswitch small { color: var(--muted); display: block; font-size: .76rem; }
@media (max-width: 1240px) { .jswitch { margin-left: auto; } .jswitch + .nav-toggle { margin-left: 8px; } }

/* header fit */
.nav { flex-wrap: nowrap; }
.nav a { padding: 6px 9px; font-size: .93rem; white-space: nowrap; }
.nav-search-link { display: none; }
@media (max-width: 1500px) and (min-width: 1241px) { .nav-search { display: none; } .nav-search-link { display: inline-block; } }
@media (max-width: 1240px) { .nav { flex-wrap: wrap; } .nav-search-link { display: none; } }

.nav-mobile-only { display: none; }
@media (max-width: 600px) { .jswitch { display: none; } .nav-mobile-only { display: block; } .jswitch + .nav-toggle { margin-left: auto; } }

/* light theme: light gray, never pure white. Chosen with the header button, or by the system setting
   when no choice has been made. The choice is kept in this browser only (localStorage), never sent anywhere. */
:root[data-theme="light"] {
  --bg: #e3e5e9;
  --bg-2: #d9dce1;
  --surface: #eceef1;
  --surface-2: #e1e4e8;
  --border: #c5cad2;
  --border-2: #aeb5c0;
  --text: #1a1d22;
  --text-2: #343a43;
  --muted: #56606c;
  --accent: #8a5200;
  --listen: #1d6b3f; --listen-ink: #ffffff;
  --listen-hi: #1d6b3f; --listen-soft: rgba(29,107,63,.10);
  --accent-ink: #ffffff;
  --link: #0a58a8;
  --documented: #8a5200;
  --indicated: #9a4a12;
  --open: #46607e;
  --warn: #a8321f;
  --heading: #121418;
  --strong: #121418;
  --link-hover: #063d75;
  --topbar-bg: rgba(227,229,233,.94);
  --placeholder: #6a737f;
  --row-hover: rgba(0,0,0,.035);
  --accent-glow: rgba(176,110,10,.14);
  --link-glow: rgba(10,88,168,.07);
  --accent-soft: rgba(176,110,10,.10);
  --accent-faint: rgba(176,110,10,.02);
  --accent-line: rgba(138,82,0,.35);
  --mark: rgba(214,150,40,.35);
  --ref-bg: rgba(10,88,168,.08);
  --ref-bg-hover: rgba(10,88,168,.16);
  --warn-line: rgba(168,50,31,.45);
  --shadow: rgba(30,35,45,.18);
  --backdrop: rgba(20,24,30,.45);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root[data-theme-default="system"]:not([data-theme]) {
  --bg: #e3e5e9;
  --bg-2: #d9dce1;
  --surface: #eceef1;
  --surface-2: #e1e4e8;
  --border: #c5cad2;
  --border-2: #aeb5c0;
  --text: #1a1d22;
  --text-2: #343a43;
  --muted: #56606c;
  --accent: #8a5200;
  --listen: #1d6b3f; --listen-ink: #ffffff;
  --listen-hi: #1d6b3f; --listen-soft: rgba(29,107,63,.10);
  --accent-ink: #ffffff;
  --link: #0a58a8;
  --documented: #8a5200;
  --indicated: #9a4a12;
  --open: #46607e;
  --warn: #a8321f;
  --heading: #121418;
  --strong: #121418;
  --link-hover: #063d75;
  --topbar-bg: rgba(227,229,233,.94);
  --placeholder: #6a737f;
  --row-hover: rgba(0,0,0,.035);
  --accent-glow: rgba(176,110,10,.14);
  --link-glow: rgba(10,88,168,.07);
  --accent-soft: rgba(176,110,10,.10);
  --accent-faint: rgba(176,110,10,.02);
  --accent-line: rgba(138,82,0,.35);
  --mark: rgba(214,150,40,.35);
  --ref-bg: rgba(10,88,168,.08);
  --ref-bg-hover: rgba(10,88,168,.16);
  --warn-line: rgba(168,50,31,.45);
  --shadow: rgba(30,35,45,.18);
  --backdrop: rgba(20,24,30,.45);
  color-scheme: light;
  }
}
.theme-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: 8px; padding: 0; background: var(--surface); color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--border-2); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-sun, .theme-toggle .i-moon { display: none; }
.theme-toggle[data-mode="light"] .i-sun, .theme-toggle[data-mode="dark"] .i-moon { display: block; }
.theme-toggle[hidden] { display: none; }

/* law page: statute reference list */
.law-group { font: 600 .82rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 26px 0 8px; }
.code-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.code-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.code-list p { margin: 4px 0 0; color: var(--text-2); }
.code-ch { font-weight: 600; text-decoration: none; }
.code-ch .mono { color: var(--accent); font-weight: 500; font-size: .9em; margin-right: 6px; }
a.statute { text-decoration-style: dotted; }

.lede.why { margin-top: 10px; font-size: 1.12rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 14px; }

/* bulk selection and chain of custody */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
th.sel, td.sel { width: 34px; text-align: center; padding-left: 8px; padding-right: 0; }
td.sel input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.bulkbar .btn { padding: 7px 14px; font-size: .92rem; }
.bulkbar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.bulkbar a.small { margin-left: auto; }
.chain-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.chain-steps > li { padding-left: 4px; }
.chain-steps ul { margin: 6px 0 0; }
.chain .hash { word-break: break-all; font-size: .85rem; }
.pkg td.num { text-align: right; }

/* in-page PDF viewer (record pages) */
.pdfv { margin: 18px 0 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pdfv > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
.pdfv[open] > summary { border-bottom: 1px solid var(--border); }
.pdfv-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
.pdfv-bar button { background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2); border-radius: 6px; padding: 5px 11px; font: inherit; font-size: .9rem; cursor: pointer; }
.pdfv-bar button:hover { border-color: var(--accent); }
.pdfv-info { margin: 0; padding: 8px 14px; }
.pdfv-pages { max-height: 80vh; overflow: auto; padding: 12px; background: var(--bg-2); border-radius: 0 0 var(--radius) var(--radius); }
.pdfv-pages:empty { display: none; }
.pdfv-page { margin: 0 auto 12px; background: #fff; box-shadow: 0 2px 10px var(--shadow); }
.pdfv-page canvas { display: block; }
.pdfv:fullscreen { background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.pdfv:fullscreen .pdfv-pages { max-height: none; flex: 1; }
.pdfv-native { display: block; width: 100%; height: 75vh; border: 0; background: #fff; }

/* citations: superscript number with a hover/tap note */
.cite { position: relative; display: inline-block; }
.cite-btn { font: 600 .68rem/1 var(--sans); vertical-align: super; margin: 0 1px 0 2px; padding: 2px 4px; color: var(--link); background: var(--ref-bg); border: 0; border-radius: 4px; cursor: pointer; }
.cite-btn:hover, .cite-btn:focus-visible { background: var(--ref-bg-hover); outline: none; }
.cite .tip { display: none; position: absolute; z-index: 30; bottom: 100%; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(340px, 82vw);
  padding: 9px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 8px; box-shadow: 0 8px 24px var(--shadow);
  font: 400 .86rem/1.45 var(--sans); text-align: left; white-space: normal; }
.cite:hover .tip, .cite:focus-within .tip { display: block; }
.cite .tip a { white-space: nowrap; }
.src-list { padding-left: 1.6em; display: grid; gap: 6px; }
.src-list li:target { background: var(--ref-bg); border-radius: 4px; }
.powers h2 { margin-top: 1.8em; }
.powers td { vertical-align: top; }
.powers .table-wrap { overflow: visible; }
@media (max-width: 700px) {
  .cite .tip { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; transform: none; width: auto; max-width: none; font-size: .95rem; padding: 12px 14px; }
}
.cite .tip a { color: var(--link); text-decoration: underline; }
.callout { margin: 18px 0; padding: 14px 18px; background: linear-gradient(120deg, var(--accent-soft), var(--accent-faint)); border: 1px solid var(--accent-line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.callout p { margin: 0 0 6px; } .callout p:last-child { margin-bottom: 0; }

/* why it matters + harm labels */
.harms { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.harm { display: inline-block; padding: 2px 9px; font: 600 .74rem/1.6 var(--sans); letter-spacing: .02em; color: var(--warn); border: 1px solid var(--warn-line); border-radius: 999px; text-decoration: none; white-space: nowrap; }
a.harm:hover { background: var(--ref-bg); }
.finding-card .harms { margin: 4px 0 6px; }
.block.matters { border-left: 3px solid var(--warn); padding-left: 16px; }
.harm-defs { display: grid; gap: 10px; margin: 14px 0 18px; }
.harm-defs div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: baseline; }
.harm-defs dd { margin: 0; color: var(--text-2); }
@media (max-width: 600px) { .harm-defs div { grid-template-columns: 1fr; gap: 2px; } }

.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.about-band { display: grid; gap: 6px; padding: 22px 24px; text-decoration: none; color: var(--text); background: linear-gradient(120deg, var(--accent-soft), var(--accent-faint)); border: 1px solid var(--accent-line); border-radius: var(--radius); }
.about-band:hover { border-color: var(--accent); }
.about-band-title { font: 600 1.45rem/1.25 var(--serif); color: var(--heading); }
.about-band-text { color: var(--text-2); max-width: 70ch; }
.about-band-cta { color: var(--link); font-weight: 600; }
.sample-req { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; }
.sample-req p { margin: 0 0 10px; }

.mk { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 5px 0 2px; vertical-align: -1px; }
.mk-documented { background: var(--documented); } .mk-indicated { background: var(--indicated); } .mk-open { background: var(--open); }
.meter-key { margin: 6px 0 0; }
.legend-inline { margin: -6px 0 14px; }
.topic-card .meter-key { font-size: .8rem; }
.brand .brand-mark { color: var(--heading); }

/* meeting pages: player + transcript */
.callout-warn { border-color: var(--warn-line); border-left-color: var(--warn); background: none; }
.mtg-records { margin: 4px 0 8px; }
.mtg-rec { margin: 0 0 40px; }
.mtg-rec + .mtg-rec { border-top: 1px solid var(--border); padding-top: 18px; }
.mtg-player { position: sticky; top: 61px; z-index: 10; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin: 8px 0 18px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.mp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp-row-2 { margin-top: 6px; font-size: .88rem; color: var(--text-2); gap: 6px 14px; }
.mp-btn { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); border-radius: 8px; min-width: 42px; height: 36px; padding: 0 10px; font: 600 .9rem var(--sans); cursor: pointer; }
.mp-play { background: var(--listen); color: var(--listen-ink); border-color: var(--listen); min-width: 48px; }
.mp-seek { flex: 1 1 180px; min-width: 120px; accent-color: var(--listen-hi); }
/* the player and its transcript use the "Listen and read" green for every highlight, focus ring and control */
.mtg-player, .tx, .tx-tools { --accent: var(--listen-hi); --accent-soft: var(--listen-soft); }
.mtg-player input[type="checkbox"] { accent-color: var(--listen-hi); }
.mp-btn:hover { border-color: var(--listen-hi); }
.mp-play:hover { filter: brightness(1.1); }
.mp-time { font-size: .86rem; color: var(--text-2); white-space: nowrap; }
.mp-opt select { padding: 3px 6px; font-size: .86rem; }
.mp-link { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.mp-fallback audio { width: 100%; max-width: 640px; }
.mtg-cited ul { margin: 6px 0 0; padding-left: 18px; }
.mtg-cited li { margin-bottom: 4px; }
.mtg-rec h3 { font: 600 .82rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 26px 0 8px; }
.mtg-rec h2 { margin-top: 10px; }
.tx-head { margin-top: 18px; }
.mp-msg:empty { display: none; }
.tx-tools { display: flex; gap: 10px; align-items: center; margin: 6px 0 10px; }
.tx-tools input { flex: 0 1 340px; }
.tx { border-left: 2px solid var(--border); padding-left: 2px; }
.seg { margin: 0; padding: 4px 10px 4px 8px; border-radius: 6px; color: var(--text-2); line-height: 1.55; }
.seg .ts { font: .8rem var(--mono); color: var(--muted); text-decoration: none; margin-right: 6px; white-space: nowrap; }
.seg .ts:hover, .seg .ts:focus-visible { color: var(--link); text-decoration: underline; }
.seg-now { background: var(--accent-soft); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.seg-cited { box-shadow: inset 3px 0 0 var(--link); }
.seg-red .seg-text { font-style: italic; color: var(--muted); }
.seg-low .seg-text { text-decoration: underline dotted var(--border-2); text-underline-offset: 3px; }
.chip-cite { color: var(--link); text-decoration: none; }
a.moment { white-space: normal; }
.moment-ic { font-size: .72em; }
.mtg-link { white-space: nowrap; }
@media (max-width: 700px) {
  .mtg-player { top: 57px; padding: 8px 10px; }
  .mp-btn { height: 34px; min-width: 40px; }
  .mp-time { margin-left: auto; font-size: .8rem; }
  .mp-seek { order: 5; flex-basis: 100%; }
  .mp-row-2 { font-size: .8rem; gap: 4px 12px; margin-top: 2px; }
  .mp-copy .long { display: none; }
}

/* timeline: reasons, source links, finding/topic tags */
.timeline .tl-why { margin: .25rem 0; font-size: .92rem; color: var(--text-2); }
.timeline .tl-tags { margin: .2rem 0 0; }
.timeline .tl-tags .chip { text-decoration: none; }
.chip-topic { color: var(--link); }

/* speak to the governing body */
.speak-body { margin-top: 28px; padding: 4px 18px 10px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.speak-body .speak-draft { margin: 8px 0; }
.speak-body .speak-draft p { background: var(--bg-2); border: 1px dashed var(--border-2); border-radius: var(--radius); padding: 10px 12px; white-space: normal; overflow-wrap: anywhere; user-select: all; }

/* grouped menus */
.navgroup { position: relative; margin: 0; }
.navgroup > summary { list-style: none; cursor: pointer; color: var(--text-2); padding: 6px 10px; border-radius: 6px; font-size: .94rem; white-space: nowrap; }
.navgroup > summary::-webkit-details-marker { display: none; }
.navgroup > summary::after { content: " ▾"; color: var(--muted); font-size: .8em; }
.navgroup > summary:hover, .navgroup[open] > summary { background: var(--surface); color: var(--text); }
.navgroup > summary[aria-current] { color: var(--accent); }
.navpanel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; display: flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; box-shadow: 0 10px 30px var(--shadow); }
.navgroup:last-of-type .navpanel { left: auto; right: 0; }
.navpanel ul { list-style: none; margin: 0; padding: 0; min-width: 250px; }
.navpanel.two ul + ul { border-left: 1px solid var(--border); padding-left: 6px; }
.navpanel li a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text-2); text-decoration: none; font-size: .92rem; white-space: normal; }
.navpanel li a:hover, .navpanel li a[aria-current] { background: var(--surface-2); color: var(--text); }
.navpanel small { display: block; color: var(--muted); font-size: .76rem; }
.navpanel .nav-h { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 4px; }
@media (max-width: 1240px) {
  .navgroup > summary { padding: 10px 4px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); border-radius: 0; }
  .navgroup > summary:hover, .navgroup[open] > summary { background: none; }
  .navpanel { position: static; flex-direction: column; box-shadow: none; border: 0; background: none; padding: 4px 0 8px; }
  .navpanel.two ul + ul { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 6px; }
  .navpanel ul { min-width: 0; }
}
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.footer-cols h2 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-family: inherit; }
.footer-cols a, .footer-cols span { display: block; margin: 0 0 6px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); }
.footer-cols { font-size: .92rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* meeting documents library */
.mdoc-filters .f-lab { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-2); }
.mdoc-filters input[type=date] { font: inherit; padding: 6px 8px; border: 1px solid var(--border-2); border-radius: 6px; background: var(--surface); color: var(--text); }
.filters .f-sort { font: inherit; }
.quick { margin: 4px 0 10px; }
#meeting-docs td { vertical-align: top; }
a.chip { text-decoration: none; }

/* one-click finding download */
.findpack { margin: 14px 0 6px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.findpack p { margin: 8px 0 0; }
.findpack-status { margin-left: 10px; }

/* public-employee pages */
.legal-note { font-size: .93rem; }
.who-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.who { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.who h3 { margin: 2px 0 8px; font-size: 1.02rem; }
.who p { margin: 0 0 6px; color: var(--text-2); }
@media (max-width: 1100px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ordinances and resolutions */
#legislation .pick-col { width: 28px; }
#legislation .fp { font-size: .78rem; }

/* timeline entry opened from a link */
[id^="tl-"]:target { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; scroll-margin-top: 90px; }

/* glossary: abbreviations explained on hover, tap or focus */
abbr.gl { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--muted); cursor: help; position: relative; border-radius: 3px; }
abbr.gl:focus { outline: 2px solid var(--accent-line); outline-offset: 1px; }
abbr.gl:hover::after, abbr.gl:focus::after {
  content: attr(data-def); position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 60;
  width: max-content; max-width: min(300px, 78vw); padding: 7px 11px; border-radius: 8px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); box-shadow: 0 6px 18px var(--shadow);
  font: 400 .84rem/1.4 var(--sans); letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; pointer-events: none;
}
.glossary-list { display: grid; gap: 0; margin: 0; }
.glossary-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.glossary-list dt { font-weight: 600; color: var(--heading); font-family: var(--mono); font-size: .92rem; }
.glossary-list dd { margin: 0; color: var(--text-2); }
.glossary-list > div:target { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 560px) { .glossary-list > div { grid-template-columns: 1fr; gap: 2px; } }
abbr.gl.gl-r::after { left: auto; right: 0; }
abbr.gl.gl-b::after { bottom: auto; top: calc(100% + 8px); }
/* finding grades explain themselves on hover, focus or tap: no dotted underline on the badge */
abbr.gl.grade, abbr.gl.harm { text-decoration: none; }
abbr.gl.grade::after { font-weight: 400; }

/* agency-posted documents page */
table.posted td:nth-child(2), table.posted td:nth-child(3) { white-space: nowrap; }
table.posted .note { margin-top: .25rem; padding-left: .5rem; border-left: 3px solid var(--accent); color: var(--text-2); }
@media (max-width: 640px) { table.posted td:nth-child(4), table.posted th:nth-child(4) { display: none; } }

/* record links: plain-English explanation on hover, focus or first tap (same look as glossary terms) */
a.rec[data-def] { position: relative; }
a.rec[data-def]:hover::after, a.rec[data-def]:focus::after, a.rec[data-def].tap::after {
  content: attr(data-def); position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 60;
  width: max-content; max-width: min(320px, 80vw); padding: 7px 11px; border-radius: 8px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); box-shadow: 0 6px 18px var(--shadow);
  font: 400 .84rem/1.4 var(--sans); letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; pointer-events: none;
}
a.rec[data-def].gl-r:hover::after, a.rec[data-def].gl-r:focus::after { left: auto; right: 0; }
a.rec[data-def].gl-b:hover::after, a.rec[data-def].gl-b:focus::after { bottom: auto; top: calc(100% + 8px); }
a.ref.doc { font-family: inherit; font-size: inherit; background: none; padding: 0; text-decoration: underline dotted; text-underline-offset: 3px; }
.tl-src { margin-bottom: 2px; }
.tl-k { font-weight: 600; color: var(--text-2); }
.tl-recs { margin: 2px 0 6px; color: var(--text-2); }
/* phones: show glossary and record explanations as a bar along the bottom of the screen, never off the edge */
@media (hover: none) {
  abbr.gl:focus::after, a.rec[data-def].tap::after {
    position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-width: none; font-size: .95rem; padding: 12px 14px;
  }
}

/* meeting documents: one row per meeting, its files as boxes */
table.mdoc-table td { vertical-align: top; }
.mg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.mg-title { font-weight: 600; }
.mfiles { display: flex; flex-wrap: wrap; gap: 8px; }
.mfile { flex: 0 1 190px; min-width: 150px; padding: 7px 10px 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.mfile[hidden] { display: none !important; }
.mfile-media { border-color: var(--accent-line); }
.mf-top { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.mf-top .pick { margin: 0; }
.mf-get { margin-top: 3px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.mf-sha { font-size: .74rem; margin-top: 2px; }
.mf-note { font-size: .76rem; margin-top: 3px; line-height: 1.35; }
/* "Listen and read": the way into a meeting's audio and transcript, so it stands out */
a.btn-listen, table.data td a.btn-listen, a.mtg-link, table.data td a.mtg-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border-radius: 999px;
  background: var(--listen); color: var(--listen-ink) !important; font: 600 .84rem var(--sans); text-decoration: none; white-space: nowrap;
}
a.btn-listen:hover, table.data td a.btn-listen:hover, a.mtg-link:hover, table.data td a.mtg-link:hover { color: var(--listen-ink) !important; text-decoration: none; filter: brightness(1.12); }
@media (max-width: 560px) { .mfile { flex: 1 1 100%; } }

/* selection bar stays in view at the bottom of the screen once something is selected */
.bulkbar.has-picks { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(1100px, calc(100vw - 24px)); margin: 0; z-index: 30;
  background: var(--surface-2); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 10px 14px; box-shadow: 0 -6px 18px var(--shadow); }

/* "Rule at stake" line on finding cards and pages */
.level { margin: 4px 0 6px; font: 600 .8rem/1.4 var(--sans); color: var(--text-2); }
.level .level-k { font-weight: 500; color: var(--muted); }
.level-7, .level-8 { color: var(--warn); }
.level-5, .level-6 { color: var(--accent); }
.article-head .level { font-size: .9rem; }
.article-head .level a { font-weight: 400; margin-left: 6px; }
.label-defs div { grid-template-columns: 150px 1fr; }
.label-defs .grade { margin: 0 2px; }
a.harm.rec[data-def] { font-family: var(--sans); }

/* "Cited in E-02, Timeline 2024-12-09" beside a meeting: each name opens what cites it; hover shows its title */
.cited-in { display: inline-block; margin-left: 4px; font-size: .84rem; color: var(--text-2); white-space: normal; }
.cited-in a.rec { font-weight: 600; }

/* home: why every taxpayer should care */
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card p a:not(sup a) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.why-card .why-n { font: 700 1.9rem/1.1 var(--sans); color: var(--accent); margin: 0 0 6px; }
.why-card p { margin: 0; }
.why-card sup, .why-care > p sup { font-size: .72rem; margin-left: 3px; }
.why-card sup a, .why-care > p sup a { color: var(--muted); }
.why-care > p { margin-top: 12px; max-width: 70ch; }

/* Get involved checklist */
.prose ol.checklist { padding-left: 1.4rem; }
.prose ol.checklist li { margin: 0 0 .8rem; padding-left: .2rem; }
.prose ol.checklist li a { white-space: nowrap; }
