:root {
  --paper: #f7f1e8;
  --panel: #fffaf2;
  --ink: #2b2118;
  --muted: #6b5b4b;
  --rust: #c2562f;
  --amber: #e0a03a;
  --action: #a33d24;
  --action-dark: #84311e;
  --strong-rule: #ac927b;
  --rule: #dfd1bf;
  --tint: #f4e6d6;
  --radius: 12px;
  --display: "Fraunces", Georgia, serif;
  --text: "Source Sans 3", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.58 var(--text); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
#main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.85rem,3.4vw,2.65rem); letter-spacing: -.035em; }
h3 { font-size: 1.32rem; letter-spacing: -.018em; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 8px 14px; transform: translateY(calc(-100% - 16px)); background: var(--panel); }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 72px; display: grid; grid-template-columns: minmax(max-content,.86fr) auto minmax(0,1.14fr); grid-template-areas: "brand navigation language"; align-items: center; gap: 16px; }
.masthead-inner > .brand { grid-area: brand; justify-self: start; }
.masthead .site-nav { grid-area: navigation; justify-content: center; }
.masthead-tools { grid-area: language; justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav-freshness { display: inline-flex; align-items: center; gap: .25em; color: var(--muted); font-size: .82rem; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav-freshness::before { content: ""; width: 10px; height: 10px; flex: none; margin-inline-end: .45em; border-radius: 50%; background: var(--amber); }
.nav-freshness[data-state="live"]::before { background: #177444; box-shadow: 0 0 0 3px rgb(23 116 68 / .18); }
@media (prefers-reduced-motion: no-preference) {
  .nav-freshness[data-state="live"]::before { animation: signal-pulse 2.2s ease-out infinite; }
}
.board-filter-select { display: none; }
.language-switch { position: relative; z-index: 6; }
@media (max-width: 560px), (min-width: 1024px) and (max-width: 1090px) {
  .masthead-tools { gap: 7px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .masthead .site-nav { column-gap: 14px; }
  .masthead-tools { gap: 16px; }
}
.language-switch summary { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--strong-rule); border-radius: 8px; background: var(--panel); color: var(--ink); cursor: pointer; list-style: none; font: 600 .94rem/1 var(--text); }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.language-switch[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.language-switch summary > svg { color: var(--action); }
.language-switch summary:hover, .language-switch summary:focus-visible, .language-switch[open] summary { background: var(--tint); color: var(--action-dark); border-color: var(--action); }
.language-options { position: absolute; inset: calc(100% + 5px) 0 auto auto; min-width: 11rem; padding: 4px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); box-shadow: 0 6px 16px rgb(43 33 24 / .14); }
.language-options a { display: flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 .65rem; white-space: nowrap; border-radius: 5px; color: var(--ink); text-decoration: none; }
.language-options a:hover, .language-options a:focus-visible { background: var(--tint); }
.language-options a[aria-current] { font-weight: 700; }
.language-options a[aria-current]::after { content: "✓"; margin-left: auto; color: var(--action-dark); }
.language-prompt { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.language-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(33 25 19 / .10);
  pointer-events: auto;
}
.language-prompt-panel {
  position: absolute;
  inset: auto 0 0;
  border: 1px solid var(--rule);
  border-block-end: 0;
  border-radius: 18px 18px 0 0;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 -5px 24px rgb(43 33 24 / .14);
  pointer-events: auto;
}
.language-prompt-content {
  max-block-size: calc(100vh - 24px);
  max-block-size: calc(100dvh - 24px);
  overflow-y: auto;
  border-radius: inherit;
  padding: 8px max(18px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}
.language-prompt-handle { inline-size: 34px; block-size: 4px; margin: 0 auto 14px; border-radius: 4px; background: var(--strong-rule); }
.language-prompt-heading { display: flex; align-items: flex-start; gap: 9px; padding-inline-end: 38px; }
.language-prompt-heading svg { flex: none; margin-block-start: 1px; color: var(--action); }
.language-prompt-heading .language-prompt-title { font-family: var(--display); font-weight: 600; }
.language-prompt-heading h2, .language-prompt-heading .language-prompt-title { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
#language-prompt-description { margin-block: 7px 13px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.language-prompt-close {
  position: absolute;
  inset-block-start: 9px;
  inset-inline-end: 7px;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.language-prompt-close:hover { background: var(--tint); color: var(--action-dark); }
.language-prompt-actions { display: grid; gap: 6px; }
.language-prompt-actions > * {
  display: grid;
  place-items: center;
  min-block-size: 44px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.language-prompt-confirm { background: var(--action); color: var(--panel); }
.language-prompt-confirm:hover { background: var(--action-dark); }
.language-prompt-keep { border-color: var(--rule); background: transparent; color: var(--ink); cursor: pointer; }
.language-prompt-keep:hover { background: var(--tint); }
@media (min-width: 768px) {
  .language-prompt-backdrop, .language-prompt-handle { display: none; }
  .language-prompt-panel {
    inset: 0 auto auto 0;
    inline-size: min(312px, calc(100% - 24px));
    border-block-end: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 7px 22px rgb(43 33 24 / .14);
    transform: translate(var(--language-prompt-x), var(--language-prompt-y));
  }
  .language-prompt[data-anchored] .language-prompt-panel::before {
    content: "";
    position: absolute;
    inset-block-start: -5px;
    inset-inline-start: calc(var(--language-prompt-arrow) - 5px);
    inline-size: 10px;
    block-size: 10px;
    border: solid var(--rule);
    border-width: 1px 0 0 1px;
    background: var(--panel);
    transform: rotate(45deg);
  }
  .language-prompt-content { padding: 15px 14px 13px; }
  .language-prompt-close { inset-block-start: 4px; inset-inline-end: 4px; }
  .language-prompt-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .language-prompt-backdrop { animation: language-prompt-fade 160ms ease-out; }
  .language-prompt-panel { animation: language-prompt-slide 230ms cubic-bezier(.2,.7,.35,1); }
  @media (min-width: 768px) {
    .language-prompt-panel { animation: language-prompt-enter 160ms ease-out; }
  }
}
@keyframes language-prompt-fade { from { opacity: 0; } }
@keyframes language-prompt-slide { from { transform: translateY(100%); } }
@keyframes language-prompt-enter {
  from { opacity: 0; transform: translate(var(--language-prompt-x), calc(var(--language-prompt-y) - 6px)); }
}
@media (max-width: 1023px) {
  .masthead-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand language" "navigation navigation"; gap: 2px 10px; padding-top: 8px; }
  .masthead .site-nav { justify-self: stretch; }
  .language-switch summary { min-height: 40px; }
}
.brand { flex: 0 0 auto; display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font: 700 1.42rem/1 var(--display); letter-spacing: -.045em; }
.brand b { font-weight: 700; color: var(--action); }
.signal-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.site-nav a, .footer-links a { color: var(--muted); font-size: 1rem; font-weight: 600; text-decoration: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:hover, .footer-links a:hover, .site-nav a[aria-current="page"] { color: var(--action); text-decoration: underline; text-underline-offset: 6px; }

.nav-guides { position: relative; }
.nav-guides > summary {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  color: var(--muted); font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none;
}
.nav-guides > summary::-webkit-details-marker { display: none; }
.nav-guides > summary::after {
  content: ""; width: .42em; height: .42em;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12em) rotate(45deg);
}
.nav-guides[open] > summary::after { transform: translateY(.1em) rotate(225deg); }
.nav-guides > summary:hover, .nav-guides[open] > summary,
.nav-guides:has(a[aria-current="page"]) > summary { color: var(--action); text-decoration: underline; text-underline-offset: 6px; }
.guide-menu {
  position: absolute; z-index: 4; inset-inline-end: 0; top: 100%; min-width: 11rem;
  padding: .3rem; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--panel); box-shadow: 0 6px 16px rgb(43 33 24 / .12);
}
.site-nav .guide-menu a { display: flex; padding-inline: .75rem; border-radius: 4px; }
.site-nav .guide-menu a:hover, .site-nav .guide-menu a:focus-visible { background: var(--tint); }
.hero-copy > .sync-label { display: flex; min-block-size: 1.5em; margin-block-end: .75rem; }
.mobile-menu-toggle, .nav-drawer:not([open]) { display: none; }
.prose { overflow-wrap: anywhere; }

@media (max-width: 1023px) {
  .masthead-inner.has-mobile-menu {
    min-height: 60px; padding-block: 7px; gap: 0 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand language toggle";
  }
  .has-mobile-menu .mobile-menu-toggle, .drawer-close {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--strong-rule); border-radius: 8px; background: var(--panel); color: var(--ink); cursor: pointer;
  }
  .has-mobile-menu .mobile-menu-toggle { grid-area: toggle; }
  html:has(.nav-drawer[open]) { overflow: hidden; }
  .nav-drawer {
    position: fixed; inset: 0 0 0 auto; margin: 0; width: min(85vw, 22rem); max-width: 100%;
    height: 100%; height: 100dvh; max-height: none; overflow: auto; overscroll-behavior: contain;
    padding: max(8px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) 18px;
    border: 0; border-inline-start: 1px solid var(--rule); color: var(--ink); background: var(--paper);
    box-shadow: -8px 0 32px rgb(43 33 24 / .12); transform: translateX(100%);
  }
  .nav-drawer[open] { transform: translateX(0); }
  .nav-drawer::backdrop { background: rgb(33 25 19 / .38); }
  .drawer-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
  .drawer-heading h2, .drawer-heading .drawer-title { margin: 0; font: 700 1.4rem/1.2 var(--display); }
  .nav-drawer .site-nav { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 8px; }
  .nav-drawer .site-nav > * { justify-self: stretch; }
  .nav-drawer .site-nav > a, .nav-drawer .nav-guides > summary { min-height: 44px; padding-inline: 8px; font-size: 1rem; }
  .nav-drawer .nav-guides > summary { justify-content: space-between; }
  .nav-drawer .guide-menu, .nav-drawer .language-options { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
  .nav-drawer .language-switch { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .nav-drawer .language-switch summary { min-height: 44px; padding-inline: 12px; font-size: 1rem; }
  .nav-drawer .language-switch summary > svg { display: block; }
   .nav-drawer .language-switch summary { width: fit-content; gap: 8px; }
  .nav-drawer .language-options { width: max-content; max-width: 100%; }
  .drawer-guide-group { padding-top: 6px; }
  .drawer-guide-group > span { display: block; padding-inline: 8px; color: var(--muted); font-size: 1rem; font-weight: 600; }
  .nav-drawer .drawer-guide-group .guide-menu { margin: 4px 0 4px 12px; padding: 0 0 0 8px; background: transparent; border: 0; border-inline-start: 2px solid var(--rule); border-radius: 0; }
  .nav-drawer .drawer-guide-group .guide-menu a { font-size: .95rem; }
  .has-mobile-menu .nav-freshness { white-space: normal; }
  .masthead-inner.has-mobile-menu { grid-template-columns: auto minmax(0, 1fr) auto; }
  .has-mobile-menu .masthead-tools { min-width: 0; max-width: 100%; }
  .hero-copy > .sync-label::before { content: none; }
  .hero-copy > .sync-label[data-sync-state="live"] { column-gap: .5rem; }
  .hero-copy > .sync-label[data-sync-state="live"]::before {
    content: ""; align-self: center; flex: 0 0 7px; width: 7px; height: 7px;
    background: #177444; box-shadow: none; animation: none;
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .nav-drawer { transition: transform .23s ease-out, display .23s allow-discrete, overlay .23s allow-discrete; }
  @starting-style { .nav-drawer[open] { transform: translateX(100%); } }
}
@media (min-width: 1024px) and (max-width: 1060px) {
  .masthead .site-nav { column-gap: 10px; }
  .masthead-tools { gap: 10px; }
}
@media (max-width: 389px) {
  .masthead-inner.has-mobile-menu { column-gap: 6px; }
  .masthead-inner.has-mobile-menu > .brand { font-size: 1rem; gap: 5px; }
}
@media (max-width: 525px) {
  .has-mobile-menu .brand { white-space: nowrap; font-size: 1.07rem; gap: 6px; }
}
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); align-items: center; gap: clamp(28px,5vw,64px); padding-block: 48px 54px; }
.dateline, .eyebrow, .guide-label, .board-columns { font-family: var(--text); font-size: .79rem; font-weight: 700; line-height: 1.35; letter-spacing: .105em; text-transform: uppercase; }
.dateline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; color: var(--muted); margin-bottom: 20px; }
.dateline time { white-space: nowrap; }
.signal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); vertical-align: .05em; }
.eyebrow { display: block; color: var(--action); }
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: min(7.05cqi, 3.5rem); letter-spacing: -.045em; line-height: 1.08; }
.hero-topic { display: block; }
.hero-topic + .hero-topic { margin-block-start: .18em; }

.hero-game { color: var(--action); }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.15rem; }
.sync-label { display: inline-flex; align-items: baseline; gap: .5rem; margin: 0; color: var(--muted); font: 600 .9rem/1.5 var(--text); }
.sync-label::before { content: ""; align-self: baseline; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.sync-label[data-sync-state="live"] { column-gap: .8rem; }
.sync-label[data-sync-state="live"]::before {
  --sync-green: 23 116 68;
  flex-basis: 10px; width: 10px; height: 10px;
  background: rgb(var(--sync-green)); box-shadow: 0 0 0 2px rgb(var(--sync-green) / .22);
}
@media (prefers-reduced-motion: no-preference) {
  .sync-label[data-sync-state="live"]::before { animation: signal-pulse 1.8s ease-out infinite; }
  @keyframes signal-pulse {
    0% { box-shadow: 0 0 0 1px rgb(var(--sync-green, 23 116 68) / .60); }
    55% { box-shadow: 0 0 0 6px rgb(var(--sync-green, 23 116 68) / .28); }
    90%, 100% { box-shadow: 0 0 0 9px rgb(var(--sync-green, 23 116 68) / 0); }
  }
}
.telemetry { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.35fr); margin: 16px 0; border-block: 1px solid var(--rule); background: var(--panel); }
.telemetry > div { padding: 12px clamp(10px,2vw,22px); }
.telemetry > div + div { border-inline-start: 1px solid var(--rule); }
.telemetry dt { color: var(--muted); font-size: .87rem; font-weight: 600; }
.telemetry dd { margin: .25rem 0 0; font: 600 clamp(1.3rem,2.2vw,1.85rem)/1.12 var(--display); }
.telemetry [data-metric="highest"] { color: var(--action-dark); font-size: clamp(1.1rem,1.8vw,1.45rem); }
.board-count { color: var(--muted); font-size: .9rem; }
.tech-drawer { margin-top: .7rem; font-size: .94rem; }
.tech-drawer summary { color: var(--action); font-weight: 600; cursor: pointer; width: fit-content; padding-block: .22rem; }
.tech-body { margin-top: .4rem; padding: .5rem .8rem; border-inline-start: 2px solid var(--amber); background: var(--paper); overflow-wrap: anywhere; }
.tech-body dl, .tech-body dd { margin: 0; }
.tech-body dt, .tech-body > p { margin: .45rem 0 .1rem; font-weight: 700; }
.tech-body ul { margin: 0; padding-inline-start: 1.1rem; }
.project-identity h3 { overflow-wrap: anywhere; }
.repo-health { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.show-projects { display: block; margin: .5rem auto 1rem; padding: .5rem 1rem; border: 1px solid var(--strong-rule); border-radius: 6px; color: var(--action-dark); background: var(--panel); font: 600 1rem var(--text); cursor: pointer; }
.show-projects:hover { background: var(--tint); }
@media (max-width: 620px) {
  .telemetry { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .telemetry > div:nth-child(3) { border-inline-start: 0; }
  .telemetry > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.hero-intro { max-width: 46ch; margin-top: 20px; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.23rem); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; font: 700 1rem/1.2 var(--text); text-decoration: none; }
.button-primary { color: var(--panel); background: var(--action); }
.button-primary:hover { background: var(--action-dark); }
.button-outline { color: var(--ink); border-color: var(--strong-rule); background: transparent; }
.button-outline:hover { background: var(--tint); }
.quiet-link { display: inline-block; margin-top: 15px; font-size: .93rem; font-weight: 600; }
.hero-figure { min-width: 0; }
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); aspect-ratio: 16 / 9; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { padding-top: 9px; color: var(--muted); font-family: var(--text); font-size: .8rem; font-weight: 400; line-height: 1.35; letter-spacing: .045em; text-transform: uppercase; }

.project-board { padding-block: 27px 8px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.board-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 30px; margin-bottom: 18px; }
.board-heading h2 { margin-top: 5px; }
.board-heading h2:has(.board-heading-phrase) { text-wrap: balance; }
.board-heading-phrase { white-space: nowrap; }
.board-heading p { max-width: 42ch; color: var(--muted); line-height: 1.44; }
.board-shell { overflow: clip; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.board-tools { min-height: 62px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 7px 16px; }
.board-tools:not(:has(button:not([hidden]))) { display: none; }
.board-filters { display: flex; gap: 2px 3px; flex-wrap: wrap; align-items: center; }
.board-filters button, .source-button { cursor: pointer; min-height: 44px; padding: 5px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: .94rem; font-weight: 700; }
.board-filters button { color: var(--muted); }
@media (max-width: 600px) {
  .board-filters button { display: none; }
  .board-filter-select { display: block; min-height: 44px; max-width: 100%; padding: .35rem .45rem; border: 1px solid var(--strong-rule); border-radius: 7px; background: var(--panel); color: var(--ink); font: 600 1rem/1.3 var(--text); cursor: pointer; }
  .board-tools { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; }
  .board-count { text-align: end; line-height: 1.3; }
}
.board-filters button:hover, .board-filters button[aria-pressed="true"] { color: var(--ink); background: var(--tint); }
.source-button { display: inline-flex; align-items: center; gap: 7px; color: var(--action); }
.source-button:hover { background: var(--tint); }
.source-button:disabled { cursor: wait; opacity: .72; }
.board-columns, .project-row { display: grid; grid-template-columns: minmax(150px,.9fr) minmax(0,1.9fr) minmax(155px,.88fr); gap: 24px; padding-inline: 22px; }
.board-columns { padding-block: 10px; border-block: 1px solid var(--rule); background: var(--paper); color: var(--muted); }
.project-list { margin: 0; padding: 0; list-style: none; }
.project-row { padding-block: 17px; align-items: start; }
.project-row + .project-row { border-top: 1px solid var(--rule); }
.project-identity p { font-size: .91rem; color: var(--muted); margin-top: 3px; }
.project-evidence p { font-size: .99rem; line-height: 1.44; }
.project-evidence strong { font-weight: 700; }
.claim-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; margin-bottom: .35rem; }
.claim-label { padding: .05rem .45rem; border: 1px solid var(--rule); border-radius: 4px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.evidence-meta { display: flex; flex-wrap: wrap; gap: 3px 11px; align-items: baseline; margin-top: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.evidence-meta time::before { content: "·"; padding-right: 9px; }
.project-evidence .feed-result { margin-top: 7px; color: var(--muted); font-size: .89rem; }
.source-summary a, .ja-provenance a { color: inherit; }
.source-summary a { display: inline-block; margin-top: 4px; font-weight: 700; }
.project-state { min-width: 0; padding-top: 2px; }
.state-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--amber) 55%, var(--rule)); border-radius: 6px; background: color-mix(in srgb, var(--amber) 18%, var(--panel)); color: var(--ink); font-size: .88rem; font-weight: 700; line-height: 1.25; }
.state-pill span { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-category="private"] .state-pill { color: var(--muted); background: var(--paper); border-color: var(--rule); }
[data-category="removed"] .state-pill { color: var(--action); background: var(--tint); border-color: var(--rule); }
.live-result { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.source-summary { border-top: 1px solid var(--rule); padding: 10px 22px; color: var(--muted); font-size: .89rem; }

.field-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 45px 0 55px; }
.guide { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px,3.4vw,34px); border-radius: var(--radius); }
.guide-record { border: 1px solid var(--rule); background: var(--tint); }
.guide-scam { background: var(--ink); color: var(--panel); }
.guide-label { display: flex; gap: 8px; align-items: center; color: var(--action); }
.guide-scam .guide-label, .guide-scam .text-link { color: var(--amber); }
.guide-scam a:focus-visible { outline-color: var(--amber); }
.guide-symbol { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; line-height: 1; }
.guide h2 { font-size: clamp(1.6rem,2.75vw,2.2rem); margin-top: 12px; letter-spacing: -.032em; }
.guide > p:not(.guide-label) { max-width: 44ch; margin: 10px 0 16px; line-height: 1.52; }
.guide-scam > p:not(.guide-label) { color: var(--tint); }
.text-link { display: inline-block; max-width: 100%; font-weight: 700; }
.guide .text-link { margin-top: auto; }
.text-link span, .quiet-link span { margin-left: 3px; }

