/* scohousing.org stylesheet. Values come from brand/tokens.json.
   Public Sans: SIL Open Font License 1.1, https://openfontlicense.org */

@font-face {
  font-family: "Public Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Public Sans Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --green-700: #3B5D51;
  --green-900: #1E302A;
  --green-100: #E6ECE8;
  --gold-500: #DFA243;
  --gold-100: #FAF0DC;
  --rust-700: #8E4E1C;
  --ink: #1A1F1D;
  --gray-700: #4A524F;
  --gray-600: #5E6763;
  --gray-400: #9AA29E;
  --line: #D5D9D6;
  --surface: #F3F4F1;
  --white: #FFFFFF;

  --font: "Public Sans Variable", "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --measure: 68ch;
  --margin: 20px;
  --section: 64px;
}

@media (min-width: 640px) { :root { --margin: 32px; } }
@media (min-width: 900px) { :root { --margin: 40px; --section: 96px; } }

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 26px;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: lining-nums;
}
@media (min-width: 640px) { body { font-size: 18px; line-height: 28px; } }

img, svg { max-width: 100%; height: auto; display: block; }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.01em; }
h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; }
h3 { font-size: 22px; line-height: 30px; font-weight: 650; }
h4 { font-size: 18px; line-height: 28px; font-weight: 650; }
@media (min-width: 640px) {
  h1 { font-size: 44px; line-height: 50px; }
  h2 { font-size: 35px; line-height: 42px; }
  h3 { font-size: 28px; line-height: 36px; font-weight: 700; }
  h4 { font-size: 22px; line-height: 30px; font-weight: 600; }
}
.h1-statement { font-size: 34px; line-height: 40px; }
@media (min-width: 640px) { .h1-statement { font-size: 44px; line-height: 50px; } }
@media (min-width: 1200px) { .h1-statement { font-size: 55px; line-height: 60px; } }

p, ul, ol, dl { margin: 0 0 var(--s4); }
p, li { max-width: var(--measure); }
/* Intro paragraphs are set at the body size. One heading size and one text size per block (Andrew, November 22, 2026). */
.lead { color: var(--ink); }
.meta, .small { font-size: 14px; line-height: 20px; color: var(--gray-700); }
.tnum { font-variant-numeric: tabular-nums; }

a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 2px; }

/* Layout */
.container { width: 100%; max-width: calc(1200px + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.section { padding-top: var(--section); }
.section:last-child { padding-bottom: var(--section); }
.section-head { margin-bottom: var(--s5); }
.section-head p { margin-top: var(--s3); }
.page-head { padding-top: var(--s7); }
.page-head h1 + .lead, .page-head h1 + p { margin-top: var(--s4); }
@media (min-width: 900px) { .page-head { padding-top: var(--s8); } }
main { display: block; padding-bottom: var(--section); }
.prose h2 { margin: var(--s7) 0 var(--s4); }
.prose h3 { margin: var(--s6) 0 var(--s3); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--white); color: var(--green-700); padding: var(--s3) var(--s4);
  border: 2px solid var(--green-700); font-weight: 600;
}
.skip-link:focus { top: var(--s4); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); padding-top: var(--s3); padding-bottom: var(--s3); }
.brand-link { display: inline-block; text-decoration: none; }
.brand-link img { height: 40px; width: auto; }
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 10; }
  .site-header .container { min-height: 80px; flex-wrap: nowrap; }
  .brand-link img { height: 48px; }
}
.menu-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.site-nav li { max-width: none; }
.site-nav a {
  display: inline-block; padding: var(--s2) 0; color: var(--ink); text-decoration: none;
  font-size: 16px; line-height: 24px; font-weight: 500; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--green-700); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--green-700); border-bottom-color: var(--green-700); }
.site-nav { width: 100%; }
@media (min-width: 900px) { .site-nav { width: auto; } .site-nav ul { gap: var(--s1) var(--s5); } }

