/* Territory Brief — design system, direction A "Trade journal".
   Spec: docs/design-spec.md. Fonts: static/fonts.css (self-hosted, OFL).
   Three type voices: Source Serif 4 (reading + display), IBM Plex Sans (UI),
   IBM Plex Mono (record-keeping: dates, labels, evidence status, refs). */

:root {
  /* surfaces */
  --paper: #f8f5ee; --sheet: #fffdf8; --ink: #1c1a17; --ink-2: #4b4742; --mute: #6d6863; /* mute darkened 2026-09-06: 5.1:1 on paper, was 4.2 */
  --rule: #d8d2c4; --rule-soft: #e9e4d9; --rule-ink: #1c1a17;
  /* one accent */
  --acc: #23405a; --acc-ink: #172c3f; --acc-soft: #e4ebf1;
  /* status only */
  --ok: #2f6b3a; --ok-soft: #e7f0e8; --corr: #365f7a; --corr-soft: #e6eef4;
  --warn: #8a5a00; --warn-soft: #fbf3dd; --bad: #9d3a2d; --bad-soft: #f6e7e3;
  /* type */
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  /* layout */
  --maxw: 1120px; --measure: 66ch; --marg: 124px; --gap: 20px;
}
* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.55; font-feature-settings: "kern"; }
a { color: var(--acc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--acc-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .35em; letter-spacing: -.015em; }
h1 { font-size: 2rem; } h2 { font-size: 1.35rem; font-weight: 600; } h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .3em; }
p { margin: 0 0 .9em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 1.5rem 0; }
code { font-family: var(--mono); font-size: .85em; background: var(--sheet); padding: 0 3px; border: 1px solid var(--rule-soft); }
.serif { font-family: var(--serif); } .mono { font-family: var(--mono); font-size: .85em; }
.muted { color: var(--mute); } .small { font-size: .875rem; } .tiny { font-size: .78rem; }
.upper, .kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.upper { color: var(--mute); }
.kicker { color: var(--acc); margin-bottom: 10px; }

/* ---------------------------------------------------------------- layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
main { padding: 30px 0 72px; }
.grid { display: grid; gap: var(--gap); } .grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-side { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-side { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- masthead (site) */
header.site { background: var(--paper); border-bottom: 3px double var(--rule-ink); }
header.site .wrap { display: flex; align-items: baseline; gap: 26px; min-height: 58px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--ink); text-decoration: none; letter-spacing: -.015em; white-space: nowrap; }
.wordmark small { font-family: var(--mono); font-weight: 400; color: var(--mute); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; margin-left: 10px; }
nav.main { display: flex; gap: 18px; flex-wrap: wrap; }
nav.main a { color: var(--ink-2); text-decoration: none; font-size: .92rem; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a.active { color: var(--ink); border-bottom-color: var(--acc); }
nav.main a:hover { color: var(--ink); }
.spacer { flex: 1; }
.userbox { font-size: .82rem; color: var(--mute); display: flex; gap: 12px; align-items: center; }
footer.site { border-top: 1px solid var(--rule-ink); padding: 22px 0 44px; color: var(--mute); font-size: .82rem; }
footer.site .tiny { max-width: 90ch; }

/* ---------------------------------------------------------------- text blocks */
.lede { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: var(--measure); }
.prose { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; max-width: var(--measure); }
.prose p { margin-bottom: 1em; }
.meta { color: var(--mute); font-size: .82rem; }
.meta b { color: var(--ink-2); font-weight: 600; }
.meta.mono, .dateline { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--mute); }
.section { margin: 36px 0 0; }
.section-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--rule-ink); padding-bottom: 5px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head .count { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-left: auto; }

/* ---------------------------------------------------------------- evidence stamps (one vocabulary) */
.badge { display: inline-block; font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 1px 6px; border: 1px solid var(--rule); color: var(--ink-2); background: transparent; vertical-align: middle; white-space: nowrap; line-height: 1.5; }
.badge.demo { border-style: dashed; color: var(--mute); }
.badge.verified { color: var(--ok); border-color: var(--ok); }
.badge.corroborated { color: var(--corr); border-color: var(--corr); }
.badge.unverified { color: var(--warn); border-color: var(--warn); }
.badge.disputed, .badge.retracted, .badge.failed { color: var(--bad); border-color: var(--bad); }
.badge.ok { color: var(--ok); border-color: var(--ok); }
.badge.direct, .badge.new { color: var(--acc); border-color: var(--acc); }
.badge.updated { color: var(--warn); border-color: var(--warn); }