.reading-section { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); gap: 18px clamp(30px,7vw,90px); padding: 32px 0; border-block: 1px solid var(--rule); }
.reading-section h2 { margin-top: 8px; }
.reading-copy p { margin-bottom: 12px; color: var(--muted); max-width: 65ch; }
.faq-section { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); gap: 12px clamp(30px,7vw,90px); padding-block: 42px 62px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; padding-block: 10px; list-style: none; cursor: pointer; font-weight: 700; line-height: 1.38; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 18px; color: var(--action); text-align: center; font-size: 1.25rem; line-height: 1; }
.faq-list summary span::before { content: "+"; }
.faq-list details[open] summary span::before { content: "−"; }
.faq-list details p { color: var(--muted); padding: 0 24px 13px 0; }

.site-footer { margin-top: auto; border-top: 1px solid var(--rule); background: var(--tint); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: start; gap: clamp(24px, 5vw, 80px); padding-block: 34px 38px; }
.footer-brand { font-size: 1.18rem; }
.footer-brand .signal-mark { width: 30px; height: 30px; flex-basis: 30px; }
.footer-inner .legal-note { max-width: 52ch; margin-top: 10px; }
.footer-inner .legal-note, .footer-inner nav a {
  font-size: .94rem;
  font-weight: 400;
  color: var(--muted);
}
.footer-links { display: grid; grid-template-columns: 1fr .9fr 1.35fr; align-items: start; gap: clamp(16px, 2.5vw, 40px); }
.footer-group { display: grid; justify-items: start; align-content: start; }
.footer-group-label { margin: 0 0 8px; color: var(--muted); font: 700 .79rem/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a, .site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--muted); }
.footer-group a { display: block; padding-block: 3px; line-height: 1.35; }
@media (max-width: 699px) {
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 26px 30px; }
  .footer-links { border-top: 1px solid var(--rule); padding-top: 18px; }
  .footer-group a { padding-block: 6px; }
}
@media (max-width: 439px) {
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-information { grid-column: 1 / -1; }
}