/* With JavaScript, the nav collapses behind a Menu button on small screens */
@media (max-width: 899px) {
  .js .site-header .container { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
    background: var(--white); color: var(--ink); border: 1px solid var(--gray-600); border-radius: 4px;
    font: 600 16px/1 var(--font); cursor: pointer;
  }
  .js .site-nav { display: none; }
  .js .site-header.is-open .container { flex-wrap: wrap; }
  .js .site-header.is-open .site-nav { display: block; }
  .js .site-header.is-open .site-nav ul { flex-direction: column; gap: 0; padding-bottom: var(--s3); }
  .js .site-header.is-open .site-nav a { display: block; font-size: 20px; line-height: 28px; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .js .site-header.is-open .site-nav a[aria-current="page"] { border-bottom: 2px solid var(--green-700); }
}

/* Footer */
.site-footer { background: var(--green-900); color: var(--white); border-top: 4px solid var(--gold-500); padding: var(--s8) 0 var(--s7); font-size: 16px; line-height: 24px; }
.site-footer a { color: var(--white); }
.site-footer a:focus-visible { outline-color: var(--gold-500); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 200px 1fr 1fr; gap: var(--s7); } }
.footer-logo img { width: 150px; height: auto; }
.footer-tagline { margin-top: var(--s4); font-weight: 600; }
/* Each point of the tagline stays whole. In the narrow desktop column the three points stack. */
.footer-tagline span { white-space: nowrap; }
@media (min-width: 900px) { .footer-tagline span { display: block; } }
.site-footer p { max-width: 60ch; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer-small { font-size: 14px; line-height: 20px; }
.footer-heading { font-size: 16px; line-height: 24px; color: var(--white); margin-bottom: var(--s3); }
.site-footer ul.footer-nav { list-style: none; padding: 0; margin: 0; }
.site-footer ul.footer-nav li { margin-bottom: var(--s2); }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 4px;
  background: var(--green-700); color: var(--white); font-weight: 600; font-size: 16px; line-height: 24px; text-decoration: none;
}
.button:hover { background: var(--green-900); color: var(--white); }
.button-secondary { background: var(--white); color: var(--ink); border: 1px solid var(--gray-600); }
.button-secondary:hover { background: var(--surface); color: var(--ink); }
.link-strong { font-weight: 600; }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin-top: var(--s5); }

/* Position markers */
.position { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; white-space: nowrap; }
.marker { width: 10px; height: 10px; flex: none; display: inline-block; }
.marker-support { background: var(--green-700); }
.marker-oppose { background: var(--rust-700); }
.marker-amend { border: 1.5px solid var(--ink); }
.position-support { color: var(--green-700); }
.position-oppose { color: var(--rust-700); }
.position-amend { color: var(--ink); }

/* Home: ledger (signature element) */
.home-hero { padding-top: var(--s7); }
@media (min-width: 900px) { .home-hero { padding-top: var(--s8); } }
.home-hero h1 { max-width: 22ch; }
.home-hero .lead { margin-top: var(--s5); }
.hero-links { margin-top: var(--s5); }
/* Wide screens: headline on the left, introduction and buttons on the right */
@media (min-width: 1000px) {
  .home-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s8); align-items: center; }
  .home-hero h1 { max-width: none; }
  .home-hero .hero-text .lead { margin-top: 0; max-width: none; }
  .home-hero .hero-links { margin-bottom: 0; }
}

