/*
  Surviving the Singularity
  One page set like a feed-store ledger on almanac paper.

  Two inks, as a bookkeeper would use them: blue-black for everything,
  red only where it carries meaning (the margin rule of the ledger,
  the dagger on unconfirmed entries, keyboard focus). Figures are typed
  (Courier Prime); words are printed (Vollkorn). In dark mode the page
  becomes the ledger's cloth binding, and the red becomes gilt.
*/

:root {
  --paper: #f2ebd7;
  --ink: #1c2230;
  --ink-2: #4f5566;
  --rule: #a3b8b2;
  --signal: #a3261c;
  --margin-rule: #cf9488;
  --slip: #e7dab9;
  --field: #fbf7ea;

  --serif: "Vollkorn", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --gutter: 1rem;
  --box: 2.75rem;
  --gap: .875rem;
  --tap: 2.75rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141c19;
    --ink: #e8dfc8;
    --ink-2: #a9ae9f;
    --rule: #34463f;
    --signal: #d9ae55;
    --margin-rule: #6f6034;
    --slip: #1c2824;
    --field: #0e1512;
    color-scheme: dark;
  }
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
}

@media (min-width: 40em) {
  :root { --gutter: 2rem; }
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-2);
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }

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

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

code { font-family: var(--mono); font-size: .9em; }

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

.print-only { display: none; }

