@font-face{font-family:"Brygada 1918";src:url("/fonts/brygada-1918-latin-wght-normal.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Brygada 1918";src:url("/fonts/brygada-1918-latin-wght-italic.woff2") format("woff2");font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:"Work Sans";src:url("/fonts/work-sans-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:light dark;--display:"Brygada 1918", Georgia, 'Times New Roman', serif;--text:"Brygada 1918", Georgia, 'Times New Roman', serif;--ui:"Work Sans", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--figures:"Work Sans", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--display-weight:600;--tracking:-0.005em;--paper:#fdfdfb;--ink:#1b1c1f;--soft:#5a5d66;--rule:#dcdcd6;--band:#fdfdfb;--on-band:#1b1c1f;--link:#1f3a6e;--mark:#eef2f9;--on-mark:#1b1c1f;}
@media (prefers-color-scheme:dark){:root{--paper:#131418;--ink:#e6e6e2;--soft:#a3a5ad;--rule:#2d2f36;--band:#131418;--on-band:#e6e6e2;--link:#a9c1f5;--mark:#1a2030;--on-mark:#e6e6e2;}}
/* Shared base for every publication. The format stylesheet that follows arranges the pages.
   Colours and fonts come from the site's identity as custom properties. */

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

:root {
  --wrap: 72rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --text-size: 1.0625rem;
  --raised: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --field-rule: #8c8c8c;
  --field-ink: #242424;
  --field-hover: #696969;
  --error: #a4161a;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  accent-color: var(--ink);
  scrollbar-color: var(--field-rule) var(--paper);
}

@media (prefers-color-scheme: dark) {
  :root {
    --error: #ff9a9a;
    --field-ink: #e7e7e7;
    --field-hover: #b0b0b0;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

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

.num,
time {
  font-variant-numeric: lining-nums;
}

/* Skip link and private preview strip */
.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  font: 600 0.9375rem/1.3 var(--ui);
}

.skip:focus {
  top: 0.5rem;
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

.preview-strip {
  background: var(--ink);
  color: var(--paper);
  font: 0.8125rem/1.4 var(--ui);
  padding: 0.4rem 0;
}

.preview-strip a {
  color: inherit;
  margin-left: 0.5rem;
}

.preview-strip a:focus-visible {
  outline-color: var(--paper);
}

/* Small labels: a preview status, or a disclosure next to a product */
.tag {
  display: inline-block;
  font: 600 0.75rem/1.3 var(--ui);
  letter-spacing: 0;
  color: var(--ink);
  border: 1px solid var(--field-rule);
  padding: 0.05rem 0.4rem;
  margin-left: 0.5rem;
  vertical-align: 0.2em;
  white-space: nowrap;
}

/* Masthead. Each format arranges these parts. */
.masthead {
  font-family: var(--ui);
}

.site-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.masthead-standfirst,
.masthead-note {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.nav a {
  color: inherit;
  text-decoration: none;
  padding: 0.7rem 0;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav a:is([aria-current="page"], [aria-current="location"]) {
  font-weight: 700;
  box-shadow: inset 0 -3px 0 currentColor;
}

.nav-label {
  color: var(--soft);
  padding: 0.7rem 0;
}

.nav-topics {
  font-size: 0.875rem;
}

/* Section links that cannot share one phone line sit in balanced columns, so that no link is left alone on a line. */
@media (max-width: 520px) {
  .nav:not(.nav-topics):has(> a:nth-of-type(5)) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    column-gap: 1.25rem;
  }
}
@media (max-width: 380px) {
  .nav:not(.nav-topics):has(> a:nth-of-type(4)):not(:has(> a:nth-of-type(5))) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    column-gap: 1.4rem;
  }
}
/* The columns start at the left unless a format centers its navigation; this rule has no specificity, so format rules win. */
:where(.nav) { justify-content: start; }

main {
  display: block;
  padding: 2.5rem 0 4.5rem;
}

/* Page and article heads */
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
}

.crumbs li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--soft);
}

.crumbs a {
  color: inherit;
}

.article-head h1,
.page-head h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  line-height: 1.08;
  margin-top: 0.8rem;
  max-width: 22ch;
}

.article-head h1 {
  max-width: 26ch;
}

.summary {
  font-size: 1.25rem;
  line-height: 1.45;
  margin-top: 0.9rem;
  max-width: 38rem;
  color: var(--ink);
}

.page-head {
  margin-bottom: 2.2rem;
}

.page-count {
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
  margin-top: 0.7rem;
}

.note {
  font: 0.9375rem/1.5 var(--ui);
  background: var(--raised);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.9rem;
  margin-top: 1rem;
  max-width: 38rem;
}

/* What was checked */
.checked {
  font: 0.9375rem/1.5 var(--ui);
  display: grid;
  gap: 0.45rem;
}

.checked dt {
  font-weight: 700;
  display: inline;
}

.checked dd {
  display: inline;
}

.toc h2,
.in-article h2 {
  font: 700 0.9375rem/1.3 var(--ui);
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.toc ol {
  list-style: none;
  font: 0.9375rem/1.35 var(--ui);
  display: grid;
  gap: 0.4rem;
}

.toc a {
  color: var(--ink);
  text-decoration-color: var(--field-rule);
}

.in-article ul {
  list-style: none;
  font: 0.9375rem/1.35 var(--ui);
  display: grid;
  gap: 0.3rem;
}

.in-article li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
}

.in-article .tag {
  margin-left: 0;
}

/* Running text */
.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  font-size: 1.55rem;
  margin-top: 2.4em;
  scroll-margin-top: 1.5rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--soft);
}

.prose strong {
  font-weight: 700;
}

.measure > p,
.measure > ul,
.measure > ol,
.measure > h2,
.measure > h3,
.measure > blockquote {
  max-width: var(--measure);
}

.cite {
  font: 600 0.72em/1 var(--ui);
  vertical-align: super;
  margin-left: 0.12em;
  font-variant-numeric: tabular-nums;
}

.cite a {
  text-decoration: none;
  padding: 0.1em 0.12em;
}

.cite a:hover {
  text-decoration: underline;
}

/* A word and its first citation wrap together, so a source number does not start a line alone. */
.cite-run {
  white-space: nowrap;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.4;
  /* Proportional figures: in some faces, tabular figures also widen the comma and the point ("2 , 000"). */
  font-variant-numeric: lining-nums;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

thead th {
  font-weight: 700;
  font-size: 0.875rem;
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
}

tbody th {
  font-weight: 600;
}

th.num,
td.num {
  white-space: nowrap;
}

/* Excerpts keep the markdown alignment that the writer chose for a column of figures. */
.article-table :is(th, td)[align="right"] {
  text-align: right;
}

.article-table,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-table table {
  min-width: 34rem;
}

.article-table:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.table-note,
.block-note {
  font: 0.875rem/1.5 var(--ui);
  color: var(--soft);
  margin-top: 0.6rem;
  max-width: 44rem;
}

.unknown {
  color: var(--soft);
}

.compare-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.compare-block {
  margin-bottom: 2.5rem;
}

.labels {
  display: block;
  margin-top: 0.25rem;
}

.labels .tag {
  margin-left: 0;
}

/* Sources */
.sources-block {
  margin-top: 3.5rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.sources-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.sources {
  font: 0.9375rem/1.5 var(--ui);
  padding-left: 2.2rem;
  max-width: 46rem;
}

.sources li {
  padding: 0.55rem 0 0.55rem 0.2rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
}

.sources li::marker {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sources li:target {
  background: var(--mark);
  color: var(--on-mark);
  box-shadow: -2.4rem 0 0 var(--mark), 0.5rem 0 0 var(--mark);
}

.sources li:target a {
  color: inherit;
}

.sources .statement {
  display: block;
}

.sources .where {
  display: block;
  color: var(--soft);
  font-size: 0.875rem;
}

.sources li:target .where {
  color: inherit;
}

.closing {
  margin-top: 2.5rem;
  font: 0.9375rem/1.55 var(--ui);
  max-width: var(--measure);
}

.closing p + p {
  margin-top: 0.5rem;
}

/* A line of record under an article in a list */
.entry-meta {
  font: 0.8125rem/1.4 var(--ui);
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1rem;
  margin-top: 0.7rem;
}

.entry-meta a {
  color: inherit;
}

/* What follows an article */
.more {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}

.more h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.more-related ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem 2rem;
}

.more-related li > a {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--ink);
}

.more-related p {
  font: 0.9375rem/1.45 var(--ui);
  color: var(--soft);
  margin-top: 0.35rem;
}

.more-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.step {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.0625rem;
  line-height: 1.3;
}

.step span {
  display: block;
  font: 0.8125rem/1.4 var(--ui);
  letter-spacing: 0;
  color: var(--soft);
  margin-bottom: 0.2rem;
}

.step-after {
  grid-column: 2;
  text-align: right;
}

/* Lists of articles on section and topic pages. Formats restyle these. */
.listing {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 46rem;
}

.listing-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}

.listing-item h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.listing-item h2 a {
  color: var(--ink);
  text-decoration: none;
}

.listing-item h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.listing-summary {
  margin-top: 0.4rem;
  max-width: 38rem;
}

.listing-date,
.listing-question {
  display: block;
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
  margin-bottom: 0.35rem;
}

.listing-products,
.row-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font: 0.8125rem/1.3 var(--ui);
}

