@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/courier-prime-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/courier-prime-latin-400-normal.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: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/courier-prime-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/courier-prime-latin-700-normal.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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-ext-wdth-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-wdth-normal.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 {
  color-scheme: dark;
  --ground: #1b1d3e;
  --sheet: #22254b;
  --type: #ecebf6;
  --type-2: #bebcda;
  --type-3: #9e9cc3;
  --rule: rgba(236, 235, 246, 0.14);
  --rule-strong: rgba(236, 235, 246, 0.3);
  --chalk: #ecebf6;
  --bar: #bebcda;
  --ink-reversed: #5fd4bd;
  --ink-partial: #e6b450;
  --ink-pending: #aeb0ff;
  --ink-none: #ff8c87;
  --mark-reversed: #1aa598;
  --mark-partial: #a8780f;
  --mark-pending: #6f73c4;
  --mark-none: #d24b52;
  --stamp-blend: screen;
  --typed: "Courier Prime", "Courier New", Courier, monospace;
  --printed: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

[data-theme="light"] {
  color-scheme: light;
  --ground: #e7e8e2;
  --sheet: #f1f2ed;
  --type: #24234c;
  --type-2: #4c4b74;
  --type-3: #64638a;
  --rule: rgba(36, 35, 76, 0.16);
  --rule-strong: rgba(36, 35, 76, 0.36);
  --chalk: #2b2a56;
  --bar: #4c4b74;
  --ink-reversed: #0d6b58;
  --ink-partial: #7a4f00;
  --ink-pending: #4b40b3;
  --ink-none: #a8242f;
  --mark-reversed: #13866e;
  --mark-partial: #8a5a00;
  --mark-pending: #4b40b3;
  --mark-none: #a8242f;
  --stamp-blend: multiply;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--type);
  font-family: var(--typed);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
em { font-synthesis: style; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--type); outline-offset: 3px; border-radius: 2px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--type);
  color: var(--ground);
  font: 600 0.875rem/1.2 var(--printed);
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.masthead {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-family: var(--printed);
}

.brand {
  font-weight: 650;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--type);
}
.brand:hover { text-decoration: underline; }

.sitenav { display: flex; gap: 1.25rem; margin-right: auto; }
.sitenav a {
  font-size: 0.9375rem;
  color: var(--type-2);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.sitenav a:hover { color: var(--type); border-bottom-color: var(--rule-strong); }
.sitenav a[aria-current="page"] { color: var(--type); border-bottom-color: var(--type); }

.controls { display: flex; align-items: center; gap: 0.5rem; }

.toggle {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
.toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 2.25rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--type);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}
.toggle[data-on="1"]::before { transform: translateX(2.25rem); }
.toggle button {
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--type-2);
  font: 650 0.75rem/1 var(--printed);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.32s ease;
}
.toggle button[aria-pressed="true"] { color: var(--ground); }
.toggle button:not([aria-pressed="true"]):hover { color: var(--type); }
.toggle svg { width: 0.95rem; height: 0.95rem; }

