@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-Roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Meridien";
  src: url("fonts/MeridienLT-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OCR B Pro";
  src: url("fonts/OCRBPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-CondensedLight.woff2") format("woff2");
  font-weight: 300;
  font-stretch: 75%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-Condensed.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 75%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-CondensedBold.woff2") format("woff2");
  font-weight: 700;
  font-stretch: 75%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-Light.woff2") format("woff2");
  font-weight: 300;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-Regular.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-Black.woff2") format("woff2");
  font-weight: 700;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-Extended.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers";
  src: url("fonts/UniversLT-BoldExtended.woff2") format("woff2");
  font-weight: 700;
  font-stretch: 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --bg: #fdfdfd;
  --fg: #111111;
  --muted: #555555;
  --border: #cccccc;
  --accent: #003366;
  --visited: #4c2c92;
  --orange: #FF4F00;
  --code-bg: #f0f0f0;
  --font-serif: "Meridien", "DejaVu Serif", Georgia, serif;
  --font-sans: "Univers", "Helvetica", sans-serif;
  --font-mono: "OCR B Pro", monospace;
  accent-color: var(--accent);
  caret-color: var(--orange);

  @media (dynamic-range: high) and (color-gamut: p3) {
    --accent: color(display-p3 0 0.35 0.85);
    --orange: color(display-p3 1 0.31 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 160ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

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

::selection {
  background-color: var(--orange);
  color: #ffffff;
}

html {
  font-family: var(--font-sans);
  font-weight: 400;
  font-stretch: 100%;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-variant-numeric: lining-nums;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 3.5rem;
  scrollbar-width: thick;
  scrollbar-color: var(--fg) var(--bg);
}

body {
  max-width: 48rem;
  margin: 2rem auto;
  padding: 0 1.25rem env(safe-area-inset-bottom) 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--fg);
}

main {
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.25;
  margin: 1.75rem 0 0.5rem 0;
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-stretch: 125%;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--fg);
  padding-bottom: 0.35rem;
}

h2 {
  font-weight: 700;
  font-stretch: 125%;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem;
  font-feature-settings: "case" 1, "cpsp" 1;
}

h3 {
  font-weight: 400;
  font-stretch: 125%;
  font-size: 1rem;
}

h4 {
  font-weight: 700;
  font-stretch: 75%;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

dt {
  font-weight: 700;
  font-stretch: 75%;
  margin-top: 0.5rem;
}

strong, summary {
  font-weight: 700;
  font-stretch: 100%;
}

p, dd, li {
  text-wrap: pretty;
}

cite {
  font-style: italic;
}

abbr {
  font-feature-settings: "case" 1, "cpsp" 1;
  text-decoration: underline dotted var(--muted);
  text-underline-offset: 0.15em;
}

time {
  font-variant-numeric: lining-nums tabular-nums;
}

small, .data-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-stretch: 75%;
  color: var(--muted);
  font-size: 0.88em;
}

p.data-note {
  margin: -0.25rem 0 0.5rem 0;
}

code, kbd {
  font-family: var(--font-mono);
  font-weight: 400;
  font-stretch: 100%;
  font-size: 0.86em;
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums slashed-zero;
}

code {
  -webkit-user-select: all;
  user-select: all;

  &.monero-addr {
    word-break: break-all;
    font-size: 0.78rem;
  }
}

kbd {
  background-color: var(--code-bg);
  border: 1px solid var(--border);
  padding: 0.1rem 0.35rem;
}

sup {
  font-family: var(--font-sans);
  font-stretch: 75%;
  font-size: 0.72em;
  line-height: 0;
  vertical-align: super;

  & > a {
    font-family: var(--font-mono);
    text-decoration: none;
  }
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;

  &:visited {
    color: var(--visited);
  }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 0.4rem 0.75rem;
  z-index: 100;

  &:focus {
    left: 1rem;
    top: 1rem;
  }
}

img.flag-icon,
img.iso-icon,
img.util-icon {
  display: inline-block;
  width: auto;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

img.flag-icon {
  height: 1.05em;
  vertical-align: -0.12em;
  margin-right: 0.4em;
}

img.iso-icon {
  height: 1.05em;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}

img.util-icon {
  height: 1em;
  vertical-align: -0.1em;
}

nav.sticky-glass {
  font-family: var(--font-sans);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.5rem 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;

  & ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    font-stretch: 75%;
  }
}

.nav-utilities {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.util-btn,
.cache-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-stretch: 75%;
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
}

.util-btn:hover {
  border-color: var(--fg);
  background-color: var(--code-bg);
}

.cache-badge {
  cursor: default;
  background-color: var(--code-bg);
  color: var(--muted);

  &[data-net="offline"] {
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 700;
  }
}

.mirror-bar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-stretch: 75%;

  & > li {
    border: 1px solid var(--border);
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1;
    margin: 0;
  }
}

