:root {
  --ink: #171717; --muted: #686868; --line: #d8d8d4; --paper: #fff;
  --wash: #f5f5f1; --blue: #1547d8; --red: #a73326;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; }
body { margin: 0; min-height: 100vh; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #0b2d98; }
.site-header { border-bottom: 1px solid var(--ink); padding: 0 max(24px, calc((100vw - 1180px) / 2)); }
.masthead, .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead { min-height: 74px; }
.wordmark { color: var(--ink); display: flex; align-items: center; gap: 12px; font: 700 17px/1 var(--sans); letter-spacing: .08em; text-decoration: none; }
.wordmark-mark { border: 2px solid var(--ink); display: inline-grid; place-items: center; width: 42px; height: 42px; letter-spacing: -.08em; }
.utility-nav, .main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.utility-nav a, .main-nav a { color: var(--ink); text-decoration: none; }
.nav-row { border-top: 1px solid var(--line); min-height: 52px; }
.search-form { display: flex; width: min(360px, 40vw); }
.search-form input { border-right: 0; min-width: 0; width: 100%; }
.search-form input, .search-form input[type=submit] { height: 34px; }
.site-main, .site-footer { margin: 0 auto; max-width: 1180px; padding: 42px 24px 72px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; padding-top: 24px; }
.site-footer-copy { max-width: 760px; }
.site-footer-copy p { margin: 0; }
.site-footer-copy p + p { margin-top: 8px; }
.flash { border-bottom: 1px solid; padding: 11px max(24px, calc((100vw - 1180px) / 2)); font-size: 14px; }
.flash--notice { background: #eef3ff; border-color: #aac0ff; }
.flash--alert { background: #fff2ef; border-color: #d9a49c; color: #76251c; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: .98; margin: 0 0 22px; }
h2 { font-size: 31px; margin: 38px 0 15px; }
h3 { font-size: 23px; }
p, li { line-height: 1.58; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.lede { color: #3b3b3b; font: 20px/1.55 var(--serif); max-width: 720px; }
.muted { color: var(--muted); }
.danger { color: var(--red); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: end; border-bottom: 1px solid var(--ink); padding-bottom: 38px; }
.quota { border-top: 5px solid var(--blue); padding-top: 18px; }
.quota-number { font: 48px/1 var(--serif); letter-spacing: -.05em; }
.quota-track { background: #e5e5e0; height: 4px; margin: 14px 0; }
.quota-fill { background: var(--blue); height: 100%; min-width: 2px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); margin-top: 54px; }
.section-heading h2 { margin-bottom: 10px; }
.page-list { list-style: none; margin: 0; padding: 0; }
.page-list li { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 15px 0; }
.page-list a { color: var(--ink); font: 22px/1.3 var(--serif); text-decoration: none; }
.page-list .meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 250px; gap: 80px; }
.article-header { border-bottom: 1px solid var(--ink); margin-bottom: 30px; padding-bottom: 22px; }
.article-header h1 { font-size: clamp(42px, 6vw, 70px); }
.article-tools { display: flex; gap: 15px; font-size: 13px; }
.article-body { font: 18px/1.7 var(--serif); overflow-wrap: anywhere; }
.article-body a.missing-page-link { color: var(--red); }
.article-body a.missing-page-link:hover { color: #76251c; }
.article-body h1, .article-body h2 { border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.article-body pre { background: var(--wash); overflow-x: auto; padding: 16px; }
.article-body code { font-size: .86em; }
.article-body table { border-collapse: collapse; width: 100%; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px; }
.article-body figure { margin: 28px 0; }
.article-body img { display: block; height: auto; max-width: 100%; }
.article-body figcaption { color: var(--muted); font: 13px/1.4 var(--sans); margin-top: 7px; }
.article-aside { border-top: 5px solid var(--ink); font-size: 13px; padding-top: 16px; }
.article-aside dl { margin: 0; }
.article-aside dt { color: var(--muted); margin-top: 15px; text-transform: uppercase; }
.article-aside dd { margin: 3px 0 0; }
.pending-banner { background: #fff7e8; border: 1px solid #d4ad68; margin: 0 0 28px; padding: 14px 16px; }
.form-shell { max-width: 880px; }
.form-shell > header { border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
.field { margin: 0 0 22px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
input, select, textarea { background: #fff; border: 1px solid #8e8e88; border-radius: 0; color: var(--ink); font: inherit; padding: 10px 11px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid #bdd0ff; outline-offset: 1px; }
.field input, .field select, .field textarea { width: 100%; }
textarea.editor { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; min-height: 430px; resize: vertical; }
button, input[type=submit], .button { background: var(--blue); border: 1px solid var(--blue); color: #fff; cursor: pointer; display: inline-block; font: 700 13px/1 var(--sans); padding: 11px 16px; text-decoration: none; }
.button--secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.button--danger { background: var(--red); border-color: var(--red); }
.text-button { background: none; border: 0; color: var(--ink); font-weight: 400; padding: 0; text-decoration: underline; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-errors { border-left: 4px solid var(--red); color: #76251c; margin-bottom: 24px; padding: 8px 16px; }
.form-errors ul { margin-bottom: 0; }
.hint { color: var(--muted); font-size: 12px; margin-top: 7px; }
.preview-pane { border: 1px solid var(--line); margin: 18px 0; min-height: 120px; padding: 20px; }
.moderation-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); min-height: 620px; }
.queue { border-right: 1px solid var(--line); }
.queue-header { border-bottom: 1px solid var(--ink); padding: 18px; }
.queue-item { border-bottom: 1px solid var(--line); display: block; padding: 15px 18px; text-decoration: none; }
.queue-item.is-selected { background: #eef3ff; border-left: 4px solid var(--blue); padding-left: 14px; }
.queue-item strong { color: var(--ink); display: block; }
.queue-item span { color: var(--muted); font-size: 12px; }
.review-pane { padding: 24px 30px; }
.review-pane h1 { font-size: 42px; }
.triage { background: var(--wash); border-left: 4px solid var(--blue); font: 13px/1.5 ui-monospace, monospace; overflow-x: auto; padding: 14px; white-space: pre-wrap; }
.diff { border: 1px solid var(--line); font-family: ui-monospace, monospace; font-size: 13px; margin: 22px 0; overflow-x: auto; padding: 15px; }
.diff .ins { background: #ddf4e3; }
.diff .del { background: #ffe1dd; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--ink); margin-bottom: 20px; }
.tabs a { color: var(--ink); padding: 10px 0; text-decoration: none; }
.tabs a.active { border-bottom: 4px solid var(--blue); font-weight: 700; }
@media (max-width: 780px) {
  .masthead, .nav-row, .site-footer { align-items: flex-start; flex-direction: column; padding-bottom: 14px; padding-top: 14px; }
  .utility-nav { gap: 10px; }
  .search-form { width: 100%; }
  .home-hero, .article-layout, .moderation-layout { grid-template-columns: 1fr; gap: 34px; }
  .queue { border-bottom: 1px solid var(--line); border-right: 0; }
  .page-list li { grid-template-columns: 76px 1fr; }
  .page-list li > :last-child { display: none; }
}