.article-shell { padding-block: 32px 60px; }
.article-narrow { width: min(100%, 720px); margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-bottom: 27px; color: var(--muted); font-size: .93rem; }
.article-head { border-top: 2px solid var(--rust); padding-top: 19px; margin-bottom: 24px; }
.article-head h1, .not-found h1 { font-size: clamp(2.35rem,5vw,3.65rem); letter-spacing: -.052em; margin-top: 8px; }
@media (max-width: 600px) {
  html[lang="pt-BR"] .project-report > .article-head h1 {
    font-size: clamp(1.85rem, 8.75vw, 2.35rem);
    line-height: 1.08;
  }
}
.article-lede { margin-top: 15px; font-size: clamp(1.13rem,2.25vw,1.36rem); line-height: 1.48; color: var(--muted); max-width: 56ch; }
.article-shell .project-board { margin-block: 32px; }
.prose { font-size: 1.1rem; line-height: 1.62; }
.prose h2 { font-size: clamp(1.58rem,3vw,2.05rem); margin: 1.32em 0 .46em; }
.prose h3 { margin: 1em 0 .38em; }
.prose p { margin-bottom: .82em; }
.prose li + li { margin-top: .36em; }
.prose ul, .prose ol { padding-left: 24px; margin: .3em 0 1em; }
.prose a, .related a { overflow-wrap: anywhere; }
.prose blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--rust); background: var(--panel); }
.prose blockquote p:last-child { margin-bottom: 0; }
.related { display: grid; gap: 8px; border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 18px; }
.related h2 { font-size: 1.44rem; }
.related a { font-weight: 700; }