body[data-host="zachtopley.org"] .mirror-link-dns,
body[data-host$=".onion"] .mirror-link-onion,
body[data-host$=".i2p"] .mirror-link-i2p {
  border-color: var(--fg);
  background-color: var(--code-bg);
  font-weight: 700;

  &::before {
    content: "● ";
    color: var(--orange);
  }
}

#biodata > ul {
  list-style: none;
  padding: 0.5rem 0.75rem;
  margin: 0.75rem 0 0 0;
  border: 1px solid var(--border);
  background-color: var(--code-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-stretch: 75%;

  & > li {
    margin: 0;
  }
}

.timeline-date {
  position: absolute;
  right: calc(100% + 1.25rem);
  width: 11.5rem;
  text-align: right;
  font-weight: 300;
  font-stretch: 75%;
  font-size: 0.84rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

li:has(> .timeline-date) {
  list-style: none;
  margin-left: -1.5rem;
}

.margin-note {
  position: absolute;
  left: calc(100% + 1.25rem);
  width: 14rem;
  text-align: left;
  font-weight: 300;
  font-stretch: 75%;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 0.5rem;
}

header, section, article, footer {
  margin-bottom: 2.25rem;
}

dl {
  margin: 0.5rem 0 1rem 0;
}

dd {
  margin: 0 0 0.25rem 1.5rem;
}

ul, ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

li {
  margin-bottom: 0.25rem;
}

details {
  font-family: var(--font-sans);
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
}

summary {
  cursor: pointer;
}

q {
  hanging-punctuation: first last;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* [ Longform Article Prose & Structure (Meridien LT / Univers LT) ] */
.e-content {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.68;

  & p,
  & li,
  & dd {
    text-wrap: pretty;
  }

  & p {
    margin: 0 0 1.1rem 0;
  }

  & ul,
  & ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1.1rem 0;
  }

  & li {
    margin-bottom: 0.35rem;

    & > p {
      margin-bottom: 0.5rem;
    }
  }

  & dt {
    font-family: var(--font-sans);
    font-weight: 700;
    font-stretch: 75%;
    margin-top: 0.75rem;
  }

  & dd {
    margin: 0.15rem 0 0.5rem 1.5rem;
  }
}

#executive-summary > p:first-of-type {
  font-weight: 500;
}

blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  margin: 1.25rem 0;
  padding: 0.25rem 1.25rem;
  border-left: 2px solid var(--fg);
  hanging-punctuation: first last;

  & p:last-child {
    margin-bottom: 0;
  }
}

aside[role="note"] {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--fg);
  background-color: var(--code-bg);

  & p:last-child,
  & ol:last-child {
    margin-bottom: 0;
  }
}

article.h-entry > header {
  margin-bottom: 1.5rem;

  & > p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0.5rem 0;
  }

  & > p.p-summary {
    font-weight: 500;
    color: var(--muted);
  }

  & > dl {
    font-family: var(--font-sans);
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1.25rem;
    border: 1px solid var(--border);
    background-color: var(--code-bg);
    padding: 0.65rem 0.85rem;
    margin: 0.85rem 0;
    font-size: 0.88rem;

    & > dt {
      margin: 0;
      font-weight: 700;
      font-stretch: 75%;
      color: var(--muted);
    }

    & > dd {
      margin: 0;
    }

    & ul {
      margin: 0;
      padding-left: 1.1rem;
    }
  }
}