/* Home: featured proposal */
.featured-proposal { margin-top: var(--s7); border-top: 4px solid var(--gold-500); background: var(--surface); padding: var(--s5); }
@media (min-width: 900px) { .featured-proposal { padding: var(--s6); } }
.featured-label { margin: 0 0 var(--s2); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-700); }
.featured-proposal h2 { font-size: 28px; line-height: 34px; margin-bottom: var(--s4); }
.featured-proposal h2 a { color: var(--ink); text-decoration: none; }
.featured-proposal h2 a:hover { color: var(--green-700); text-decoration: underline; }
.featured-main p:last-child { margin-bottom: 0; }
.featured-side { margin-top: var(--s5); }
.featured-links { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.featured-links li { max-width: none; margin: 0; padding: var(--s3) 0; border-top: 1px solid var(--line); }
.featured-links li:last-child { padding-bottom: 0; }
@media (min-width: 1000px) {
  .featured-proposal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s8); align-items: start; }
  .featured-side { margin-top: var(--s6); }
}

/* Proposal pages: status line under the lead */
.status-line { margin-top: var(--s4); font-size: inherit; line-height: inherit; }

/* Partners: joint letters under an organization name */
.people .joint { display: block; margin-top: var(--s1); }
.people .joint a { white-space: nowrap; }

/* Delay call to action */
.delay-cta .bullets { margin-bottom: 0; }
.prose .delay-cta { margin: var(--s6) 0; }
.prose .delay-cta h2 { margin: 0 0 var(--s2); }

.ledger { margin-top: var(--s7); border-top: 2px solid var(--ink); }
.ledger-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.ledger-head h2 { font-size: 22px; line-height: 30px; }
.ledger-list { list-style: none; margin: 0; padding: 0; }
.ledger-row { max-width: none; display: grid; grid-template-columns: 1fr; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.ledger-bill { font-size: 34px; line-height: 38px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
a.ledger-bill:hover { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 2px; }
.ledger-subject { margin: 0; }
.ledger-subject .meta { display: block; margin-top: var(--s1); }
.ledger-outcome { margin: 0; color: var(--gray-700); font-size: 16px; line-height: 24px; }
@media (min-width: 900px) {
  .ledger-row { grid-template-columns: 200px minmax(0, 1fr) 220px minmax(0, 260px); gap: var(--s5); align-items: baseline; }
  .ledger-bill { font-size: 44px; line-height: 48px; }
}
.ledger-foot { padding-top: var(--s4); }

.figures { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.figures li { max-width: none; border-top: 4px solid var(--gold-500); padding-top: var(--s4); }
.figure-num { display: block; font-size: 55px; line-height: 60px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green-700); }
.figure-label { display: block; color: var(--gray-700); margin-top: var(--s2); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

/* Cards */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { max-width: none; border: 1px solid var(--line); border-top: 2px solid var(--green-700); padding: var(--s5); background: var(--white); display: flex; flex-direction: column; gap: var(--s3); }
.card h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.card p { margin: 0; color: var(--gray-700); }
.card .card-num { font-size: 14px; line-height: 20px; color: var(--gray-700); font-variant-numeric: tabular-nums; }

/* Callouts */
.callout { border-left: 4px solid var(--green-700); background: var(--green-100); padding: var(--s5); }
.callout h2 { font-size: 22px; line-height: 30px; margin-bottom: var(--s2); }
.callout p:last-child { margin-bottom: 0; }
.callout-action { border-left-color: var(--gold-500); background: var(--gold-100); }
.callout-action a { color: var(--rust-700); }

/* Two column page with aside */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
@media (min-width: 900px) { .with-aside { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: var(--s7); } }
.aside-box { border-top: 2px solid var(--ink); padding-top: var(--s4); font-size: 16px; line-height: 24px; }
.aside-box h2 { font-size: 18px; line-height: 28px; margin-bottom: var(--s2); }
.aside-box ul { list-style: none; padding: 0; }
.aside-box li { margin-bottom: var(--s2); }
@media (min-width: 900px) { .aside-sticky { position: sticky; top: 112px; } }

/* Lists of facts */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: var(--s5) 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--gray-700); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .facts div { grid-template-columns: 260px 1fr; gap: var(--s5); } }

.people { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
.people li { border-top: 1px solid var(--line); padding-top: var(--s3); }
.people .name { display: block; font-weight: 650; }
.people .title { display: block; color: var(--gray-700); font-size: 16px; line-height: 24px; }
/* Organizations: a plain list of names; three columns when there is room */
@media (min-width: 960px) { .people.orgs { grid-template-columns: repeat(3, 1fr); } }
.org-line { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-weight: 650; }
.org-line li { margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { max-width: none; display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green-700); }
.timeline p { margin: 0; }
@media (min-width: 640px) { .timeline li { grid-template-columns: 96px 1fr; gap: var(--s5); } }

.bullets { padding-left: 1.2em; }
.bullets li { margin-bottom: var(--s2); }
.bullets li::marker { color: var(--green-700); }

/* Record table */
.filters { margin: var(--s6) 0 var(--s4); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); }
.filters[hidden] { display: none; }
.filter-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 640px) { .filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .filter-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: 16px; line-height: 24px; margin-bottom: var(--s1); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 var(--s3); font: 400 16px/24px var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--gray-600); border-radius: 4px;
}
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); }
.result-count { margin: 0; font-weight: 600; }
.text-button { background: none; border: 0; padding: var(--s2) 0; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; font: 600 16px/24px var(--font); cursor: pointer; min-height: 44px; }

