/* Editorial layer: a quiet civic publication, with working tables and a real receipt. */
html { scroll-padding-top: 104px; }
body { font-size: .9375rem; line-height: 1.65; }
.wrap { max-width: 1240px; padding-inline: max(30px, env(safe-area-inset-left, 0px)); }
h1, h2 { font-family: var(--f-editorial); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.07; }
h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.16; }
h3 { font-weight: 700; line-height: 1.3; }
.eyebrow { font-family: var(--f-mono); font-size: .75rem; font-weight: 400; letter-spacing: .1em; line-height: 1.6; }
.lede { font-size: 1rem; line-height: 1.8; }
.small, .src { line-height: 1.65; }
a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
.top { background: var(--ground); border-bottom-color: var(--ink); }
.top .wrap { padding-block: 14px; }
.brand { --brand-width: 218px; display: grid; gap: 5px; justify-items: start; }
/* The logo is two images: dark ink for the light theme, light ink for the dark theme. Swapping files works in every
   browser; CSS filters on SVG images don't work in Safari. */
.brand .brand-art { display: block; width: var(--brand-width); aspect-ratio: 820 / 185; }
.brand .brand-img { display: block; width: 100%; height: auto; }
.brand .brand-dark { display: none; }
:root[data-tally-theme="dark"] .brand .brand-light { display: none; }
:root[data-tally-theme="dark"] .brand .brand-dark { display: block; }
/* The tagline starts under the leading edge of the "T" (x = 202 of the logo's 820). */
.brand .brand-tagline { display: block; margin-left: calc(var(--brand-width) * 202 / 820 + .5px); font: 600 .5rem/1.2 var(--f-body); letter-spacing: .25em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.gbtn { font: 500 .8rem var(--f-body); color: var(--ink); padding: 10px; border-radius: 0; }
.gpanel { border-radius: 0; box-shadow: 0 9px 15px #101e1812; padding: 18px; }
.gpanel a, .gpanel a[aria-current="page"] { border-radius: 0; }
.gpanel a b { font-weight: 600; }
.gblurb { font-family: var(--f-mono); font-size: .72rem; }
.group.is-current > .gbtn::after { height: 2px; bottom: -23px; border-radius: 0; }
.chipin { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 9px 17px; font: 600 .78rem var(--f-body); }
.chipin:hover { background: var(--accent-ink); color: var(--paper); border-color: var(--accent-ink); }
.themebtn { border: 0; border-radius: 0; background: transparent; }
.burger { border-radius: 0; font: 500 .8rem var(--f-body); padding: 9px 10px; }
.crumbbar { background: var(--ground); border-bottom: 0; font-family: var(--f-mono); font-size: .75rem; }
.crumbbar .wrap { padding-block: 16px; }
.page-head { background: transparent; padding-block: 30px 42px; }
.page-head .wrap { gap: 18px; }
.page-head h1 { max-width: 22ch; }
.page-head .lede { max-width: 74ch; }
main section { padding-block: 52px; }
main section > .wrap { gap: 28px; }
.head { gap: 8px; }
.panel { border: 0; border-top: 1px solid var(--rule); background: transparent; border-radius: 0; padding: 24px 0; }
.grid-2, .grid-3 { gap: 34px; }
.grid-4 { gap: 24px; }
.stat .v { font-family: var(--f-editorial); font-weight: 400; font-size: 2.6rem; letter-spacing: -.04em; }
.note { border-radius: 0; border-left: 2px solid var(--warn); }
.chip, .pill { border-radius: 2px; font-size: .75rem; padding: 2px 6px; }
.explain-body, .receipt .rwhy-body { border-radius: 0; }
details.explain { border-top-style: solid; }
details.explain > summary { font-size: .8rem; gap: 7px; }
details.explain > summary .q { background: transparent; border: 1px solid var(--rule); width: 16px; height: 16px; box-sizing: border-box; padding: 0; align-self: center; }
details.explain > summary::after { font-size: .65rem; margin-left: 4px; }
.table-wrap { border-radius: 0; border-inline: 0; background: transparent; border-top-color: var(--ink); }
th { background: transparent; font-family: var(--f-mono); font-weight: 400; font-size: .75rem; letter-spacing: .03em; }
td, th { padding-block: 15px; }
.tbar { border-radius: 0; background: transparent; margin-bottom: 14px; }
.tbar input, .filters input, .filters select, .contact-form input, .contact-form textarea, .contact-form select { border-radius: 0; }
.bar, .bar > i, .stack, .stack.tall, .sw, .progress, .progress > i { border-radius: 0; }
.stack, .stack.tall { height: 28px; gap: 2px; }
.timeline .dec { padding-block: 22px; }
.statusline { border-block: 1px solid var(--ink); padding-block: 20px; gap: 12px 28px; }
.statusline a { margin-left: auto; }
footer.site { border-top: 3px double var(--ink); background: var(--ground); padding-block: 40px 30px; }
footer.site > .wrap { display: grid; grid-template-columns: .8fr 1.6fr; gap: 12px 60px; }
footer.site p { max-width: 75ch; }
footer.site .foot-brand { grid-row: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-brand .brand { --brand-width: 270px; gap: 8px; }
.foot-brand .brand-tagline { font-size: .62rem; }
footer.site .made-by { grid-column: 2; margin-top: 8px; font-size: .7rem; }

/* Front page: a lead, a figure, and sections with a little breathing room. */
main .home-intro { padding-block: 24px 48px; }
.edition-line { display: flex; justify-content: space-between; gap: 20px; font: .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.editorial-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 22px; }
.hero-copy { display: grid; gap: 23px; justify-items: start; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.75vw, 4.45rem); max-width: 16ch; }
.hero-copy h1 > span { display: block; font-style: italic; color: var(--accent-ink); }
.hero-copy .lede { max-width: 59ch; font-size: .92rem; }
.hero-asks { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 59ch; border-top: 1px solid var(--rule); }
.hero-asks li { border-bottom: 1px solid var(--rule); }
.hero-asks a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 2px; color: var(--ink); font-size: .9rem; text-decoration: none; }
.hero-asks a:hover { color: var(--accent-ink); }
.hero-asks a span { color: var(--accent-ink); flex: none; }
.editorial-link { display: inline-flex; align-items: center; gap: 28px; padding: 10px 0; border-block: 1px solid var(--ink); color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; }
.editorial-link span { color: var(--accent-ink); font-size: 1.3rem; }
.civic-art { margin: 0; align-self: end; padding-bottom: 16px; }
.civic-art img { display: block; width: 100%; height: auto; }
.civic-art figcaption { text-align: center; font: .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-top: 2px; }
.tax-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.7fr); align-items: start; gap: 66px !important; }
.tax-figure { display: grid; gap: 17px; justify-items: start; }
.tax-figure .eyebrow { max-width: 25ch; }
.tax-figure .rate { font-size: clamp(4.3rem, 8vw, 6.5rem); font-family: var(--f-editorial); font-weight: 400; margin-block: 4px; }
.tax-figure .rate small { color: var(--accent-ink); font-size: .35em; font-weight: 400; margin-left: .05em; }
.tax-figure > a { font-size: .8rem; }
.tax-breakdown { min-width: 0; display: grid; gap: 22px; padding-top: 3px; }
.tax-breakdown .legend { gap: 9px 25px; }
.tax-breakdown .legend li { font-size: .76rem; line-height: 1.5; }
.tax-breakdown .legend .v { font-size: .7rem; }
.tax-breakdown .sw { width: 8px; height: 8px; }
.page-home .now { gap: 0; }
.page-home .now .panel { border-top: 2px solid var(--ink); padding: 20px 22px; gap: 12px; border-right: 1px solid var(--rule); }
.page-home .now .panel:first-child { padding-left: 0; }
.page-home .now .panel:last-child { border-right: 0; padding-right: 0; }
.page-home .now .eyebrow { font-size: .72rem; min-height: 3.2em; }
.page-home .now .small, .page-home .now .src { font-size: .75rem; }
.page-home .now .stat .v { font-size: 2.4rem; }
.page-home .go { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.page-home .go a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 24px 0; background: none; }
.page-home .go a b { font: 400 1.55rem var(--f-editorial); }
.page-home .go a span { grid-column: 1; font-size: .8rem; max-width: 46ch; }
.page-home .go a em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .72rem; max-width: 14ch; text-align: right; }
.page-home .go a:hover b { color: var(--accent-ink); }