.listing-products span,
.row-products span {
  border: 1px solid var(--rule);
  padding: 0.1rem 0.45rem;
}

.listing-steps {
  list-style: none;
  counter-reset: step;
  font: 0.9375rem/1.4 var(--ui);
  margin-top: 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.listing-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
}

.listing-steps li::before {
  content: counter(step);
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.topic-list {
  list-style: none;
  font: 1rem/1.45 var(--ui);
  display: grid;
  gap: 0.7rem;
  max-width: 44rem;
}

.topic-list a {
  font-weight: 700;
}

.topic-list span {
  display: block;
  color: var(--soft);
  font-size: 0.9375rem;
}

.other-topics {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}

.other-topics h2,
.empty h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.empty > p {
  max-width: 38rem;
  margin-bottom: 0.8rem;
}

.empty .topic-list {
  margin-top: 1.6rem;
}

/* Forms. Text-entry perimeters are neutral in every state. */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field > label,
.field > legend,
.filter > label {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0;
}

.field > legend {
  margin-bottom: 0.4rem;
}

.hint {
  font-size: 0.875rem;
  color: var(--soft);
}

.input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--raised);
  border: 1px solid var(--field-rule);
  border-radius: 0;
  padding: 0.6rem 0.75rem;
  caret-color: var(--link);
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