/* Guides: index list and tables inside a guide */
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { margin-bottom: var(--s5); }
.guide-list h2 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: 0; margin-bottom: var(--s2); }
.guide table { display: block; max-width: var(--measure); overflow-x: auto; border-collapse: collapse; margin: 0 0 var(--s4); font-size: inherit; line-height: inherit; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.guide th { font-weight: 600; }
.guide th:first-child, .guide td:first-child { padding-left: 0; }

.table-wrap { margin-top: var(--s4); }
.record-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.record-table caption { text-align: left; font-size: 22px; line-height: 30px; font-weight: 700; padding: 0 0 var(--s3); }
.record-table th, .record-table td { text-align: left; vertical-align: top; padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); }
.record-table thead th { background: var(--surface); font-size: 14px; line-height: 20px; font-weight: 600; border-bottom: 2px solid var(--ink); }
.record-table th:first-child, .record-table td:first-child { padding-left: 0; }
.record-table thead th:first-child { padding-left: var(--s3); }
.record-table .bill-num { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.record-table .sub { display: block; color: var(--gray-700); font-size: 14px; line-height: 20px; margin-top: var(--s1); }
.record-table ul { list-style: none; padding: 0; margin: 0; }
.record-table li { margin-bottom: var(--s1); }
.record-table .date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.record-table tr[hidden] { display: none; }
.empty-state[hidden] { display: none; }
.empty-state { padding: var(--s5); background: var(--surface); margin-top: var(--s4); }

/* Below 900px tables reflow to stacked cards */
@media (max-width: 899px) {
  .record-table, .record-table tbody, .record-table tr, .record-table td, .record-table th { display: block; width: 100%; }
  .record-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .record-table caption { display: block; }
  .record-table tr { border-top: 2px solid var(--ink); padding: var(--s4) 0; }
  .record-table tbody tr + tr { margin-top: var(--s4); }
  .record-table th, .record-table td { border: 0; padding: var(--s1) 0; }
  .record-table td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-700); }
  .record-table tr[hidden] { display: none; }
}