.project-report { max-width: 1000px; }
.project-report > .article-narrow { width: 100%; margin-inline: 0; }
.project-report > .article-head { margin-bottom: 0; }
.project-report .article-lede { max-width: 72ch; text-wrap: pretty; }
.project-report > .prose { max-width: 84ch; }
.project-report > .prose > h2:first-child { margin-top: 0; }

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 40px; }
  .project-report:has(> .related):not(:has(> .faq-section)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 32px;
  }
  .project-report > :is(.breadcrumb, .article-head, .project-board) { grid-column: 1 / -1; }
  .project-report:not(:has(> .faq-section)) > .related {
    align-self: start;
    margin-top: 0;
    padding-block-start: 0;
    padding-inline-start: 18px;
    border-top: 0;
    border-inline-start: 1px solid var(--rule);
  }
}
.contact-email-card {
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
}
.contact-email-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.contact-email-actions p { min-width: 0; margin: 0; }
.contact-email-actions a { font-weight: 700; }
.contact-email-actions button { min-width: 7rem; cursor: pointer; }
.contact-email-card .contact-response { margin: .7rem 0 0; color: var(--muted); }
.contact-email-card .contact-copy-status:not(.sr-only) { margin: .5rem 0 0; color: var(--muted); }
.correction-form { padding: 20px 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.correction-form h2 { margin-top: 0; }
.correction-form form { display: grid; gap: 8px; }
.correction-form label { font-weight: 700; }
.correction-form label span { color: var(--muted); font-weight: 400; }
.correction-form input, .correction-form textarea { color: var(--ink); background: var(--panel); width: 100%; min-height: 44px; border: 1px solid var(--strong-rule); border-radius: 7px; padding: 8px 12px; }
.correction-form textarea { resize: vertical; }
.correction-form button { justify-self: start; cursor: pointer; margin-top: 5px; }
.correction-form .form-status { margin: 0; color: var(--muted); }
.tip { border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 15px; }
.tip time { color: var(--muted); font-size: .9rem; }
.not-found { padding-block: 60px; }
.not-found p:not(.eyebrow) { margin: 14px 0; }

@media (max-width: 890px) {
  .hero { gap: 26px; }
  .board-columns, .project-row { gap: 16px; padding-inline: 16px; grid-template-columns: minmax(120px,.85fr) minmax(0,1.7fr) minmax(136px,.85fr); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .masthead-inner { gap: 4px 20px; }
  .site-nav { gap: 2px 16px; }
  .hero { grid-template-columns: 1fr; padding-block: 28px 29px; gap: 23px; }
  .hero-figure figcaption { letter-spacing: normal; }
  .dateline { margin-bottom: 16px; }
  .board-heading { align-items: start; }
  .board-columns { display: none; }
  .board-tools { border-bottom: 1px solid var(--rule); padding-inline: 8px; }
  .project-row { grid-template-columns: minmax(0,1fr) minmax(116px,auto); gap: 9px 11px; }
  .project-evidence { grid-row: 2; grid-column: 1 / -1; }
  .project-evidence :is(.project-source-links, .project-action-links) {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-block-start: 6px;
  }
  :is(.project-source-links, .project-action-links) > span { display: none; }
  :is(.project-source-links, .project-action-links) > a, .tech-body > ul > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 5px 8px;
    overflow-wrap: anywhere;
  }
  .project-action-links > a { border-radius: 6px; background: var(--paper); }
  .tech-drawer > summary { width: 100%; min-height: 44px; padding-block: 10px; }
  .tech-body > ul > li + li { margin-block-start: 6px; }
  .project-state { grid-row: 1; grid-column: 2; text-align: right; }
  .field-guides { margin-block: 34px 40px; }
  .reading-section, .faq-section { grid-template-columns: 1fr; }
  .faq-section { padding-block: 30px 44px; }
}
@media (max-width: 525px) {
  .masthead .signal-mark { width: 33px; height: 33px; flex-basis: 33px; }
  .site-nav { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .site-nav > * { justify-self: center; }
  .site-nav a, .nav-guides > summary { font-size: .93rem; }
  .hero-actions > a { flex: 1 1 100%; justify-content: space-between; }
  .field-guides { grid-template-columns: 1fr; }
  .board-filters button, .source-button { padding-inline: 8px; }
  .article-shell { padding-block: 22px 45px; }
  .correction-form { padding-inline: 15px; }
}
@media (max-width: 429px) {
  .masthead-inner { grid-template-columns: minmax(0,1fr) auto; column-gap: 6px; }
  .masthead .brand { font-size: 1.07rem; gap: 6px; }
  .masthead .signal-mark { width: 27px; height: 27px; flex-basis: 27px; }
  .language-switch summary { padding-inline: 8px; gap: 5px; font-size: .87rem; }
}
@media (max-width: 359px) {
  .site-nav a, .nav-guides > summary { font-size: .85rem; }
  .wrap { width: calc(100% - 26px); }
  .state-pill { padding-inline: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .board-filters button, .source-button { transition: background-color .17s ease, color .17s ease; }
}


.hero-verdict { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .38em .8em; border: 1px solid var(--strong-rule); border-radius: 2em; background: var(--tint); color: var(--action-dark); font-weight: 700; }
.legal-note { max-width: 68ch; }
.stage-meter { margin-top: .85rem; }
.project-evidence .stage-caption { margin: 0 0 .35rem; color: var(--ink); font-size: .87rem; font-weight: 700; }
.stage-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.stage-steps li { border-top: 4px solid var(--rule); padding-top: .25rem; color: var(--muted); font-size: .76rem; line-height: 1.15; }
.stage-steps li.done { border-color: var(--amber); }
.stage-steps li.active { border-color: var(--action); color: var(--action-dark); font-weight: 700; }
.recent-updates { margin-block: 2.25rem; }
.recent-updates h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 0 0 .75rem; }
.recent-updates ol { list-style: none; margin: 0; padding: 0; }
.recent-updates li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--rule); }
.recent-updates time { color: var(--muted); font-variant-numeric: tabular-nums; }
.recent-updates a { color: var(--action-dark); text-underline-offset: .15em; }
@media (max-width: 480px) {
  .recent-updates li { grid-template-columns: 1fr; gap: .1rem; }
  .stage-steps { gap: 3px; }
  .stage-steps li { font-size: .72rem; }
}