/* Receipt: the worksheet is the first task; context remains available below it. */
.receipt-intro { padding-top: 18px; }
.receipt-intro > .wrap { grid-template-columns: minmax(0, 1fr) 215px; align-items: center; }
.receipt-intro .eyebrow { margin-bottom: 16px; }
.receipt-intro h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.receipt-intro h1 em { color: var(--accent-ink); font-weight: 400; }
.receipt-intro .lede { max-width: 70ch; margin-top: 22px; font-size: .92rem; }
.receipt-study { width: 215px; height: auto; }
.receipt-intro-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; font-size: .75rem; }
.receipt-intro-links a { color: var(--ink); }
.receipt-intro-links span { margin-left: 8px; color: var(--accent-ink); }
.receipt-mobile-link { display: none; }
.receipt-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 85px; }
.receipt-inputs { min-width: 0; }
.worksheet-heading { display: grid; gap: 7px; margin-bottom: 28px; }
.worksheet-heading h2 { font-size: 1.9rem; }
.worksheet-heading > p:last-child { font-size: .8rem; color: var(--muted); }
form.inputs { gap: 28px; counter-reset: receipt-section; }
.inputs fieldset { border-top: 1px solid var(--rule); padding-top: 24px; gap: 14px; min-width: 0; }
.inputs fieldset legend { float: left; width: 100%; display: flex; gap: 14px; align-items: baseline; font: 500 1rem var(--f-body); margin-bottom: 4px; }
.inputs fieldset legend::before { counter-increment: receipt-section; content: counter(receipt-section, decimal-leading-zero); font: .7rem var(--f-mono); color: var(--accent-ink); }
.inputs .field label { font-size: .76rem; font-weight: 500; }
.inputs .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.inputs .hint { font-size: .72rem; line-height: 1.65; }
.money { border-radius: 0; background: var(--paper); border-color: var(--rule); }
.money input { padding: 12px 12px 12px 8px; font-size: 1rem; font-weight: 400; }
.money:focus-within { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 2px; }
.money span { font-size: .85rem; }
.seg { border-radius: 0; padding: 0; gap: 0; flex-wrap: wrap; background: transparent; }
.seg label { border-radius: 0; padding: 9px 18px; font-weight: 500; font-size: .78rem; }
.seg label:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: none; }
.use-avg { border: 0; border-bottom: 1px solid var(--rule); background: transparent; border-radius: 0; padding: 3px 0; font-size: .75rem; }
.example-note { background: transparent; border-left: 2px solid var(--accent); color: var(--muted); font-size: .76rem; border-radius: 0; padding: 2px 0 2px 15px; }
.receipt-aside { gap: 22px; min-width: 0; }
.receipt-caption { margin-bottom: -7px; text-align: center; }
.receipt { padding: 27px 28px 30px; border-radius: 0; border: 1px solid var(--rule); box-shadow: 0 5px 0 #242b2605, 0 16px 26px #242b2606; font-size: .73rem; }
.receipt .rhead { padding-bottom: 20px; gap: 6px; }
.receipt .rhead b { font: 400 1.55rem/1 var(--f-editorial); letter-spacing: .06em; }
.receipt .rhead > span { font-size: .72rem; color: var(--muted); }
.receipt .rhead > span:last-child { margin-top: 3px; font-size: .68rem; letter-spacing: .08em; }
.receipt-total { display: grid; text-align: center; padding: 24px 0 27px; gap: 6px; }
.receipt-total > span { font-size: .75rem; color: var(--muted); }
.receipt-total > strong { font-family: var(--f-editorial); font-weight: 400; font-size: clamp(2.2rem, 3.8vw, 3.25rem); line-height: 1.1; letter-spacing: -.04em; }
.receipt-total > span:last-child { font-size: .72rem; }
.receipt-columns { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-block: 1px solid var(--ink); text-transform: uppercase; font-size: .68rem; letter-spacing: .05em; }
.receipt details > summary { padding: 13px 0; font-size: .8rem; font-weight: 400; }
.receipt details[data-recipient] > summary > span:first-child::before { content: "+"; color: var(--accent-ink); width: 8px; flex: none; }
.receipt details[data-recipient][open] > summary > span:first-child::before { content: "−"; }
.receipt details > summary span.sw { display: none; }
.receipt details > summary .num, .receipt .rline > .num { white-space: nowrap; }
.receipt .rline { gap: 14px; }
.receipt .rlines { padding: 2px 0 16px 16px; font-size: .75rem; gap: 7px; }
.receipt .rwhy > summary { background: transparent; border-radius: 0; padding: 7px 0 0; font-size: .68rem; }
.receipt .rtotal { font-size: .84rem; padding-top: 20px; gap: 12px; }
.receipt .rsub { font-size: .67rem; gap: 16px; }
.receipt .rsub .num { white-space: nowrap; }
.receipt .rsocial { margin-top: 22px; padding: 17px 0 0; border-top: 1px dashed var(--rule); border-radius: 0; background: transparent; font-size: .76rem; line-height: 1.7; }
.receipt-notes { gap: 12px; padding-block: 12px; }
.receipt-notes .stack { height: 18px; }
.receipt-aside .note { font-size: .76rem; }
.receipt-prices .panel { padding-top: 20px; }
.receipt-prices .small { font-size: .8rem; }
.receipt-prices .eyebrow { font-size: .72rem; }
.receipt-prices .stat { gap: 8px; }

/* The drawings are ink assets; keep their paper and line work legible at night. */
:root[data-tally-theme="dark"] .civic-art img,
:root[data-tally-theme="dark"] .receipt-study { filter: invert(.86) hue-rotate(155deg); }

@media (max-width: 1080px) {
  .receipt-grid { gap: 40px; }
  .page-home .now { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .page-home .now .panel, .page-home .now .panel:first-child, .page-home .now .panel:last-child { padding: 18px 0 0; border-right: 0; }
}
@media (max-width: 900px) {
  .group.is-current > .gbtn::after { display: none; }
  .gbtn { padding: 18px 4px; font-size: 1rem; }
  .gpanel { padding: 0 0 14px; box-shadow: none; }
  .receipt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .receipt { padding-inline: 20px; }
  .tax-layout { gap: 34px !important; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: max(22px, env(safe-area-inset-left, 0px)); }
  .top .wrap { padding-block: 16px; gap: 8px; }
  .brand { --brand-width: 164px; gap: 4px; }
  .brand .brand-tagline { font-size: .4rem; letter-spacing: .2em; }
  .foot-brand .brand-tagline { font-size: .62rem; letter-spacing: .25em; }
  .navside { gap: 7px; }
  .chipin { padding: 9px 11px; }
  .themebtn { width: 29px; }
  main section { padding-block: 36px; }
  .page-head { padding-block: 18px 30px; }
  .editorial-hero { grid-template-columns: 1fr; padding-top: 4px; gap: 16px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 8.5vw, 3.8rem); max-width: 20ch; }
  .civic-art { max-width: 240px; width: 62%; justify-self: end; padding-bottom: 0; }
  .edition-line { font-size: .68rem; }
  .tax-layout { grid-template-columns: 1fr; }
  .tax-figure { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .tax-figure .eyebrow { align-self: center; }
  .tax-figure .rate { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; font-size: 4.3rem; }
  .tax-figure .small { font-size: .74rem; }
  .tax-figure > a { grid-column: 1 / -1; }
  .tax-breakdown .legend { grid-template-columns: 1fr; }
  .page-home .now { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .page-home .go { grid-template-columns: 1fr; }
  .receipt-intro > .wrap { grid-template-columns: minmax(0, 1fr) 100px; gap: 0; }
  .receipt-intro > .wrap > div { grid-column: 1 / -1; grid-row: 1; }
  .receipt-intro h1 { font-size: clamp(2.65rem, 8vw, 3.8rem); padding-right: 65px; }
  .receipt-study { width: 95px; grid-column: 2; grid-row: 1; align-self: start; margin-top: 24px; opacity: .8; }
  .receipt-intro .lede { padding-right: 0; }
  .receipt-intro-links { font-size: .8rem; gap: 14px; }
  .receipt-mobile-link { display: inline; }
  .receipt-caption .receipt-mobile-link { display: block; margin-top: 8px; font-family: var(--f-body); font-size: .7rem; text-transform: none; letter-spacing: normal; }
  .receipt-grid { grid-template-columns: 1fr; gap: 38px; }
  .receipt-total > strong { font-size: 3.15rem; }
  .receipt { padding: 25px 24px 30px; }
  .receipt-caption { text-align: left; }
  .receipt-aside { padding-top: 26px; border-top: 1px solid var(--ink); }
  footer.site > .wrap { grid-template-columns: 1fr; gap: 17px; }
  footer.site .foot-brand { grid-row: auto; margin-bottom: 12px; }
  footer.site .made-by { grid-column: 1; }
  .statusline { display: grid; grid-template-columns: 1fr 1fr; }
  .statusline a { margin-left: 0; grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .wrap { padding-inline: 17px; }
  .brand { --brand-width: 138px; }
  .brand .brand-tagline { font-size: .35rem; }
  .foot-brand .brand-tagline { font-size: .62rem; }
  .navside { gap: 3px; }
  .burger { padding-inline: 8px; }
  .burger-icon { width: 15px; }
  .chipin { padding-inline: 9px; font-size: .72rem; }
  .inputs .fields { grid-template-columns: 1fr; }
  .receipt-study { width: 76px; justify-self: end; }
  .receipt-intro h1 { font-size: 2.5rem; }
}
@media (max-width: 360px) {
  .burger-label { display: none; }
  .tax-figure .rate { font-size: 3.6rem; }
  .receipt-intro h1 { font-size: 2.2rem; }
}
.receipt .rmore { display: inline-block; padding: 6px 0 2px; font-size: .72rem; }

/* Approved SEO copy (web/seocopy.py): a direct one-line answer under the heading, and common questions at the end. */
.page-head .answer, .receipt-intro .answer, .hero-copy .answer { max-width: 70ch; margin-top: 12px; font-size: .95rem; line-height: 1.6; font-weight: 600; }
/* Common questions: a numbered accordion beside its heading. Answers stay in the page for search engines. */
.faq-grid { display: grid !important; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 28px 64px !important; align-items: start; }
.faq-side { display: grid; gap: 10px; position: sticky; top: 110px; }
.faq-side .small { max-width: 34ch; color: var(--muted); }
.faq .faq-list { display: grid; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 22px; gap: 14px; align-items: baseline; padding: 18px 2px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover h3 { color: var(--accent-ink); }
.faq-n { font: .72rem var(--f-mono); letter-spacing: .08em; color: var(--accent-ink); }
.faq-item h3 { margin: 0; font: 400 1.25rem/1.3 var(--f-editorial); letter-spacing: -.01em; transition: color .15s; }
.faq-x { position: relative; width: 14px; height: 14px; align-self: center; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .2s; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0deg); }
.faq-a { padding: 0 36px 20px calc(2.4rem + 16px); }
.faq-a p { margin: 0; max-width: 68ch; line-height: 1.75; color: var(--ink); }
.faq-item[open] > summary h3 { color: var(--accent-ink); }
.faq-jump { margin: 10px 0 0; }
.faq-jump a { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem var(--f-body); color: var(--ink); text-decoration: none; padding: 6px 12px; border: 1px solid var(--rule); background: var(--paper); }
.faq-jump a span { font: .68rem var(--f-mono); color: var(--muted); }
.faq-jump a b { color: var(--accent-ink); font-weight: 400; }
.faq-jump a:hover { border-color: var(--accent); }
@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; gap: 18px !important; }
  .faq-side { position: static; }
  .faq-item h3 { font-size: 1.1rem; }
  .faq-a { padding: 0 4px 18px calc(2.4rem + 16px); }
}
@media (prefers-reduced-motion: reduce) { .faq-x::before, .faq-x::after, .faq-item h3 { transition: none; } }
/* Measure facts: two to a row on phones instead of one tall card each */
@media (max-width: 720px) {
  .mfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .mfacts .panel.stat { padding-block: 12px; min-height: 0; }
}
/* Receipt: each line shows its arithmetic and links to the rate and its law */
.receipt .rline .rlink { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
.receipt .rline .rbasis { display: block; color: var(--muted); font-size: .68rem; margin-top: 1px; }

/* Cite this page: a quiet line at the end of each indexable page. */
.cite { padding-top: 0; }
.cite .cite-box { max-width: 74ch; font-size: .85rem; }
.cite .cite-box summary { cursor: pointer; font-weight: 600; }
.cite .cite-text { margin: 8px 0; line-height: 1.6; word-break: break-word; }
.cite .cite-copy { font: inherit; font-size: .8rem; padding: 4px 10px; border: 1px solid currentColor; border-radius: 4px; background: none; color: inherit; cursor: pointer; }

/* What changed (/updates/) */
.updates-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.updates-list .small { display: inline-block; min-width: 9em; opacity: .75; }

/* Voting records (/officials/): member cards grouped by body, former members folded away */
.jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.jumps a { font-weight: 600; font-size: .9375rem; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; background: var(--paper); }
.jumps a:hover { background: var(--hover); }
.obody { display: grid; gap: 16px; scroll-margin-top: 90px; padding-block: 0; border-bottom: 0; }
.obody + .obody { margin-top: 16px; padding-top: 36px; border-top: 1px solid var(--rule); }
.obody-head { display: grid; gap: 6px; }
.ocards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ocard { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; height: 100%; box-sizing: border-box;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.ocard:hover { border-color: var(--accent); background: var(--hover); }
.ocard:hover .oname { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.ophoto { width: 72px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; }
.ophoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.odist { font: 900 1.9rem/1 var(--f-display); color: var(--accent-ink); letter-spacing: -.02em; }
.otext { display: grid; gap: 2px; min-width: 0; }
.odistrict { font: 700 .75rem var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.oname { font: 800 1.375rem/1.15 var(--f-display); }
.ocard .odistrict { font-size: .875rem; color: var(--accent-ink); }
.oareas { display: grid; gap: 6px; }
.oarea-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.oarea-list li { font-size: .875rem; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.oareas-more > summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); margin-bottom: 12px; }
.oareas-more { display: grid; gap: 14px; }
.oareas-more[open] { gap: 14px; }
.ometa { font-size: var(--step--1); color: var(--muted); }
.ochanges { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 0 0 16px; }
.ochanges p { margin: 6px 0 0; }
.ochange { border-left: 3px solid var(--accent); padding-left: 12px; }
.oformer { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.oformer > summary { cursor: pointer; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; list-style: none; }
.oformer > summary::-webkit-details-marker { display: none; }
.oformer > summary::before { content: "+"; font: 800 1.1rem/1 var(--f-display); color: var(--accent-ink); width: 1em; }
.oformer[open] > summary::before { content: "−"; }
.oformer-t { font: 800 1.0625rem var(--f-display); }
.oformer-list { list-style: none; margin: 0; padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 20px; }
.oformer-list li { display: grid; }
/* A member's page */
.ohead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.ophoto-lg { width: 140px; border-radius: 12px; }
.ophoto-lg .odist { font-size: 3.6rem; }
.ohead-text { display: grid; gap: 8px; min-width: 0; }
.orecord { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .9375rem; color: var(--muted); }
.orecord b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.oitem { color: var(--ink); text-decoration: none; }
.oitem:hover { color: var(--accent-ink); text-decoration: underline; }
.officials-votes td:nth-child(2) .small { display: block; margin-top: 2px; }
.ostats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.ofilter { display: flex; flex-wrap: wrap; gap: 8px; }
.ofilter button { font: 600 .9375rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.ofilter button span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.ofilter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ofilter button[aria-pressed="true"] span { color: inherit; opacity: .8; }
.officials-votes td { vertical-align: top; }
.officials-votes th:nth-child(1), .officials-votes td:nth-child(1) { width: 7.5rem; white-space: nowrap; }
.officials-votes th:nth-child(2), .officials-votes td:nth-child(2) { width: auto; }
.officials-votes th:nth-child(3), .officials-votes td:nth-child(3) { width: 6.5rem; }
.officials-votes th:nth-child(4), .officials-votes td:nth-child(4) { width: 12rem; }
.vtag { display: inline-block; font: 700 .8125rem var(--f-display); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rule); white-space: nowrap; }
.vtag-yes { background: var(--accent-soft); border-color: transparent; color: var(--ink); }
.vtag-no { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.vtag-absent, .vtag-abstain, .vtag-recused { color: var(--muted); }
.omore { justify-self: start; font: 600 .9375rem var(--f-body); color: var(--accent-ink); background: transparent; border: 1px solid var(--accent); border-radius: 8px; padding: 8px 16px; cursor: pointer; }
@media (max-width: 640px) {
  .ocards { grid-template-columns: 1fr; }
  .ohead { grid-template-columns: 1fr; gap: 14px; }
  .ophoto-lg { width: 96px; }
  .ophoto-lg .odist { font-size: 2.6rem; }
}

/* What changed (/updates/) */
.ufollow { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 20px 22px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); }
.ufollow > div { flex: 1 1 420px; display: grid; gap: 6px; }
.ufeed { font: 700 .9375rem var(--f-body); color: var(--paper); background: var(--ink); padding: 10px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.ufeed:hover { background: var(--accent-ink); }
.ulatest { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ukind { font: 700 .75rem var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.ulist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ulist li { display: grid; gap: 1px; }

/* Quarterly reports (/reports/) */
.report-findings, .report-changes, .report-method { padding-left: 1.2em; display: grid; gap: .5em; max-width: 72ch; }
.report-table .report-tax { min-width: 12em; }
.report-table .report-tax .small { display: block; }
.report-table td.n { white-space: nowrap; }
@media (max-width: 600px) { .report-table .report-tax { min-width: 9em; } }
@media print {
  .page-reports .navside, .page-reports .crumbbar, .page-reports footer.site, .page-reports .skip,
  .page-reports .dlrow, .page-reports .cite, .page-reports .faq { display: none !important; }
  .page-reports .report-table { font-size: 9.5pt; }
  .page-reports .table-wrap { overflow: visible; }
  .page-reports .report-table .report-tax { min-width: 0; }
  .page-reports .themebtn, .page-reports .searchbtn, .page-reports .report-links { display: none !important; }
  .page-reports .report-table tr { break-inside: avoid; }
  body.page-reports, .page-reports main { min-height: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .page-reports main > section:last-of-type { padding-bottom: 0 !important; }
  .page-reports a { color: inherit; }
}

/* Receipt: share link, spreadsheet, what each tax brought in, and where a government's share goes */
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.receipt-actions button { font: 600 .8rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); padding: 9px 14px; cursor: pointer; }
.receipt-actions button:hover { background: var(--ink); color: var(--paper); }
.receipt-actions .small { flex-basis: 100%; margin: 0; color: var(--muted); }
.receipt .rcollected a { color: inherit; text-decoration-color: var(--rule); }
.receipt .rsplit .rline { padding: 3px 0; }
.receipt .rsplit .tag { font: 600 .62rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 1px 5px; border: 1px solid var(--rule); margin-right: 4px; }

/* Receipt: share as an image */
.r-img { flex-basis: 100%; display: grid; gap: 12px; padding: 14px; border: 1px solid var(--rule); background: var(--paper); }
.r-img[hidden] { display: none; }
.r-img-opts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.r-img-opts fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 14px; align-items: center; }
.r-img-opts legend { float: left; margin-right: 6px; font-weight: 600; }
.r-img-opts label { font-size: .875rem; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.r-img canvas { width: 100%; max-width: 320px; height: auto; border: 1px solid var(--rule); justify-self: center; }
.r-img-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Sources: one page per group */
.srclinks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.srclinks a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; color: var(--ink); }
.srclinks a:hover { border-color: var(--accent); }
.srclinks a span:first-child { font-family: var(--f-display); font-weight: 800; }
.srclist { padding-left: 1.1em; display: grid; gap: 8px; }

/* Instagram link page (/links/): built for phones, newest post first, the top one with a large tap area */
.page-links main > section.lnk { padding-top: 8px; }
.page-links main section > .lnk-wrap { max-width: 560px; padding-top: 8px; padding-bottom: 40px; gap: 0; }
.lnk-h { margin: 4px 0 6px; }
.lnk-lede { margin: 0 0 20px; color: var(--muted); }
.lnk-list, .lnk-fixed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lnk-item { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; }
.lnk-item:hover, .lnk-item:focus-visible { border-color: var(--accent); }
.lnk-date { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
.lnk-title { font-size: 1.05rem; line-height: 1.3; }
.lnk-line { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.lnk-top { min-height: 132px; align-content: center; padding: 22px 20px; border: 2px solid var(--accent); background: var(--accent-soft); }
.lnk-top .lnk-title { font-size: 1.35rem; }
.lnk-top .lnk-line { color: var(--ink); }
.lnk-fixed { margin-top: 24px; }
.lnk-fixed a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lnk-fixed a:hover, .lnk-fixed a:focus-visible { border-color: var(--accent); }

/* Home "Recent changes": rows that balance whatever the number of tiles (Riley, Nov 4, 2026). Four to a row, last row
   centered (7 = 4 + 3); six or three tiles go three to a row; narrower screens three, then two, to a row. */
.page-home .now { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 28px; }
.page-home .now .panel, .page-home .now .panel:first-child, .page-home .now .panel:last-child { padding: 18px 0 0; border-right: 0; flex: 0 0 calc((100% - 3 * 28px) / 4); min-width: 0; }
.page-home .now:has(> .panel:nth-child(6):last-child) .panel,
.page-home .now:has(> .panel:nth-child(3):last-child) .panel { flex-basis: calc((100% - 2 * 28px) / 3); }
@media (max-width: 1080px) {
  .page-home .now .panel, .page-home .now .panel:first-child, .page-home .now .panel:last-child,
  .page-home .now:has(> .panel:nth-child(6):last-child) .panel { flex-basis: calc((100% - 2 * 28px) / 3); }
}
@media (max-width: 900px) {
  .page-home .now .panel, .page-home .now .panel:first-child, .page-home .now .panel:last-child,
  .page-home .now:has(> .panel:nth-child(6):last-child) .panel,
  .page-home .now:has(> .panel:nth-child(3):last-child) .panel { flex-basis: calc((100% - 28px) / 2); }
}

/* Sources: Recent changes. Dates stay on one line; the source and what changed share the rest (Riley, Nov 4, 2026). */
.chgtable { table-layout: fixed; width: 100%; }
.chgtable th:nth-child(1) { width: 8.6rem; }
.chgtable th:nth-child(2) { width: 32%; }
.chgtable th:nth-child(4), .chgtable th:nth-child(5) { width: 8.6rem; }
.chgtable td { overflow-wrap: anywhere; }
@media (max-width: 700px) { .chgtable { table-layout: auto; min-width: 640px; } }

/* Neighborhood councils (/neighborhoods/) */
.nclist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.nclist a { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; height: 100%; }
.nclist a:hover, .nclist a:focus-visible { border-color: var(--accent); }
.nclist .small { color: var(--muted); }
.nclist .ncareas { font-size: .92rem; color: var(--ink); }
.ncmade { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 4px 0 14px; }
.ncmade .eyebrow { flex-basis: 100%; margin: 0; }
.ncmade .ncn { font-size: .95rem; color: var(--muted); }
.ncmade .ncn b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.ncreps { display: grid; gap: 8px; }
.ncnext { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ncnext a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.ncnext a:hover b, .ncnext a:focus-visible b { color: var(--accent-ink); }
.ledger .nrow { display: grid; grid-template-columns: 9rem 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ledger .nrow .rl { display: grid; }
.ledger .nrow .rl span { font-size: .75rem; color: var(--muted); }


/* Error pages (404, 403): the home page's editorial heading next to a receipt for the request (Nov 9, 2026). */
.err { padding: clamp(28px, 6vw, 64px) 0 clamp(40px, 8vw, 88px); }
.err-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.err-copy { display: grid; gap: 20px; }
.err-copy .edition-line { border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.err-copy h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 15ch; margin: 0; }
.err-copy h1 > span { display: block; font-style: italic; color: var(--accent-ink); }
.err-copy .lede { max-width: 56ch; font-size: .95rem; margin: 0; }
.err-search label { display: block; font: 600 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.err-search > div { display: flex; gap: 8px; max-width: 34rem; }
.err-search input { flex: 1; min-width: 0; font: 1rem var(--f-body); padding: 11px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); }
.err-search button { font: 600 .9rem var(--f-body); padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.err-search input:focus-visible, .err-search button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slip { background: var(--paper); border: 1px solid var(--rule); padding: 22px 22px 30px; font: .85rem/1.5 var(--f-mono); transform: rotate(1.5deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x; }
.slip-head { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .08em; }
.slip-head b { font-weight: 600; }
.slip-head span { margin-left: auto; }
.slip-mark { width: 16px; height: 16px; fill: var(--accent); }
.slip-date { color: var(--muted); margin: 2px 0 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--muted); font-size: .75rem; }
.slip-lines { margin: 0; }
.slip-lines div, .slip-links a { display: flex; gap: 8px; padding: 4px 0; }
.slip-lines dt, .slip-links span { flex: none; }
.slip-lines div::after, .slip-links a::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--muted); margin-bottom: 6px; }
.slip-lines dd { order: 2; margin: 0; text-align: right; overflow-wrap: anywhere; }
.slip-sub { margin: 14px 0 4px; padding-top: 10px; border-top: 1px dashed var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.slip-links { list-style: none; margin: 0; padding: 0; }
.slip-links a { color: var(--ink); text-decoration: none; }
.slip-links a:hover span, .slip-links a:focus-visible span { color: var(--accent-ink); text-decoration: underline; }
.slip-links i { order: 2; font-style: normal; color: var(--accent-ink); }
.slip-foot { margin: 16px 0 0; padding-top: 10px; border-top: 1px dashed var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .2em; color: var(--accent-ink); font-weight: 600; }
@media (max-width: 760px) { .err-grid { grid-template-columns: 1fr; } .slip { transform: none; } }
@media (prefers-reduced-motion: no-preference) { .slip { transition: transform .3s ease; } .slip:hover { transform: rotate(0); } }
/* Embed this chart (web/_embed_box.html) */
.embed-box { font-size: .85rem; }
.embed-box summary { cursor: pointer; font-weight: 600; }
.embed-box .embed-code { margin: 8px 0; padding: 10px 12px; background: var(--ground); border: 1px solid var(--rule); border-radius: 4px; font: .78rem/1.5 var(--f-mono); white-space: pre-wrap; word-break: break-all; }