/* Entry lists (coalitions, legislators, founder record, local actions) */
.entries { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.entry { max-width: none; padding: var(--s5) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: var(--s2) var(--s5); }
@media (min-width: 900px) { .entry { grid-template-columns: 200px minmax(0, 1fr); } }
.entry-date { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gray-700); }
.entry h3 { font-size: 20px; line-height: 28px; font-weight: 700; margin-bottom: var(--s2); }
.entry p { margin: 0 0 var(--s2); }
.entry .cosigners { columns: 1; padding: 0; list-style: none; margin: var(--s3) 0 0; font-size: 16px; line-height: 24px; }
@media (min-width: 640px) { .entry .cosigners { columns: 2; column-gap: var(--s6); } }
.entry .cosigners li { break-inside: avoid; margin-bottom: var(--s1); }
details.cosigner-list summary { cursor: pointer; color: var(--green-700); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.work-list { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.work-list li { display: grid; grid-template-columns: 1fr; gap: 0 var(--s4); padding: var(--s2) 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .work-list li { grid-template-columns: 130px 1fr; } }
.chamber-group + .chamber-group { margin-top: var(--s7); }
.chamber-group > h2 { margin-bottom: var(--s4); }

/* Staff table */
.staff-table td .pdf-link { white-space: nowrap; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* Print */
@media print {
  .site-header .site-nav, .menu-toggle, .skip-link, .filters, .site-footer .footer-nav-col, .no-print { display: none !important; }
  .site-header { position: static; border-bottom: 2px solid var(--green-700); }
  body { font-size: 10.5pt; line-height: 14pt; }
  h1 { font-size: 20pt; line-height: 24pt; }
  h2 { font-size: 13pt; line-height: 17pt; }
  .site-footer { background: none; color: var(--ink); border-top: 0.5pt solid var(--line); padding: 12pt 0 0; }
  .site-footer a { color: var(--ink); }
  .footer-logo { display: none; }
  .with-aside { display: block; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; }
  .callout, .record-table tr, .entry, .card { break-inside: avoid; }
  main { padding-bottom: 0; }
}
.card h2 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: 0; }
.sub { display: block; color: var(--gray-700); font-size: 14px; line-height: 20px; margin-top: var(--s1); font-weight: 400; }
.position + .sub { margin-top: var(--s1); }
.record-table tbody th { font-weight: 400; }
.entry-office { margin: 0; }
.h3-entry a { text-decoration-thickness: 1px; }
.section.callout-wrap:last-child, main > .container > .section:last-child { padding-bottom: 0; }
.h3-entry { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: 0; margin-bottom: var(--s2); }
@media (min-width: 640px) { .h3-entry { font-size: 22px; line-height: 30px; } }
.page-head + .section { padding-top: var(--s7); }
.entry .work-list { margin-top: 0; }
.entry .work-list li:first-child { border-top: 0; padding-top: 0; }
.chamber-group + .chamber-group { margin-top: 0; }
.prose > h2:first-child { margin-top: 0; }
.with-aside.section { padding-top: var(--s7); }
/* Filters show only with JavaScript; the js class is set in the head, so no layout shift */
.filters { display: none; }
.js .filters { display: block; }
.table-heading { margin: var(--s7) 0 0; }
.nowrap { white-space: nowrap; }
address { font-style: normal; }
.page-head + .with-aside > .prose > h2:first-child, .page-head + .section > .prose > h2:first-child { margin-top: var(--s6); }
/* Leadership: one row per person; a portrait, when there is one, sits at the end of the row */
.people.leadership li { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s4); }
.people.leadership .person-text { padding-top: var(--s1); }
.portrait { flex: none; width: 104px; }
.portrait img { width: 104px; height: 130px; object-fit: cover; background: var(--surface); }
@media (min-width: 640px) { .portrait, .portrait img { width: 120px; } .portrait img { height: 150px; } }
.work-list li.undated { display: block; }

/* Forms: the proposal request page and the admin area */
.form-wrap { max-width: 640px; }
.form-stack { display: grid; gap: var(--s5); }
.field textarea {
  display: block; width: 100%; padding: var(--s3); font: 400 16px/24px var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--gray-600); border-radius: 4px; resize: vertical;
}
.field .optional { font-weight: 400; color: var(--gray-700); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--s2); font-weight: 600; font-size: 16px; line-height: 24px; }
.field label.check { display: flex; align-items: flex-start; gap: var(--s3); margin: 0; padding: var(--s2) 0; font-weight: 400; font-size: 17px; line-height: 26px; cursor: pointer; }
.field label.check input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--green-700); }
.field .small { margin: var(--s1) 0 0; }
fieldset.field .small { margin: 0 0 var(--s2); }
.field-error { margin: var(--s2) 0 0; padding-left: var(--s3); border-left: 4px solid var(--rust-700); color: var(--rust-700); font-weight: 600; }
.field-error[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
button.button { border: 0; cursor: pointer; font-family: var(--font); }
button.button.button-secondary { border: 1px solid var(--gray-600); }
.button-small { min-height: 40px; padding: 6px 14px; font-size: 15px; line-height: 22px; }
/* A field people never see; automated senders fill it in */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { max-width: none; margin: 0 0 var(--s5); padding: var(--s3) var(--s4); border-left: 4px solid var(--green-700); background: var(--green-100); }
.notice-error { border-left-color: var(--rust-700); background: var(--gold-100); }
.notice ul { margin: 0; padding-left: 1.2em; }

/* Proposal pages before introduction: the summary is public, the full text is on request */
.locked { position: relative; overflow: hidden; padding: var(--s6) var(--s4); border: 1px solid var(--line); background: var(--white); }
.locked-preview { position: absolute; inset: 0; padding: var(--s4) var(--s5); filter: blur(2px); }
.locked-bar { display: block; height: 12px; margin: 12px 0; border-radius: 6px; background: var(--line); }
.locked-bar.head { width: 38%; height: 18px; margin-top: var(--s6); background: var(--gray-400); }
.locked-bar.head:first-child { margin-top: var(--s2); }
.locked-bar.w95 { width: 95%; }
.locked-bar.w88 { width: 88%; }
.locked-bar.w72 { width: 72%; }
.locked-card { position: relative; max-width: 30rem; margin: var(--s6) auto; padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold-500); box-shadow: 0 10px 30px rgba(26, 31, 29, 0.14); }
.prose .locked-card h2 { margin: 0 0 var(--s3); font-size: 22px; line-height: 30px; }
.locked-card p:last-child { margin-bottom: 0; }
.prose .locked + .callout, .prose .locked + .delay-cta { margin-top: var(--s6); }

