/* Regulation News — the gazette sheet.
   Ivory page, oxblood band, black-brown text, a gold hairline. No radii, no shadows, no pictures. */

:root {
  --ivory: #FBF8F1;
  --vellum: #F4EFE3;
  --oxblood: #6B1D1D;
  --oxblood-deep: #521414;
  --ink: #1C1A17;
  --ink-soft: #5B554A;
  --gold: #9A7B2F;
  --gold-pale: #E6D7AC;
  --hair: #D9D1BF;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 1.25rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--gold); }
a:hover { color: var(--oxblood); text-decoration-color: var(--oxblood); }
a:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }

.folio { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip-to-text { position: absolute; left: -999rem; top: 0; background: var(--ink); color: var(--ivory); padding: 0.6rem 1rem; font-family: var(--sans); font-size: 0.9rem; z-index: 5; }
.skip-to-text:focus { left: 0; }

/* Small-caps labels: the sans, tracked. */
.rubric,
.runhead,
.divisions-row,
.cite,
.register-cols,
.particulars dt,
.ruling-label,
.indexing-label,
.sched-term,
.imprint-list h2,
.head-count {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 0.74rem;
  line-height: 1.35;
}

.rubric { color: var(--oxblood); margin-bottom: 0.85rem; }
.rubric a { text-decoration: none; }
.rubric a:hover { text-decoration: underline; }

/* ---------- Frontispiece: running head, spine band, divisions ---------- */

.runhead { color: var(--ink-soft); border-bottom: 1px solid var(--hair); }
.runhead-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.55rem; }
.runhead-place { display: none; }
.runhead-no { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

.spine { background: var(--oxblood); padding-block: 5px; }
.spine-label { border-block: 1px solid var(--gold); text-align: center; padding: 1.5rem var(--gutter) 1.4rem; color: var(--ivory); }
.spine-title { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.11em; font-size: clamp(1.4rem, 6.2vw, 3.1rem); line-height: 1.05; margin-right: -0.11em; }
.spine-title a { color: var(--ivory); text-decoration: none; }
.spine-title a:hover { color: #fff; }
.spine a:focus-visible { outline-color: var(--ivory); }
.spine-legend { text-wrap: balance; margin-top: 0.7rem; font-family: var(--serif); font-style: italic; font-size: clamp(0.78rem, 3.55vw, 0.95rem); color: var(--gold-pale); letter-spacing: 0.01em; }

.divisions { border-bottom: 3px double var(--ink); }
.divisions-row { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1.25rem; row-gap: 0; padding-block: 0.5rem; }
.divisions-row a { display: block; padding: 0.4rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid transparent; }
.divisions-row a:hover { color: var(--oxblood); border-bottom-color: var(--gold); }
.divisions-aux a { color: var(--ink-soft); }

/* ---------- Shared furniture ---------- */

main { flex: 1 0 auto; padding-top: 2rem; padding-bottom: 3.5rem; }

.cite { color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; }
.cite a { color: var(--oxblood); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.cite-sep { width: 1.1rem; height: 1px; background: var(--gold); }

.onward { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--oxblood); text-decoration-color: var(--oxblood); }
.onward::after { content: "\00a0\203A"; }

.ruled-head { border-top: 2px solid var(--oxblood); padding-top: 0.6rem; margin-bottom: 0.4rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1.5rem; }
.ruled-head h2 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.005em; }
.ruled-head p { font-family: var(--sans); font-size: 0.88rem; color: var(--ink-soft); }

.ledger { display: grid; gap: 2.5rem; margin-top: 3rem; }

/* ---------- Schedules: penalty box, the record, by the numbers ---------- */

.sched { margin-block: 2rem; }
.sched ul { border-top: 1px solid var(--ink); }
.sched li { padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.sched > h2, .sched > h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; font-size: 0.78rem; line-height: 1.3; }

/* Penalty box */
.sched-penalty-box { border: 1px solid var(--oxblood); background: var(--ivory); }
.sched-penalty-box > h2, .sched-penalty-box > h3 { background: var(--oxblood); color: var(--ivory); padding: 0.6rem 1rem 0.55rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sched-penalty-box > h2::after, .sched-penalty-box > h3::after { content: "From the published decision"; font-weight: 400; letter-spacing: 0.04em; text-transform: none; font-size: 0.78rem; color: var(--gold-pale); text-align: right; }
.sched-penalty-box ul { border-top: 0; }
.sched-penalty-box li { padding: 0.7rem 1rem; }
.sched-penalty-box li:last-child { border-bottom: 0; }
.sched-penalty-box.sched-set li { display: grid; grid-template-columns: 1fr; gap: 0.1rem; }
.sched-penalty-box .sched-term { color: var(--ink-soft); padding-top: 0.28rem; }
.sched-penalty-box .sched-entry { font-size: 1.06rem; line-height: 1.4; }
.sched-penalty-box .sched-penalty { background: var(--vellum); border-block: 1px solid var(--gold); margin-top: -1px; }
.sched-penalty-box .sched-penalty .sched-term { color: var(--oxblood); }
.sched-penalty-box .sched-penalty .sched-entry { font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--oxblood); letter-spacing: -0.005em; }
/* A decision not to fine */
.sched-penalty-box .sched-nil { background: repeating-linear-gradient(135deg, var(--ivory) 0 7px, var(--vellum) 7px 8px); border-block: 1px solid var(--ink); }
.sched-penalty-box .sched-nil .sched-term { color: var(--ink); }
.sched-penalty-box .sched-nil .sched-entry { color: var(--ink); font-weight: 600; font-style: italic; }
.sched-penalty-box .sched-nil .sched-entry::after { content: "Decision not to fine"; display: table; margin-top: 0.45rem; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxblood); border: 1px solid var(--oxblood); padding: 0.18rem 0.5rem 0.14rem; background: var(--ivory); }
.sched-unfined > h2::after, .sched-unfined > h3::after { content: "No penalty imposed"; }
.sched-withheld .sched-entry { font-style: italic; color: var(--ink-soft); }