.milestone-alert { display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(18px,4vw,54px); align-items:center; margin:20px 0 32px; padding:clamp(18px,3vw,30px); border-left:5px solid var(--amber); border-radius:var(--radius); color:var(--panel); background:var(--ink); }
.milestone-alert h2,.latest-guides h2 { margin:0 0 .5rem; font-size:clamp(1.5rem,3vw,2rem); }
.milestone-alert p { margin:0; max-width:50ch; }
.milestone-alert label { display:block; margin-bottom:.3rem; font-weight:700; }
.alert-fields { display:flex; gap:.5rem; }
@media (max-width: 480px) {
  html[lang="pt-BR"] .alert-fields { display: grid; grid-template-columns: minmax(0, 1fr); }
}
.alert-fields input,.alert-fields button { min-height:44px; border-radius:6px; padding:.55rem .75rem; font:inherit; }
.alert-fields input { min-width:0; flex:1; border:1px solid var(--strong-rule); color:var(--ink); background:var(--panel); }
.alert-fields button { border:0; background:var(--amber); color:var(--ink); font-weight:700; cursor:pointer; }
.milestone-alert .alert-help,.milestone-alert [role=status] { margin-top:.45rem; font-size:.9rem; }
.milestone-alert a { color:var(--panel); }
.milestone-alert .milestone-report { justify-self:start; padding:.65rem 0; font-weight:700; text-underline-offset:.22em; }
.milestone-alert :focus-visible { outline:3px solid var(--amber); outline-offset:3px; }
.scam-patterns { margin:.8rem 0 1.15rem; padding-inline-start:1.12rem; }
.scam-patterns li + li { margin-top:.55rem; }
.scam-patterns strong { color:var(--amber); font-size:.81em; letter-spacing:.04em; margin-right:.25em; }
.latest-guides { margin-bottom:clamp(32px,5vw,60px); }
.latest-guides ul { list-style:none; padding:0; margin:1rem 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.latest-guides li { display:flex; }
.latest-guides a { display:block; width:100%; padding:1rem 1.15rem; border:1px solid var(--rule); border-radius:var(--radius); color:var(--ink); background:var(--panel); text-decoration:none; }
.latest-guides h3 { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem; margin:0; font-size:1.2rem; }
.latest-guides h3 span { color:var(--action); }
.latest-guides p { color:var(--muted); margin:.35rem 0 0; }
.latest-guides a:hover h3,.latest-guides a:focus-visible h3 { color:var(--action-dark); text-decoration:underline; }
@media (max-width:680px) { .milestone-alert { grid-template-columns:minmax(0,1fr); } .latest-guides ul { grid-template-columns:1fr; } }


.tracker-notes { margin-block: 2rem; }
.tracker-notes .guide-record { padding: 1.25rem 1.5rem; }
.tracker-notes .guide-record > p { max-width: 78ch; }
.safety-notice { margin-top: 1rem; padding: .7rem 1rem; background: var(--panel); border-inline-start: 3px solid var(--amber); }
.safety-notice strong { color: var(--action-dark); }
.safety-notice p { margin: .15rem 0 0; }
.safety-notice a { color: var(--action-dark); }

.edition-links { display:flex; flex-wrap:wrap; gap:1rem; margin-block:.75rem; }
.edition-links [aria-current] { text-decoration-style: double; }
.br-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; margin-top:1rem; }
.br-shortcuts a { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.6rem .8rem; border:1px solid var(--rule); border-radius:var(--radius); background:var(--panel); font-weight:600; }
.br-table { width:100%; border-collapse:collapse; font-size:1rem; }
.br-table caption { text-align:left; color:var(--muted); padding:.4rem 0; }
.br-table :is(th,td) { text-align:left; vertical-align:top; border-bottom:1px solid var(--rule); padding:.7rem .5rem; }
.br-table thead { background:var(--tint); }
.br-table td p { margin:.3rem 0; }
@media (max-width:520px) { .br-shortcuts { grid-template-columns:1fr; } .br-shortcuts a { min-height:44px; } }

html[lang="pt-BR"] .stage-steps { grid-template-columns: minmax(0,1.2fr) minmax(0,.65fr) minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.95fr); }
html[lang="pt-BR"] .stage-steps li { hyphens: auto; overflow-wrap: anywhere; }


@media (max-width: 359px) {
  .masthead .brand { font-size: 1rem; gap: 4px; }
  .language-switch summary { padding-inline: 6px; }
  .language-switch summary > svg { display: none; }
}


.news-index .news-entry { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.news-entry .eyebrow, .news-entry h3 { margin: 0 0 .45rem; }
.news-facts { margin-top: 1rem; }
.news-facts p { margin: .45rem 0; }
.news-facts a { overflow-wrap: anywhere; }

@media (min-width: 1024px) {
  .masthead { position: sticky; top: 0; z-index: 10; background: var(--paper); }
  html { scroll-padding-top: calc(var(--masthead-height, 72px) + 16px); }
  .skip { z-index: 12; }
}
.back-to-top {
  position: fixed; z-index: 3;
  inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%;
  color: var(--ink); background: var(--panel, #fff); box-shadow: 0 2px 8px #0002;
  font: 24px/1 var(--text); cursor: pointer;
}
.back-to-top[hidden] { display: none; }
@media print { .back-to-top { display: none; } .masthead { position: static; } }


/* Give the board introduction its own column, including on longer translations. */
.board-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: end;
  gap: .65rem clamp(24px, 5vw, 72px);
}
.board-heading p { max-width: 62ch; line-height: 1.6; }
@media (min-width: 1200px) {
  .project-report:lang(es) > .project-board > .board-heading {
    grid-template-columns: fit-content(55%) minmax(0, 1fr);
  }
}
@media (max-width: 850px) {
  .board-heading { grid-template-columns: minmax(0, 1fr); }
}

/* Chinese edition — warm paper, ink panels and the amber of the masthead mark. */
html:lang(zh) {
  --highlight: color-mix(in srgb, var(--amber) 70%, var(--panel));
  --text: "Source Sans 3", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: "Fraunces", "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
}
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { line-break: strict; text-wrap: balance; }
html:lang(zh) :is(.brand, .project-identity h3) { letter-spacing: -.025em; }
html:lang(zh) .eyebrow { letter-spacing: .07em; }
html:lang(zh) .masthead { background: var(--panel); }
html:lang(zh) .article-shell {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding-block: 22px clamp(36px, 5vw, 70px);
}
html:lang(zh) .article-shell > .article-narrow { width: 100%; margin-inline: 0; }
html:lang(zh) .breadcrumb { font-size: .875rem; margin-bottom: 18px; }
html:lang(zh) .article-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(23px, 3.5vw, 48px);
  margin: 0;
  border: 0;
  border-radius: 5px;
  color: var(--panel);
  background: var(--ink);
}
html:lang(zh) .article-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 34%;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0, transparent 0 23px, color-mix(in srgb, var(--amber) 15%, transparent) 24px, transparent 25px 49px);
  mask-image: linear-gradient(90deg, transparent, black);
}
html:lang(zh) .article-head > .sync-label { color: var(--rule); }
html:lang(zh) .article-head > .sync-label[data-sync-state="live"]::before { --sync-green: 90 198 142; }
html:lang(zh) .article-head .eyebrow { color: var(--amber); display: flex; flex-wrap: wrap; align-items: center; gap: .4em; }
html:lang(zh) .article-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
html:lang(zh) .article-head h1 {
  font-size: clamp(1.75rem, 3.7vw, 3rem);
  letter-spacing: .005em;
  line-height: 1.28;
  margin: .33em 0 0;
}
html:lang(zh) .article-lede {
  max-width: 47em;
  margin-top: 14px;
  color: var(--rule);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.82;
  text-wrap: pretty;
}
html:lang(zh) .article-head a { color: var(--highlight); }
html:lang(zh) .article-head :focus-visible { outline-color: var(--highlight); }
html:lang(zh) .article-shell > .prose {
  min-width: 0;
  max-width: 46rem;
  padding-top: clamp(26px, 3vw, 42px);
  font-size: 1.025rem;
  line-height: 1.92;
}
html:lang(zh) .prose h2 {
  margin: 1.6em 0 .55em;
  padding-top: 1.15em;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  letter-spacing: .012em;
  line-height: 1.45;
}
html:lang(zh) .prose > h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
html:lang(zh) .prose p { margin-bottom: .85em; }
html:lang(zh) .prose > p:has(> .quiet-link) { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
html:lang(zh) .prose .quiet-link { margin: 0; }
html:lang(zh) .prose li { padding-inline-start: .2em; }
html:lang(zh) .prose li::marker { color: var(--action); }
html:lang(zh) .faq-section {
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  padding-block: 28px 10px;
}
html:lang(zh) .faq-list details { background: var(--panel); padding-inline: clamp(14px, 2vw, 24px); }
html:lang(zh) .faq-list summary { min-height: 54px; line-height: 1.6; }
html:lang(zh) .faq-list summary span {
  flex: 0 0 24px; height: 24px; display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 50%; font-family: var(--text);
}
html:lang(zh) .faq-list details[open] summary { color: var(--action-dark); }
html:lang(zh) .faq-list details p { line-height: 1.82; padding-bottom: 18px; }
html:lang(zh) .related {
  align-content: start; gap: 0;
  padding: 16px 0 0; margin-top: 24px; border-top: 2px solid var(--ink);
}
html:lang(zh) .related h2 { margin-bottom: 10px; line-height: 1.4; font-size: 1.15rem; }
html:lang(zh) .related a { padding-block: 12px; border-bottom: 1px solid var(--rule); font-size: .94rem; }
html:lang(zh) :is(.faq-section, .board-heading, .reading-section) h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem); letter-spacing: .01em; line-height: 1.36;
}
html:lang(zh) .article-shell:not(.project-report) { max-width: 46rem; }
@media (min-width: 960px) {
  html:lang(zh) .project-report {
    grid-template-columns: minmax(0, 46rem) minmax(12rem, 1fr);
    column-gap: clamp(48px, 6vw, 88px);
  }
  html:lang(zh) .project-report > :is(.article-head, .breadcrumb, .project-board) { grid-column: 1 / -1; }
  html:lang(zh) .project-report > :is(.prose, .faq-section) { grid-column: 1; }
  html:lang(zh) .project-report > .related {
    grid-column: 2; grid-row: 4 / span 2;
    position: sticky; top: calc(var(--masthead-height, 72px) + 24px);
    margin-top: clamp(26px, 3vw, 42px);
  }
}
html:lang(zh) .hero { padding-block: clamp(26px, 4vw, 52px); }
html:lang(zh) .hero h1 { font-size: clamp(1.6rem, 8cqi, 2.75rem); line-height: 1.28; letter-spacing: .005em; }
html:lang(zh) .hero-topic + .hero-topic { margin-top: .1em; }
html:lang(zh) .hero-intro { max-width: 36em; margin-top: 16px; font-size: 1.04rem; line-height: 1.82; }
html:lang(zh) .hero-intro > strong { color: var(--ink); }
html:lang(zh) .hero-media { border-radius: 5px; }
html:lang(zh) .hero-figure figcaption { text-align: end; font-size: .8rem; }
html:lang(zh) .project-board { padding-block-start: 24px; border-top: 2px solid var(--ink); }
html:lang(zh) .project-report .project-board { margin-block: 26px 0; }
html:lang(zh) .board-heading { margin-bottom: 14px; }
html:lang(zh) .board-heading p { max-width: 36em; font-size: .99rem; line-height: 1.75; }
html:lang(zh) .telemetry {
  border: 1px solid var(--ink); border-radius: 5px;
  background: var(--ink); color: var(--panel); margin: 14px 0 0;
}
html:lang(zh) .telemetry > div { padding: 14px clamp(12px, 2vw, 24px); border-color: color-mix(in srgb, var(--rule) 27%, var(--ink)); }
html:lang(zh) .telemetry dt, html:lang(zh) .telemetry dt a { color: var(--rule); }
html:lang(zh) .telemetry dd { font-variant-numeric: lining-nums tabular-nums; }
html:lang(zh) .telemetry [data-metric="highest"] { color: var(--highlight); line-height: 1.3; }
html:lang(zh) .telemetry :focus-visible { outline-color: var(--highlight); }
html:lang(zh) .project-board > .source-summary { padding: 12px 0; border: 0; line-height: 1.65; }
html:lang(zh) .board-shell { border-radius: 5px; }
html:lang(zh) .project-evidence p { line-height: 1.68; }
html:lang(zh) .project-row { padding-block: 20px; }
html:lang(zh) .reading-section { align-items: start; }
html:lang(zh) .site-footer .legal-note { max-width: 32em; line-height: 1.75; }
@media (max-width: 720px) {
  html:lang(zh) .article-shell { padding-top: 16px; }
  html:lang(zh) .article-head { padding: 22px 19px; }
  html:lang(zh) .article-head::before { width: 45%; opacity: .65; }
  html:lang(zh) .article-lede { margin-top: 12px; line-height: 1.75; }
  html:lang(zh) .breadcrumb { margin-bottom: 12px; }
  html:lang(zh) .hero { grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; }
  html:lang(zh) .hero-copy { display: contents; }
  html:lang(zh) .hero :is(h1, .sync-label, .hero-intro), html:lang(zh) .hero-figure { grid-column: 1 / -1; }
  html:lang(zh) .hero-copy > .sync-label { order: 1; margin-bottom: 0; }
  html:lang(zh) .hero h1 { order: 2; font-size: clamp(1.5rem, 7.4vw, 2.15rem); }
  html:lang(zh) .hero-figure { order: 7; }
  html:lang(zh) .hero-intro { order: 4; margin-top: 0; }
  html:lang(zh) .hero-intro strong { display: block; }
  html:lang(zh) .hero-actions { order: 5; margin-top: 0; }
  html:lang(zh) .hero-copy > .quiet-link { order: 6; justify-self: start; margin: 0; padding-block: 12px; }
  html:lang(zh) .article-shell > .prose { font-size: 1rem; line-height: 1.85; }
  html:lang(zh) .related { margin-top: 16px; }
  html:lang(zh) .project-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  html:lang(zh) .stage-steps li { line-height: 1.4; }
  html:lang(zh) .telemetry > div { padding: 11px 12px; }
}