.input::placeholder {
  color: var(--soft);
  opacity: 1;
}

textarea.input {
  min-height: 7.5rem;
  resize: vertical;
}

select.input {
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 50%, calc(100% - 0.7rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.input:hover {
  border-color: var(--field-hover);
}

/* Focus: the border goes to neutral ink, and one neutral notch marks the leading edge.
   No coloured border, outline, ring, or perimeter shadow. */
.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--field-ink);
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--field-ink);
}

/* Invalid: the perimeter stays neutral. The message below carries the error. */
.input[aria-invalid="true"] {
  border-color: var(--field-rule);
}

.input[aria-invalid="true"]:focus {
  border-color: var(--field-ink);
}

.input:-webkit-autofill,
.input:autofill {
  border-color: var(--field-rule);
  -webkit-text-fill-color: var(--ink);
}

/* A focused autofilled field gets the same neutral ink border as any focused field. */
.input:-webkit-autofill:focus,
.input:autofill:focus {
  border-color: var(--field-ink);
}

.error {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--error);
}

.error:empty {
  display: none;
}

.choices {
  display: grid;
  gap: 0.15rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.3rem 0;
  cursor: pointer;
}

.choice input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--ink);
}

.hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 1.5rem;
  min-height: 2.75rem;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), opacity 120ms ease-out;
}