.page {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero { padding-top: clamp(2.75rem, 8vw, 6rem); }

.title {
  margin: 0;
  font-family: var(--typed);
  font-weight: 700;
  font-size: clamp(1.875rem, 5.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.title span { display: block; }

.clock {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.85ch;
  row-gap: 0.1em;
  margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
  font-family: var(--typed);
  font-size: clamp(1.3125rem, 3.1vw, 2.125rem);
  line-height: 1.25;
}
.clock-part { white-space: nowrap; }
.clock-part[hidden] { display: none; }
.clock-part b { font-weight: 700; }
.clock-part span { color: var(--type-2); }

.clock-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  margin: 0.65rem 0 0;
  font: 400 0.875rem/1.5 var(--printed);
  color: var(--type-2);
}

.wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.95rem;
  margin-top: clamp(2rem, 4.5vw, 3rem);
  color: var(--chalk);
  min-height: 3.4rem;
}
.wall svg { display: block; width: 2.6rem; height: 3.4rem; overflow: visible; }
.wall path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.wall-caption {
  margin: 0.9rem 0 0;
  font: 400 0.875rem/1.5 var(--printed);
  color: var(--type-2);
}
.wall-caption b { font-family: var(--typed); font-weight: 700; color: var(--type); font-size: 1rem; }

.form {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
}
.form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--printed);
}
.form-head h2 { margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.form-head p { margin: 0; font-size: 0.8125rem; color: var(--type-2); }

.record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--rule);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1.1rem 1.05rem;
  background: var(--sheet);
}
.field dt { font: 500 0.8125rem/1.35 var(--printed); color: var(--type-2); }
.field dd { margin: 0; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.field-value { font: 700 1.25rem/1.25 var(--typed); }
.field-note { font: 400 0.9375rem/1.45 var(--typed); color: var(--type-2); }
.field-src { margin-top: auto; padding-top: 0.25rem; font: 400 0.8125rem/1.4 var(--printed); color: var(--type-3); }
.field-src a { color: var(--type-2); }
.field--zero .field-value { color: var(--ink-none); font-size: 1.5rem; }

.to-file {
  display: block;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.35rem 0 1.4rem;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  color: var(--type);
  text-decoration: none;
}
.to-file-q { display: block; font: 700 clamp(1.25rem, 3vw, 1.75rem)/1.3 var(--typed); }
.to-file-a {
  display: inline-block;
  margin-top: 0.45rem;
  font: 600 1rem/1.4 var(--printed);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.to-file:hover .to-file-a { text-decoration-thickness: 2px; }

.file-head { padding-top: clamp(2.75rem, 8vw, 5.5rem); max-width: 50rem; }
.file-title {
  margin: 0;
  font: 700 clamp(1.875rem, 5vw, 3.25rem)/1.12 var(--typed);
  letter-spacing: -0.015em;
}
.file-title span { display: block; }
.file-intro {
  margin: 1.4rem 0 0;
  max-width: 64ch;
  font: 400 1.0625rem/1.7 var(--typed);
}

.ledger { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.ledger-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1px;
  background: var(--rule);
}
.ledger-block { padding: 1rem 1.1rem 1.15rem; background: var(--sheet); }
.ledger-block h3 { margin: 0 0 0.85rem; font: 600 0.875rem/1.35 var(--printed); color: var(--type-2); }

.statusbar { display: flex; gap: 2px; height: 0.875rem; }
.statusbar span { display: block; min-width: 2px; height: 100%; background: var(--seg); }
.statusbar span:first-child { border-radius: 4px 0 0 4px; }
.statusbar span:last-child { border-radius: 0 4px 4px 0; }

.keys, .weights { list-style: none; margin: 0; padding: 0; }
.keys { display: grid; gap: 0.1rem; margin-top: 0.85rem; }
.keys .pick { display: grid; grid-template-columns: 0.75rem minmax(0, 1fr) auto; column-gap: 0.6rem; row-gap: 0.1rem; }
.pick-desc { grid-column: 2 / -1; font-size: 0.8125rem; line-height: 1.35; color: var(--type-2); }

.pick {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--type);
  font: 500 0.875rem/1.3 var(--printed);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.pick:hover { background: var(--ground); }
.pick[aria-pressed="true"] { border-color: var(--type); background: var(--ground); }
.pick-swatch { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 2px; background: var(--seg); }
.pick-name { flex: 1; min-width: 0; }
.pick-num { flex: none; font: 700 0.9375rem/1 var(--typed); }

.weights { display: grid; gap: 0.1rem; }
.weights .pick { display: grid; grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr) 4.75rem; gap: 0.75rem; }
.weight-bar { display: block; height: 0.625rem; }
.weight-bar i { display: block; height: 100%; width: var(--w); background: var(--bar); border-radius: 0 4px 4px 0; }
.weight-val { font: 700 0.9375rem/1 var(--typed); text-align: right; white-space: nowrap; }
.weight-val small { display: block; margin-top: 0.2rem; font: 400 0.75rem/1 var(--printed); color: var(--type-2); }

.ledger-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--printed);
}
.search { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 18rem; }
.search label { font-size: 0.875rem; color: var(--type-2); }
.search input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--ground);
  color: var(--type);
  font: 400 1rem/1.3 var(--typed);
}
.search input::placeholder { color: var(--type-3); }
.search input:focus-visible { outline-offset: 1px; }
.result { margin: 0; font-size: 0.9375rem; color: var(--type-2); }
.result b { font-family: var(--typed); color: var(--type); }
.clear {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: var(--type);
  font: 600 0.875rem/1.3 var(--printed);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.clear[hidden] { display: none; }

.counts { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0; }
.empty { margin: 2rem 0 0; font: 400 1rem/1.6 var(--typed); color: var(--type-2); }
.empty[hidden] { display: none; }

.count {
  position: relative;
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 44rem) minmax(9rem, 1fr);
  column-gap: 1.25rem;
  padding: 2.25rem 0 2.4rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}