/* Use the shared guide card grid and its normal separation from the FAQ. */
html:lang(zh) .faq-section:has(+ .latest-guides) { padding-block-end: 62px; }

html:lang(zh) .reading-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, .93fr);
  gap: 16px clamp(36px, 5vw, 72px);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "title questions" "intro questions" "record questions";
}
html:lang(zh) .reading-section > div:first-child { grid-area: title; }
html:lang(zh) .reading-section .reading-copy { display: contents; }
html:lang(zh) .reading-copy > p { grid-area: intro; margin: 0; max-width: none; line-height: 1.8; }
html:lang(zh) .reading-copy > .faq-list { grid-area: questions; }
html:lang(zh) .reading-copy > .text-link {
  grid-area: record;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  padding: .45em .9em;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--action-dark);
  background: var(--panel);
  font-size: .95rem;
  text-decoration: none;
}
html:lang(zh) .reading-copy > .text-link:is(:hover, :focus-visible) { border-color: var(--action); text-decoration: underline; }
@media (max-width: 800px) {
  html:lang(zh) .reading-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "title" "intro" "record" "questions";
  }
}
@media (max-width: 720px) {
  html:lang(zh) .faq-section:has(+ .latest-guides) { padding-block-end: 44px; }
}


/* Shared layout for the four Latin-script editions. */
html:is(:lang(en), :lang(de), :lang(es), :lang(pt-BR)) {
  /* Homepage board: keep the explanation with its headline above the metrics. */
  .hero ~ .project-board .board-heading {
    display: block;
    margin: 0;
  }
  .hero ~ .project-board .board-heading h2 {
    margin-block: 6px 8px;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.13;
    text-wrap: balance;
  }
  .hero ~ .project-board .board-heading p {
    max-width: 84ch;
    line-height: 1.55;
    text-wrap: pretty;
  }
  .hero ~ .project-board .board-heading + p { margin: 12px 0 0; }
  .hero ~ .project-board .board-heading + p > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--strong-rule);
    border-radius: 6px;
    background: var(--panel);
    font-size: .95rem;
    line-height: 1.35;
    text-decoration: none;
  }
  .hero ~ .project-board .board-link-label { margin: 0; }
  .hero ~ .project-board .board-heading + p > a:is(:hover, :focus-visible) {
    background: var(--tint);
    border-color: var(--action);
    text-decoration: underline;
  }
  @media (min-width: 900px) {
    .hero ~ .project-board {
      display: grid;
      grid-template-columns: minmax(0, 1fr) fit-content(18rem);
      column-gap: clamp(28px, 4vw, 60px);
    }
    .hero ~ .project-board > * { grid-column: 1 / -1; }
    .hero ~ .project-board > .board-heading { grid-column: 1; }
    .hero ~ .project-board > .board-heading + p { grid-column: 2; align-self: end; margin: 0; }
  }
  .reading-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: clamp(28px, 3.5vw, 44px);
  }
  .reading-section h2, .faq-section h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.3rem);
    line-height: 1.15;
    text-wrap: balance;
  }
  .reading-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "intro detail" "intro report";
    align-content: start;
    align-items: start;
    gap: 14px clamp(32px, 5vw, 72px);
  }
  .reading-copy > p { grid-area: intro; margin: 0; line-height: 1.65; }
  .reading-copy > :is(.faq-list, p + p) { grid-area: detail; }
  :is(.guide-intro, .reading-copy) > .text-link {
    grid-area: report;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 44px;
    padding: .45em .85em;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--panel);
    color: var(--action-dark);
    font-size: .95rem;
    line-height: 1.4;
    text-decoration: none;
  }
  :is(.guide-intro, .reading-copy) > .text-link:is(:hover, :focus-visible) { border-color: currentColor; text-decoration: underline; }
  .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .faq-section:not(.article-narrow) > .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(24px, 4vw, 56px);
  }
  .faq-section:not(.article-narrow) details { border: 0; border-top: 1px solid var(--rule); }
  .faq-list summary { min-height: 50px; padding-block: 12px; }
  .article-shell > .faq-section { padding-block: 26px 8px; }
  .related { gap: 2px; }
  .related h2 { margin-bottom: 8px; }
  .related a { display: block; padding-block: .55em; line-height: 1.45; min-height: 44px; border-block-end: 1px solid var(--rule); }
  .article-head h1 { text-wrap: balance; overflow-wrap: break-word; }
  .news-facts .quiet-link { margin-top: 0; }
  .footer-links { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.35fr); }
  .footer-group { min-width: 0; }
  .footer-group a { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
  .milestone-alert form { container-type: inline-size; }
  @container (max-width: 25rem) {
    .alert-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  }
  @media (min-width: 700px) and (max-width: 930px) {
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .footer-links { border-top: 1px solid var(--rule); padding-top: 18px; }
  }
  @media (min-width: 1024px) and (max-width: 1150px) {
    .masthead-inner { grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: 12px; }
    .masthead .site-nav { justify-content: center; column-gap: 10px; row-gap: 0; }
    .masthead-tools { gap: 10px; }
  }
  .guide-intro > p { margin-block: 14px; max-width: 62ch; color: var(--muted); line-height: 1.65; }
  .reading-section:has(.guide-intro) .reading-copy { display: block; }
  .reading-section:has(.guide-intro) .faq-list details:target[open] > summary { color: var(--action-dark); }
  @media (min-width: 801px) {
    .reading-section:has(.guide-intro) {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
      align-items: start;
      gap: clamp(32px, 5vw, 72px);
    }
  }
  @media (min-width: 1024px) and (min-height: 600px) {
    .reading-section:has(.guide-intro) > div:first-child {
      position: sticky;
      top: calc(var(--masthead-height, 72px) + 18px);
    }
  }
  @media (max-width: 930px) {
    .stage-steps { grid-template-columns: repeat(5, minmax(min-content, 1fr)); }
  }
  @media (max-width: 800px) {
    .reading-section { gap: 16px; }
    .reading-copy { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "detail" "report"; }
    .faq-section:not(.article-narrow) > .faq-list { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 720px) {
    .article-head h1 { font-size: clamp(1.75rem, 7.8vw, 2.5rem); line-height: 1.13; letter-spacing: -.035em; }
    .project-row { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
    .project-state { overflow-wrap: anywhere; }
    .stage-steps li { line-height: 1.3; }
    .hero-copy > .quiet-link { display: inline-block; min-height: 44px; padding-block: 11px; margin-top: 4px; }
  }
  @media (max-width: 439px) {
    .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}

/* Progress reports keep the reading rail beside the prose below the board. */
@media (min-width: 1024px) {
  html:is(:lang(en), :lang(de), :lang(es), :lang(pt-BR)) .article-shell.project-report:has(> .related) {
    display: grid;
    max-width: 1120px;
    grid-template-columns: minmax(0, 46rem) minmax(13rem, 1fr);
    grid-template-areas: "crumb crumb" "head head" "board board" "story rail" "questions rail";
    align-items: start;
    column-gap: clamp(40px, 5vw, 76px);
  }
  html:not(:lang(zh)) .article-shell.project-report:has(> .related) {
    > .article-narrow { width: 100%; min-width: 0; margin-inline: 0; }
    > .breadcrumb { grid-area: crumb; }
    > .article-head { grid-area: head; }
    > .project-board { grid-area: board; }
    > .prose { grid-area: story; }
    > .faq-section { grid-area: questions; }
    > .related {
      grid-area: rail;
      align-self: start;
      margin: 0;
      padding: 14px 0 2px;
      border: 0;
      border-block-start: 2px solid var(--ink);
      position: sticky;
      top: calc(var(--masthead-height, 72px) + 18px);
      max-height: calc(100dvh - var(--masthead-height, 72px) - 36px);
      overflow-y: auto;
    }
  }
}

/* Japanese edition: an editorial front page with a compact project desk. */
.ja-edition {
  --ja-ink: var(--ink);
  --ja-red: var(--action);
  --ja-rule: var(--strong-rule);
  --ja-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: var(--ja-ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-break: strict;
  padding-block: clamp(24px, 4vw, 58px) 64px;
}
.ja-edition :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.ja-edition h2 { font: 800 clamp(1.55rem, 3.4vw, 2.45rem)/1.3 var(--ja-serif); letter-spacing: -.035em; }
.ja-edition p { line-height: 1.8; }
.ja-edition a { text-underline-offset: .2em; }
.ja-lead { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: clamp(24px,4vw,64px); margin-bottom: 28px; }
.ja-lead-copy { align-self: center; }
.ja-edition .ja-kicker { color: var(--ja-red); font-size: .77rem; font-weight: 700; letter-spacing: .09em; }
.ja-lead-copy > .sync-label { min-block-size: 1.5em; }
.ja-edition .ja-lead h1 { font: 900 clamp(2.8rem,4.8vw,4.55rem)/1.09 var(--ja-serif); letter-spacing: -.065em; margin: 14px 0 17px; }
.ja-lead h1 span { display: block; }
.ja-edition .ja-verdict { font-size: clamp(1.05rem,1.45vw,1.3rem); font-weight: 800; }
.ja-edition .ja-deck { margin-top: 7px; font-size: .95rem; max-width: 34em; }
.ja-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.ja-actions a, .ja-guide-grid a, .ja-chronicle a, .ja-benchmark a, .ja-section-head a { font-size: .87rem; font-weight: 700; }
.ja-actions .ja-primary { display: inline-flex; align-items: center; gap: 13px; background: var(--ja-red); color: var(--panel); padding: 11px 16px; border-radius: 2px; text-decoration: none; }
.ja-actions .ja-primary:hover { background: var(--action-dark); }
.ja-art { position: relative; min-height: 300px; overflow: hidden; background: var(--ink); }
.ja-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 47%; }
.ja-art figcaption { position: absolute; inset: auto 0 0; margin: 0; padding: 34px 14px 11px; background: linear-gradient(transparent, rgb(43 33 24 / .80)); color: var(--panel); font-size: .75rem; line-height: 1.5; }
.ja-art figcaption span { margin-left: .65em; padding-left: .65em; border-left: 1px solid rgb(255 250 242 / .6); }
.ja-tracker, .ja-desk { scroll-margin-top: 85px; }
.ja-stats { display: grid; grid-template-columns: repeat(3,1fr) 1.45fr; background: var(--ink); color: var(--panel); padding: 19px 0; }
.ja-stats > div { padding: 0 clamp(12px,2.2vw,32px); border-left: 1px solid var(--muted); }
.ja-stats > div:first-child { border: 0; }
.ja-stats dt { font-weight: 600; font-size: .79rem; color: var(--tint); }
.ja-stats dd { font: 700 clamp(1.8rem,3vw,2.45rem)/1.23 var(--ja-serif); font-variant-numeric: tabular-nums; }
.ja-stats > div:last-child dd { color: var(--amber); font-weight: 700; line-height: 1.6; font-family: inherit; font-size: clamp(.94rem,1.6vw,1.24rem); margin-top: .35em; }
.ja-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 36px 0 14px; }
.ja-edition .ja-kicker { margin-bottom: 5px; }
.ja-section-head > p { max-width: 32em; font-size: .85rem; }
.ja-section-head > p a { display: inline-block; }
.ja-board-link { flex-shrink: 0; display: inline-block; padding: .65rem .85rem; border: 1px solid var(--strong-rule); color: var(--ja-red); background: var(--panel); }
.ja-board-link:is(:hover, :focus-visible) { border-color: currentColor; }
.ja-board-frame { border-top: 3px solid var(--ja-ink); }
.ja-board-frame .board-tools { padding: 12px 0; gap: 12px; }
.ja-board-frame .board-filters { flex-wrap: wrap; }
.ja-board-frame .board-filters button { border-radius: 2px; }
.ja-count { font-size: .78rem; white-space: nowrap; }
.ja-board-frame .project-list { margin: 0; padding: 0; }
.ja-board-frame .project-row { padding: 15px 12px; line-height: 1.55; }
.ja-board-frame .project-identity h3 { font-size: 1.23rem; letter-spacing: -.025em; }
.ja-board-frame .project-identity p, .ja-board-frame .project-state { font-size: .79rem; }
.ja-board-frame .project-evidence { font-size: .89rem; }
.ja-board-frame .ja-stage { color: var(--ja-red); font-size: .78rem; font-weight: 700; }
.ja-board-frame .show-projects { margin: 12px 0; }
.ja-board-frame noscript p { overflow-wrap: anywhere; }
.ja-provenance { border-top: 1px solid var(--ja-rule); display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-size: .74rem; color: var(--muted); }
.ja-desk { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,58px); margin-top: 44px; border-top: 2px solid var(--ja-ink); padding-top: 22px; align-items: start; }
.ja-chronicle ol { list-style: none; margin: 16px 0 0; padding: 0; }
.ja-chronicle li { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; border-top: 1px solid var(--ja-rule); padding: 16px 0; }
.ja-chronicle time { color: var(--ja-red); font-size: .9rem; font-weight: 700; }
.ja-chronicle h3, .ja-guide-grid h3 { font: 700 1.14rem/1.55 var(--ja-serif); }
.ja-chronicle li p, .ja-guide-grid p, .ja-benchmark p { font-size: .88rem; margin: 6px 0; }
.ja-edition .ja-benchmark { padding: clamp(20px,3vw,32px); background: var(--tint); border-top: 4px solid var(--action); }
.ja-benchmark h2 { font-size: clamp(1.35rem,2vw,1.75rem); }
.ja-benchmark dl { margin: 22px 0; }
.ja-benchmark dt { font-size: .81rem; margin-top: 14px; }
.ja-benchmark dd { display: flex; gap: 8px; align-items: center; min-height: 22px; font-variant-numeric: tabular-nums; }
.ja-bar { height: 10px; background: var(--action); }
.ja-benchmark small { font-size: .74em; }
.ja-guides { border-top: 2px solid var(--ja-ink); margin-top: 32px; }
.ja-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ja-guide-grid article { border-top: 1px solid var(--ja-rule); padding-top: 15px; }
.ja-guide-grid a { display: inline-block; margin: 4px 8px 0 0; }
@media (max-width: 760px) {
  .ja-lead, .ja-desk { grid-template-columns: 1fr; gap: 18px; }
  .ja-lead { margin: 0; }
  .ja-art { min-height: 0; aspect-ratio: 2.42; border-radius: 8px 8px 0 0; }
  .ja-art figcaption { background: linear-gradient(transparent, rgb(30 22 17 / .92)); }
  .ja-deck { text-wrap: pretty; }
  .ja-stats .stage-divider { display: none; }
  .ja-stats .stage-name { display: block; text-wrap: balance; }
  .ja-lead h1 span { display: inline; }
  .ja-edition .ja-lead h1 { font-size: clamp(2.15rem,7vw,3.1rem); line-height: 1.22; margin: 12px 0; text-wrap: balance; }
  .ja-actions { gap: 10px 16px; margin-top: 14px; }
  .ja-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; border-radius: 0 0 8px 8px; }
  .ja-stats > div:nth-child(3) { border-left: 0; }
  .ja-section-head { display: block; margin-top: 28px; }
  .ja-section-head > p { margin-top: 8px; }
  .ja-board-link { margin-top: 10px; }
  .ja-board-frame .board-tools { flex-wrap: wrap; }
  .ja-board-frame .project-evidence { grid-column: 1/-1; }
  .ja-board-frame .project-row { padding-inline: 0; }
  .ja-provenance { display: block; }
  .ja-guide-grid { grid-template-columns: 1fr; gap: 14px; }
  .ja-chronicle li { grid-template-columns: 3.35em 1fr; gap: 8px; }
  .ja-desk { margin-top: 24px; }
}