/* ---------------------------------------------------------------- issue masthead + developments */
.masthead { border-top: 3px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); padding: 16px 0 12px; margin-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.masthead .title { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
.masthead .issue { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); text-align: right; line-height: 1.7; }
.version-note { font-size: .85rem; }
.summary { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; max-width: var(--measure); margin: 0 0 14px; }

.dev { display: grid; grid-template-columns: var(--marg) minmax(0, 1fr); gap: 0 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.dev:last-child { border-bottom: 0; }
.dev-marg { font-family: var(--mono); font-size: .68rem; line-height: 1.75; letter-spacing: .04em; color: var(--mute); border-right: 1px solid var(--rule); padding-right: 12px; }
.dev-marg .n { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.dev-marg .badge { margin-top: 6px; display: inline-block; }
.dev-marg .badge + .badge { margin-left: 0; }
.dev h3 { font-size: 1.22rem; margin: 0 0 6px; }
.dev h3 a { color: var(--ink); text-decoration: none; }
.dev h3 a:hover { text-decoration: underline; }
.dev .tags { font-size: .82rem; color: var(--mute); margin-bottom: 8px; }
.labelled { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 5px 12px; margin: 6px 0 0; }
.labelled dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 5px; }
.labelled dd { margin: 0; font-size: .95rem; }
.labelled dd.fact { font-family: var(--serif); font-size: 1.06rem; line-height: 1.5; }
.labelled dd.interp { font-style: italic; color: var(--ink-2); }
.labelled dd.next { border-left: 2px solid var(--acc); padding-left: 10px; }
.labelled dd .plain { margin: 0; }
.evidence { font-size: .82rem; color: var(--mute); margin-top: 8px; }
.evidence li { padding: 3px 0; border: 0; }
.evidence .src-kind { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) {
  .dev { grid-template-columns: 1fr; gap: 6px; }
  .dev-marg { border-right: 0; border-bottom: 1px dotted var(--rule); padding: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
  .dev-marg .n { margin: 0; font-size: 1.3rem; }
  .dev-marg br { display: none; }
  .dev-marg .badge { margin-top: 0; }
  .labelled { grid-template-columns: 1fr; gap: 2px; }
  .labelled dd { margin-bottom: 8px; }
  .masthead { grid-template-columns: 1fr; }
  .masthead .issue { text-align: left; }
}

/* ---------------------------------------------------------------- register tables */
table.ev { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--sheet); }
table.ev th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--rule-ink); padding: 7px 10px; white-space: nowrap; }
table.ev td { padding: 9px 10px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.ev tr:last-child td { border-bottom: 1px solid var(--rule); }
table.ev td.nowrap, .nowrap { white-space: nowrap; }
table.ev td.num, table.ev .num { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--rule-ink); }