/* Admin area */
.admin-tabs ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0 0 var(--s5); padding: 0; border-bottom: 1px solid var(--line); }
.admin-tabs li { margin: 0; }
.admin-tabs a { display: inline-block; padding: var(--s2) 0; border-bottom: 3px solid transparent; color: var(--gray-700); font-weight: 600; text-decoration: none; }
.admin-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green-700); }
.admin-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.admin-row { max-width: none; margin: 0; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.admin-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-bottom: var(--s3); }
.admin-row-head h2 { margin: 0; }
.tag { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.tag-new { border-color: var(--gold-500); background: var(--gold-100); }
.tag-accepted, .tag-sent { border-color: var(--green-700); background: var(--green-100); }
.admin-facts { display: grid; gap: var(--s2); margin: 0 0 var(--s4); font-size: 16px; line-height: 24px; }
.admin-facts div { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .admin-facts div { grid-template-columns: 220px 1fr; gap: var(--s4); } }
.admin-facts dt { color: var(--gray-700); font-weight: 600; }
.admin-facts dd { margin: 0; overflow-wrap: anywhere; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.admin-actions form { margin: 0; }
.text-link { font-weight: 600; }
.tag-off { border-color: var(--gray-600); background: var(--white); color: var(--gray-700); }
.link-field { display: block; width: 100%; max-width: 640px; min-height: 40px; margin-top: var(--s2); padding: 0 var(--s3); font: 400 14px/20px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--gray-600); border-radius: 4px; }

/* Private pages opened from a personal access link */
.page-head .notice { margin: var(--s4) 0 0; }
.access-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.access-item { max-width: none; margin: 0; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.access-item h2 { margin: 0 0 var(--s2); }
.access-item p { max-width: 70ch; }