.count[hidden] { display: none; }
.count:target, .count.is-target { background: linear-gradient(90deg, var(--sheet), transparent 85%); }

.count-margin { grid-column: 1; }
.count-no {
  display: inline-block;
  font: 700 1.5rem/1.1 var(--typed);
  color: var(--type);
  text-decoration: none;
}
.count-no:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.count-flag { display: block; margin-top: 0.45rem; font: 500 0.75rem/1.3 var(--printed); color: var(--type-2); }

.count-body { grid-column: 2; min-width: 0; }
.count-title { margin: 0; font: 700 1.3125rem/1.35 var(--typed); letter-spacing: -0.005em; }
.count-desc { margin: 0.85rem 0 0; font: 400 1rem/1.7 var(--typed); }

.refs { margin: 1.15rem 0 0; display: grid; gap: 0.45rem; font: 400 0.875rem/1.5 var(--printed); }
.refs > div { display: grid; grid-template-columns: 9.75rem minmax(0, 1fr); gap: 0.75rem; }
.refs dt { color: var(--type-2); }
.refs dd { margin: 0; }
.refs a, .dev-src a { color: var(--type); }

.dev {
  margin: 1.15rem 0 0;
  padding: 0.75rem 0.95rem 0.8rem;
  border-left: 3px solid var(--ink);
  background: var(--sheet);
}
.dev-label { margin: 0; font: 600 0.8125rem/1.3 var(--printed); color: var(--type-2); }
.dev-text { margin: 0.3rem 0 0; font: 400 0.9375rem/1.65 var(--typed); }
.dev-src { margin: 0.4rem 0 0; font: 400 0.8125rem/1.5 var(--printed); color: var(--type-2); }

.sentence { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; margin: 1.15rem 0 0; font: 500 0.875rem/1.3 var(--printed); color: var(--type-2); }
.sentence strong { font: 700 1.125rem/1.2 var(--typed); color: var(--type); }

.count { --ink: var(--ink-none); --seg: var(--mark-none); }
.count[data-status="reversed"] { --ink: var(--ink-reversed); }
.count[data-status="partial"] { --ink: var(--ink-partial); }
.count[data-status="pending"] { --ink: var(--ink-pending); }

.stamp {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  display: inline-grid;
  justify-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.5rem 0.8rem 0.45rem;
  border: 5px double currentColor;
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--printed);
  font-stretch: 66%;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.02;
  letter-spacing: 0.025em;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(var(--rot, -3deg));
  transform-origin: 30% 50%;
  mix-blend-mode: var(--stamp-blend);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 180px 180px;
  mask-size: 180px 180px;
}
.stamp-word { display: block; }
.stamp-date { display: block; font-weight: 650; font-stretch: 88%; font-size: 0.75rem; letter-spacing: 0.08em; }

.verdict {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 44rem);
  column-gap: 1.25rem;
}
.verdict > * { grid-column: 2; }
.verdict h2 { margin: 0; font: 600 0.875rem/1.3 var(--printed); color: var(--type-2); }
.verdict-total { margin: 0.4rem 0 0; font: 700 clamp(2.25rem, 6vw, 3.5rem)/1.05 var(--typed); }
.verdict-note { margin: 0.9rem 0 0; font: 400 1rem/1.7 var(--typed); max-width: 62ch; }