/* ---------------------------------------------------------------- notices */
.notice { border: 1px solid var(--rule); border-left: 3px solid var(--mute); background: var(--sheet); padding: 11px 16px; margin: 0 0 16px; font-size: .92rem; }
.notice.gap { border-left-color: var(--warn); background: var(--warn-soft); }
.notice.bad { border-left-color: var(--bad); background: var(--bad-soft); }
.notice.ok { border-left-color: var(--ok); background: var(--ok-soft); }
.notice.info { border-left-color: var(--acc); background: var(--acc-soft); }
.notice ul { margin: 6px 0 0 18px; padding: 0; }
.flash { padding: 10px 14px; margin-bottom: 14px; font-size: .92rem; border: 1px solid var(--rule); background: var(--sheet); border-left-width: 3px; }
.flash.error { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.flash.ok { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.empty { padding: 26px; text-align: center; color: var(--mute); border: 1px dashed var(--rule); font-family: var(--serif); font-size: 1.02rem; }

/* ---------------------------------------------------------------- panels (side column only) */
.panel { background: var(--sheet); border: 1px solid var(--rule); border-top: 2px solid var(--rule-ink); padding: 16px 18px; }
.panel h3 { font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; }
.panel + .panel { margin-top: 16px; }
.stat { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--rule-soft); font-size: .9rem; }
.stat b { font-family: var(--mono); font-weight: 500; }
.stat:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- forms + buttons */
form.stack label, .field label { display: block; font-size: .82rem; font-weight: 600; margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 0; font: inherit; font-size: .95rem; background: var(--sheet); color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
textarea { min-height: 90px; resize: vertical; }
.help { color: var(--mute); font-size: .8rem; margin-top: 4px; }
.btn { display: inline-block; font-family: var(--sans); font-size: .88rem; font-weight: 600; padding: 9px 16px; border: 1.5px solid var(--acc); background: var(--acc); color: #fff; cursor: pointer; text-decoration: none; line-height: 1.2; border-radius: 0; }
.btn:hover { background: var(--acc-ink); border-color: var(--acc-ink); color: #fff; }
.btn.secondary { background: transparent; color: var(--acc); }
.btn.secondary:hover { background: var(--acc-soft); color: var(--acc-ink); }
.btn.quiet { background: transparent; border-color: var(--rule); color: var(--ink-2); font-weight: 500; }
.btn.quiet:hover { border-color: var(--ink-2); background: transparent; color: var(--ink); }
.btn.danger { border-color: var(--bad); color: var(--bad); background: transparent; }
.btn.danger:hover { background: var(--bad-soft); color: var(--bad); }
.btn.sm { padding: 4px 10px; font-size: .78rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.inline { display: inline; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: .92rem; margin: 2px 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filters .field { min-width: 140px; flex: 1; }
.filters label { margin-top: 0; }
.steps { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 24px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--rule-ink); }
.steps span { padding: 8px 12px 6px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.steps span.current { color: var(--acc); border-bottom-color: var(--acc); }
.steps span.done { color: var(--ok); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- public front page (spice B: ink band + register ticker) */
/* The band is the only place ink is used as a surface. Inside it: paper type, paper rules, nothing else. */
.front-band header.site { background: var(--ink); border-bottom-color: var(--paper); }
.front-band header.site .wordmark, .front-band nav.main a:hover, .front-band .userbox a:not(.btn) { color: var(--paper); }
.front-band .wordmark small, .front-band nav.main a, .front-band .userbox { color: var(--rule); }
.front-band header.site .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.front-band header.site .btn:hover { background: var(--rule); border-color: var(--rule); color: var(--ink); }
.front-band header.site a:focus-visible, .band a:focus-visible, .band .btn:focus-visible { outline-color: var(--paper); }
.band { background: var(--ink); color: var(--paper); }
.band .head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 36px; padding-top: 36px; padding-bottom: 36px; align-items: start; }
.band .head > .kicker, .band .head > h1 { grid-column: 1 / -1; }
.band .kicker { color: var(--rule); margin-bottom: 18px; line-height: 1.7; }
.band h1 { font-size: 5.2rem; line-height: .98; letter-spacing: -.04em; margin: 0 0 36px; color: var(--paper); }
.band h1 br { display: none; }
@media (min-width: 1101px) { .band h1 br { display: inline; } }
.band .lede { color: var(--rule); max-width: 60ch; margin: 0 0 18px; }
.band .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.band .btn:hover { background: var(--rule); border-color: var(--rule); color: var(--ink); }
.band .btn.secondary { background: transparent; color: var(--paper); }
.band .btn.secondary:hover { background: transparent; color: var(--rule); border-color: var(--rule); }
.band .actions { margin-top: 0; }
.band .terms { margin: 0; align-self: stretch; border-left: 1px solid var(--paper); padding-left: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-content: start; font-size: .88rem; color: var(--rule); }
.band .terms dt { font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 6px; }
.band .terms dd { margin: 0; }
.band .terms b { color: var(--paper); font-weight: 600; }
.band a:not(.btn) { color: var(--paper); }
.band a:not(.btn):hover { color: var(--rule); }

/* The register ticker: one line, mono record-keeping, hairline above and below. CSS only; static under reduced motion. */
.ticker { height: 44px; background: var(--ink); color: var(--paper); border-top: 1px solid var(--paper); border-bottom: 1px solid var(--rule-ink); overflow: hidden; position: relative; }
.ticker .lbl { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; display: flex; align-items: center; padding: 0 24px; background: var(--ink); border-right: 1px solid var(--paper); font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
/* On ink the status hues fail contrast, so the stamp keeps its word and drops its colour, as in print. */
.ticker .badge { color: var(--rule); border-color: var(--rule); }
.ticker a:focus-visible { outline-color: var(--paper); }
/* The list is two identical runs; the label sits over the first 200px, so the loop of -50% is seamless. */
.ticker ul { list-style: none; margin: 0 0 0 200px; padding: 0; display: flex; width: max-content; height: 44px; animation: ticker-run 110s linear infinite; }
.ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
.ticker li { display: grid; grid-template-columns: 5ch minmax(0, auto) 250px; column-gap: 20px; align-items: center; height: 44px; padding: 0 24px 0 0; margin-right: 24px; border-right: 1px solid var(--mute); white-space: nowrap; font-size: .88rem; }
.ticker .st { display: inline-flex; gap: 8px; align-items: center; }
.ticker li a { color: var(--paper); text-decoration: none; }
.ticker li a:hover { text-decoration: underline; }
.ticker .d { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--rule); }
.ticker .p { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--paper); font-weight: 500; }
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* The register stands still as a short vertical list on phones, with motion off, and in print. Same records. */
@media (max-width: 700px), (prefers-reduced-motion: reduce), print {
  .ticker { height: auto; }
  .ticker .lbl { position: static; border-right: 0; border-bottom: 1px solid var(--mute); padding: 8px 24px; }
  .ticker ul { animation: none; width: auto; height: auto; display: block; margin: 0; padding: 0 24px; }
  .ticker li { white-space: normal; height: auto; display: grid; grid-template-columns: 5ch minmax(0, 1fr); gap: 2px 12px; padding: 8px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--mute); }
  .ticker li:last-child { border-bottom: 0; }
  .ticker li .d { padding-top: 3px; }
  .ticker li .st { grid-column: 2; justify-self: start; }
  .ticker li[aria-hidden] { display: none; }
}

/* Five across: eyebrow, then poster numerals standing on the rule, then the titles beneath it. */
.five-head { display: block; margin: 0 0 4.2rem; }
.five { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 20px; border-top: 1px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); }
.five li { position: relative; padding: 18px 20px 18px 0; border-right: 1px solid var(--rule); }
.five b, .five span { display: block; }
.five li:last-child { border-right: 0; padding-right: 0; }
.five i { position: absolute; left: 0; bottom: 100%; margin-bottom: -.25em; font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 5.6rem; line-height: 1; letter-spacing: -.04em; }
.five b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.2; margin-bottom: 5px; }
.five span { font-size: .88rem; color: var(--ink-2); }
.front-body { margin-top: 36px; }
.front-body > * { border-top: 1px solid var(--rule-ink); padding-top: 18px; }
.art { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.art:first-child { padding-top: 0; }
.art:last-child { border-bottom: 0; }
.art h3 { font-size: 1.4rem; margin: 0 0 8px; }
.art p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; margin: 0; max-width: 58ch; }
.side h2.upper { color: var(--ink); margin: 0 0 8px; font-size: .68rem; }
.side ul.plain li { font-size: .88rem; color: var(--ink-2); padding: 5px 0 5px 22px; border-bottom-color: var(--rule); }
.side .small { margin-top: 18px; color: var(--ink-2); }
.close { border-top: 1px solid var(--rule-ink); margin-top: 36px; padding-top: 18px; justify-content: flex-end; }
/* The front page keeps one surface pair, ink and paper: its buttons are ink, and the accent is left to links. */
.close .btn { background: var(--ink); border-color: var(--ink); }
.close .btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.close .btn.secondary { background: transparent; color: var(--ink); }
.close .btn.secondary:hover { background: transparent; color: var(--ink-2); border-color: var(--ink-2); }
.front-band .userbox .btn { color: var(--ink); }
@media (max-width: 1000px) { .band h1 { font-size: 4.6rem; } }
@media (max-width: 860px) {
  .band .head { grid-template-columns: 1fr; gap: 18px; padding-top: 36px; padding-bottom: 36px; }
  .band .terms { border-left: 0; padding-left: 0; border-top: 1px solid var(--paper); padding-top: 18px; }
  .band h1 { font-size: 3.4rem; margin-bottom: 0; }
  .five-head { margin-bottom: 0; border-bottom: 1px solid var(--rule-ink); padding-bottom: 5px; color: var(--ink); }
  .five { grid-template-columns: 1fr; column-gap: 0; border-top: 0; }
  .five li { border-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 0; display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; }
  .five li:last-child { border-bottom: 0; }
  .five i { position: static; font-size: 4.4rem; grid-row: 1 / span 2; margin: 0; line-height: .8; }
}
@media (max-width: 700px) {
  .band h1 { font-size: 2.6rem; letter-spacing: -.03em; }
}
@media print {
  .band { background: none; color: #000; border-top: 3px solid #000; border-bottom: 1px solid #000; }
  .band h1, .band .terms b { color: #000; } .band .kicker, .band .lede, .band .terms { color: #333; } .band .terms { border-color: #000; }
  .band .btn, .band .btn.secondary { border: 1px solid #000; background: none; color: #000; }
  .band a:not(.btn) { color: #000; text-decoration: underline; }
  .ticker { background: none; color: #000; border-top: 0; } .ticker .lbl { background: none; border-bottom-color: #666; } .ticker li { border-bottom-color: #ccc; } .ticker li a, .ticker .p { color: #000; } .ticker .d { color: #333; } .ticker .badge { color: #333; border-color: #666; }
  .band h1 { font-size: 40pt; }
}
.hero { padding: 40px 0 28px; border-bottom: 1px solid var(--rule-ink); }
.hero h1 { font-size: 2.6rem; max-width: 20ch; }
.pricing-box { border: 1px solid var(--rule); border-top: 3px solid var(--rule-ink); padding: 24px 28px; background: var(--sheet); max-width: 560px; }
.price { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; }
.price small { font-size: .95rem; color: var(--mute); font-family: var(--sans); font-weight: 400; letter-spacing: 0; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); }
ul.plain li:last-child { border-bottom: 0; }
ul.ticks li { padding-left: 22px; position: relative; }
ul.ticks li::before { content: "\2014"; position: absolute; left: 0; color: var(--acc); }

/* ---------------------------------------------------------------- editor */
.editor-nav { display: flex; gap: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; border-bottom: 1px solid var(--rule-ink); flex-wrap: wrap; }
.editor-nav a { text-decoration: none; color: var(--ink-2); padding: 8px 14px 6px 0; margin-right: 6px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.editor-nav a.active { color: var(--acc); border-bottom-color: var(--acc); }
.problem-list { margin: 0; padding-left: 20px; }
.item-edit { border: 1px solid var(--rule); border-left: 3px solid var(--rule-ink); padding: 14px 16px; margin-bottom: 14px; background: var(--sheet); }
.item-edit.excluded { opacity: .55; border-left-style: dashed; }
.log { font-family: var(--mono); font-size: .72rem; color: var(--mute); }
.log li { padding: 2px 0; border: 0; }

/* ---------------------------------------------------------------- small screens (chrome) */
@media (max-width: 700px) {
  body { font-size: 15px; }
  header.site .wrap { gap: 4px 14px; padding-top: 10px; padding-bottom: 6px; }
  nav.main { width: 100%; gap: 2px 14px; }
  nav.main a { font-size: .88rem; padding: 3px 0; }
  .userbox { width: 100%; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 6px; }
  h1 { font-size: 1.6rem; } .hero h1 { font-size: 1.9rem; } .hero { padding: 26px 0 22px; }
  .lede { font-size: 1.1rem; }
  .filters .field { min-width: 45%; }
  main { padding-top: 22px; }
}

/* ---------------------------------------------------------------- print */
@media print {
  header.site, footer.site, .no-print, .flash { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  main { padding: 0; }
  .dev { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .badge { border-color: #666; color: #333; }
  .dev-marg { color: #444; }
}
.print-only { display: none; }
@media print { .print-only { display: block; } }

/* count figures in editor panels */
.panel .num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