.button:hover {
  opacity: 0.88;
}

.button:active {
  transform: scale(0.98);
}

.button[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.result {
  border: 1px solid var(--ink);
  background: var(--raised);
  padding: 1.1rem 1.25rem;
  max-width: 34rem;
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 2rem;
  animation: settle 220ms var(--ease-out);
}

.result h2 {
  font-family: var(--ui);
  font-size: 1.125rem;
  letter-spacing: 0;
  margin: 0 0 0.4rem;
}

.result p {
  margin: 0 0 0.5rem;
}

.result p:last-child {
  margin-bottom: 0;
}

.result .ref {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  user-select: all;
}

.form-failure {
  border: 1px solid var(--field-rule);
  background: var(--raised);
  padding: 0.75rem 0.95rem;
  color: var(--error);
  font-weight: 600;
}

.form-failure:empty {
  display: none;
}

/* The next step inside a message. It looks like a link and works like a button. */
.text-action {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.text-action:hover {
  text-decoration-thickness: 2px;
}

.form-failure a {
  color: inherit;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Footer. The ownership statement keeps full text contrast. It is never dimmed. */
.footer {
  border-top: 1px solid var(--rule);
  padding: 2.2rem 0 3rem;
  font: 0.9375rem/1.55 var(--ui);
  color: var(--soft);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.footer .owner {
  color: var(--ink);
  font-size: 1rem;
  margin-top: 0.7rem;
  max-width: 30rem;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-head {
  font-weight: 700;
  color: var(--ink);
}

.footer-nav a {
  color: var(--soft);
  justify-self: start;
}

/* Below 768px: one column everywhere. A record table becomes one block for each row. */
@media (max-width: 47.99rem) {
  main {
    padding: 1.6rem 0 3.5rem;
  }

  .article-aside .toc ol,
  .article-aside .in-article ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.1rem;
  }

  .article-aside .toc li,
  .article-aside .in-article li {
    border: 0;
    padding: 0.2rem 0;
    gap: 0.4rem;
  }

  .summary {
    font-size: 1.125rem;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .more-steps {
    grid-template-columns: 1fr;
  }

  .step-after {
    grid-column: 1;
    text-align: left;
  }

  .nav {
    gap: 0 1.1rem;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td,
  .stack,
  .stack tbody,
  .stack tr,
  .stack th,
  .stack td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .compare thead,
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .compare tbody tr,
  .stack tbody tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .compare th,
  .compare td,
  .stack th,
  .stack td {
    padding: 0.2rem 0;
    border-bottom: 0;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--soft);
  }

  .button {
    justify-self: stretch;
  }
}

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

/* Journal: a dated record. A narrow reading column, dates beside the entries, a rail of record on the right. */
:root {
  --wrap: 68rem;
  --measure: 39rem;
  --text-size: 1.125rem;
}

.masthead-nav {
  border-bottom: 2px solid var(--ink);
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 2rem;
}

/* Centred nameplate with a date line, like a paper of record */
.v-centered .masthead-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  padding-top: 1.6rem;
  padding-bottom: 1.2rem;
}

.v-centered .nameplate {
  grid-column: 2;
  text-align: center;
}

.v-centered .site-title {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.1rem);
}

.v-centered .masthead-standfirst {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
}

.v-centered .masthead-note {
  grid-column: 3;
  text-align: right;
}

.v-centered .masthead-nav {
  border-top: 1px solid var(--rule);
}

/* A band with the nameplate, then sections on paper */
.v-band .masthead-row,
.v-ops .masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.v-band .masthead-row,
.v-ops .masthead-row {
  min-height: 4.6rem;
  align-items: center;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  color: var(--on-band);
}

.v-band .nameplate,
.v-ops .nameplate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.2rem;
}

.v-band .site-title {
  font-size: 1.75rem;
}

.v-band .masthead-standfirst,
.v-band .masthead-note,
.v-ops .masthead-standfirst,
.v-ops .masthead-note {
  color: inherit;
}

.v-ops .site-title {
  font-size: 1.7rem;
}

.v-ops .masthead-note {
  font-variant-numeric: tabular-nums;
  border: 1px solid currentColor;
  padding: 0.15rem 0.5rem;
}

.v-ops {
  --text-size: 1.0625rem;
}

/* One writer's notebook: a single column, no rail */
.v-notebook {
  --wrap: 44rem;
}

.v-notebook .masthead-row {
  padding-top: 2.2rem;
  padding-bottom: 0.8rem;
}

.v-notebook .site-title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
}

.v-notebook .masthead-standfirst {
  font-family: var(--text);
  font-size: 1.0625rem;
  margin-top: 0.3rem;
}

.v-notebook .masthead-note {
  margin-top: 0.3rem;
}

.v-notebook .masthead-nav {
  border-bottom-width: 1px;
}

.v-notebook .nav-row {
  display: block;
}

.v-notebook .nav-topics {
  border-top: 1px solid var(--rule);
}

/* The river */
.river-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 3.5rem;
  align-items: start;
}