/* Reading editions share the masthead palette with the tracker. */
.edition-reader { padding-block: clamp(24px,4vw,56px) 64px; }
.edition-reader .breadcrumb { margin: 0 0 22px; }
.edition-head { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--strong-rule); padding: 20px 0 28px; }
.edition-date, .edition-section-date, .edition-stamp { color: var(--action-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.edition-head .edition-date { font-size: .83rem; margin: 0 0 14px; }
.edition-head > .sync-label { margin-block-end: 14px; }
.edition-head h1 { max-width: 23ch; margin: 0; font: 700 clamp(2.1rem,4.4vw,3.8rem)/1.1 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.edition-head .edition-lede { max-width: 67ch; margin: 18px 0 0; font-size: clamp(1.04rem,1.6vw,1.23rem); line-height: 1.65; }
.edition-layout { display: grid; grid-template-columns: minmax(158px, .72fr) minmax(0,2fr); gap: clamp(28px,6vw,88px); padding-top: 30px; }
.edition-index { align-self: start; position: sticky; top: 88px; }
.edition-index > p, .edition-related h2 { margin: 0 0 12px; font-weight: 700; }
.edition-index ul { list-style: none; margin: 0; padding: 0; }
.edition-index li { border-top: 1px solid var(--rule); }
.edition-index a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; }
.edition-index a:hover, .edition-index a:focus-visible { color: var(--action); text-decoration: underline; }
.edition-stamp { min-width: 3em; font-size: .82rem; }
.edition-copy { max-width: 72ch; min-width: 0; }
.edition-chapter { padding: 22px 0; border-top: 1px solid var(--rule); }
.edition-chapter:first-child { border: 0; padding-top: 0; }
.edition-chapter h2 { margin: 0 0 10px; font: 650 clamp(1.4rem,2.55vw,2.05rem)/1.25 var(--display); letter-spacing: -.025em; scroll-margin-top: 88px; }
.edition-section-date { display: block; margin-bottom: 6px; font-size: .8rem; }
.edition-chapter p { line-height: 1.76; margin: .65em 0 0; }
.edition-chapter a, .edition-related a { text-underline-offset: .19em; }
.edition-related { margin-top: 16px; padding: 20px 0; border-top: 2px solid var(--ink); }
.edition-related h2 { font-size: 1.18rem; }
.edition-related a { display: block; width: fit-content; padding-block: 5px; }
.edition-safety .edition-chapter:has(#response) { padding: 20px clamp(12px,2vw,24px); background: var(--tint); border-left: 3px solid var(--action); }
html:lang(ja) .edition-reader, html:lang(zh) .edition-reader { line-break: strict; }
html:lang(ja) .edition-head h1, html:lang(zh) .edition-head h1 { line-height: 1.24; max-width: 18em; }
html:lang(ja) .edition-copy, html:lang(zh) .edition-copy { max-width: 44em; }
html:lang(ja) .edition-chapter p, html:lang(zh) .edition-chapter p { line-height: 1.88; }
@media(max-width: 760px) {
  .edition-layout { display: block; padding-top: 16px; }
  .edition-index { position: static; margin: 0 0 24px; padding: 14px; background: var(--tint); }
  .edition-index ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; }
  .edition-index a { flex-wrap: wrap; gap: 0 5px; padding: 8px 0; font-size: .86rem; }
  .edition-chapter h2 { scroll-margin-top: 72px; }
  .edition-head { padding: 15px 0 18px; }
}

.edition-progress .ja-progress-board { padding: 0; margin: 20px 0 40px; }

.project-identity .rank-evidence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .7rem;
  margin: .45rem 0 0;
  font-size: .8rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.rank-evidence a { text-underline-offset: .18em; }
.project-board .source-unavailable, .ja-tracker .source-unavailable { overflow-wrap: anywhere; color: var(--muted); }
