:root {
  --header-h: 128px;
  --blue: #1b3a5c;
  --navy: #0f2238;
  --de-blue: #2e5f8a;
  --buff: #e8d9b5;
  --lbuff: #f6f0e1;
  --cream: #eadfc6;
  --gold: #b8913a;
  --dgold: #8a6a22;
  --text: #2b2b2b;
  --muted: #3a3a3a;
  --slate: #5f6368;
  --rule: #dadce0;
  --red: #ab1310;
  --white: #fff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
main { flex: 1; }
a { color: var(--de-blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }
img { max-width: 100%; }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  left: 12px;
  top: 12px;
  padding: 8px 12px;
  background: var(--navy);
  color: white;
  z-index: 30;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header {
  --header-h: 72px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.tools-in-menu { display: none; }
.header-search { margin: 0; }
.header-search label { margin: 0; font-weight: 400; }
.header-search input { width: 148px; padding: 6px 10px; font-size: 14px; }
.tool-link {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
  white-space: nowrap;
}
.tool-link:hover, .tool-link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.mark { width: 32px; height: 36px; display: block; flex-shrink: 0; }
.wordmark:hover { color: var(--blue); }
.nav-rows { padding-bottom: 14px; }
.nav-groups { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; }
.nav-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.nav-label {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--dgold);
}
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; list-style: none; margin: 0; padding: 0; }
.nav-group a, .account a, .nav-utility {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
}
.nav-utility { font-weight: 500; color: var(--de-blue); }
.nav-group a:hover, .account a:hover, .nav-utility:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav-group a[aria-current="page"], .nav-utility[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.account { display: flex; align-items: center; gap: 14px; }
.account-menu { position: relative; }
.account-btn {
  background: white;
  color: var(--navy);
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 6px 12px;
  font: 600 15px var(--sans);
  cursor: pointer;
}
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 168px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(15, 34, 56, 0.12);
  padding: 6px;
}
.account-panel a, .account-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  color: var(--blue);
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
  font: 600 15px var(--sans);
  cursor: pointer;
}
.account-panel a:hover, .account-panel button:hover,
.account-panel a:focus-visible, .account-panel button:focus-visible { background: #f3ead6; color: var(--navy); }
.group-label { margin: 36px 0 4px; font-size: 14px; font-weight: 650; color: var(--dgold); }
.menu-btn { flex-shrink: 0; }
.account form { margin: 0; }
.who { font-size: 15px; font-weight: 600; color: var(--navy); }
.account button.linkish {
  background: none;
  color: var(--blue);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 6px 0;
  font: 500 15px var(--sans);
  line-height: inherit;
  cursor: pointer;
}
.account button.linkish:hover { background: none; color: var(--navy); border-bottom-color: var(--gold); }
.signin { border: 1px solid var(--blue); border-radius: 4px; padding: 6px 12px !important; font-weight: 600; }
.menu-btn { display: none; }
.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  appearance: none;
}