.day {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
}

.day + .day {
  margin-top: 2rem;
}

.day-date {
  font: 600 0.875rem/1.4 var(--ui);
  letter-spacing: 0;
  color: var(--soft);
  padding-top: 0.45rem;
  position: sticky;
  top: 1rem;
  align-self: start;
}

.post {
  grid-column: 2;
  padding-bottom: 2.2rem;
}

.post + .post {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.post h3 {
  font-size: 1.6rem;
  line-height: 1.18;
}

.post:first-of-type h3 {
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.3rem);
  line-height: 1.12;
}

.post h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.post-kind {
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
  margin-top: 0.4rem;
}

.post-body {
  margin-top: 0.9rem;
}

.post-lead-in {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.9375rem;
}

.post-lead-in + * {
  margin-top: 0.4em;
}

.post-rest {
  font: 0.9375rem/1.5 var(--ui);
  margin-top: 1.1rem;
  padding: 0.7rem 0.9rem;
  background: var(--mark);
  color: var(--on-mark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.post-rest span {
  font-weight: 700;
  flex-basis: 100%;
}

/* The rail */
.rail {
  font: 0.9375rem/1.5 var(--ui);
  display: grid;
  gap: 1.8rem;
}

.rail-block {
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
}

.rail-block h2 {
  font: 700 0.9375rem/1.3 var(--ui);
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.rail-block p + p {
  margin-top: 0.5rem;
}

.counted,
.tool-links {
  list-style: none;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}

.counted li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
}

.counted span {
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.v-notebook .river-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.v-notebook .day {
  display: block;
}

.v-notebook .day-date {
  position: static;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.3rem;
  margin-bottom: 1.4rem;
}

.v-notebook .rail {
  grid-template-columns: 1fr 1fr;
}

.v-ops .day-date,
.v-ops .entry-meta {
  font-variant-numeric: tabular-nums;
}

.v-ops .post h3,
.v-ops .post:first-of-type h3 {
  font-size: 1.7rem;
}

/* Article: one column. The record of what was checked sits in a tinted note under the title. */
/* Centered in every variant: a left-set reading column under a wide masthead left the right side of the page empty. */
.article {
  max-width: 44rem;
  margin-inline: auto;
}

.article-aside {
  margin-top: 1.6rem;
  background: var(--mark);
  color: var(--on-mark);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 1rem;
}

.article-aside .toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
}

.article-aside .in-article ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
}

.article-body {
  margin-top: 2rem;
}

.listing-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
}

