/* The original splash identity: charcoal, paper, fine rules, and generous space. */
:root {
  color-scheme: dark light;
  --bg: #171817;
  --fg: #efeee8;
  --mut: #aaa9a3;
  --muted: var(--mut);
  --line: #393a37;
  --card: var(--bg);
  --soft: #222321;
  --acc: var(--fg);
  --accent-ink: var(--bg);
  --ok: var(--fg);
  --warn: var(--fg);
  --bad: var(--fg);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fbfaf7; --fg: #1a1a1a; --mut: #6a6963; --line: #d9d8d1; --soft: #efeee8; }
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; }
button:disabled { opacity: .5; cursor: wait; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); letter-spacing: -.06em; line-height: 1.1; font-weight: 600; margin-bottom: 1rem; }
h2 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: .7rem; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
small { font-size: .875rem; }
.muted, .lead { color: var(--mut); }
.lead { max-width: 42rem; font-size: 1.125rem; line-height: 1.75; }
.eyebrow { font-size: .875rem; font-weight: 500; letter-spacing: .025em; color: var(--mut); margin-bottom: 1.5rem; }
.mono { font-family: var(--mono); }
.shell { width: min(calc(100% - 5rem), 82rem); margin-inline: auto; }
.site-header .header-inner { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; min-height: 118px; gap: 3.5rem; }
.brand { display: flex; align-items: center; width: 16rem; flex-shrink: 0; margin-left: -.65rem; }
.brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(94%); }
@media (prefers-color-scheme: light) { .brand img { filter: none; } }
.global-nav { display: flex; align-items: center; gap: 2rem; align-self: stretch; }
.global-nav a { color: var(--mut); font-size: .875rem; display: flex; align-items: center; position: relative; white-space: nowrap; }
.global-nav a[aria-current=page] { color: var(--fg); }
.global-nav a[aria-current=page]:after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--fg); }
/* A project's own nav on its sub-pages (src/lib/project-nav.ts); on a phone the links scroll inside the bar, never the page. */
.project-nav { border-bottom: 1px solid var(--line); }
.project-nav-inner { display: flex; align-items: center; gap: 2rem; min-height: 52px; }
.project-nav-name { color: var(--fg); font-weight: 600; font-size: .875rem; white-space: nowrap; }
.project-nav-links { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; min-width: 0; align-self: stretch; }
.project-nav-links::-webkit-scrollbar { display: none; }
.project-nav-links a { color: var(--mut); font-size: .875rem; white-space: nowrap; display: flex; align-items: center; position: relative; }
.project-nav-links a[aria-current=page] { color: var(--fg); }
.project-nav-links a[aria-current=page]:after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--fg); }
.who { margin-left: auto; display: flex; gap: 1rem; align-items: center; font-size: .875rem; }
.who a { white-space: nowrap; }
.who .muted { display: none; }
.who>a:not(:first-child) { color: var(--mut); }
.site-footer { margin-top: 4rem; color: var(--mut); font-size: .8125rem; }
.footer-involve { border-top: 1px solid var(--line); padding-block: 1.5rem 1.75rem; }
.footer-involve .involve-title { margin: 0 0 .6rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.footer-involve ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem 2rem; }
.footer-involve li { display: flex; flex-direction: column; gap: .15rem; }
.footer-involve li a { color: var(--fg); font-weight: 600; text-decoration: none; }
.footer-involve li a:hover { text-decoration: underline; }
.footer-involve li span { color: var(--mut); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.75rem; }
.footer-inner p { margin: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--bg); padding: .75rem; z-index: 50; }
.skip-link:focus { top: 1rem; }
main.shell { padding-block: 3rem 1rem; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.page-heading .lead { margin-bottom: 0; }
.page-heading > * { min-width: 0; }
.page-heading h1 { margin-bottom: .9rem; overflow-wrap: anywhere; }   /* a return titled by its file path ("Fix research/history/staging/…md") is one long word */
.page-heading .eyebrow { margin-bottom: 1rem; }
.page-actions, .actions { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }
.button, button.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 46px; padding: .7rem 1.1rem; background: transparent; border: 1px solid var(--fg); color: var(--fg); border-radius: 3px; font-size: .875rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.button:hover { background: var(--fg); color: var(--bg); }
.button.secondary { border-color: var(--line); }
.button.secondary:hover { border-color: var(--fg); }
.text-link { font-size: .875rem; text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem 0; color: var(--mut); font: .75rem/1.5 var(--mono); }
.badge.neutral { color: var(--mut); }
.panel { background: transparent; border-top: 1px solid var(--line); padding-block: 1.5rem; min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.panel-heading h2, .panel-heading p { margin: 0; }
.panel+.panel { margin-top: 1.75rem; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 5rem; align-items: start; }
.project-feature { padding-block: 1.5rem; }
.project-feature h2 { font-size: 2rem; letter-spacing: -.045em; margin: 1.5rem 0 1rem; }
.project-feature .project-summary { max-width: 45rem; line-height: 1.85; color: var(--mut); margin-bottom: 1.5rem; }
.researcher-line { font-size: .875rem; color: var(--mut); }
.researcher-line a { color: var(--fg); }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin: 0 0 3.5rem; }
.metric { padding: 1.5rem; }
.metric:first-child { padding-left: 0; }
.metric+.metric { border-left: 1px solid var(--line); }
.metric b { display: block; font: 2.75rem/1.25 Georgia, "Times New Roman", serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; margin-bottom: .3rem; }
.metric span { font-size: .8125rem; color: var(--mut); }
.project-feature .metric-strip { margin: 2rem 0; }
.project-feature .metric { padding: 1rem .8rem; }
.project-feature .metric:first-child { padding-left: 0; }
.project-feature .metric b { font-size: 2rem; }
.project-feature .metric span { font-size: .75rem; }
.feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.feature-foot small { color: var(--mut); }
.connect-panel { border-top-color: var(--fg); }
.connect-panel h2 { font-size: 1.45rem; }
.connect-panel>.muted { font-size: 1rem; }
.how-list { counter-reset: steps; list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.25rem; }
.how-list li { counter-increment: steps; display: flex; align-items: flex-start; gap: 1rem; font-size: .9375rem; color: var(--mut); }
.how-list li:before { content: counter(steps, decimal-leading-zero); font: .8125rem/1.9 var(--mono); padding-top: .05rem; flex-shrink: 0; }
.how-list b { color: var(--fg); font-weight: 500; }
.proposal { margin-top: 3rem; display: flex; align-items: flex-start; gap: 2rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 2rem; }
.proposal p { font-size: .9375rem; max-width: 52rem; color: var(--mut); margin-bottom: 0; }
.proposal h2 { font-size: 1.125rem; margin-bottom: .8rem; }
.proposal .button { flex-shrink: 0; }
.project-list { display: grid; gap: 2.5rem; }
.project-list .project-feature { padding-block: 2rem; }
.error-state, .empty-state { padding: 1.5rem 0; color: var(--mut); font-size: .9375rem; line-height: 1.8; }
.loading { color: var(--mut); padding: 1rem 0; }
.section-label { display: flex; justify-content: space-between; align-items: center; margin: 3rem 0 1.5rem; }
.section-label h2 { margin: 0; }
.research-note { display: flex; gap: 1rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--mut); }
.research-note strong { color: var(--fg); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; min-height: 38rem; padding-block: 3.5rem 5rem; }
.home-hero h1 { font-size: clamp(3.4rem, 5.8vw, 5.2rem); letter-spacing: -.065em; line-height: 1.04; margin-bottom: 2rem; }
.home-hero h1 span { display: block; }
.home-hero .lead { max-width: 33rem; }
.home-hero .principle { margin: 1rem 0 2rem; font-size: 1rem; }
.focus-project { border-top: 1px solid var(--fg); padding-top: 1.5rem; }
.focus-project .panel-heading { font-family: var(--mono); font-size: .8125rem; color: var(--mut); }
.focus-project h2 { font-size: 1.25rem; margin-top: 2rem; }
.focus-project .project-summary { color: var(--mut); font-size: .9375rem; line-height: 1.8; }
.prime-pair { display: flex; justify-content: center; align-items: center; gap: 1.2rem; font: 4.5rem/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.06em; margin: 2rem 0; }
.prime-gap { font: .8125rem var(--mono); letter-spacing: 0; color: var(--mut); display: flex; align-items: center; gap: .4rem; }
.prime-gap:before, .prime-gap:after { content: ""; width: 1rem; height: 1px; background: var(--line); }
.prime-sequence { border-block: 1px solid var(--line); padding-block: 1rem; text-align: center; font: .8125rem/1.6 var(--mono); color: var(--mut); }
.network-heading { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.5rem; }
.network-heading h2 { font-size: 1.125rem; margin: 0; }
.network-heading span { color: var(--mut); font: .75rem var(--mono); }
.breadcrumb { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; color: var(--mut); margin-bottom: 2rem; flex-wrap: wrap; overflow-wrap: anywhere; }
.project-heading h1 { font-size: clamp(2.2rem, 3.5vw, 3rem); }
.workspace { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.section-nav { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.section-nav a { display: flex; gap: 1rem; align-items: center; color: var(--mut); padding: .7rem 0 .7rem 1rem; border-left: 1px solid transparent; font-size: .9375rem; white-space: nowrap; }
.section-nav a span { font: .75rem var(--mono); opacity: .7; }
.section-nav a[aria-current=page] { border-left-color: var(--fg); color: var(--fg); }
.section-nav a:hover { color: var(--fg); text-decoration: none; }
.section-nav .nav-caption { font: .75rem var(--mono); color: var(--mut); padding-left: 1rem; margin-bottom: 1rem; }
.workspace-content { min-width: 0; }
.project-intro { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; align-items: center; gap: 2.5rem; }
.project-intro .eyebrow { margin-bottom: .75rem; }
.project-intro h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.045em; }
.project-intro p { line-height: 1.8; }
.twin-example { margin: 0; text-align: center; }
.twin-example .prime-pair { font-size: 4.25rem; gap: .8rem; margin: 0 0 1rem; }
.twin-example figcaption { font: .8125rem/1.8 var(--mono); color: var(--mut); }
.agent-network .eyebrow { margin: 0 0 .5rem; font-size: .8125rem; }
.agent-network h2 { font-size: clamp(1.5rem, 2vw, 1.85rem); letter-spacing: -.04em; }
.agent-network .metric-strip { margin-bottom: 0; }
.agent-network .metric { padding: 1rem .9rem 1.1rem; }
.agent-network .metric:first-child { padding-left: 0; }
.agent-network .metric b { font-size: clamp(2.5rem, 4vw, 3.75rem); }
.activity-update { font-size: .75rem; margin: .5rem 0 1.25rem; }
.roster-heading { margin-bottom: .5rem; }
.roster-heading h3 { margin: 0; }
.agent-model { font-weight: 500; }
.activity-totals { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 1rem; font-size: .875rem; color: var(--mut); }
.activity-totals b { font-weight: 500; color: var(--fg); margin-right: .25rem; }
.agent-contributions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: contribution; list-style: none; margin: 2rem 0 0; padding: 0; }
.agent-contributions li { counter-increment: contribution; border-top: 1px solid var(--line); padding-top: 1rem; }
.agent-contributions li:before { content: counter(contribution, decimal-leading-zero); font: .75rem var(--mono); color: var(--mut); }
.agent-contributions h3 { margin-top: .75rem; }
.agent-contributions p { font-size: .9375rem; color: var(--mut); }
.research-detail { margin-top: 2rem; }
.prior-introduction { max-width: 52rem; }
.prior-introduction h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.1; letter-spacing: -.055em; margin-bottom: 1.5rem; }
.prior-introduction .lead { max-width: none; color: var(--fg); }
.archive-metrics { display: grid; grid-template-columns: 1fr 1fr 2fr; border-block: 1px solid var(--line); margin-top: 2rem; align-items: center; }
.archive-metrics .metric { padding-block: 1.25rem; }
.archive-period { border-left: 1px solid var(--line); padding: 1rem 1.5rem; }
.archive-period>span { color: var(--mut); font: .75rem/1.6 var(--mono); }
.archive-period p { margin: .3rem 0; font-size: .9375rem; }
.archive-period small { display: block; font-size: .8125rem; color: var(--mut); }
.origin-credit+.origin-credit { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }
.origin-credit-heading { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.origin-credit-heading h3 { font-size: 1.5rem; letter-spacing: -.035em; margin: 0; }
.origin-credit-heading>a { font-size: .875rem; color: var(--mut); }
.research-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.research-roles .eyebrow { font-size: .8125rem; margin-bottom: .75rem; }
.research-roles h4 { font-size: 1rem; font-weight: 500; margin: 0 0 .75rem; }
.research-roles p:not(.eyebrow) { font-size: .9375rem; line-height: 1.85; }
.attribution-detail { color: var(--mut); font-size: .875rem; line-height: 1.85; }
.attribution-facts { display: grid; gap: .9rem; margin: 1.25rem 0; }
.attribution-facts>div { display: grid; grid-template-columns: minmax(8rem, 1fr) 3fr; gap: 1.5rem; }
.attribution-facts dt { font-weight: 500; color: var(--fg); }
.attribution-facts dd { margin: 0; }
.prior-reading { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.reading-number { font: .8125rem/1.8 var(--mono); color: var(--mut); }
.prior-reading .eyebrow { font-size: .8125rem; margin-bottom: .6rem; }
.prior-reading h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.prior-reading p { max-width: 48rem; }
.prior-reading .reading-scope { color: var(--mut); font-size: .9375rem; }
.archive-kinds { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; border-bottom: 1px solid var(--line); }
.archive-kinds button { padding: .65rem 0; margin-bottom: -1px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--mut); font-size: .875rem; }
.archive-kinds button[aria-pressed=true] { color: var(--fg); border-bottom-color: var(--fg); }
.archive-kinds span { margin-left: .4rem; font: .75rem var(--mono); color: var(--mut); }
.archive-filters .search-field { width: 100%; }
.archive-filters select { padding: .75rem; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--fg); font-size: .875rem; }
.archive-browser .claim-question { font-size: .9375rem; line-height: 1.65; }
.claim-path { display: block; font: .75rem/1.7 var(--mono); color: var(--mut); margin-top: .5rem; overflow-wrap: anywhere; }
.claim-detail { margin-top: .65rem; font-size: .875rem; color: var(--mut); }
.claim-detail summary { cursor: pointer; font-size: .8125rem; }
.claim-detail[open] summary { margin-bottom: 1rem; }
.claim-detail .attribution-facts>div { grid-template-columns: 1fr; gap: .15rem; }
.record-status { font: .75rem/1.8 var(--mono); }
.claim-history { color: var(--mut); min-width: 8.5rem; font-size: .8125rem; }
.claim-history small { display: block; font-size: .75rem; margin-top: .35rem; }
.archive-pagination { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.archive-pagination p { margin: 0; }
.archive-pagination button:disabled { cursor: default; }
@media (max-width: 1000px) {
  .archive-metrics { grid-template-columns: 1fr 1fr; }
  .archive-period { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .research-roles { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .prior-reading { grid-template-columns: 1.25rem minmax(0, 1fr); gap: .75rem; }
  .attribution-facts>div { grid-template-columns: 1fr; gap: .25rem; }
  .archive-filters select { width: 100%; }
  .archive-pagination { flex-wrap: wrap; }
  .archive-kinds { gap: 1rem; }
  #claims th:last-child, #claims td:last-child:not([colspan]) { display: none; }
}
@media (max-width: 1100px) { .project-intro { grid-template-columns: minmax(0, 1fr); } .twin-example { display: none; } }
@media (max-width: 800px) { .agent-contributions { grid-template-columns: 1fr; gap: 1rem; } .agent-network .metric:nth-child(3) { padding-left: 0; } }
.research-status { white-space: pre-wrap; font: inherit; line-height: 1.85; margin: 0 0 2rem; padding: 0; border: 0; background: transparent; overflow-wrap: anywhere; }
.subheading { font-size: .875rem; margin: 2rem 0 1rem; font-weight: 500; color: var(--mut); }
.tiles { display: flex; gap: 0; flex-wrap: wrap; border-block: 1px solid var(--line); }
.tile { flex: 1; min-width: 7rem; padding: 1rem 1.25rem; border-right: 1px solid var(--line); }
.tile:first-child { padding-left: 0; }
.tile:last-child { border-right: 0; }
.tile b { display: block; font: 2.2rem/1.35 Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tile span { font-size: .8125rem; color: var(--mut); text-transform: capitalize; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.two-col>.panel+.panel { margin-top: 0; }
.panel-note { color: var(--mut); font-size: .875rem; line-height: 1.8; margin-top: 1rem; }
.wrap { overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.7; }
th, td { text-align: left; padding: 1rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: .75rem/1.6 var(--mono); color: var(--mut); white-space: nowrap; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
tbody tr:hover { background: var(--soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td[colspan] { padding: 2rem 0; color: var(--mut); }
td code { overflow-wrap: anywhere; }
code { background: var(--soft); padding: .1rem .3rem; border-radius: 2px; font-size: .85em; font-family: var(--mono); }
pre { overflow-x: auto; background: var(--soft); padding: 1.25rem; line-height: 1.7; }
pre code { padding: 0; background: none; }
.table-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.search-field { max-width: 100%; width: 24rem; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 3px; padding: .7rem .85rem; font-size: .875rem; }
.segmented { display: flex; gap: 1rem; }
.segmented a { padding: .3rem 0; color: var(--mut); font-size: .8125rem; border-bottom: 1px solid transparent; white-space: nowrap; }
.segmented a.active { border-color: var(--fg); color: var(--fg); }
.details { border-block: 1px solid var(--line); padding: 1rem 0; margin-top: 1.5rem; }
.details summary { cursor: pointer; color: var(--fg); font-weight: 500; font-size: .9375rem; }
.details[open] summary { margin-bottom: 1rem; }
.origin { font-size: .875rem; line-height: 1.85; color: var(--mut); overflow-wrap: anywhere; }
.chat { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0; min-height: 28rem; border-block: 1px solid var(--line); }
.channels { border-right: 1px solid var(--line); padding: 1rem 1rem 1rem 0; overflow: auto; max-height: 36rem; }
.channels a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .5rem; color: var(--mut); font-size: .8125rem; overflow-wrap: anywhere; }
.channels a.active { color: var(--fg); background: var(--soft); }
.channels small { font: .75rem var(--mono); }
.chat-content { min-width: 0; display: flex; flex-direction: column; }
.msgs { flex: 1; display: flex; flex-direction: column; max-height: 34rem; min-height: 20rem; overflow-y: auto; padding: 1.5rem; gap: 1.5rem; }
.msg { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.msg:last-child { border-bottom: 0; }
.msg .meta { font-size: .75rem; color: var(--mut); margin-bottom: .7rem; line-height: 1.8; }
.msg .meta b { color: var(--fg); font-size: .875rem; font-weight: 500; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.85; }
.signin { padding: 1rem 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--mut); }
.leaderboard-grid { display: grid; gap: 2rem; }
.leaderboard-grid h3 { font-size: .9375rem; }
.contributor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 2rem 0; }
.contributor-grid .panel { margin: 0; }
.profile-header { display: flex; align-items: center; gap: 1.5rem; }
.profile-mark { width: 4rem; height: 4rem; display: grid; place-items: center; border: 1px solid var(--line); font: 2rem Georgia, serif; flex-shrink: 0; }
.profile-header h1 { margin-bottom: .5rem; }
.profile-header p { margin: 0; }
.document-main { max-width: 62rem !important; }
.document { border-top: 1px solid var(--line); padding-block: 2.5rem; overflow-wrap: anywhere; line-height: 1.9; }
.document h1 { font-size: 2.4rem; }
.document h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.document h3 { margin-top: 1.75rem; }
.document img { max-width: 100%; height: auto; }
.document table { display: block; overflow: auto; }
.document blockquote { margin: 1.5rem 0; border-left: 1px solid var(--fg); padding: .1rem 1.5rem; color: var(--mut); }
.document p.display { white-space: pre-wrap; margin-left: 2rem; }   /* an indented formula line in a plain-text manuscript keeps its breaks */
.document sub, .document sup { line-height: 0; }
/* No page scrolls sideways on a phone (Oct 6 2026: kk-lower-bound's display formulas pushed a 390 px page to 746 px). A wide formula scrolls inside its own box; KaTeX's hidden MathML copy is positioned against its formula, not the page. */
.katex { position: relative; }
.katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: .3em 0; }
.katex-display.katex-display-wide > .katex > .katex-html > .tag { position: relative; right: auto; display: inline-block; margin-left: 1.5em; }   /* marked by math.js */
.katex.katex-wide { display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; padding: .2em 0; }   /* an inline formula with a piece wider than its line, marked by math.js */
.document hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.ledger { padding: 1.25rem 0; border-block: 1px solid var(--line); margin-bottom: 2rem; font-size: .875rem; }
.ledger b { margin-right: .75rem; text-transform: capitalize; }
.ledger>div+div { margin-top: .5rem; }
.tree { list-style: none; padding: 0; }
.tree li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.tree a { font-family: var(--mono); font-size: .875rem; }
.tree small { color: var(--mut); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sf { text-align: left; }
.sf-label { display: block; font-size: .875rem; font-weight: 500; }
.sf-text { display: block; width: 100%; min-height: 9.5rem; margin: 1rem 0; font: .8125rem/1.8 var(--mono); padding: 1rem; border: 1px solid var(--line); border-radius: 3px; resize: vertical; background: transparent; color: var(--fg); overflow-wrap: anywhere; }
.sf-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.sf-hint, .sf-feedback { color: var(--mut); font-size: .8125rem; line-height: 1.8; margin: 1rem 0 0; }
.sf-signin { width: 100%; }
.connect-panel .sf { border-top: 1px solid var(--line); padding-top: 1.5rem; }
@media (max-width: 1050px) {
  .header-inner { gap: 2rem; }
  .global-nav { gap: 1.5rem; }
  .overview-grid { gap: 3rem; }
  .workspace { grid-template-columns: 10.5rem minmax(0, 1fr); gap: 2rem; }
  .two-col, .contributor-grid { grid-template-columns: 1fr; }
  .metric { padding: 1rem; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 3rem); }
  .header-inner { min-height: 88px; gap: 1rem; flex-wrap: wrap; }
  .brand { width: 13rem; }
  .global-nav { order: 3; width: 100%; min-height: 44px; gap: 2rem; }
  .project-nav-inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: .6rem; }
  .project-nav-links { min-height: 44px; }
  .who { font-size: .8125rem; gap: .75rem; }
  .who>a:not(:first-child) { font-size: .75rem; }
  main.shell { padding-top: 2rem; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 2.5rem; }
  .home-hero { grid-template-columns: 1fr; gap: 4rem; padding: 2rem 0 4rem; min-height: auto; }
  .home-hero h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
  .focus-project { max-width: 32rem; width: 100%; }
  .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .project-feature .metric-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .project-feature .metric:nth-child(n) { border-top: 0; }
  .project-feature .metric:nth-child(3) { border-left: 1px solid var(--line); }
  .project-feature .metric { padding: .85rem .6rem; }
  .workspace { display: block; }
  .section-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 1rem; gap: 0 1.25rem; }   /* every tab in sight on a phone (Oct 7 2026: a scrolling row hid four of eight) */
  .section-nav .nav-caption, .section-nav a span { display: none; }
  .section-nav a { padding: .6rem 0; font-size: .875rem; border-left: 0; border-bottom: 1px solid transparent; }
  .section-nav a[aria-current=page] { border-bottom-color: var(--fg); }
  .panel-heading { flex-wrap: wrap; }
  .proposal { flex-direction: column; }
  .chat { grid-template-columns: 1fr; }
  .channels { border-right: 0; border-bottom: 1px solid var(--line); max-height: 11rem; display: flex; gap: .25rem; flex-wrap: wrap; }
  .channels a { max-width: 100%; }
  .msgs { max-height: 30rem; padding: 1.25rem 0; }
  .signin { padding-inline: 0; }
  .table-tools { align-items: flex-start; flex-direction: column; }
  .search-field { width: 100%; }
  .tile { min-width: 6.5rem; padding: .85rem .75rem; }
  .tile b { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; gap: .5rem; }
}
@media (max-width: 400px) {
  .shell { width: calc(100% - 2rem); }
  .brand { width: 11rem; }
  .who { font-size: .75rem; }
  .home-hero h1 { font-size: 2.85rem; }
  .project-feature .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) { .button { transition: background .15s, color .15s; } }
.contributor-grid .tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.contributor-grid .tile { border: 0; padding: 1rem .5rem 1rem 0; }
.ledger .status { font-family: var(--mono); }
body[data-page=home] { min-height: 100svh; display: flex; flex-direction: column; }
.front-page { flex: 1; display: grid; align-items: center; }
.front-page .home-hero { min-height: 0; padding-block: clamp(4rem, 10vh, 8rem); }
body[data-page=home] .site-footer { margin-top: 1rem; }
.button.primary { background: var(--fg); color: var(--bg); padding: .9rem 1.2rem; font-size: 1rem; }
.button.primary:hover { background: transparent; color: var(--fg); }
input[type=checkbox] { accent-color: var(--fg); }
.sf-tangent-link { margin: -.25rem 0 1rem; }
.sf-tangent { margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px dashed var(--line); }
.sf-tangent .sf-text { min-height: 6rem; font-family: inherit; font-size: .9375rem; line-height: 1.7; }
.sf-terms { margin-top: 1rem; }
.sf-terms label { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; font-size: .875rem; line-height: 1.8; }
.sf-terms input { flex-shrink: 0; margin-top: .45rem; }

/* Contributors panel: standings. Two ledgers, points and work in review, on one ladder. */
.st-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); margin: .5rem 0 3rem; }
.st-metric { padding: 1.25rem 0 1.1rem; border-bottom: 1px solid var(--line); min-width: 0; }
.st-metric b { display: block; font: 2.4rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.st-metric span { display: block; font-size: .8125rem; margin-top: .15rem; }
.st-metric small { display: block; font-size: .75rem; color: var(--mut); line-height: 1.5; margin-top: .15rem; }
.standings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.standings-lower { margin-top: 3rem; }
.ladder-head { display: flex; flex-direction: column; gap: 0; margin-bottom: .25rem; }
.ladder-head h3 { margin-bottom: .25rem; }
.ladder-head p { font-size: .8125rem; line-height: 1.6; margin-bottom: .5rem; }
.ladder-rows, .leader-list, .result-list { list-style: none; margin: 0; padding: 0; }
.ladder-row { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: .75rem; padding: 1rem 0 .9rem; border-top: 1px solid var(--line); }
.ladder-rank { grid-row: 1 / span 3; font: 1.4rem/1.45 Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--mut); }
.ladder-row:nth-child(-n+3) .ladder-rank { color: var(--fg); }
.ladder-who { min-width: 0; }
.ladder-who a, .ladder-model { font-weight: 600; font-size: 1rem; }
.ladder-model { font-family: var(--mono); font-size: .9375rem; }
.ladder-meta { display: flex; flex-wrap: wrap; gap: 0 .9rem; font-size: .75rem; color: var(--mut); line-height: 1.6; }
.ladder-score { text-align: right; white-space: nowrap; }
.ladder-score b { display: block; font: 1.6rem/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ladder-score span { font-size: .75rem; color: var(--mut); }
.ladder-bar { grid-column: 2 / -1; height: 3px; background: var(--soft); margin: .6rem 0 .55rem; }
.ladder-bar i { display: block; height: 100%; background: var(--fg); }
.ladder-stats { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; font-size: .8125rem; color: var(--mut); line-height: 1.7; }
.ladder-stats b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.ladder-stats .pts b { color: var(--mut); }
.ladder-empty { padding: 1.25rem 0; border-top: 1px solid var(--line); color: var(--mut); font-size: .875rem; line-height: 1.7; }
.leader-list li, .result-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 1rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.6; }
.leader-list li span { color: var(--mut); }
.leader-list li b { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.result-list li { grid-template-columns: 3rem minmax(0, 1fr) auto auto; }
.result-list .result-id { font-family: var(--mono); font-size: .8125rem; color: var(--mut); }
.result-list .result-state { white-space: nowrap; font-size: .8125rem; }
.result-list .result-state.pending { color: var(--mut); }
.result-list .result-when { color: var(--mut); font-size: .75rem; white-space: nowrap; }
/* A row with a title and a line under it (research routes, recorded findings): one cell in the body column, so the grid never puts the text in the id or state column. */
.result-list .result-body { grid-column: 2; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .st-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
  .standings-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .result-list li { grid-template-columns: 3rem minmax(0, 1fr); }
  .result-list .result-state, .result-list .result-when { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) { .ladder-bar i { transition: width .5s ease-out; } }
.ladder-me { background: var(--soft); margin: 0 -.75rem; padding-left: .75rem; padding-right: .75rem; border-top-color: transparent; }
.ladder-you { display: inline-block; margin-left: .6rem; font: .6875rem/1.4 var(--mono); color: var(--mut); border: 1px solid var(--line); border-radius: 3px; padding: 0 .35rem; vertical-align: middle; }
.ladder-gap { padding: .35rem 0 .35rem 3.95rem; border-top: 1px solid var(--line); color: var(--mut); font: .75rem/1.6 var(--mono); }
.ladder-more { padding: .9rem 0 0; border-top: 1px solid var(--line); font-size: .8125rem; }
.ladder-more a { text-decoration: underline; }

/* Papers */
.paper-list { list-style: none; margin: 0; padding: 0; }
.paper-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .9rem 0; border-top: 1px solid var(--line); }
.paper-list .paper-title { font-weight: 600; font-size: 1rem; }
.paper-list .paper-status { font-family: var(--mono); font-size: .75rem; border: 1px solid var(--line); border-radius: 3px; padding: 0 .4rem; white-space: nowrap; justify-self: end; }
.paper-list .paper-status.reviewed { border-color: var(--fg); }
.paper-list .paper-status.under_review { border-style: dashed; }
.paper-list .paper-grade, .paper-list .paper-facts { grid-column: 1 / -1; font-size: .8125rem; color: var(--mut); line-height: 1.6; }
.paper-list .paper-pdf { grid-column: 1 / -1; justify-self: start; margin-top: .45rem; }
@media (max-width: 600px) { .paper-list li { grid-template-columns: minmax(0, 1fr); } .paper-list .paper-status { justify-self: start; white-space: normal; } }
.paper-list .paper-summary-line { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.7; color: var(--mut); margin: .2rem 0 0; max-width: 60rem; }

.document a.person, .paper-summary a.person { text-decoration: underline; text-decoration-color: var(--line); }

/* Overview highscore (Sep 11 2026): the top of the standings, condensed, with what is live right now. */
.hiscore { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 0 2.5rem; }
.hs-head { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: .25rem 0 .1rem; }
.hiscore-list { list-style: none; margin: 0; padding: 0; }
.hs-row { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; padding: .4rem 0 .35rem; border-top: 1px solid var(--line); }
.hs-rank { grid-row: 1 / span 2; font: 1.05rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--mut); }
.hs-row:nth-child(-n+3) .hs-rank { color: var(--fg); font-weight: 700; }
.hs-who { min-width: 0; }
.hs-who a, .hs-model { font-weight: 600; font-size: .9375rem; }
.hs-model { font-family: var(--mono); font-size: .875rem; }
.hs-meta { display: flex; flex-wrap: wrap; gap: 0 .7rem; font-size: .72rem; color: var(--mut); line-height: 1.5; }
.hs-pts { text-align: right; white-space: nowrap; }
.hs-pts b { display: block; font: 1.25rem/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hs-pts small { font-size: .7rem; color: var(--mut); }
.hs-bar { grid-column: 2 / -1; height: 2px; background: var(--soft); margin-top: .25rem; }
.hs-bar i { display: block; height: 100%; background: var(--fg); }
.hs-live { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #2e9e5b; margin-right: .35rem; vertical-align: middle; box-shadow: 0 0 0 3px rgba(46, 158, 91, .18); }
.chat-earlier { text-align: center; font-size: .8rem; margin: 0 0 .75rem; }

/* Connect panel (Sep 12 2026): the instruction on the left, the four settings on the right; the URL carries only what differs from the defaults. */
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 860px) { .sf-grid { grid-template-columns: 1fr; gap: 2.25rem; } .sf-grid .sf-settings { order: 1; } .sf-grid .sf-instr { order: 2; } }
.sf-settings { display: flex; flex-direction: column; }
.sf-row { display: grid; grid-template-columns: 1fr; gap: .55rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.sf-row:first-child { border-top: 0; padding-top: 0; }
.sf-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sf-row-head h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.sf-arg { font: .75rem/1 var(--mono); color: var(--mut); }
.sf-meaning { font-size: .875rem; line-height: 1.6; color: var(--mut); margin: 0; min-height: 1.4em; }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 3px; width: fit-content; max-width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-right: 1px solid var(--line); font-size: .875rem; font-weight: 500; white-space: nowrap; user-select: none; }
.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 2px; }
@media (hover: hover) { .seg input:not(:checked):hover + span { background: var(--soft); } }
.sf-instr-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .875rem; font-weight: 500; margin-bottom: .75rem; }
.sf-live { font-size: .75rem; color: var(--mut); font-weight: 400; }
.sf-instr-text { font: .8125rem/1.9 var(--mono); padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 3px; overflow-wrap: anywhere; min-height: 9rem; }
.sf-tok { color: var(--mut); }
.sf-chip { display: inline; padding: .05rem .3rem; margin: 0 .02rem; border-radius: 2px; background: var(--soft); border: 1px solid var(--line); transition: background .35s; }
.sf-chip.flash { background: var(--fg); color: var(--bg); border-color: var(--fg); transition: none; }
.sf-chip .k { color: var(--mut); }
.sf-dirq { font-style: italic; }
@media (prefers-reduced-motion: reduce) { .sf-chip { transition: none; } }
.sf-fold { margin-top: .85rem; }
.sf-fold summary { cursor: pointer; font-size: .875rem; font-weight: 500; list-style: none; display: flex; align-items: center; gap: .6rem; }
.sf-fold summary::-webkit-details-marker { display: none; }
.sf-fold summary::before { content: "+"; font-family: var(--mono); width: 1rem; color: var(--mut); }
.sf-fold[open] summary::before { content: "–"; }
.sf-dir { display: block; width: 100%; min-height: 6rem; margin: .75rem 0 .5rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--fg); font-size: .9375rem; line-height: 1.6; resize: vertical; }
.sf-reply { margin: .9rem 0 0; padding: .9rem 1.1rem; border-left: 2px solid var(--line); font: .8125rem/1.8 var(--mono); color: var(--mut); white-space: pre-wrap; overflow-wrap: anywhere; }
.sf-reply .rh { color: var(--fg); font-weight: 600; }
.sf-reply .rid, .sf-reply .hl { color: var(--fg); }
.sf-reply .hl { border-bottom: 1px solid var(--line); }
.sf-actions { margin-top: 1.25rem; }
.sf-who { font-size: .8125rem; color: var(--mut); margin: .25rem 0 0; }
.sf-who b { color: var(--fg); font-weight: 500; }
.sf-after { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.7; color: var(--mut); }
.sf-after p { margin: 0 0 .5rem; }
.sf-after p:last-child { margin: 0; }
.sf-after b { color: var(--fg); font-weight: 500; }
.sf-agents { margin-top: 1.25rem; }
.sf-agent-list { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.sf-agent-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.sf-end { min-height: 34px; padding: .3rem .7rem; font-size: .8125rem; }

/* Research provenance stays readable, selectable, and explicit about UTC. */
.document-record { margin: 0 0 1.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; color: var(--mut); font-size: .8125rem; line-height: 1.8; }
.document-record p { margin: .3rem 0; }
.document-record time, .document-dates time, .tree-dates time { font-variant-numeric: tabular-nums; display: inline-block; white-space: nowrap; }
.document-hash { overflow-wrap: anywhere; }
/* The board page: a short cell stays on one line and the table scrolls in its own box; the article's break-anywhere would set a handle one letter per line on a phone. */
.document .board-table th, .document .board-table td { overflow-wrap: normal; white-space: nowrap; }
.document .board-table td.text { white-space: normal; min-width: 14rem; }
.document-hash code { white-space: normal; }
.document-dates { line-height: 1.8; }
.tree li:has(.tree-dates) { flex-wrap: wrap; }
.tree-dates { width: 100%; color: var(--mut); font-size: .75rem; line-height: 1.8; }

/* Contributor page (Sep 15 2026): standing, points over time, the calibration ladder, work by kind, highlights. Brass marks progress and nothing else. */
:root { --brass: #d3ad3a; --brass-soft: #3a3113; --soft2: #2c2d2a; }
@media (prefers-color-scheme: light) { :root { --brass: #8a6d10; --brass-soft: #efe4bd; --soft2: #e4e2d9; } }
body[data-page=contributor] .breadcrumb { margin-bottom: 2.5rem; }
.identity { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr); gap: 3rem 5rem; align-items: end; margin-bottom: 2.5rem; }
.identity h1 { margin-bottom: .6rem; }
.identity .handle { color: var(--mut); margin-bottom: 1.1rem; }
.roles { display: flex; flex-wrap: wrap; gap: .5rem .75rem; font-size: .875rem; margin: 0; padding: 0; list-style: none; }
.roles li { border: 1px solid var(--line); border-radius: 3px; padding: .15rem .55rem; }
.roles li.trusted { border-color: var(--brass); color: var(--brass); }
.standing { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.5rem; align-items: baseline; }
.standing .big { font: 3.4rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.standing .big .pending-points { display: block; font: .875rem -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 0; color: var(--brass); white-space: nowrap; margin-top: .15rem; }
.standing .big small { font: 1rem -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 0; color: var(--mut); margin-left: .4rem; }
.standing .rank { font-size: .9375rem; }
.milestone { grid-column: 1 / -1; margin-top: .5rem; }
.milestone .track { height: 6px; background: var(--soft2); border-radius: 3px; overflow: hidden; margin: .45rem 0 .4rem; }
.milestone .fill { height: 100%; background: var(--brass); border-radius: 3px; }
.milestone .lbl { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--mut); }
.section { border-top: 1px solid var(--line); padding: 1.75rem 0 .5rem; margin-bottom: 1.75rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .muted { font-size: .875rem; }
.standing-sec { border-top: 1px solid var(--line); padding: 2rem 0 .5rem; margin-bottom: 1.75rem; }
.standing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 1fr); gap: 4rem; align-items: start; }
.chart-note { font-size: .875rem; color: var(--mut); margin: .75rem 0 0; max-width: 40rem; }
.vladder { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.vladder li { display: grid; grid-template-columns: 7rem 2.4rem minmax(0, 1fr); grid-template-areas: "n c d" "n c x"; column-gap: .75rem; row-gap: .2rem; align-items: baseline; padding: .7rem 0 .7rem 1rem; border-bottom: 1px solid var(--line); position: relative; color: var(--mut); }
.vladder li:last-child { border-bottom: 0; }
.vladder li::before { content: ""; position: absolute; left: -7px; top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.vladder li.reached { color: var(--fg); }
.vladder li.reached::before { background: var(--fg); border-color: var(--fg); }
.vladder li.top::before { background: var(--brass); border-color: var(--brass); }
.vladder li.top .rn { color: var(--brass); }
.vladder .rn { grid-area: n; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.vladder .rc { grid-area: c; font: 1.5rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-align: right; }
.vladder .rd { grid-area: d; display: flex; flex-wrap: wrap; gap: 3px; align-self: center; }
.vladder .rd .d { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); display: inline-block; }
.vladder li.top .rd .d { background: var(--brass); }
.vladder .rx { grid-area: x; font-size: .8125rem; line-height: 1.45; color: var(--mut); }
.wkinds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.wkinds:empty { display: none; }
.wk { padding: 1.1rem 1.25rem .5rem 0; border-right: 1px solid var(--line); margin-right: 1.25rem; min-width: 0; }
.wk:last-child { border-right: 0; margin-right: 0; }
.wk b { display: block; font: 2rem/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-bottom: .2rem; }
.wk .kn { display: block; font-weight: 600; font-size: .9375rem; }
.wk .kx { display: block; font-size: .8125rem; color: var(--mut); line-height: 1.45; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl { padding: 0 2rem 1.5rem 0; border-right: 1px solid var(--line); margin-right: 2rem; min-width: 0; }
.hl:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hl .kind { display: flex; gap: .6rem; align-items: center; font-size: .8125rem; color: var(--mut); margin-bottom: .9rem; flex-wrap: wrap; }
.hl .kind b { color: var(--brass); font-weight: 600; text-transform: capitalize; }
.hl h3 { font: 1.35rem/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.02em; font-weight: 400; margin-bottom: .7rem; text-wrap: balance; overflow-wrap: anywhere; }
.hl p { font-size: .9375rem; line-height: 1.6; margin-bottom: .8rem; }
.hl .meta { font-size: .8125rem; color: var(--mut); overflow-wrap: anywhere; }
.hl .meta a { text-decoration: underline; text-decoration-color: var(--line); }
.built { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.built b { display: block; font: 1.6rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.built span { font-size: .875rem; color: var(--mut); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; }
.compose { display: flex; height: 14px; border-radius: 2px; overflow: hidden; background: var(--soft2); margin: .75rem 0 1rem; }
.compose i { display: block; height: 100%; }
.legend { display: grid; grid-template-columns: 1fr; font-size: .875rem; margin: 0; padding: 0; list-style: none; }   /* the same width as the bar above it: they are one object */
.legend li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .35rem 0; }
.legend li span:first-child { display: flex; align-items: center; gap: .55rem; }
.legend i, .compose i { flex-shrink: 0; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.c1 { background: var(--fg); } .c2 { background: var(--mut); } .c3 { background: var(--brass); } .c4 { background: #9a8ba8; } .c5 { background: #7f9a86; } .c6 { background: #8c7f6d; } .c7 { background: var(--soft2); }
.pending { margin-top: 1rem; font-size: .875rem; color: var(--mut); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem; align-items: end; height: 9rem; margin: 1rem 0 .5rem; }
.day { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; }
.day .bar { background: var(--soft2); border-radius: 2px 2px 0 0; position: relative; }
.day .bar i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--brass); }
.day .cnt { font: .875rem Georgia, "Times New Roman", serif; font-variant-numeric: tabular-nums; text-align: center; }
.daylbl { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem; font-size: .75rem; color: var(--mut); text-align: center; }
.days, .daylbl { overflow-x: clip; }
.days.dense, .daylbl.dense { gap: 2px; }
.days.dense .cnt { font-size: .625rem; }
.days.sparse .cnt { visibility: hidden; }
.daylbl.dense span { white-space: nowrap; text-align: left; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.facts li b { display: block; font: 2rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.facts li span { font-size: .8125rem; color: var(--mut); }
.models { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.models li { border: 1px solid var(--line); border-radius: 3px; padding: .1rem .5rem; font-family: var(--mono); font-size: .75rem; color: var(--mut); }
.models li b { color: var(--fg); font-weight: 500; }
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.agent { border-top: 2px solid var(--line); padding-top: .75rem; }
.agent.live { border-top-color: var(--brass); }
.agent .st { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--mut); margin-bottom: .25rem; }
.agent.live .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.agent .model { font-family: var(--mono); font-size: .875rem; }
.agent p { font-size: .875rem; color: var(--mut); margin: .35rem 0 0; }
body[data-page=contributor] td.id { font-family: var(--mono); color: var(--mut); white-space: nowrap; width: 4rem; }
body[data-page=contributor] td.date { white-space: nowrap; color: var(--mut); }
.pill { display: inline-block; font-size: .75rem; padding: .05rem .45rem; border: 1px solid var(--line); border-radius: 3px; white-space: nowrap; }
.pill.acc { border-color: var(--brass); color: var(--brass); }
.pill.rej { border-color: var(--mut); color: var(--mut); }
body[data-page=contributor] details { margin-top: 1rem; }
body[data-page=contributor] summary { cursor: pointer; font-size: .9375rem; font-weight: 500; }
.prior p { font-size: .9375rem; max-width: 60rem; }
@media (max-width: 1100px) { .standing-grid, .identity { grid-template-columns: 1fr; gap: 2.5rem; } .grid2 { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } .highlights { grid-template-columns: 1fr; } .hl { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; } .hl:last-child { border-bottom: 0; } .agents, .built { grid-template-columns: 1fr; gap: 1rem; } .wkinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wk:nth-child(3) { border-right: 0; } .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .wkinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk:nth-child(3) { border-right: 1px solid var(--line); } .wk:nth-child(even) { border-right: 0; } .vladder li { grid-template-columns: 6rem 2rem minmax(0, 1fr); } .days { height: 6rem; } }
@media (prefers-reduced-motion: no-preference) { .milestone .fill { transition: width .6s ease; } }

/* A credited person: a chosen name always carries the handle beside it (src/lib/display-name.ts). */
.credit-handle { color: var(--mut); font-size: .875em; white-space: nowrap; }
.credit:hover { text-decoration: none; }
.credit:hover .credit-name, a.credit:hover:not(:has(.credit-name)) { text-decoration: underline; }
.identity .name-owner { margin-top: 1rem; font-size: .875rem; }
.identity .name-owner summary { cursor: pointer; color: var(--mut); }
.identity .name-owner textarea { display: block; width: min(100%, 30rem); min-height: 4.5rem; margin: .6rem 0; background: transparent; color: var(--fg); border: 1px solid var(--line); padding: .5rem .65rem; }
.identity .name-owner label { display: flex; gap: .5rem; align-items: center; margin-bottom: .6rem; }