.wrap {
  max-width: calc(46rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Masthead: thick-and-thin rule, the name small, the headline large ---------- */

.masthead {
  position: relative;
  margin-top: 1.25rem;
  padding: 1.125rem 0 2rem;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 3px 0 auto 0;
  border-top: 1px solid var(--ink);
}

.site-name {
  margin: 0 0 2.25rem;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.3;
}
.site-name a { text-decoration: none; }
.site-name a:hover { text-decoration: underline; }

.headline {
  margin: 0;
  font-size: clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.012em;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}

.standfirst {
  max-width: 30em;
  margin: 1.25rem 0 0;
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.45;
  text-wrap: pretty;
}

.jump { margin: 1.25rem 0 0; font-size: 1.0625rem; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

@media (min-width: 48em) {
  .masthead { margin-top: 2.5rem; padding-bottom: 2.5rem; }
  .site-name { margin-bottom: 3rem; }
  .standfirst { font-size: 1.5rem; }
}

/* ---------- Reading text ---------- */

.prose {
  font-size: 1.125rem;
  line-height: 1.65;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
@media (min-width: 48em) {
  .prose { font-size: 1.25rem; }
}

/* About 65 characters of Vollkorn to the line. */
.measure { max-width: 30em; }

.prose p {
  margin: 0;
  text-wrap: pretty;
  hanging-punctuation: first;
}
.prose p + p { text-indent: 1.5em; }

.prose h2, .prose h3, .prose h4 {
  font-variant-numeric: lining-nums;
  line-height: 1.2;
  text-wrap: balance;
}
.prose h2 {
  margin: 2.25em 0 .6em;
  font-size: 1.375em;
  font-weight: 700;
}
.prose h3 {
  margin: 1.75em 0 .5em;
  font-size: 1.125em;
  font-weight: 700;
}
.prose h4 {
  margin: 1.5em 0 .4em;
  font-size: 1em;
  font-weight: 700;
  font-style: italic;
}
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }

.prose ul, .prose ol { margin: .75em 0; padding-left: 1.25em; }
.prose li { margin: .25em 0; padding-left: .25em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: .78em;
  width: .5em;
  border-top: 1px solid currentColor;
}
.prose * + ul, .prose * + ol { margin-top: .75em; }
.prose ul + p, .prose ol + p, .prose blockquote + p { text-indent: 0; }

.prose blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 3px double var(--ink);
  font-style: italic;
}
.prose hr {
  margin: 2em auto;
  width: 4em;
  border: 0;
  border-top: 3px double var(--ink);
}

/* Tables in the text are set as ledger pages: figures typed in a narrow first
   column, the red double rule, then the entry. */
.prose table {
  width: 100%;
  margin: 1.5em 0 1.75em;
  border-collapse: collapse;
  font-size: .875em;
  line-height: 1.45;
  font-variant-numeric: lining-nums;
}
.prose table + table { margin-top: 2.25em; }
.prose th, .prose td {
  padding: .5rem 0 .5rem .875rem;
  text-align: left;
  vertical-align: baseline;
}
.prose thead th {
  padding-top: 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
  line-height: 1.25;
  vertical-align: bottom;
}
.prose tbody td { border-bottom: 1px solid var(--rule); }
.prose th:first-child, .prose td:first-child {
  width: 6.5em;
  padding-left: 0;
  padding-right: .875rem;
  border-right: 3px double var(--margin-rule);
}
.prose td:first-child {
  font-family: var(--mono);
  font-size: .9375em;
  font-weight: 700;
}
.prose .al-r { text-align: right; }
.prose .al-c { text-align: center; }
.prose table + p { text-indent: 0; }

.essay { padding-top: 2.25rem; }

/* What a pantry won't fix: a slip of different paper tucked into the book. */
.slip {
  margin: 3.5rem calc(var(--gutter) * -1) 0;
  padding: 1.75rem var(--gutter) 2rem;
  background: var(--slip);
  border-block: 1px solid var(--ink);
}
.slip > .prose > h2:first-child {
  margin: 0 0 .75em;
  font-size: 1.6em;
  font-weight: 800;
}

/* ---------- Parts of the page after the essay ---------- */

.part {
  margin-top: 4.5rem;
  padding-top: 1.25rem;
  border-top: 3px double var(--ink);
}

.part-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.625rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.005em;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}

/* ---------- Start here: the calls, in order ---------- */

.calls {
  list-style: none;
  counter-reset: call;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.call {
  counter-increment: call;
  display: grid;
  grid-template-columns: var(--box) minmax(0, 1fr);
  column-gap: var(--gap);
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.call::before {
  content: counter(call);
  grid-column: 1;
  grid-row: 1 / span 3;
  font-size: 2.125rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
}
.call > * { grid-column: 2; }
.call-title {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.call-detail, .call-why {
  margin: .375rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.call-why { font-style: italic; color: var(--ink-2); }

/* ---------- How much is enough: the order form ---------- */

.controls {
  margin-top: 2rem;
  border-top: 1px solid var(--ink);
}
.control {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule);
}
.control > :last-child { justify-self: start; }
.control-label {
  font-size: 1.125rem;
  font-style: italic;
  line-height: var(--tap);
}

.num {
  width: 4.5rem;
  height: var(--tap);
  margin: 0;
  padding: 0 .25rem;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.375rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.num::-webkit-inner-spin-button,
.num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.stepper {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  background: var(--field);
}
.stepper .num { border-width: 0 1.5px; }
.step {
  width: var(--tap);
  height: var(--tap);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.step:hover { background: var(--paper); }
.step[aria-disabled="true"] { color: var(--ink-2); cursor: default; background: transparent; }

.days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
/* The common lengths, as one ruled strip of choices. */
.presets {
  display: flex;
  border: 1.5px solid var(--ink);
}
.presets .btn {
  flex: 1 1 auto;
  padding: .25rem .625rem;
  border: 0;
  text-align: center;
}
.presets .btn + .btn { border-left: 1.5px solid var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  margin: 0;
  padding: 0 .875rem;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}
.btn:hover { background: var(--field); text-decoration: none; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.summary {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-style: italic;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.filter {
  flex: 1 1 19rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.filter legend {
  margin-bottom: .375rem;
  padding: 0;
  font-size: 1.0625rem;
  font-style: italic;
}
.seg {
  display: flex;
  border: 1.5px solid var(--ink);
}
.seg label {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.seg label + label { border-left: 1.5px solid var(--ink); }
.seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: .25rem .375rem;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
}
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; position: relative; z-index: 1; }

.legend {
  margin-top: 1.75rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.legend p { margin: 0; }
.legend p + p { margin-top: .375rem; }
.legend .dagger { color: var(--signal); font-weight: 700; }

.nothing {
  margin: 2rem 0 0;
  padding: 1rem 0;
  border-block: 1px solid var(--rule);
  font-style: italic;
}

/* ---------- The ledger ---------- */

/* Lining figures: model numbers and sizes must read exactly (B01, not Bo1). */
.ledger, .calls, .controls, .summary, .legend { font-variant-numeric: lining-nums; }

.cat { margin-top: 2.75rem; }

.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .375rem;
  border-bottom: 2px solid var(--ink);
}
.cat-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}
.tally {
  margin: 0;
  flex: none;
  font-family: var(--mono);
  font-size: .875rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.cat-intro {
  margin: .625rem 0 .875rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.cat-intro p { margin: 0; }
.cat-intro p + p { margin-top: .5em; }

.items {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
/* The red double rule down the left of every ledger page. */
.items::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--box) + var(--gap) / 2 - 2px);
  width: 4px;
  border-inline: 1px solid var(--margin-rule);
  pointer-events: none;
}

.item {
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: var(--box) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: baseline;
  min-height: var(--tap);
  padding-top: .625rem;
  cursor: pointer;
}

/* Name and quantity share a line when they fit. When they don't, the quantity
   drops to its own line, still flush right, so the figures keep their column. */
.line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .125rem .875rem;
  min-width: 0;
}
.line .name { flex: 0 1 auto; min-width: 0; }
.line .qty { flex: 0 0 auto; margin-left: auto; max-width: 100%; }
.row input {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--box);
  height: 100%;
  min-height: var(--tap);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.box {
  position: relative;
  justify-self: center;
  width: 1.375rem;
  height: 1.375rem;
  border: 1.5px solid var(--ink);
  background: var(--field);
  transform: translateY(.18em);
}
.box::after {
  content: "";
  position: absolute;
  inset: -.6rem -.55rem -.05rem -.05rem;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 18.5c2.4 1.9 4.3 4.3 5.9 7.4C15 16.6 21 9 28.5 3.2' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 18.5c2.4 1.9 4.3 4.3 5.9 7.4C15 16.6 21 9 28.5 3.2' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  visibility: hidden;
}
.row input:checked + .box::after { visibility: visible; }
.row input:focus-visible + .box { outline: 3px solid var(--signal); outline-offset: 3px; }
.row:hover .box { background: var(--paper); }

.name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: lining-nums;
}
.dagger {
  margin-left: .15em;
  color: var(--signal);
  font-weight: 700;
}

/* The figure never breaks away from the first word of its unit. */
.qty {
  font-family: var(--mono);
  line-height: 1.25;
  text-align: right;
}
.qty .n {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
.qty .u {
  font-size: .875rem;
}

.item:has(input:checked) .name,
.item:has(input:checked) .qty {
  color: var(--ink-2);
}
.item:has(input:checked) .name {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--ink-2);
}

.item-body {
  padding-left: calc(var(--box) + var(--gap));
  font-size: 1rem;
  line-height: 1.5;
}
.detail { margin: .25rem 0 0; }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .875rem;
  margin: .5rem 0 0;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.where {
  padding: .0625rem .4375rem .125rem;
  border: 1px solid currentColor;
  color: var(--ink);
}
.cost { color: var(--ink); }
.when { font-style: italic; }

/* ---------- Disclosures: notes under a category, and the sources ---------- */

.disclose > summary {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: var(--tap);
  list-style: none;
  cursor: pointer;
}
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border-left: .5em solid currentColor;
  border-block: .32em solid transparent;
  transition: transform .15s ease-out;
}
.disclose[open] > summary::before { transform: rotate(90deg); }

.note { border-bottom: 1px solid var(--rule); }
.note > summary {
  padding: .5rem 0;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.3;
}
/* Centre the marker in the tick column so the title lines up with item names. */
.note > summary::before {
  margin-inline: calc((var(--box) - .5em) / 2);
}
.note-body {
  padding: .25rem 0 1.25rem calc(var(--box) + var(--gap));
  font-size: 1.0625rem;
  line-height: 1.6;
}
.note-body.prose { font-size: 1.0625rem; }

.sources {
  margin-top: 2.25rem;
  border-block: 1px solid var(--ink);
}
.sources > summary {
  font-size: 1.1875rem;
  font-weight: 700;
}
.sources-body {
  padding-bottom: 1.25rem;
  font-size: .9375rem;
  line-height: 1.5;
  font-variant-numeric: oldstyle-nums;
}
.sources-intro {
  max-width: 36em;
  margin: 0 0 .5rem;
  font-style: italic;
  color: var(--ink-2);
}
.sources-group {
  margin: 1.5rem 0 0;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}
.sources-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sources-list li {
  padding: .625rem 0;
  border-bottom: 1px solid var(--rule);
}
.sources-list p { margin: 0; }
.sources-list .claim { max-width: 36em; }
.sources-list .src {
  margin-top: .25rem;
  font-size: .875rem;
}
.src a { overflow-wrap: anywhere; }
.sources-list .src-note {
  margin-top: .125rem;
  max-width: 36em;
  font-size: .875rem;
  font-style: italic;
  color: var(--ink-2);
}

/* ---------- Footer: the masthead's rule, turned over ---------- */

.site-foot {
  position: relative;
  margin: 5rem 0 2.5rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--ink);
  font-size: .9375rem;
  color: var(--ink-2);
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 3px 0 auto 0;
  border-top: 5px solid var(--ink);
}
.site-foot p { margin: .75rem 0 0; }

/* 404 */
.lost { border-bottom: 0; }
.lost .standfirst { margin-bottom: 1.75rem; }

/* ---------- Motion: only in answer to what the reader does ---------- */

@keyframes inked {
  from { color: var(--signal); }
  to { color: var(--ink); }
}
@keyframes pen {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .qty .n.fresh { animation: inked 1s ease-out; }
  .row input:checked + .box::after { animation: pen .2s ease-out; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print: the checklist only, black on white, boxes empty ---------- */

@media print {
  @page { margin: 12mm 12mm 14mm; }

  :root {
    --paper: #fff;
    --ink: #000;
    --ink-2: #000;
    --rule: #888;
    --signal: #000;
    --margin-rule: #000;
    --slip: #fff;
    --field: #fff;
    --box: 13pt;
    --gap: 5pt;
    --tap: 0;
  }

  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 9.5pt; line-height: 1.3; }
  .wrap { max-width: none; padding: 0; }

  .masthead, .essay, #start, #prices, .site-foot,
  .list-copy, .part-title, .controls, .toolbar, .note, .cat-intro, .tally, .nothing {
    display: none !important;
  }

  .part { margin: 0; padding: 0; border: 0; }
  .print-only { display: block; }

  .print-head {
    margin: 0;
    padding-bottom: 3pt;
    border-bottom: 1.5pt solid #000;
    font-size: 13pt;
    font-weight: 700;
  }
  .print-sub { margin: 2pt 0 0; font-size: 9pt; }
  .summary { margin: 4pt 0 0; font-size: 10pt; font-style: normal; font-weight: 600; }
  .legend { margin: 3pt 0 0; font-size: 8pt; color: #000; }
  .legend p + p { margin-top: 1pt; }

  .ledger {
    columns: 2;
    column-gap: 7mm;
    margin-top: 6pt;
  }
  .cat { margin: 0 0 8pt; }
  .cat-head { padding-bottom: 1pt; border-bottom-width: 1pt; break-after: avoid; }
  .cat-title { font-size: 11pt; }
  .items { border-top: 0; }
  .items::before { display: none; }
  .item { padding: 0 0 2pt; border-bottom: .5pt solid #888; break-inside: avoid; }
  .row { min-height: 0; padding-top: 2pt; cursor: auto; }
  .row input { display: none; }
  .box {
    width: 9pt;
    height: 9pt;
    border: 1pt solid #000;
    background: #fff;
    transform: translateY(1pt);
  }
  .box::after { display: none !important; }
  .name { font-size: 9.5pt; line-height: 1.25; }
  .qty .n { font-size: 10pt; }
  .qty .u { font-size: 8.5pt; }
  .item:has(input:checked) .name,
  .item:has(input:checked) .qty { color: #000; text-decoration: none; }
  .item-body { font-size: 7.5pt; line-height: 1.3; }
  .detail { margin-top: 0; }
  .meta { margin-top: 1pt; gap: 0 5pt; font-size: 7.5pt; color: #000; }
  .where { padding: 0 2pt; border-width: .5pt; }
  a { color: #000; text-decoration: none; }
}
