@page {
  margin: 16mm;
}

:root,
:root[data-theme] {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #000000;
  --muted: #333333;
  --faint: #555555;
  --rule: #bbbbbb;
  --hover: transparent;
  --accent: #000000;
  --text-body: 10.5pt;
  --text-small: 9pt;
  --text-lede: 11.5pt;
  --text-entry: 11pt;
  --text-h2: 12.5pt;
  --text-name: 22pt;
  --text-page-title: 20pt;
  --page: 100%;
  --gutter: 0pt;
}

.skip-link,
.site-nav,
.theme-switch,
.site-footer,
.section-link,
.back-link,
.toc-inline {
  display: none !important;
}

body:has(.intro) .site-name {
  display: none;
}

main a[href^="http"]:not(.links a)::after {
  content: " (" attr(href) ")";
  font-size: var(--text-small);
}

.timeline-item,
.project-row,
.figure {
  break-inside: avoid;
}

.section-head,
.prose h2,
.prose h3 {
  break-after: avoid;
}