.hero { background: var(--lbuff); border-bottom: 1px solid var(--cream); padding: 64px 0 56px; }
.hero h1 { font-size: 44px; margin-bottom: 16px; }
.hero .prose p { margin: 0 0 28px; font-size: 18px; }
.eyebrow, .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dgold);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 650; }
h1 { font-size: 46px; margin: 0 0 16px; }
h2 { font-size: 30px; margin: 1.4em 0 0.4em; }
h3 { font-size: 22px; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); }
.prose.lead { font-size: 19px; }
.hero-links { margin: 22px 0 0; }
.band { padding: 48px 32px 72px; }
.band-title { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--lbuff);
  border-top: 3px solid var(--gold);
  padding: 18px 18px 20px;
  text-decoration: none;
  color: inherit;
  min-height: 150px;
}
.card:hover { background: #f3ead6; }
.card-lead { color: var(--muted); font-size: 16px; }

.sheet { padding: 36px 32px 72px; }
.narrow { max-width: 720px; }
.crumb { margin: 0 0 8px; font-size: 15px; }
.meta, .hint { color: var(--slate); font-size: 15px; }
.actions, .row, .inline-forms, .admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button, button {
  font: 600 15px var(--sans);
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.button:hover, button:hover { background: var(--blue); }
.button.ghost, .history button, .comments button {
  background: white;
  color: var(--blue);
  border-color: var(--rule);
}
.pill {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--dgold);
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill.warn { border-color: var(--red); color: var(--red); }
.banner { padding: 12px 14px; border-radius: 4px; margin: 16px 0; }
.banner.ok { background: #f4f7f1; border: 1px solid #c9d7c2; }
.banner.wait { background: var(--lbuff); border: 1px solid var(--gold); color: var(--navy); }
.account-wait { margin: 0 0 6px; padding: 6px 8px; font-size: 13px; color: var(--dgold); }
.banner.bad { background: #fdf2f1; border: 1px solid #e4b8b6; color: var(--red); }
.toc { background: var(--lbuff); padding: 14px 18px; margin: 18px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.proposal {
  border-left: 3px solid var(--gold);
  padding: 4px 0 8px 18px;
  margin: 28px 0;
  scroll-margin-top: 92px;
}
.proposal h2 { margin-top: 0; }
.proposal h2 a, .kicker a { text-decoration: none; }
.proposal-meta { font-size: 14px; }

.discussion { border-top: 1px solid var(--rule); margin-top: 36px; padding-top: 8px; }
.comments, .history, .results { list-style: none; margin: 0; padding: 0; }
.comments li, .history li, .results li { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.comments li.is-hidden, .history li.is-hidden { background: #f7f4ee; }
.empty { color: var(--slate); }

.stack { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.stack.tight { gap: 6px; }
.split { border-top: 1px solid var(--rule); padding-top: 8px; }
label { font-weight: 600; font-size: 15px; }
input, textarea, select {
  font: 16px var(--sans);
  color: var(--text);
  border: 1px solid #cfc6b4;
  border-radius: 4px;
  padding: 10px 12px;
  width: 100%;
  background: white;
}
textarea { resize: vertical; min-height: 160px; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--de-blue);
  outline-offset: 2px;
}
.search { display: flex; gap: 8px; align-items: center; }
.search input { flex: 1; }
.preview { background: var(--lbuff); padding: 16px 18px; margin: 12px 0; }
.devbox { background: var(--navy); color: white; padding: 14px 16px; margin: 16px 0; }
.devbox a { color: var(--buff); }
.diff {
  background: #fbfaf7;
  border: 1px solid var(--rule);
  overflow: auto;
  max-height: 640px;
  font-size: 14px;
  line-height: 1.45;
}
.dline { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 0 10px; white-space: pre-wrap; }
.dline code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dline.add { background: #e7f4e4; }
.dline.del { background: #fbe6e4; }
.dline.same { color: var(--slate); }
.turnstile { margin: 8px 0; }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 48px 0 32px; font-size: 15px; }
.footer-mark { font-family: var(--serif); color: white; font-size: 22px; margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.legal { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.footer-contact { margin-top: 16px; }
.footer-contact h2 { font-family: var(--serif); color: white; font-size: 18px; font-weight: 650; margin: 0 0 4px; }
.footer-contact p { margin: 0; }
.footer-contact a { overflow-wrap: anywhere; }

.pillar, .issue { scroll-margin-top: 0; }
.pillar { border-top: 1px solid var(--cream); }
.philosophy { max-width: 68ch; margin: 8px 0 18px; }
.philosophy > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  border-radius: 4px;
}
.philosophy > summary::-webkit-details-marker { display: none; }
.philosophy > summary:hover, .philosophy > summary:focus-visible { background: #f3ead6; }
.philosophy-label { font-family: var(--serif); font-size: 22px; font-weight: 650; color: var(--navy); }
.philosophy-body { padding: 4px 12px 8px 34px; }
.philosophy-body h3 { font-size: 16px; margin: 0.9em 0 0.2em; }
.philosophy-body p { margin: 0 0 0.45em; font-size: 16px; }
.philosophy-more { margin-top: 10px; }
.philosophy-more a, .philosophy-page a, .tl-more a { font-weight: 650; }
.roadmap-drop { margin-top: 0; }
.roadmap-timeline { max-width: 100%; }
.roadmap-intro { margin: 0 0 12px; font-size: 16px; }
.phase-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.phase-strip li { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--cream); border-top: 3px solid var(--gold); border-radius: 4px; background: white; }
.phase-name { font-family: var(--serif); font-weight: 650; color: var(--navy); font-size: 16px; }
.phase-time, .phase-count, .tl-phase-time { color: var(--slate); font-size: 14px; }
.tl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tl-filter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tl-filters label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 99px; background: white; color: var(--navy); font-size: 14px; font-weight: 650; cursor: pointer; }
.tl-filter:checked + label { background: var(--navy); color: white; border-color: var(--navy); }
.tl-filter:focus-visible + label { outline: 2px solid var(--de-blue); outline-offset: 2px; }
.tl-phase, .tl-item { border-top: 1px solid var(--cream); }
.tl-phase > summary, .tl-item > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px; cursor: pointer; list-style: none; }
.tl-phase > summary::-webkit-details-marker, .tl-item > summary::-webkit-details-marker { display: none; }
.tl-phase > summary:hover, .tl-item > summary:hover, .tl-phase > summary:focus-visible, .tl-item > summary:focus-visible { background: #f3ead6; }
.tl-phase-name, .tl-title { font-weight: 650; color: var(--navy); font-size: 16px; min-width: 0; }
.tl-phase-body, .tl-item-body { padding: 4px 8px 12px 28px; }
.tl-phase-body p, .tl-item-body p { margin: 0 0 8px; font-size: 15px; }
.tl-know { margin: 8px 0 6px; font-size: 14px; font-weight: 650; color: var(--dgold); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.tl-chips li { padding: 6px 10px; border-radius: 99px; background: var(--lbuff); color: var(--navy); font-size: 14px; }
.tl-section h3 { margin: 12px 0 4px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dgold); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--navy); }
.tl-dot[data-section="Power"] { background: var(--gold); }
.tl-dot[data-section="Educate"] { background: var(--de-blue); }
.tl-dot[data-section="Build"] { background: var(--dgold); }
.tl-dot[data-section="Families"] { background: var(--slate); }
.tl-dot[data-section="State Government Reform"] { background: var(--blue); }
.tl-item .inline-tags { margin-left: auto; font-size: 14px; }
.tl-done { font-weight: 650; color: var(--navy); }
.tl-note { color: var(--slate); }
.roadmap-timeline:has(#tl-protect:checked) .tl-item:not([data-section="Protect"]),
.roadmap-timeline:has(#tl-power:checked) .tl-item:not([data-section="Power"]),
.roadmap-timeline:has(#tl-educate:checked) .tl-item:not([data-section="Educate"]),
.roadmap-timeline:has(#tl-build:checked) .tl-item:not([data-section="Build"]),
.roadmap-timeline:has(#tl-families:checked) .tl-item:not([data-section="Families"]),
.roadmap-timeline:has(#tl-reform:checked) .tl-item:not([data-section="State Government Reform"]) { display: none; }
.roadmap-timeline:has(#tl-protect:checked) .tl-section:not(:has([data-section="Protect"])),
.roadmap-timeline:has(#tl-power:checked) .tl-section:not(:has([data-section="Power"])),
.roadmap-timeline:has(#tl-educate:checked) .tl-section:not(:has([data-section="Educate"])),
.roadmap-timeline:has(#tl-build:checked) .tl-section:not(:has([data-section="Build"])),
.roadmap-timeline:has(#tl-families:checked) .tl-section:not(:has([data-section="Families"])),
.roadmap-timeline:has(#tl-reform:checked) .tl-section:not(:has([data-section="State Government Reform"])) { display: none; }
.philosophy-page h3 { font-size: 20px; margin: 1.3em 0 0.3em; }
.philosophy-page p { max-width: 68ch; }
.pillar > summary, .issue > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 18px 12px;
  border-radius: 4px;
}
.pillar > summary::-webkit-details-marker, .issue > summary::-webkit-details-marker { display: none; }
.pillar > summary:hover, .issue > summary:hover,
.pillar > summary:focus-visible, .issue > summary:focus-visible { background: #f3ead6; }
.chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-top: -2px;
}
details[open] > summary .chevron { transform: rotate(45deg); margin-top: -6px; }
.pillar-heading, .issue-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.summary-title { font-family: var(--serif); font-size: 30px; font-weight: 650; color: var(--navy); line-height: 1.2; }
.summary-sub { color: var(--dgold); font-size: 16px; }
.issue-bar { display: flex; align-items: center; gap: 8px; }
.issue-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: none;
  color: var(--navy);
  border: 0;
  border-radius: 4px;
  padding: 10px 8px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.issue-toggle:hover, .issue-toggle:focus-visible { background: #f3ead6; }
.issue-toggle[aria-expanded="true"] .chevron { transform: rotate(45deg); margin-top: -4px; }
.issue-name { font-weight: 650; color: var(--navy); font-size: 17px; }
.issue-edit {
  flex-shrink: 0;
  color: var(--de-blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 10px;
  border-radius: 4px;
}
.issue-edit:hover, .issue-edit:focus-visible { background: #f3ead6; color: var(--navy); }
details.add-issue { margin-top: 18px; max-width: 520px; }
details.add-issue > summary { cursor: pointer; font-weight: 650; color: var(--blue); list-style: none; padding: 8px 0; }
details.add-issue > summary::-webkit-details-marker { display: none; }
details.add-issue > summary:hover, details.add-issue > summary:focus-visible { color: var(--navy); }
details.add-issue form { margin-top: 8px; }
.add-label { margin: 0; font-weight: 650; color: var(--navy); }
.inline-tags { color: var(--slate); font-size: 12px; font-weight: 500; }
.pillar-panel { padding: 0 8px 20px 36px; }
.issue { border-bottom: 1px solid var(--rule); }
.issue-panel { padding: 0 12px 16px 28px; max-width: 72ch; }
.issue-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; }
.issue-links a { color: var(--de-blue); font-weight: 600; }
.data-tile {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--lbuff);
  border-radius: 4px;
  max-width: 460px;
}
.data-tile figcaption { font-size: 13px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dgold); margin: 0 0 8px; }
.data-tile ul { margin: 8px 0 0; padding-left: 1.1em; }
.data-tile li { margin: 6px 0; font-size: 14px; color: var(--muted); }
.data-tile a { color: var(--de-blue); }
.when { color: var(--slate); }
.chart-title { margin: 0 0 2px; font-size: 14px; font-weight: 650; color: var(--navy); }
.chart { width: 100%; height: auto; display: block; }
.chart-source { margin: 4px 0 0; font-size: 12px; color: var(--slate); }
.pillar-block h2 { margin-top: 0; }
.pillar-block h2 a { color: var(--navy); text-decoration: none; }
.subtitle { font-size: 18px; color: var(--dgold); margin-top: 0; }
.proposal-list { list-style: none; margin: 0; padding: 0; }
.proposal-list > li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.proposal-link { font-weight: 650; color: var(--navy); text-decoration: none; }
.proposal-link:hover { color: var(--de-blue); }
.metrics { color: var(--slate); font-size: 15px; margin-top: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.roadmap { padding: 8px 0 80px; }
.bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; display: inline-block; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .header-bar .tools { display: none; }
  .tools-in-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cream);
  }
  .tools-in-menu .header-search input { width: 100%; }
  .tools-in-menu .account { margin: 0; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    border: 1px solid var(--rule);
    background: white;
    color: var(--blue);
    border-radius: 4px;
    padding: 8px 12px;
    font: 600 15px var(--sans);
    cursor: pointer;
  }
  .nav { display: none; }
  .menu-toggle:checked ~ .nav {
    display: block;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
    border-top: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(15, 34, 56, 0.08);
  }
  .header-search input { font-size: 16px; min-height: 44px; }
  .menu-btn, .button, a.button, .signin, .tool-link, .wordmark { min-height: 44px; }
  .signin, .tool-link { display: inline-flex; align-items: center; }
  input, textarea, select, #email { min-height: 44px; }
  .inline-tags, .chart-source, .chart-source a, p.legal, p.nav-label, .data-tile figcaption { font-size: 14px; }
  .phase-strip { grid-template-columns: 1fr; }
  .roadmap-intro, .tl-phase-body p, .tl-item-body p, .phase-name, .tl-phase-name, .tl-title { font-size: 15px; }
  .menu-toggle:focus-visible + .header-bar .menu-btn { outline: 2px solid var(--de-blue); outline-offset: 2px; }
  .nav-groups { flex-direction: column; align-items: stretch; gap: 18px; }
  .nav-group { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-label { padding: 10px 0 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--rule); }
  .nav-group a { display: block; padding: 12px 0; font-size: 17px; }
  h1 { font-size: 34px; }
  .wrap, .sheet, .band { padding-left: 22px; padding-right: 22px; }
  .search { flex-direction: column; align-items: stretch; }
}

@media (max-width: 900px) and (max-height: 500px) {
  .site-header { --header-h: 56px; }
  .header-bar { min-height: 56px; }
  .tools-in-menu { gap: 6px; margin-bottom: 4px; padding-bottom: 6px; }
  .nav-groups { gap: 8px; }
  .nav-label { padding: 4px 0 0; }
  .nav-group a { padding: 6px 0; font-size: 15px; }
}

@media (max-width: 480px) {
  .issue-toggle { flex-wrap: wrap; align-items: flex-start; }
  .issue-toggle .inline-tags { flex-basis: 100%; margin-left: 22px; }
}

.admin-page { overflow-x: hidden; }
.admin-tabs, .admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.admin-tabs a, .admin-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 650;
}
.admin-tabs a[aria-current="page"], .admin-filters a[aria-current="page"] { background: var(--navy); color: white; border-color: var(--navy); }
.admin-page button { min-height: 44px; }
.admin-locks { margin-top: 24px; }
.people-scroll { max-width: 100%; overflow-x: auto; }
.people { width: 100%; min-width: 960px; border-collapse: collapse; table-layout: fixed; line-height: 1.25; }
.people .col-name { width: 32%; }
.people .col-role { width: 10%; }
.people .col-access { width: 7%; }
.people .col-edits { width: 7%; }
.people .col-comments { width: 10%; }
.people .col-date { width: 8%; }
.people .col-actions { width: 18%; }
.people th, .people td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rule); vertical-align: middle; font-size: 15px; white-space: nowrap; }
.people th { overflow: visible; font-size: 13px; font-weight: 650; color: var(--navy); }
.people td { overflow: hidden; }
.people th.num, .people td.num { text-align: right; font-variant-numeric: tabular-nums; padding-left: 4px; padding-right: 6px; }
.people th.date, .people td.date { white-space: nowrap; overflow: visible; }
.people th.actions, .people td.actions { overflow: visible; }
.people td.who { min-width: 260px; }
.people .who-name { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.people .clip { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .who-name .clip { flex: 1 1 auto; }
.people .clip.email { color: var(--slate); font-weight: 500; }
.people td.status .role { display: block; }
.people td.status .pill { display: table; margin-top: 3px; padding: 0 6px; font-size: 11px; letter-spacing: 0.04em; }
.people td.actions form { display: inline-flex; margin: 0 4px 0 0; }
.people td.actions button { min-height: 32px; padding: 4px 8px; font-size: 13px; }
.people form { margin: 0; }
.admin-hidden { margin-top: 18px; }
.admin-hidden > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 650; color: var(--navy); }
@media (max-width: 700px) {
  .people thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .people { min-width: 0; table-layout: auto; }
  .people, .people tbody, .people tr, .people td { display: block; width: auto; }
  .people tr { border: 1px solid var(--rule); border-radius: 4px; margin: 0 0 12px; padding: 8px 12px; }
  .people td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; white-space: normal; overflow: visible; }
  .people td.who { display: block; min-width: 0; }
  .people .who-name { display: block; }
  .people .clip { display: block; max-width: none; overflow: visible; white-space: normal; text-overflow: unset; }
  .people td.actions form { display: flex; margin: 0 0 6px; }
  .people td::before { content: attr(data-label); font-weight: 650; color: var(--navy); }
}
/* text/css */