.listing-item > * {
  grid-column: 2;
}

.listing-item .listing-date {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 0.35rem;
}

@media (max-width: 59.99rem) {
  .river-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .rail {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --text-size: 1.0625rem;
  }

  .v-centered .masthead-row {
    display: block;
    padding-top: 1.1rem;
    padding-bottom: 0.8rem;
  }

  .v-centered .masthead-note {
    text-align: center;
    margin-top: 0.3rem;
  }

  .day,
  .listing-item {
    display: block;
  }

  .day-date {
    position: static;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.3rem;
    margin-bottom: 1.2rem;
  }

  .rail,
  .v-notebook .rail {
    grid-template-columns: 1fr;
  }

  .nav-row {
    display: block;
  }

  .nav-topics {
    border-top: 1px solid var(--rule);
  }
}

.article .compare,
.article .article-table table {
  font-size: 0.9375rem;
}

/* Each publication keeps its type, colors, and layout. These rules improve article reading. */
.prose { min-width: 0; }
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.8rem auto 0;
}
.prose picture { display: block; }
.prose .article-figure { margin: 1.8rem 0 0; }
.prose .article-figure img { margin: 0 auto; }
.article .prose figcaption { max-width: var(--measure); margin-top: .75rem; font: .875rem/1.55 var(--ui); color: var(--soft); }
.article .article-aside { position: static; max-height: none; overflow: visible; align-self: start; }
.article .source-group {
  max-width: var(--measure);
  border-bottom: 1px solid var(--rule);
}
.article .source-group summary {
  padding: 1rem 0;
  cursor: pointer;
  font: 600 1rem/1.45 var(--ui);
}
.article .source-group summary::marker { color: var(--soft); }
.article .source-group summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.article .source-page { margin: 0 0 1rem; font: .9375rem/1.5 var(--ui); }
.article .source-group .sources { margin-bottom: 1.4rem; }
.article .source-group li:focus { outline: 2px solid var(--ink); outline-offset: 4px; }
.article .in-article ul { max-height: none; overflow: visible; }
.article .article-table--stacked table { table-layout: auto; min-width: 34rem; width: 100%; }
.article .article-table--stacked th:first-child { min-width: 0; }
.article .article-table--stacked th,
.article .article-table--stacked td { min-width: 0; white-space: normal; overflow-wrap: normal; word-break: normal; }
/* At any width, a table wider than its region says so above itself and shades its right edge until the last column. */
.article .article-table[data-wide] {
  background:
    linear-gradient(to left, var(--paper) 40%, transparent) right / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) right / .9rem 100% no-repeat scroll;
}
.article .table-hint { margin: 1.4rem 0 -.8rem; color: var(--soft); font: .9375rem/1.4 var(--ui); }
.article .table-hint::after { content: " \2192"; }
/* A table ends where the paragraphs end. A wider table scrolls inside that measure. Magazine pages center their own measure. */
body:not(.f-magazine) .article .prose.measure > :is(.article-table, .table-hint) { max-width: var(--measure); }
/* A source note is small print under the table or chart that it supports. */
.article .prose .source-note { max-width: var(--measure); margin-top: .6rem; font: .875rem/1.5 var(--ui); color: var(--soft); }
/* Magazine tables span the full column, so their source note starts at the table edge, not in the centered measure. */
.f-magazine .article-body .measure > p.source-note { max-width: none; margin-inline: 0; }
@media (max-width: 767px) {
  .article .prose { font-size: 1.125rem; line-height: 1.7; }
  .article .article-aside { font-size: 1rem; line-height: 1.6; }
  .article .prose figcaption { font-size: 1rem; line-height: 1.6; }
  .article .source-page,
  .article .source-group .sources,
  .article .source-group summary { font-size: 1rem; line-height: 1.6; }
  /* Phone tables stay tables. Row names and two value columns of ordinary words fit the screen whole. Words never break inside a cell, so a long unbroken token widens its column and the table scrolls.
     A wider table keeps its row names in view while the other columns scroll, so one value reads down every row. */
  .article .article-table--stacked table { min-width: 100%; width: auto; }
  .article .article-table--stacked th,
  .article .article-table--stacked td { min-width: 6rem; font-size: .9375rem; line-height: 1.5; overflow-wrap: normal; word-break: normal; }
  .article .article-table--stacked th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 5.5rem;
    padding-right: .75rem;
  }
  /* Two value columns beside a row name stay on screen together, so a reader can compare them.
     Three or more value columns each keep a readable width. The table scrolls sideways and each column stops beside the row names, so no column label is cut in half. */
  .article .article-table--stacked:has(tr > :nth-child(4)) { scroll-snap-type: x proximity; scroll-padding-inline-start: 5.75rem; }
  .article .article-table--stacked:has(tr > :nth-child(4)) :is(th, td):not(:first-child) { min-width: 9.5rem; scroll-snap-align: start; }
  /* The rule beside the row names shows only when the other columns scroll under them. */
  .article .article-table--stacked[data-wide] th:first-child { box-shadow: inset -1px 0 0 var(--rule); }
  .article .article-table--stacked tr > :nth-child(2) { padding-left: .75rem; }
  :where(.article .article-table--stacked th:first-child) { background: var(--paper); }
  .article .cite a { display: inline-flex; min-width: 1.5rem; min-height: 1.5rem; align-items: center; justify-content: center; }
}

