/* Apparatus: the report as a text with a critical apparatus. Greyscale, with one
   oxblood accent for citation marks and the active passage. Neutral white, not cream. */

/* Literata (TypeTogether) and Public Sans (USWDS), served from this app: variable fonts, latin and latin-ext
   subsets, from Google Fonts on 2026-11-28. SIL Open Font License 1.1: fonts/Literata-OFL.txt, fonts/PublicSans-OFL.txt. */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/literata-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/literata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/public-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/public-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #FCFCFC;
  --margin: #F2F2F3;
  --ink: #1A1A1C;
  --ink-2: #5B5C61;
  --rule: #8C8D93;
  --hair: #D4D4D8;
  --cite-hl: #DEDEE2;
  --sigla: #7A2232;
  --focus: #1A1A1C;
  --serif: "Literata", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/24px var(--sans); }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
h2 { font-size: 21px; line-height: 30px; margin: 40px 0 12px; }
button { font: 500 14px/20px var(--sans); color: var(--page); background: var(--ink); border: 1px solid var(--ink); padding: 9px 16px; cursor: pointer; border-radius: 2px; }
button.quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
button:disabled { color: var(--ink-2); background: var(--margin); border-color: var(--hair); cursor: not-allowed; }
code { font: 400 13px/20px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.label { font: 600 12px/16px var(--sans); color: var(--ink-2); margin: 24px 0 6px; }
.hint { color: var(--ink-2); font-size: 14px; max-width: 64ch; }

.masthead { display: flex; gap: 16px; align-items: baseline; padding: 18px 32px; border-bottom: 1px solid var(--hair); }
.masthead a { font: 600 15px/20px var(--sans); text-decoration: none; }
.masthead span { color: var(--ink-2); font-size: 13px; }
.masthead .mode { margin-left: auto; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .masthead { flex-wrap: wrap; gap: 4px 16px; padding: 14px 20px; }
  .masthead .tagline { display: none; }
}

.single { max-width: 44rem; margin: 48px auto 96px; padding: 0 24px; }
.single.wide { max-width: 68rem; }
.question { font-size: 30px; line-height: 38px; margin: 0 0 12px; }
.status-line { color: var(--ink-2); }

.ask label { display: block; font: 600 13px/18px var(--sans); color: var(--ink-2); margin-bottom: 8px; }
.form-error { font-weight: 600; margin: 8px 0 0; }

/* What the server researches with: a colophon under the form. */
.colophon { margin-top: 40px; border-top: 1px solid var(--hair); }
.colophon h2.label { font-family: var(--sans); margin: 16px 0 8px; }
.colophon .register th { width: 8rem; font-weight: 500; border-bottom-color: var(--hair); vertical-align: top; padding-top: 5px; }
.colophon .meta { color: var(--ink-2); }
@media (max-width: 640px) {
  .colophon .register th, .colophon .register td { display: block; width: auto; height: auto; }
  .colophon .register th { padding: 8px 0 0; border-bottom: 0; color: var(--ink-2); }
  .colophon .register td { padding: 0 0 8px; }
}
.problems { margin: 0 0 8px; padding-left: 20px; font-weight: 600; max-width: 64ch; }
.problems li + li { margin-top: 6px; }
.detail { margin-top: 16px; color: var(--ink-2); font-size: 14px; }
.detail summary { cursor: pointer; }
.ask textarea { width: 100%; font: 400 20px/30px var(--serif); color: var(--ink); background: var(--page); border: 1px solid var(--rule); padding: 12px 14px; resize: vertical; }

/* The plan: a decimal outline, because the plan is a hierarchy. */
.outline { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--hair); }
.outline li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.outline .num { font: 500 14px/28px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.outline .text { font: 400 18px/28px var(--serif); outline: none; padding: 0 4px; }
.outline .text:focus-visible { box-shadow: 0 1px 0 var(--sigla); }
.outline .moves { display: flex; gap: 4px; }
.outline .moves button { background: transparent; color: var(--ink-2); border: 1px solid var(--hair); padding: 2px 9px; min-width: 28px; min-height: 28px; }
.plan-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Choices before the search: sources, and later source types and cost. Rules, not boxes. */
.choices { border-top: 1px solid var(--hair); margin-top: 8px; }
.choices fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { padding: 0; }
.choice { display: flex; gap: 10px; align-items: baseline; font-weight: 500; margin: 12px 0 4px; cursor: pointer; }
.choice input { margin: 0; accent-color: var(--ink); }
.choice .meta { color: var(--ink-2); font-weight: 400; }
.choice:has(input:disabled) { color: var(--ink-2); cursor: not-allowed; }
.choices .sub { margin: 4px 0 12px 24px; }
.choices .sub label { display: block; font: 600 13px/18px var(--sans); color: var(--ink-2); margin: 10px 0 4px; }
.choices input[type="text"], .choices input[type="number"], .choices textarea {
  width: 100%; font: 400 15px/22px var(--sans); color: var(--ink); background: var(--page); border: 1px solid var(--rule); border-radius: 2px; padding: 7px 10px;
}
.choices textarea { resize: vertical; font-size: 14px; }
.choices .hint { margin: 6px 0 0; }
.choices .types { margin-top: 12px; }
.choices .types th[scope="row"] { font: 500 14px/20px var(--sans); color: var(--ink); padding: 8px 8px 8px 0; border-bottom-color: var(--hair); }
.choices .types th[scope="row"] .meta { display: block; font: 400 12px/18px var(--sans); color: var(--ink-2); }
.choices .types th[scope="col"]:not(:first-child), .choices .types td { text-align: center; width: 4.5rem; vertical-align: middle; }
.choices .types input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
@media (max-width: 640px) { .choices .types th[scope="col"]:not(:first-child), .choices .types td { width: 3.4rem; } }
.form-error[hidden] { display: none; }
.choices .estimate { font: 400 16px/26px var(--sans); margin: 12px 0 0; max-width: 64ch; }
.choices .cap-label { display: block; font: 600 13px/18px var(--sans); color: var(--ink-2); margin: 20px 0 4px; }
.choices .money { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.choices .money input { width: 10rem; font-variant-numeric: tabular-nums; }

/* Stopping a run: a quiet control beside a plain statement of what it keeps. */
.stop { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin: 16px 0 8px; }
.stop .hint { margin: 0; font-size: 13px; }

/* The register: 28px rows, hairlines, tabular time, status as a word. */
.register { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.register th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.register td { padding: 4px 8px; height: 28px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.register .num { text-align: right; white-space: nowrap; }
.register .addr { overflow-wrap: anywhere; color: var(--ink-2); }
.register tr.new td { animation: arrive 600ms ease-out; }
@keyframes arrive { from { background: var(--cite-hl); } to { background: transparent; } }

/* History: the register of earlier runs. On a phone each run is two lines. */
.history .unit { display: none; }
.history .q a { font-weight: 500; }
@media (max-width: 640px) {
  .history thead { display: none; }
  .history tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .history td { display: inline; height: auto; padding: 0; border: 0; color: var(--ink-2); }
  .history td.q { display: block; margin-bottom: 4px; color: var(--ink); }
  .history td:nth-child(n+3)::before { content: " · "; }
  .history td.unknown { display: none; }
  .history .unit { display: inline; }
}

/* The edition: outline | text | margin. */
.edition { display: grid; grid-template-columns: 13rem minmax(0, 38rem) 20rem; gap: 40px; max-width: 80rem; margin: 40px auto 96px; padding: 0 32px; }
.outline-col { position: sticky; top: 24px; align-self: start; font-size: 13px; }
.outline-col .restated { font-family: var(--serif); font-size: 15px; line-height: 22px; margin: 0; }
.toc { padding-left: 18px; margin: 0; color: var(--ink-2); }
.toc a { text-decoration: none; }
.text { font: 400 18px/29px var(--serif); font-optical-sizing: auto; }
.text h1 { font-size: 34px; line-height: 42px; margin: 0 0 8px; }
.text p { margin: 0 0 18px; max-width: 66ch; }
.s.active { text-decoration: underline 1px var(--sigla); text-underline-offset: 4px; }
.sigla button { font: 600 11px/1 var(--sans); color: var(--sigla); background: none; border: 0; padding: 0 1px 0 2px; cursor: pointer; vertical-align: super; }
.sigla button[aria-pressed="true"] { text-decoration: underline; }
/* The source type beside each mark: small, grey, never a colour code. */
.tie { white-space: nowrap; }
.sigla { display: inline-block; white-space: nowrap; line-height: 1; }  /* inline-block: the sentence's underline stops at the marks */
.sigla .kind { font: 500 10px/1 var(--sans); color: var(--ink-2); vertical-align: super; margin: 0 3px 0 1px; cursor: help; }
.text .hint { font: 400 14px/22px var(--sans); }
.type { display: block; font: 400 13px/20px var(--sans); color: var(--ink-2); }
.type .kind-name { color: var(--ink); font-weight: 500; }
.type.copies .addr { overflow-wrap: anywhere; }
.type.hash code { overflow-wrap: anywhere; font-size: 12px; }
.passage .type { margin: -6px 0 10px; }
.text h3 { font: 600 16px/24px var(--sans); margin: 24px 0 8px; }
.ending { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--hair); padding: 12px 0 4px; margin: 16px 0 8px; font: 400 16px/26px var(--sans); }
.ending p { margin: 0 0 10px; }
.findings { padding-left: 20px; margin: 0 0 12px; }
.findings li { margin-bottom: 8px; max-width: 66ch; }
.again { margin-top: 20px; }
.errata ul { padding-left: 20px; }
.against .none { color: var(--ink-2); }
.errata .struck { text-decoration: line-through; text-decoration-color: var(--rule); }
.errata .why { display: block; font: 400 13px/20px var(--sans); color: var(--ink-2); }
.sources { font: 400 14px/22px var(--sans); padding-left: 24px; }
.sources .meta { color: var(--ink-2); }
.linkish { background: none; color: var(--ink); border: 0; padding: 0; font: inherit; text-decoration: underline 1px; text-underline-offset: 3px; cursor: pointer; }
.receipt th { width: 11rem; }
.receipt .unread { list-style: none; padding: 0; margin: 0; }
.receipt .unread .addr { overflow-wrap: anywhere; }
.receipt .meta { color: var(--ink-2); }
@media (max-width: 640px) { .receipt th { width: 7rem; } }
.export { list-style: none; padding: 0; margin: 0; }
.export li { margin: 4px 0; }
.export a, .export .linkish { font: 400 13px/20px var(--sans); }
.print-only, .print-url { display: none; }

.margin { position: sticky; top: 24px; align-self: start; font-size: 14px; line-height: 22px; max-height: calc(100vh - 48px); overflow: auto; }
.passage { border-top: 1px solid var(--rule); padding-top: 12px; animation: open 160ms ease-out; }
.passage .src { font-weight: 600; margin: 0; }
.passage .meta { color: var(--ink-2); font-size: 13px; margin: 2px 0 10px; }
.passage blockquote { margin: 0; font: 400 15px/24px var(--serif); white-space: pre-wrap; }
.passage mark { background: var(--cite-hl); color: inherit; text-decoration: underline 1px var(--ink); text-underline-offset: 3px; }
.passage .verdict { margin-top: 12px; font-weight: 600; }
.passage .verdict.sent-back { color: var(--sigla); }
@keyframes open { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 1279px) {
  .edition { grid-template-columns: minmax(0, 38rem); justify-content: center; }
  .outline-col { position: static; }
  .margin { position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 45vh; background: var(--margin); border-top: 1px solid var(--rule); padding: 12px 24px 20px; z-index: 2; }
  .margin:not(.open) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .register tr.new td, .passage { animation: none; }
  .register tr.new td:last-child::after { content: " · new"; color: var(--ink-2); }
}

/* The replay: a slim band saying what the page is, a note where a control is not live, and a footer. */
.replay-band { margin: 0; padding: 7px 32px; background: var(--ink); color: var(--page); font: 500 13px/20px var(--sans); }
.replay-band a { color: var(--page); }
.replay-about { margin: 0; padding: 8px 32px; background: var(--margin); border-bottom: 1px solid var(--hair); color: var(--ink); font: 400 14px/22px var(--sans); }
.replay-about span { display: block; max-width: 110ch; }
.replay-note { font: 400 14px/22px var(--sans); color: var(--ink-2); margin: 16px 0; }
.replay-foot { margin: 0; padding: 24px 32px 48px; border-top: 1px solid var(--hair); font: 400 13px/20px var(--sans); color: var(--ink-2); }
.replay-foot p { margin: 0 0 8px; max-width: 90ch; }
.replay-foot a { color: var(--ink-2); }
fieldset.frozen { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.frozen .outline .text { cursor: default; }
.passage .licence { margin: 10px 0 0; }
.passage .licence a { color: var(--ink-2); }
@media (max-width: 640px) {
  .replay-band, .replay-about { padding-left: 20px; padding-right: 20px; }
  .replay-foot { padding: 20px 20px 40px; }
  /* A replayed plan cannot be edited, so on a phone its text gets the width the move buttons took. */
  fieldset.frozen .outline li { grid-template-columns: 2.5rem 1fr; }
  fieldset.frozen .outline .moves { display: none; }
}

/* The replay's landing page: the same column, registers and rules as the home page. */
.lede { font: 400 19px/30px var(--serif); margin: 0 0 8px; max-width: 64ch; }
.landing h2 { margin-top: 44px; }
.landing p, .landing li { max-width: 64ch; }
.landing ul { padding-left: 20px; }
.landing li + li { margin-top: 8px; }
.replays td { padding-top: 8px; padding-bottom: 8px; height: auto; }
.replays .q a { font-weight: 500; }
.replays .what { display: block; color: var(--ink-2); font-size: 13px; line-height: 20px; margin-top: 2px; }
.replays .also { display: block; font-size: 13px; line-height: 20px; margin-top: 2px; }
/* The front door: try it live, see a recorded run, run it yourself. */
.front-door ol { list-style: none; padding: 0; margin: 28px 0 8px; border-top: 1px solid var(--hair); }
.front-door li { display: grid; grid-template-columns: 15rem 1fr; gap: 6px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); margin: 0; max-width: none; }
.front-door li + li { margin-top: 0; }
.front-door .act { display: inline-block; font: 500 14px/20px var(--sans); text-decoration: none; text-align: center; color: var(--page); background: var(--ink); border: 1px solid var(--ink); padding: 9px 16px; border-radius: 2px; }
.front-door .act.quiet, .front-door .act.pending { background: transparent; color: var(--ink); border-color: var(--rule); }
.front-door .what { color: var(--ink-2); font-size: 14px; line-height: 22px; }
@media (max-width: 640px) { .front-door li { grid-template-columns: 1fr; } .front-door .act { display: block; } }
.code { margin: 12px 0; padding: 12px 14px; background: var(--margin); border-left: 2px solid var(--rule); overflow-x: auto; font: 400 13px/20px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.recorded-file { margin: 16px 0 0; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 15px/25px var(--serif); }
@media (max-width: 640px) {
  .replays thead { display: none; }
  .replays tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .replays td { display: block; padding: 0; border: 0; }
  .replays td.num { text-align: left; color: var(--ink-2); }
}

/* Print, and the browser's "save as PDF": one column, the text and its sources, no controls. */
@media print {
  @page { margin: 18mm 17mm 20mm; }
  body { background: #fff; font-size: 9.5pt; line-height: 1.45; }
  .masthead, .outline-col, .margin, .stop, .again, .export, .plan-actions, .detail summary, .replay-note, .replay-foot { display: none !important; }
  .edition, .single, .single.wide { display: block; max-width: none; margin: 0; padding: 0; }
  .print-only { display: block; }
  .text { font-size: 11pt; line-height: 1.55; }
  .text h1 { font-size: 20pt; line-height: 1.2; margin: 0 0 4pt; }
  .text p { max-width: none; orphans: 3; widows: 3; }
  .print-meta { font: 400 9pt/1.4 var(--sans); color: var(--ink-2); margin: 0 0 14pt; }
  h2 { font-size: 13.5pt; line-height: 1.3; margin: 16pt 0 6pt; break-after: avoid; }
  .text h3 { break-after: avoid; }
  .s.active { text-decoration: none; }
  .sigla button { font-size: 7pt; padding: 0 0 0 1pt; }
  .sigla .kind { font-size: 6pt; }
  .sources, .errata, .findings { font-size: 9.5pt; }
  .sources li, .errata li, .findings li, .register tr { break-inside: avoid; }
  .sources .print-url { display: block; font: 400 8.5pt/1.35 var(--sans); color: var(--ink-2); overflow-wrap: anywhere; }
  .register { font-size: 8.5pt; }
  .register td { height: auto; padding: 2pt 4pt; }
  .ending { font-size: 10pt; }
  a, .linkish { color: inherit; text-decoration: none; }
}

/* The hosted version: the key, the model, the two ways to start, the spend, and what happens to the visitor's data. */
.notice { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--hair); padding: 10px 0; margin: 0 0 24px; font-weight: 500; max-width: 64ch; }
.hosted .lede { margin-bottom: 32px; }
.ask fieldset { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.ask fieldset legend { padding: 0; margin: 0 0 8px; }
.ask .key-row { display: flex; gap: 8px; align-items: stretch; }
.ask input[type="password"], .key-again input[type="password"] {
  flex: 1; min-width: 0; width: 100%; font: 400 15px/22px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--ink);
  background: var(--page); border: 1px solid var(--rule); border-radius: 2px; padding: 8px 10px;
}
.ask .key-row button { white-space: nowrap; }
.ask .key-box .hint { margin: 8px 0 0; }
.key-result { margin: 6px 0 0; font-weight: 500; max-width: 64ch; }
.key-result:empty { margin: 0; }
.ask .models .hint { margin: 8px 0 0; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 8px; }
.ask-actions + .hint { margin-top: 4px; }
.spend { font: 400 15px/24px var(--sans); margin: 8px 0; font-variant-numeric: tabular-nums; }
.spend strong { font-weight: 600; }
.spend .meta { color: var(--ink-2); }
.key-again[hidden] { display: none; }
.export + .keep, .keep { margin: 10px 0 0; font-size: 13px; line-height: 20px; }
.hosted-foot { margin: 0; padding: 20px 32px 40px; border-top: 1px solid var(--hair); font: 400 13px/20px var(--sans); color: var(--ink-2); }
.hosted-foot p { margin: 0 0 12px; max-width: 90ch; }
.hosted-foot a { color: var(--ink-2); }
.hosted-foot .end-session { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.hosted-foot .end-session button { font-size: 13px; padding: 6px 12px; }
@media (max-width: 640px) {
  .ask .key-row { flex-direction: column; }
  .ask-actions button { flex: 1 1 100%; }
  .hosted-foot { padding: 20px 20px 40px; }
}
@media print { .hosted-foot, .keep, .spend { display: none !important; } }

/* Check my draft: the draft re-set with a mark per citation (the source's number and a verdict sign), a tally,
   and the verdicts as a register. Greyscale like the rest; the oxblood accent marks what failed, and every sign has words. */
.check-form .file-row { margin: 4px 0 0; }
.check-form input[type="file"] { font: 400 14px/20px var(--sans); max-width: 100%; }
.check-form #judge-line { margin-top: 16px; }
.sigla.verdict button { color: var(--ink); }
.sigla.verdict .v { font-weight: 600; margin-left: 1px; }
.sigla.v-not_found button, .sigla.v-partial button { color: var(--sigla); }
.sigla.v-unreadable button, .sigla.v-no_address button, .sigla.v-not_checked button { color: var(--ink-2); }
.sigla.v-uncited span { font: 600 10px/1 var(--sans); color: var(--sigla); vertical-align: super; margin-left: 3px; letter-spacing: 0.02em; }
.s.uncited { text-decoration: underline dotted 1px var(--sigla); text-underline-offset: 4px; }
.method-note { font: 400 14px/22px var(--sans); color: var(--ink-2); border-left: 2px solid var(--rule); padding-left: 12px; }
.method-note.words { color: var(--ink); border-left-color: var(--sigla); }
.tally th { font-weight: 500; color: var(--ink); border-bottom-color: var(--hair); padding-left: 0; }
.tally td { text-align: right; }
.tally .v, .cites .v { display: inline-block; width: 1.1em; font-weight: 600; }
.tally .t-not_found .v, .tally .t-partial .v, .tally .t-uncited .v, .cites .v-not_found .v, .cites .v-partial .v, .cites .v-uncited .v { color: var(--sigla); }
.cites { font-size: 13px; }
.cites td { padding-top: 7px; padding-bottom: 7px; height: auto; }
.cites .linkish { text-align: left; font: 400 14px/21px var(--serif); }
.cites .words { display: block; color: var(--ink-2); font: 400 13px/20px var(--serif); margin-top: 3px; }
.cites .vname { display: block; font-weight: 600; white-space: nowrap; }
.cites .why { display: block; color: var(--ink-2); line-height: 19px; }
.passage .why { margin: 4px 0 10px; }
.passage .verdict { margin: 0; }
.passage .verdict.v-not_found, .passage .verdict.v-partial { color: var(--sigla); }
.passage .label { margin: 12px 0 6px; }
.hash code { font-size: 11px; overflow-wrap: anywhere; }
.export-band { background: var(--ink-2); }
@media (max-width: 640px) {
  .cites thead { display: none; }
  .cites tr { display: grid; grid-template-columns: 2rem 1fr 2rem; padding: 8px 0; border-bottom: 1px solid var(--hair); }
  .cites td { border: 0; padding: 0 4px; }
  .cites td:nth-child(4) { grid-column: 2 / 4; padding-top: 6px; }
  .cites .vname { white-space: normal; }
}
@media print { .sigla.verdict button { color: var(--ink); } .method-note { border-left: 0; padding: 0; } }
.other-job { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin: 0 0 28px; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.other-job .act { display: inline-block; font: 500 14px/20px var(--sans); text-decoration: none; color: var(--ink); border: 1px solid var(--rule); padding: 8px 14px; border-radius: 2px; white-space: nowrap; }
.other-job .hint { margin: 0; flex: 1 1 20rem; }
p.hint.other-job { display: block; border: 0; padding: 0; margin: 16px 0 0; }
.also-door { margin: 8px 0 0; }
.also-door h2 { margin-top: 36px; }
.door-acts { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--hair); }
.door-acts li { display: grid; grid-template-columns: 15rem 1fr; gap: 6px 20px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--hair); margin: 0; max-width: none; }
.landing .door-acts li + li { margin-top: 0; }
.door-acts .act { display: inline-block; font: 500 14px/20px var(--sans); text-decoration: none; text-align: center; color: var(--page); background: var(--ink); border: 1px solid var(--ink); padding: 9px 16px; border-radius: 2px; }
.door-acts .act.quiet, .door-acts .act.pending { background: transparent; color: var(--ink); border-color: var(--rule); }
.door-acts .what { color: var(--ink-2); font-size: 14px; line-height: 22px; }
@media (max-width: 640px) { .door-acts li { grid-template-columns: 1fr; } .door-acts .act { display: block; } }
.landing ul.door-acts { padding-left: 0; }
.sources li, .cites td, .passage .src, .passage .meta { overflow-wrap: anywhere; }

/* Re-check a saved report: what changed, and the form that starts it. */
.export form.inline { display: inline; margin: 0; }
.recheck-form { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); }
.recheck-form h2 { margin: 0 0 8px; }
.changes { list-style: none; padding: 0; margin: 0; }
.changes li { margin: 0 0 20px; }
.changes .why { display: block; font: 400 13px/20px var(--sans); color: var(--ink-2); }
.changes .why.addr { overflow-wrap: anywhere; }
.changes .c-weaker strong, .changes .c-no_longer_supported strong, .changes .c-source_gone strong { color: var(--sigla); }
.recheck .tally th { font-weight: 400; }
.recheck .t-weaker th, .recheck .t-no_longer_supported th, .recheck .t-source_gone th { color: var(--sigla); }
.recheck .cites .c-weaker .vname, .recheck .cites .c-no_longer_supported .vname, .recheck .cites .c-source_gone .vname { color: var(--sigla); }
.summary-line { font: 500 15px/24px var(--sans); }
.recheck .cites td:nth-child(3) { white-space: nowrap; padding-right: 12px; }
@media (max-width: 720px) { .recheck .cites td:nth-child(3) { white-space: normal; } }
.all-claims > summary { cursor: pointer; font: 500 14px/22px var(--sans); margin: 0 0 12px; }