/* The compact box on the front page and in the margin */
.sched-brief { margin-block: 0; }
.sched-brief.sched-record { display: none; }
.sched-brief.sched-penalty-box > h3::after { content: none; }
.sched-brief.sched-penalty-box li { padding: 0.55rem 0.9rem; }
.sched-brief.sched-penalty-box .sched-entry { font-size: 1rem; }
.sched-brief.sched-penalty-box .sched-penalty .sched-entry { font-size: 1.2rem; }

/* The blank form */
.sched-specimen .sched-entry { display: block; min-height: 1.4rem; border-bottom: 1px dotted var(--ink-soft); }
.sched-specimen .sched-penalty .sched-entry { min-height: 1.7rem; }

/* The record: earlier decisions, dated */
.sched-record > h2, .sched-table > h2, .sched-table > h3 { border-top: 2px solid var(--oxblood); padding-top: 0.6rem; margin-bottom: 0.6rem; color: var(--oxblood); }
.sched-record li { font-size: 1rem; }
.sched-record.sched-set li { display: grid; grid-template-columns: 1fr; gap: 0.1rem; align-items: baseline; }
.sched-record .sched-entry::first-letter { text-transform: uppercase; }
.sched-record .sched-term { color: var(--ink); font-size: 0.8rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.sched-record .sched-entry { display: block; }

/* By the numbers */
.sched-table.sched-set li { display: grid; grid-template-columns: 1fr auto; column-gap: 1.25rem; align-items: baseline; }
.sched-table .sched-term { color: var(--ink); font-size: 0.8rem; letter-spacing: 0.06em; }
.sched-table .sched-entry { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.sched-table .sched-figure { display: block; font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.sched-table .sched-period { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); }
.sched-table.sched-brief { border: 1px solid var(--oxblood); }
.sched-table.sched-brief > h3 { background: var(--oxblood); color: var(--ivory); border: 0; margin: 0; padding: 0.6rem 0.9rem 0.55rem; }
.sched-table.sched-brief ul { border-top: 0; }
.sched-table.sched-brief li { padding: 0.55rem 0.9rem; }
.sched-table.sched-brief li:last-child { border-bottom: 0; }

/* The one-line docket under an index entry */
.sched-inline { margin: 0.7rem 0 0; border: 0; background: none; }
.sched-inline > h3 { display: none; }
.sched-inline.sched-record, .sched-inline.sched-table { display: none; }
.sched-inline ul { border-top: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); }
.sched-inline.sched-penalty-box li, .sched-inline.sched-penalty-box.sched-set li { display: block; padding: 0; border: 0; background: none; margin: 0; }
.sched-inline.sched-penalty-box .sched-term { padding: 0; font-size: 0.68rem; margin-right: 0.35rem; }
.sched-inline.sched-penalty-box .sched-entry, .sched-inline.sched-penalty-box .sched-penalty .sched-entry { font-family: var(--sans); font-size: 0.86rem; font-weight: 400; color: var(--ink); letter-spacing: 0; font-style: normal; }
.sched-inline.sched-penalty-box .sched-penalty .sched-entry { font-weight: 700; color: var(--oxblood); }
.sched-inline.sched-penalty-box .sched-nil .sched-entry::after { content: none; }
.sched-inline.sched-set li:nth-child(1), .sched-inline.sched-set li:nth-child(2), .sched-inline.sched-set li:nth-child(3) { display: none; }

/* ---------- Front page ---------- */

.leading { display: grid; gap: 1.75rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--ink); }
.leading-title { font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3.15rem); line-height: 1.08; letter-spacing: -0.015em; margin-top: 0.75rem; text-wrap: pretty; }
.leading-title a, .second-title a, .entry-title, .docketed-title a, .cognate-title, .head-entries a { text-decoration: none; }
.leading-title a:hover, .second-title a:hover, .entry-title:hover, .docketed-title a:hover, .cognate-title:hover, .head-entries a:hover { text-decoration: underline; text-decoration-color: var(--oxblood); }
.leading-headnote { margin-top: 1rem; font-size: 1.2rem; line-height: 1.45; font-style: italic; color: #37332c; max-width: 34em; }
.leading-on { margin-top: 1.25rem; }

.seconds { padding-top: 1.1rem; }
.seconds .rubric { margin-bottom: 0.5rem; }
.seconds-pair { display: grid; }
.second { padding-block: 1.1rem; border-top: 1px solid var(--hair); }
.second:first-child { border-top: 0; padding-top: 0.4rem; }
.second-title { font-weight: 600; font-size: 1.4rem; line-height: 1.18; letter-spacing: -0.008em; margin-top: 0.5rem; text-wrap: balance; }
.second-note { margin-top: 0.5rem; color: #37332c; font-size: 1rem; }

/* Register of decisions */
.register-cols { display: none; color: var(--ink-soft); }
.register-rows { border-top: 1px solid var(--ink); }
.entry { display: grid; grid-template-columns: auto auto 1fr; column-gap: 0.75rem; row-gap: 0.25rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--hair); }
.entry::before { content: "No.\00a0" counter(entry); font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.entry-date { font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.entry-title { grid-column: 1 / -1; grid-row: 2; font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.entry-division { counter-increment: entry -1; justify-self: end; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; font-size: 0.7rem; color: var(--ink-soft); text-decoration: none; text-align: right; }
.entry-division:hover { color: var(--oxblood); text-decoration: underline; }

/* The margin column */
.marginalia { display: grid; gap: 2rem; align-content: start; }
.standing { border: 1px solid var(--ink); padding: 1.1rem 1.15rem 0.6rem; }
.standing-list { counter-reset: clause; }
.standing-list li { counter-increment: clause; display: grid; grid-template-columns: 2.1rem 1fr; padding: 0.55rem 0; border-top: 1px solid var(--hair); font-size: 1.04rem; line-height: 1.35; }
.standing-list li::before { content: "(" counter(clause, lower-roman) ")"; font-style: italic; color: var(--oxblood); }
.plain-rows li { padding: 0.5rem 0; border-top: 1px solid var(--hair); font-size: 1.02rem; line-height: 1.35; }
.keeping { border-top: 1px solid var(--gold); padding-top: 0.9rem; }
.keeping p { font-size: 0.98rem; line-height: 1.5; color: #37332c; }
.keeping p + p { margin-top: 0.7rem; }

/* The register by division */
.heads { margin-top: 3.25rem; }
.heads-grid { display: grid; gap: 0 2.25rem; }
.head { padding: 1.1rem 0 1.4rem; border-bottom: 1px solid var(--hair); }
.head-name { font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.head-name a { text-decoration: none; }
.head-name a:hover { text-decoration: underline; }
.head-name::before { content: ""; display: block; width: 2.25rem; height: 1px; background: var(--gold); margin-bottom: 0.6rem; }
.head-entries { margin-top: 0.6rem; }
.head-entries li { display: grid; grid-template-columns: 5.6rem 1fr; column-gap: 0.75rem; align-items: baseline; padding: 0.35rem 0; font-size: 1rem; line-height: 1.32; }
.head-entries time { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-none { margin-top: 0.6rem; font-style: italic; color: var(--ink-soft); }
.head-count { margin-top: 0.7rem; font-size: 0.7rem; color: var(--ink-soft); }
.head-count a { text-decoration: none; }
.head-count a:hover { text-decoration: underline; }

/* ---------- The unwritten register ---------- */

.unwritten { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--ink); }
.unwritten-title { font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.unwritten-note { margin-top: 1rem; font-size: 1.15rem; line-height: 1.5; max-width: 34em; color: #37332c; }
.unwritten-caption { margin-top: 0.7rem; font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); }

.blank-sheet { position: relative; border-top: 1px solid var(--ink); }
.blank-sheet .register-cols { border-bottom: 1px solid var(--ink); }
.blank-lines span { display: block; height: 2.9rem; border-bottom: 1px solid var(--hair); }
.blank-word { position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }
.blank-word::before, .blank-word::after { content: ""; display: inline-block; vertical-align: middle; width: 2rem; height: 1px; background: var(--gold); margin-inline: 0.8rem; }

/* ---------- A division of the register ---------- */

.division-head { padding-bottom: 1.5rem; border-bottom: 1px solid var(--ink); }
.division-name { font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.division-note { margin-top: 0.9rem; max-width: 38em; color: #37332c; font-size: 1.08rem; }
.division-head + .ledger { margin-top: 0; }
.division-head + .ledger > .marginalia { padding-top: 1.6rem; }
.division-head + .ledger > .docketed > .blank-sheet { margin-top: 1.6rem; }

.docketed-entry { display: grid; gap: 0.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--hair); }
.docketed-date { font-family: var(--sans); font-weight: 600; font-size: 0.86rem; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.docketed-title { font-weight: 600; font-size: 1.45rem; line-height: 1.18; letter-spacing: -0.008em; text-wrap: balance; }
.docketed-note { margin-top: 0.5rem; color: #37332c; max-width: 38em; }

.other-heads ul { border-top: 1px solid var(--ink); }
.other-heads li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--hair); }
.other-heads a { text-decoration: none; font-weight: 600; }
.other-heads a:hover { text-decoration: underline; }
.other-heads span { font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- A report ---------- */

.report-head { padding-bottom: 1.5rem; border-bottom: 1px solid var(--ink); }
.report-title { font-weight: 600; font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.017em; max-width: 21em; text-wrap: balance; }
.report-headnote { margin-top: 1rem; font-size: 1.25rem; line-height: 1.42; font-style: italic; color: #37332c; max-width: 33em; }

.report-grid { display: grid; }
.particulars dl { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hair); }
.particulars dl > div { padding: 0.7rem 0; border-top: 1px solid var(--hair); }
.particulars dl > div:nth-child(-n+2) { border-top: 0; }
.particulars dt { color: var(--ink-soft); font-size: 0.68rem; }
.particulars dd { font-family: var(--sans); font-size: 0.92rem; line-height: 1.35; margin-top: 0.1rem; }

.report-text { min-width: 0; max-width: 37rem; display: flex; flex-direction: column; }
.report-text > * { order: 2; }
.report-text > .sched-penalty-box { order: 1; margin-top: 1.75rem; margin-bottom: 0.25rem; }
.report-text > .plate { order: 0; margin-top: 1.75rem; border: 1px solid var(--ink); }

.ruling { counter-reset: para; margin-top: 1.75rem; }
.ruling-label { color: var(--oxblood); padding-bottom: 0.5rem; border-bottom: 1px solid var(--gold); margin-bottom: 1.2rem; }
.ruling p { font-size: 1.125rem; line-height: 1.62; margin-bottom: 1.05rem; hanging-punctuation: first; }
.report .ruling > p { counter-increment: para; }
.report .ruling > p::before { content: counter(para); font-family: var(--sans); font-weight: 700; font-size: 0.74rem; color: var(--oxblood); margin-right: 0.65rem; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; vertical-align: 0.08em; }
.ruling a, .prelims-text a, .rules a { color: var(--oxblood); text-decoration-color: var(--oxblood); }
.ruling a:hover, .prelims-text a:hover, .rules a:hover { color: var(--oxblood-deep); text-decoration-thickness: 2px; }

.ruling pre, .sched pre { background: var(--vellum); border: 1px solid var(--hair); border-left: 3px solid var(--oxblood); padding: 0.9rem 1rem; margin: 0 0 1.2rem; overflow-x: auto; font-family: var(--mono); font-size: 0.86rem; line-height: 1.55; tab-size: 2; }
.ruling pre[data-lang]::before { content: attr(data-lang); display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--vellum); border: 1px solid var(--hair); padding: 0.05em 0.3em; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; }

.indexing { margin-top: 1.5rem; padding-top: 0.8rem; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; }
.indexing-label { color: var(--ink-soft); }
.indexing ul { display: flex; flex-wrap: wrap; font-style: italic; font-size: 1rem; }
.indexing li:not(:last-child)::after { content: ";"; margin-right: 0.45rem; }

.cognate { margin-top: 3.25rem; }
.cognate-rows { border-top: 1px solid var(--ink); }
.cognate-rows li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.2rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--hair); }
.cognate-rows time { font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cognate-title { grid-column: 1 / -1; grid-row: 2; font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.cognate-division { justify-self: end; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; font-size: 0.7rem; color: var(--ink-soft); text-decoration: none; }
.cognate-division:hover { color: var(--oxblood); text-decoration: underline; }

/* ---------- Prelims: the publication, the rules of the register ---------- */

.prelims-standfirst { margin-top: 1rem; font-size: 1.25rem; line-height: 1.42; font-style: italic; color: #37332c; max-width: 33em; }
.prelims-grid { display: grid; gap: 2.5rem; padding-top: 1.75rem; }
.prelims-text { max-width: 37rem; }
.prelims-text.ruling { margin-top: 0; }
.prelims-h { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.78rem; color: var(--oxblood); border-top: 2px solid var(--oxblood); padding-top: 0.6rem; margin: 2rem 0 0.4rem; }
.clauses { counter-reset: clause; }
.clauses li { counter-increment: clause; display: grid; grid-template-columns: 2.4rem 1fr; padding: 0.65rem 0; border-bottom: 1px solid var(--hair); font-size: 1.1rem; line-height: 1.4; }
.clauses li::before { content: "(" counter(clause, lower-alpha) ")"; font-style: italic; color: var(--oxblood); }
.pillars > div { display: grid; grid-template-columns: 1fr; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.pillars dt { font-weight: 600; }
.pillars dt a { text-decoration: none; }
.pillars dt a:hover { text-decoration: underline; }
.pillars dd { color: #37332c; }

.rules { counter-reset: rule; }
.rules > li { counter-increment: rule; padding: 1.15rem 0 1.25rem; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 2.4rem 1fr; }
.rules > li:first-child { padding-top: 0; }
.rules > li::before { content: counter(rule) "."; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--oxblood); padding-top: 0.14rem; font-variant-numeric: tabular-nums; }
.rules h2 { grid-column: 2; font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.rules p { grid-column: 2; margin-top: 0.45rem; font-size: 1.1rem; line-height: 1.6; }

.absent { max-width: 46rem; padding-block: 1.5rem 1rem; }
.absent .onward { display: inline-block; margin: 1.25rem 0 2rem; }

/* ---------- Imprint ---------- */

.imprint { border-top: 5px solid var(--oxblood); background: var(--vellum); position: relative; }
.imprint::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--gold); }
.imprint-grid { display: grid; gap: 2rem; padding-block: 2.5rem 2rem; }
.imprint-name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.11em; font-size: 1.15rem; color: var(--oxblood); margin-bottom: 0.6rem; }
.imprint-about p { max-width: 30em; font-size: 1rem; }
.imprint-contact { margin-top: 0.9rem; font-family: var(--sans); font-size: 0.92rem !important; line-height: 1.6; }
.imprint-list h2 { color: var(--ink-soft); padding-bottom: 0.45rem; border-bottom: 1px solid var(--ink); margin-bottom: 0.3rem; }
.imprint-list li { padding: 0.32rem 0; border-bottom: 1px solid var(--hair); font-size: 1rem; }
.imprint-list a { text-decoration: none; }
.imprint-list a:hover { text-decoration: underline; }
.imprint-foot { padding-block: 1rem 2rem; border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 0.84rem; color: var(--ink-soft); display: grid; gap: 0.4rem; }

/* ---------- From the small sheet upward ---------- */

@media (min-width: 34rem) {
  .sched-penalty-box.sched-set li { grid-template-columns: 10.5rem 1fr; column-gap: 1rem; align-items: baseline; }
  .sched-brief.sched-penalty-box.sched-set li { grid-template-columns: 8.6rem 1fr; }
  .sched-inline.sched-penalty-box.sched-set li { display: block; }
  .sched-inline.sched-set li:nth-child(1), .sched-inline.sched-set li:nth-child(2), .sched-inline.sched-set li:nth-child(3) { display: none; }
  .sched-record.sched-set li { grid-template-columns: 7rem 1fr; column-gap: 1rem; }
  .sched-record .sched-entry { border-left: 1px solid var(--gold); padding-left: 1rem; }
  .pillars > div { grid-template-columns: 11rem 1fr; column-gap: 1rem; }
  .particulars dl { grid-template-columns: repeat(4, auto); column-gap: 1.75rem; justify-content: start; }
  .particulars dl > div { border-top: 0; }
  .imprint-grid { grid-template-columns: 1fr 1fr; }
  .imprint-about { grid-column: 1 / -1; }
}

@media (min-width: 46rem) {
  :root { --gutter: 2rem; }
  body { font-size: 1.09rem; }
  .runhead-place { display: inline; }
  .runhead-line > span { flex: 1; }
  .runhead-place { text-align: center; }
  .runhead-no { text-align: right; }
  .spine-label { padding-block: 2.1rem 1.9rem; }
  .spine-legend { font-size: 1.05rem; }
  .divisions-row { column-gap: 1.75rem; }
  main { padding-top: 2.75rem; padding-bottom: 5rem; }

  .seconds-pair { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .second, .second:first-child { border-top: 0; padding: 0.4rem 0 0.4rem; }
  .second:first-child { padding-right: 2rem; }
  .second + .second { padding-left: 2rem; border-left: 1px solid var(--hair); }

  .register-cols { display: grid; grid-template-columns: 4rem 7rem 1fr 9.5rem; column-gap: 1rem; padding: 0.55rem 0 0.5rem; font-size: 0.68rem; }
  .register-cols span:last-child { text-align: right; }
  .entry { grid-template-columns: 4rem 7rem 1fr 9.5rem; column-gap: 1rem; padding: 0.85rem 0; }
  .entry-title { grid-column: 3; grid-row: 1; font-size: 1.14rem; }
  .entry-division { grid-column: 4; }
  .blank-sheet { border-top: 1px solid var(--ink); }
  .ruled-head + .register-cols { border-top: 0; }

  .heads-grid { grid-template-columns: 1fr 1fr; }

  .docketed-entry { grid-template-columns: 9.5rem 1fr; column-gap: 1.5rem; padding: 1.6rem 0; }
  .docketed-date { padding-top: 0.42rem; }

  .cognate-rows li { grid-template-columns: 7rem 1fr 9.5rem; column-gap: 1rem; }
  .cognate-title { grid-column: 2; grid-row: 1; }
  .cognate-division { grid-column: 3; }

  .report .ruling > p { position: relative; }
  .imprint-grid { grid-template-columns: 2fr 1fr 1fr; }
  .imprint-about { grid-column: auto; }
  .imprint-foot { grid-template-columns: 1fr auto; column-gap: 2rem; }
}

@media (min-width: 62rem) {
  .leading { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; padding-bottom: 2.75rem; }
  .leading-docket { padding-top: 1.9rem; }
  .unwritten { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .unwritten-form { padding-top: 1.9rem; }

  .ledger { grid-template-columns: minmax(0, 1fr) 19rem; column-gap: 3.25rem; align-items: start; }
  .heads-grid { grid-template-columns: repeat(3, 1fr); }

  .report-grid { grid-template-columns: 11.5rem minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .particulars { padding-top: 1.75rem; position: sticky; top: 1rem; }
  .particulars dl { display: block; border-top: 1px solid var(--ink); border-bottom: 0; }
  .particulars dl > div, .particulars dl > div:nth-child(-n+2) { border-top: 0; border-bottom: 1px solid var(--hair); padding: 0.65rem 0; }
  .report-text { padding-left: 2.6rem; max-width: 39.6rem; }
  .report .ruling > p::before { position: absolute; left: -2.6rem; top: 0.36rem; width: 1.9rem; text-align: right; margin: 0; line-height: 1.2; font-size: 0.84rem; }
  .report-text > .sched, .report-text > .indexing, .report-text > .plate { margin-left: 0; }

  .prelims-grid { grid-template-columns: minmax(0, 1fr) 19rem; column-gap: 3.25rem; align-items: start; }
}

@media print {
  .divisions, .marginalia, .imprint-list, .skip-to-text { display: none; }
  .spine { background: none; }
  .spine-title a, .spine-legend { color: var(--ink); }
}