.article-tool { grid-column: 1; min-width: 0; }
@media (min-width: 1100px) {
  .f-desk .prose > .article-figure:has(img.article-image--portrait):not(h2 ~ .article-figure) {
    float: left;
    width: min(46%, 26.25rem);
    margin: 0 2rem 2rem 0;
  }
  .f-desk .prose > .article-figure:has(img.article-image--portrait):not(h2 ~ .article-figure) img { width: 100%; margin: 0; }
  .f-desk .prose > .article-figure:has(img.article-image--portrait):not(h2 ~ .article-figure) + h2 { display: flow-root; margin-top: 0; }
  .f-desk .prose:has(> .article-figure img.article-image--portrait) > h2:not(:first-of-type) { clear: both; }
}
@media (max-width: 767px) {
  .article .toc ol { display: grid; grid-template-columns: minmax(0, 1fr); column-count: 1; row-gap: .35rem; }
  .article .toc li { min-width: 0; width: 100%; }
  .table-scroll:has(> .readings), .table-scroll:has(> .grid) { overflow: visible; }
  .table-scroll > :is(.readings, .grid),
  .table-scroll > :is(.readings, .grid) tbody { display: block; width: 100%; min-width: 0; }
  .table-scroll > :is(.readings, .grid) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-scroll > :is(.readings, .grid) tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
  .table-scroll > :is(.readings, .grid) tbody th,
  .table-scroll > :is(.readings, .grid) tbody td { display: block; width: 100%; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; font-size: 1rem; }
  .table-scroll > :is(.readings, .grid) tbody th { grid-row: 1; font-size: 1.1rem; }
  .table-scroll > :is(.readings, .grid) td::before { content: attr(data-label); display: block; margin-bottom: .2rem; color: var(--soft); font: 600 .9375rem/1.4 var(--ui); }
}