#article-metrics {
  & h4 {
    margin: 1rem 0 0.35rem 0;
  }

  & .score-grid {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  }
}

.dist-bar {
  display: flex;
  width: 100%;
  height: 0.5rem;
  border: 1px solid var(--fg);
  background-color: var(--bg);
  margin: 0.15rem 0 0.35rem 0;
}

.bar-cell {
  margin-bottom: 0.35rem;
}

.swatch {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--fg);
  margin-right: 0.35rem;
  vertical-align: -0.05em;
}

.bar-ger { background-color: #1d3b53; }
.bar-lat { background-color: #FF4F00; }
.bar-hel { background-color: #6b4c9a; }
.bar-prop { background-color: #777777; }
.bar-unl { background-color: #bbbbbb; }
.bar-oth { background-color: #e0e0e0; }

table {
  font-family: var(--font-sans);
  font-stretch: 75%;
  font-size: 0.84rem;
  line-height: 1.4;
  font-variant-numeric: lining-nums tabular-nums;
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
}

caption {
  text-align: left;
  font-weight: 700;
  font-stretch: 100%;
  padding-bottom: 0.35rem;
  color: var(--fg);
}

th, td {
  border: 1px solid var(--border);
  padding: 0.3rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  background-color: var(--code-bg);
  font-weight: 700;
}

th[scope="rowgroup"] {
  background-color: var(--code-bg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

figure {
  font-family: var(--font-sans);
  margin: 1.5rem 0;
  padding: 0.65rem;
  border: 1px solid var(--border);
  background-color: var(--code-bg);

  & img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

figcaption {
  margin-top: 0.5rem;
  font-weight: 300;
  font-stretch: 75%;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

#abbreviations dl {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1.25rem;

  & dt {
    margin: 0;
  }

  & dd {
    margin: 0;
  }
}

#sources,
#references,
#author-note {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* [ Shared Trees, Grids & Utilities ] */
ul.tree {
  list-style: none;
  padding-left: 0.25rem;
  margin: 0.25rem 0 0.5rem 0.25rem;
}

ul.tree > li,
dl.tree-dl > dd {
  position: relative;
  padding-left: 1.15rem;
  margin: 0 0 0.25rem 0.25rem;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: -0.35rem;
    bottom: -0.25rem;
    border-left: 1px solid var(--border);
  }

  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
}

dl.tree-dl > dt + dd:has(+ dt),
dl.tree-dl > dt + dd:last-child {
  &::before,
  &::after {
    content: none;
  }
}

ul.tree > li:last-child::before,
dl.tree-dl > dd:has(+ dt)::before,
dl.tree-dl > dd:last-child::before {
  bottom: auto;
  height: 1rem;
}

.split-grid {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;

  & > li {
    margin: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
  }

  & > li.grid-span-minor {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--muted);
    border-style: dashed;
    padding: 0.35rem 0.75rem;
  }
}

.three-col-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.5rem 0;

  & > div {
    border: 1px solid var(--border);
    padding: 0.5rem 0.5rem;
  }

  & dt {
    margin: 0 0 0.4rem 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.0rem;
  }

  & dd {
    margin: 0 0 0.35rem 0;
    font-stretch: 75%;
    font-size: 0.9rem;
  }
}

.course-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
  font-stretch: 75%;
  font-size: 0.9rem;

  & h4 {
    margin-top: 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  & dt {
    margin-top: 0.6rem;
  }

  & dd {
    font-weight: 300;
    font-stretch: 75%;
  }
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(8rem, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 0 0;

  & > div {
    border: 1px solid var(--border);
    padding: 0.35rem 0.5rem;
    background-color: var(--code-bg);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
  }

  & dt {
    margin: 0;
    font-weight: 400;
    font-stretch: 75%;
    font-size: 0.82rem;
    color: var(--muted);
  }

  & dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
  }
}

.country-strip {
  list-style: none;
  padding: 0.4rem 0.6rem;
  margin: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem;
  border: 1px solid var(--border);
  background-color: var(--code-bg);

  & > li {
    margin: 0;
    line-height: 1;
    font-weight: 400;
    font-stretch: 75%;
    font-size: 0.5rem;
  }
}

.copy-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.35rem;
  background-color: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  cursor: pointer;
  line-height: 1;

  &:hover {
    border-color: var(--fg);
    background-color: var(--code-bg);
  }

  & .icon-copied {
    display: none;
  }

  &[data-state="copied"] {
    border-color: var(--orange);

    & .icon-copy {
      display: none;
    }

    & .icon-copied {
      display: inline-block;
    }
  }
}

.cmd-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  border: 1px solid var(--border);
  background-color: var(--code-bg);

  & > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin: 0;

    & + li {
      border-top: 1px dotted var(--border);
    }

    & > code {
      overflow-x: auto;

      &::before {
        content: ">_ ";
        color: var(--muted);
        -webkit-user-select: none;
        user-select: none;
      }
    }
  }
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.75rem;
  background-color: var(--code-bg);

  & dt {
    margin-top: 0;
    font-size: 0.75rem;
    color: var(--muted);
  }

  & dd {
    margin-left: 0;
    font-size: 0.85rem;
  }
}

#server-telemetry-list :is(code, time):empty::before {
  content: "Static (IPFS / Local)";
  opacity: 0.7;
}

footer {
  font-family: var(--font-sans);
  margin-bottom: 2.25rem;
}

.footer-motto {
  text-align: center;
  font-weight: 300;
  font-stretch: 100%;
  letter-spacing: 0.04em;
  word-spacing: 0.75rem;
  color: var(--muted);
  margin: 1.5rem 0 0.5rem 0;
}

@media (max-width: 76rem) {
  .timeline-date {
    position: static;
    width: auto;
    text-align: left;

    &::after {
      content: " · ";
    }
  }

  li:has(> .timeline-date) {
    list-style: disc;
    margin-left: 0;
  }

  .margin-note {
    position: static;
    width: auto;
    border-left: 0;
    padding-left: 0;
    margin-left: 0.35rem;

    &::before {
      content: "[";
    }

    &::after {
      content: "]";
    }
  }
}

@media (max-width: 44rem) {
  .split-grid,
  .three-col-dl,
  .course-columns,
  .score-grid,
  article.h-entry > header > dl {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  .skip-link,
  nav.sticky-glass,
  .copy-btn,
  .util-btn,
  .cache-badge {
    display: none !important;
  }

  html {
    font-size: 9pt;
    line-height: 1.38;
    background: #ffffff;
    color: #000000;
  }

  body {
    max-width: 100%;
    margin: 0;
    padding: 12mm 14mm;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background: #ffffff;
    color: #000000;
  }

  .e-content {
    font-size: 9.5pt;
    line-height: 1.48;
  }

  header, section, article, footer {
    margin-bottom: 0.9rem;
  }

  h1, h2, h3, h4, dt {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    break-after: avoid-page;
    page-break-after: avoid;
  }

  .timeline-date {
    position: static;
    width: auto;
    text-align: left;

    &::after {
      content: " · ";
    }
  }

  li:has(> .timeline-date) {
    list-style: disc;
    margin-left: 0;
  }

  .margin-note {
    position: static;
    width: auto;
    border-left: 0;
    padding-left: 0;
    margin-left: 0.35rem;

    &::before {
      content: "[";
    }

    &::after {
      content: "]";
    }
  }

  article,
  li,
  dl > div,
  .split-grid,
  figure,
  table,
  aside[role="note"],
  blockquote {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  table {
    display: table;
    font-size: 7.5pt;
  }

  [data-page-break="before"], .print-break-before {
    break-before: page;
    page-break-before: always;
  }

  [data-page-break="after"], .print-break-after {
    break-after: page;
    page-break-after: always;
  }

  [data-page-break="avoid"] {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  p {
    orphans: 3;
    widows: 3;
    margin: 0.25rem 0;
  }

  details {
    border: 0;
    padding: 0;
    margin: 0.35rem 0;
  }

  a {
    color: #000000;
    text-decoration: none;

    &[data-print-url="true"]::after {
      content: " [" attr(href) "]";
      font-family: "OCR B Pro", monospace;
      font-size: 7.5pt;
      color: #444444;
    }
  }
}