.further { margin-top: clamp(3rem, 7vw, 4.5rem); display: grid; grid-template-columns: 4.25rem minmax(0, 44rem); column-gap: 1.25rem; }
.further > * { grid-column: 2; }
.further h2 { margin: 0; font: 700 1.3125rem/1.35 var(--typed); }
.further > p { margin: 0.75rem 0 0; font: 400 1rem/1.7 var(--typed); }
.further dl { margin: 1.25rem 0 0; display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0.55rem 1.25rem; font: 400 0.9375rem/1.5 var(--printed); }
.further dt a { font-weight: 600; }
.further dd { margin: 0; color: var(--type-2); }

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 20;
  padding: 0.6rem 0.95rem;
  border-radius: 6px;
  background: var(--type);
  color: var(--ground);
  font: 600 0.875rem/1.2 var(--printed);
  opacity: 0;
  transform: translate(-50%, 0.5rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.footer {
  max-width: var(--page);
  margin: clamp(4rem, 10vw, 7rem) auto 0;
  padding: 0 var(--gutter) 2.75rem;
  font: 400 0.875rem/1.6 var(--printed);
  color: var(--type-2);
}
.footer > :first-child { padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.footer p { margin: 0; }
.footer strong { color: var(--type); font-weight: 600; }
.footer a { color: var(--type); }
.footer-start { margin-bottom: 1rem !important; }
.credit { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; margin-top: 1.25rem !important; }

.disclaimer { max-width: 50rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.disclaimer summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
  list-style: none;
  color: var(--type);
  font-weight: 600;
  cursor: pointer;
}
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.disclaimer[open] summary::before { transform: rotate(45deg); }
.disclaimer-body { padding: 0.25rem 0 1.5rem; }
.disclaimer-body h4 { margin: 1.4rem 0 0.4rem; font: 650 0.9375rem/1.4 var(--printed); color: var(--type); }
.disclaimer-body p, .disclaimer-body li { margin: 0.5rem 0 0; }
.disclaimer-body ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.disclaimer-meta { margin-top: 1.5rem !important; color: var(--type-3); }

.mail a { white-space: nowrap; }

@media (max-width: 72rem) {
  .count { grid-template-columns: 4.25rem minmax(0, 44rem); }
  .stamp { grid-column: 2; grid-row: 1; justify-self: end; margin: -0.35rem 0 0.9rem; }
  .count-body { grid-row: 2; }
  .count-margin { grid-row: 1 / span 2; }
}

@media (max-width: 48rem) {
  .ledger-body { grid-template-columns: minmax(0, 1fr); }
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .masthead { padding-top: 0.9rem; }
  .sitenav { order: 3; width: 100%; margin-right: 0; gap: 1rem; }
  .controls { margin-left: auto; }
  .wall { gap: 0.5rem 0.75rem; }
  .wall svg { width: 2.2rem; height: 2.9rem; }
  .record { grid-template-columns: minmax(0, 1fr); }
  .count { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 0 2rem; }
  .count-margin { grid-row: 1; grid-column: 1; display: flex; align-items: baseline; gap: 0.75rem; }
  .count-flag { margin-top: 0; }
  .stamp { grid-column: 1; grid-row: 1; justify-self: end; margin: -0.2rem 0.15rem 0 0; }
  .count-body { grid-column: 1; grid-row: 2; margin-top: 1rem; }
  .refs > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .weights .pick { grid-template-columns: minmax(0, 1fr) 4.25rem; row-gap: 0.4rem; }
  .weights .pick .weight-bar { grid-column: 1 / -1; grid-row: 2; }
  .verdict, .further { grid-template-columns: minmax(0, 1fr); }
  .verdict > *, .further > * { grid-column: 1; }
  .further dl { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .further dd { margin-bottom: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .masthead .controls, .ledger, .skip { display: none; }
  body { background: #fff; color: #000; }
}