/* Keep the reading task ahead of the supporting record on narrow desk and journal pages. */
:is(.f-desk, .f-journal) .review-strip { display: none; }
:is(.f-desk, .f-journal) .article-disclosure > summary { cursor: pointer; font: 700 .9375rem/1.45 var(--ui); }
:is(.f-desk, .f-journal) .article-disclosure > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
:is(.f-desk, .f-journal) .article-disclosure[open] > summary { margin-bottom: .65rem; }
@media (max-width: 47.99rem) {
  .f-desk .article .article-aside { gap: .7rem; padding: .8rem 1rem; border-color: var(--rule); }
  :is(.f-desk, .f-journal) .review-strip { display: block; margin: 0; font: .875rem/1.5 var(--ui); }
  :is(.f-desk, .f-journal) .article-disclosure .checked { margin-top: .75rem; }
  :is(.f-desk, .f-journal) .article-disclosure.toc { padding-top: .65rem; }
  :is(.f-desk, .f-journal) .article-disclosure.toc nav { padding: .5rem 0; }
  :is(.f-desk, .f-journal) .article-disclosure summary { min-height: 1.6rem; }
}

.f-desk .coverage-links > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.f-desk .coverage-links dt { font: 700 1.125rem/1.45 var(--ui); }
.f-desk .coverage-links dd { min-width: 0; }
.f-desk .coverage-links ul { list-style: none; }
.f-desk .coverage-links li + li { margin-top: .65rem; }
@media (max-width: 767px) {
  .f-desk .coverage-links > div { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
}
@media (min-width: 1100px) {
  /* Keep a complete paragraph beside the opening figure, even when it is taller than the remaining float. */
  .f-desk .prose:has(> .article-figure img.article-image--portrait) > p { display: flow-root; }
}
:is(.f-desk, .f-journal) .review-strip a { margin-left: .2em; }

/* A column that the writer aligned right holds figures. */
.article .article-table :is(th, td).num { text-align: right; }

/* Method note. The opening sentence stays in view. The full record opens on request and prints open. */
.checked .method dd { display: block; }
.method-detail { margin-top: .4rem; }
.method-detail > summary { width: fit-content; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.method-detail > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.method-detail[open] > summary { margin-bottom: .5rem; }
.method-detail > p { margin: 0; }

/* The contents list marks the section on screen. A thicker underline changes no line breaks. */
.article .toc a[aria-current] { text-decoration-line: underline; text-decoration-thickness: 3px; text-decoration-color: currentColor; text-underline-offset: .2em; }

/* Catalog and guide rails follow the reader again now that the record in them is short. */
@media (min-width: 64rem) and (min-height: 38rem) {
  :is(.f-catalog, .f-guide) .article .article-aside { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
  .f-desk .article .article-aside .toc { order: -1; }
}

/* Journal: on a wide screen the record and contents sit beside the entry and follow the reader. */
@media (min-width: 76rem) {
  .f-journal .article { max-width: none; display: grid; grid-template-columns: minmax(0, 44rem) minmax(13rem, 1fr); gap: 0 3rem; align-items: start; }
  .f-journal .article > * { grid-column: 1; }
  .f-journal .article > .article-aside { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; align-content: start; }
  .f-journal .article > .article-aside .toc { order: -1; }
  .f-journal .article-aside .toc ol { display: grid; gap: .5rem; }
}

/* Home and section lists: the newest entry leads. Older entries are smaller and fold their parts. */
.listing-item.is-lead h2, .guides > .guide.is-lead h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.1rem); }
.listing-item.is-lead .listing-summary, .guides > .guide.is-lead .guide-summary { font-size: 1.1875rem; max-width: 40rem; }
.listing-item:not(.is-lead) h2, .guides > .guide:not(.is-lead) h2 { font-size: 1.25rem; }
.listing-item:not(.is-lead) .listing-summary, .guides > .guide:not(.is-lead) .guide-summary { font-size: 1rem; }
.parts-more { margin-top: .7rem; font: .9375rem/1.4 var(--ui); }
.parts-more > summary { width: fit-content; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.parts-more > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Each source shows the day it was read beside its name, so a reader checks the date before opening it. */
.article .source-group summary .source-read { margin-left: .75rem; color: var(--soft); font-weight: 400; font-size: .9375rem; white-space: nowrap; }
