:root {
  color-scheme: light dark;
  --paper: #faf8f2;
  --ink: #14233a;
  --sub: #42536a;
  --rule: #c7d1d5;
  --cool: #226481;
  --warm: #8c254b;
  --tint: #e1edf2;
  --card: #fffefa;
  --muted: #e8e9e3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101b2a;
    --ink: #f2f4ef;
    --sub: #b4c5d2;
    --rule: #425269;
    --cool: #8ac8ed;
    --warm: #fa8bb2;
    --tint: #243848;
    --card: #192638;
    --muted: #263346;
  }
}
* {
  box-sizing: border-box;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.55 system-ui,
    sans-serif;
  margin: 0;
}
a {
  color: var(--cool);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cool);
  outline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
.shell {
  max-width: 66rem;
  margin: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 4.25rem;
  border-bottom: 2px solid var(--ink);
}
.brand {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.055em;
  text-decoration: none;
  color: var(--ink);
}
.brand b {
  color: var(--warm);
}
.mast time,
.eyebrow,
.source,
.note {
  font-size: 0.85rem;
  color: var(--sub);
}
header.intro {
  padding: clamp(1.8rem, 5vw, 4.7rem) 0 1.25rem;
  max-width: 52rem;
}
h1,
h2 {
  font-family: Georgia, "DejaVu Serif", serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 0;
  line-height: 1.06;
}
h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.3rem);
}
h2 {
  font-size: clamp(1.85rem, 4vw, 3.4rem);
}
h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.24;
}
p {
  margin: 0;
}
.intro p {
  max-width: 54ch;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--sub);
  margin-top: 0.85rem;
}
.contents {
  display: flex;
  gap: 0.2rem 1.2rem;
  flex-wrap: wrap;
  padding: 0 0 1.6rem;
}
.contents a,
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 680;
}
article {
  scroll-margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4.2rem) 0;
  border-top: 1px solid var(--rule);
}
.eyebrow {
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.65rem;
}
.lede {
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  margin: 0.8rem 0 1.35rem;
  max-width: 59ch;
}
figure,
.panel {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.65rem;
  padding: clamp(0.9rem, 3vw, 1.9rem);
}
figcaption {
  font-size: 1.12rem;
  font-weight: 720;
}
.unit {
  font-size: 0.88rem;
  color: var(--sub);
  margin: 0.25rem 0 1.1rem;
}
.chart-row {
  display: grid;
  grid-template-columns: minmax(5rem, 9rem) minmax(3rem, 1fr) 3.35rem;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.25rem;
  font-variant-numeric: tabular-nums;
}
.chart-row b {
  text-align: right;
}
.track {
  height: 1.7rem;
  position: relative;
  border-inline: 1px solid var(--rule);
  background: linear-gradient(
    to right,
    transparent calc(50% - 0.5px),
    var(--sub) calc(50% - 0.5px),
    var(--sub) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}
.track i {
  position: absolute;
  top: 0.36rem;
  bottom: 0.36rem;
  left: 50%;
  width: var(--length);
  background: var(--cool);
}
.track .minus {
  left: auto;
  right: 50%;
  background: var(--warm);
}
.ticks {
  margin: 0.15rem 3.95rem 0.4rem min(9.6rem, 28%);
  display: flex;
  justify-content: space-between;
  color: var(--sub);
  font-size: 0.8rem;
}
details {
  border-top: 1px solid var(--rule);
  margin-top: 1rem;
}
.source {
  margin-top: 0.95rem;
  line-height: 1.7;
}
.source a {
  display: inline-block;
  margin-right: 0.4rem;
}
summary {
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 0.2rem;
  min-height: 44px;
  color: var(--cool);
}
details p {
  max-width: 65ch;
  margin: 0.25rem 0 0.6rem;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
th,
td {
  border-bottom: 1px solid var(--rule);
  padding: 0.3rem;
  text-align: left;
}
tbody th {
  font-weight: 500;
}
th:last-child,
td:last-child {
  text-align: right;
}
.stages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.stages li {
  border-top: 4px solid var(--cool);
  padding: 0.85rem;
  background: var(--tint);
  border-radius: 0 0 0.35rem 0.35rem;
}
.stages .key {
  display: block;
  font-size: 0.82rem;
  color: var(--sub);
  font-weight: 650;
  margin: 0 0 0.45rem;
}
.stages p {
  margin: 0.45rem 0 0;
  font-size: 0.97rem;
}
.stages .conditional {
  border-top-style: dashed;
  border-color: var(--warm);
}
.note {
  margin-top: 1rem;
  max-width: 74ch;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  border-top: 2px solid var(--ink);
  padding-block: 1.15rem 2rem;
}
.skip {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translateY(-110%);
  z-index: 2;
  background: var(--card);
  padding: 0.7rem;
}
.skip:focus {
  transform: none;
}
@media (max-width: 41rem) {
  .stages {
    grid-template-columns: 1fr;
  }
  .stages li {
    border-top: 0;
    border-left: 4px solid var(--cool);
  }
  .stages .conditional {
    border-left: 4px dashed var(--warm);
  }
  .chart-row {
    grid-template-columns: 6.3rem minmax(1rem, 1fr) 3.05rem;
    gap: 0.4rem;
    font-size: 0.88rem;
  }
  .ticks {
    margin-left: 6.7rem;
    margin-right: 3.45rem;
  }
  .mast time {
    font-size: 0.77rem;
  }
}
@media print {
  body {
    background: white;
    color: #14233a;
  }
  .shell {
    max-width: 100%;
    padding: 0;
  }
  .contents,
  .skip,
  footer,
  .source a::after {
    display: none;
  }
  header.intro {
    padding: 1rem 0;
  }
  h1 {
    font-size: 30pt;
  }
  h2 {
    font-size: 21pt;
  }
  article {
    padding: 1.1rem 0;
    break-inside: avoid;
  }
  .chart-row,
  .stages li,
  .track {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .stages {
    grid-template-columns: repeat(3, 1fr);
  }
}
header.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(13rem, 0.85fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: none;
}
.issue-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: var(--muted);
}
.issue-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.issue-cover figcaption {
  position: absolute;
  right: 0.45rem;
  bottom: 0.35rem;
  padding: 0.1rem 0.35rem;
  color: white;
  background: #14233adb;
  border-radius: 0.15rem;
  font:
    600 0.65rem/1.45 system-ui,
    sans-serif;
}
@media (max-width: 41rem) {
  header.intro {
    grid-template-columns: 1fr;
  }
  .issue-cover img {
    aspect-ratio: 2.9;
  }
}
@media print {
  .issue-cover {
    display: none;
  }
  header.intro {
    display: block;
  }
}
