/* PQ Tracker. Plain reference styling: near-white page, one sans-serif (Inter), mono for data,
   hairline rules, colour used only for status. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --bg: #fcfcfc; --sunk: #f4f5f6; --ink: #111315; --text: #24272b; --text-2: #4b5057; --muted: #6b7078; --faint: #a4a8ae;
  --rule: #e6e7e9; --rule-strong: #cdd0d4; --bad: #c0352b; --ok: #2f7d4f; --sep: #dcdee1;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --math: "STIX Two Text", "Cambria Math", Cambria, Georgia, "Times New Roman", serif;
  --page: 1160px; --gutter: 32px; --measure: 720px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101214; --sunk: #181b1f; --ink: #f2f3f4; --text: #dcdee1; --text-2: #b4b8be; --muted: #8d9299; --faint: #5f646b;
    --rule: #25292e; --rule-strong: #3a3f46; --bad: #f0786c; --ok: #6cc08b; --sep: #30343a;
  }
}
:root[data-theme="dark"] {
  --bg: #101214; --sunk: #181b1f; --ink: #f2f3f4; --text: #dcdee1; --text-2: #b4b8be; --muted: #8d9299; --faint: #5f646b;
  --rule: #25292e; --rule-strong: #3a3f46; --bad: #f0786c; --ok: #6cc08b; --sep: #30343a;
}
@media (max-width: 720px) { :root { --gutter: 20px; } }

* { box-sizing: border-box; }
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 14px; }
b, strong { font-weight: 600; color: var(--ink); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--bg); padding: 6px 10px; z-index: 50; }
[hidden] { display: none !important; }
/* In the text, not on screen: separators that keep adjacent items apart when copied or read aloud. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: a brand row, then the section bar. The header sticks 60px above the viewport, so the brand row
   scrolls away and the section bar stays. */
.bar { position: sticky; top: -60px; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.bar-in { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 0 16px; }
.brand { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.wordmark { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.tagline { font-size: 13px; color: var(--muted); }
.tagline a { color: inherit; text-decoration: none; }
.tagline a:hover { color: var(--ink); }
.bar-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.btn { display: inline-block; border: 1px solid var(--rule-strong); border-radius: 6px; padding: 11px 14px; color: var(--ink); background: transparent; text-decoration: none; font-size: 13px; font-weight: 600; line-height: 20px; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: var(--ink); }
.theme { width: 44px; height: 44px; margin-right: -12px; padding: 0; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); cursor: pointer; }
.theme:hover { color: var(--ink); }
.tabs { max-width: var(--page); margin: 0 auto; padding: 0 calc(var(--gutter) - 10px); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; white-space: nowrap; }
.tabs a { display: block; padding: 12px 10px; line-height: 20px; font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { font-weight: 600; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tabs .sep { width: 1px; height: 16px; margin: 0 8px; background: var(--sep); flex: none; }
@media (max-width: 400px) { .tagline { display: none; } }

/* Page frame and head */
.sheet { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter) 80px; }
.crumb { margin: 28px 0 0; font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.page-head { padding-top: 44px; max-width: 860px; }
.crumb + .page-head { padding-top: 14px; }
.kicker { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.title { font-weight: 700; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 12px; }
.title .aka { font-weight: 500; color: var(--muted); font-size: 0.55em; letter-spacing: 0; white-space: nowrap; margin-left: 6px; }
.standfirst { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 760px; margin: 0; }
.byline { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 13.5px; color: var(--muted); }
.byline b { color: var(--text); font-weight: 600; }
.byline a { color: inherit; }

/* Section heads */
.rule-head { margin: 60px 0 16px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 14px; }
.rule-head h2 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: -0.012em; }
.rule-head .note { font-size: 13.5px; color: var(--muted); }
.more { margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--ink); }
.lede { max-width: 760px; color: var(--text-2); margin: 0 0 18px; }
.sheet > .rule-head:first-of-type, .page-head + .rule-head { margin-top: 44px; }

/* Two columns */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 56px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

/* Article layout: text column plus a facts rail */
.article { display: grid; grid-template-columns: minmax(0, var(--measure)) 300px; gap: 0 72px; margin-top: 40px; align-items: start; }
.article > .rail { font-size: 14.5px; }
.article > .main > .rule-head:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 1100px) { .article { grid-template-columns: minmax(0, 1fr); gap: 36px; } .article > .rail { order: -1; } }
@media (max-width: 1100px) { .article.entry-article > .rail { order: 0; } }

/* Prose */
.prose { max-width: var(--measure); font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-weight: 650; font-size: 21px; line-height: 1.25; color: var(--ink); margin: 40px 0 10px; letter-spacing: -0.012em; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 7px 0; }
var { font-family: var(--math); font-style: italic; font-size: 1.06em; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
.math { font-family: var(--math); font-size: 20px; text-align: center; margin: 20px 0 22px; overflow-x: auto; white-space: nowrap; color: var(--ink); }
.math b { font-weight: 700; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
ul.plain li:last-child { border-bottom: 0; }
ul.dash { padding-left: 20px; margin: 0 0 14px; max-width: var(--measure); }
ul.dash li { margin: 7px 0; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* Tables */
.tblwrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 8px 20px 8px 0; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; vertical-align: bottom; }
td { padding: 12px 20px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]:hover { color: var(--ink); }
th[aria-sort="ascending"]::after { content: " ↑"; }
th[aria-sort="descending"]::after { content: " ↓"; }
td.num, .date { font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--text-2); }
.name { font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; }
a.name:hover { text-decoration: underline; }
td:first-child > .name, .prose td:first-child { white-space: nowrap; }
.sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; line-height: 1.45; }
.links { font-size: 14.5px; }
.links a.flag { color: var(--bad); text-decoration-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.st { font-size: 13.5px; font-weight: 500; color: var(--text); display: inline-flex; align-items: baseline; gap: 7px; line-height: 1.4; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; transform: translateY(-1px); }
.st-ok::before { background: var(--ok); }
.st-bad { color: var(--bad); }
.st-bad::before { background: var(--bad); }
.prose table { margin: 0 0 20px; }
table.dense { font-size: 14.5px; line-height: 1.5; }
table.dense td { padding-top: 9px; padding-bottom: 9px; }
table.dense .name { font-size: 14.5px; }
table.dense td:first-child, table.dense .st { white-space: nowrap; }
table.dense .links a { white-space: nowrap; }
/* Grouped tables: one <tbody> per group, headed by a tr.group row */
tr.group th { padding: 30px 0 8px; font-size: 14px; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--rule-strong); white-space: normal; }
tbody:first-of-type tr.group th { padding-top: 22px; }
tr.group .n { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
tr.group .more { float: right; font-weight: 500; font-size: 13px; color: var(--text-2); text-decoration: none; }
tr.group .more:hover { color: var(--ink); }
tr.group .gnote { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; max-width: 760px; line-height: 1.45; }
tr.group .gnote a { color: inherit; }
table.deploy { table-layout: fixed; min-width: 900px; }
table.deploy td { overflow-wrap: anywhere; }
table.deploy td:first-child, table.deploy td:first-child > .name { white-space: normal; }
table.deploy td.src { font-size: 13px; }
table.deploy td.num .sub { font-family: var(--sans); white-space: nowrap; }
sup, sub { line-height: 0; font-size: 0.74em; }
#algorithms-table td:nth-child(4) a { white-space: nowrap; }
#algorithms-table .st a { text-decoration-color: var(--rule-strong); }
#algorithms-table .st-bad a { color: var(--bad); }
#algorithms-table .st + .sub { margin-left: 14px; }
#algorithms-table a.date { text-decoration: none; }
#algorithms-table a.date:hover { text-decoration: underline; }
#algorithms-table.ext td:nth-child(5) { white-space: nowrap; font-size: 14.5px; }
.sub.adverse { color: var(--bad); }
.sub.neutral { color: var(--text-2); }
.search { width: 100%; max-width: 380px; padding: 8px 11px; border: 1px solid var(--rule-strong); border-radius: 6px; background: transparent; color: var(--ink); font: 400 14.5px var(--sans); margin: 0 0 14px; }
.search:focus { border-color: var(--ink); outline: none; }
.filters .search { margin: 0; width: 300px; max-width: 100%; padding: 6px 11px; font-size: 13.5px; }

/* Feed entries */
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.entries > .entry:last-child { border-bottom: 0; }
.entry-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.entry .kicker { margin: 0 0 4px; font-size: 12.5px; color: var(--text-2); }
.kicker .k-adverse { color: var(--bad); }
.kicker .k-quiet { color: var(--muted); font-weight: 500; }
.kicker .sep { color: var(--faint); margin: 0 6px; font-weight: 400; }
.entry-title { font-weight: 600; font-size: 17px; line-height: 1.35; margin: 0 0 6px; color: var(--ink); max-width: 820px; letter-spacing: -0.005em; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { text-decoration: underline; }
.entry-summary { max-width: 820px; margin: 0 0 8px; font-size: 15px; }
.entry-todo { max-width: 820px; margin: 0 0 8px; font-size: 15px; padding: 8px 12px; background: var(--sunk); border-radius: 0; }
.entry-meta { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 820px; }
.entry-meta b { font-weight: 500; color: var(--muted); margin-right: 6px; }
.entry-meta a { color: var(--text-2); }
.entry-meta span { display: block; }
.entry.compact { padding: 12px 0; grid-template-columns: 100px minmax(0, 1fr); gap: 0 16px; }
.entry.compact .entry-title { font-size: 15.5px; margin: 0; font-weight: 550; }
.entry.compact .kicker { margin-bottom: 2px; font-size: 12px; }
@media (max-width: 640px) { .entry, .entry.compact { grid-template-columns: 1fr; gap: 2px; } }
.entry-head { max-width: 900px; }
.entry-head .title { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.22; letter-spacing: -0.015em; }
.entry-head .kicker { color: var(--text-2); }
.entry-lead { font-size: 17px; line-height: 1.65; margin: 0 0 22px; max-width: var(--measure); }
.entry-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.4; }
.entry-nav a { color: var(--text); text-decoration: none; }
.entry-nav a:hover { color: var(--ink); text-decoration: underline; }
.entry-nav a span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.entry-nav .older { grid-column: 2; text-align: right; }
.year { font-weight: 700; font-size: 22px; line-height: 1; color: var(--ink); margin: 52px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong); letter-spacing: -0.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; }
.filters button, .filters select { border: 1px solid var(--rule-strong); border-radius: 6px; background: transparent; color: var(--text-2); padding: 6px 12px; font: 500 13.5px var(--sans); cursor: pointer; line-height: 1.4; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { margin-left: auto; color: var(--muted); font-size: 13.5px; }
.filters, .entry { scroll-margin-top: 76px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -1px 0 0; padding-top: 20px; border-top: 1px solid var(--rule-strong); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pager a, .pager .step { border: 1px solid var(--rule-strong); border-radius: 6px; padding: 6px 11px; min-width: 36px; text-align: center; color: var(--text-2); font-weight: 500; line-height: 1.4; text-decoration: none; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .step[aria-disabled="true"] { color: var(--faint); border-color: var(--rule); }
.pager .gap { color: var(--muted); padding: 0 2px; }
.pager .of { margin-left: auto; color: var(--muted); }
@media (max-width: 640px) { .pager .lbl, .pager .of { display: none; } .pager a, .pager .step { padding: 6px 8px; min-width: 34px; } }
dl.legend { display: grid; grid-template-columns: max-content 1fr; margin: 0; font-size: 15px; max-width: 980px; }
dl.legend dt, dl.legend dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--rule); }
dl.legend dt { padding-right: 28px; white-space: nowrap; }
dl.legend dt .kicker { margin: 0; display: inline; font-size: 13px; color: var(--text-2); }
dl.legend > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 640px) { dl.legend { grid-template-columns: 1fr; } dl.legend dt { border-bottom: 0; padding-bottom: 0; } }

/* Facts and notes */
dl.facts { margin: 0; }
dl.facts dt { color: var(--muted); font-size: 12.5px; padding-top: 10px; }
dl.facts dt:first-child { padding-top: 0; }
dl.facts dd { margin: 1px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
dl.facts dd:last-child { border-bottom: 0; }
.rail h3 { font-size: 12.5px; font-weight: 500; color: var(--muted); margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.rail ul.plain li { padding: 7px 0; font-size: 14px; line-height: 1.45; }
.notebox { background: var(--sunk); border-left: 3px solid var(--ink); border-radius: 0; padding: 14px 18px; margin: 0 0 22px; max-width: var(--measure); }
.notebox.bad { border-left-color: var(--bad); }
.notebox .kicker { color: var(--ink); margin-bottom: 4px; }
.notebox.bad .kicker { color: var(--bad); }
.notebox > :last-child { margin-bottom: 0; }
.rests { list-style: none; padding: 0; margin: 0; }
.rests li { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2px 24px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.rests li:last-child { border-bottom: 0; }
.rule-head + .rests.index { margin-top: -12px; }
.rests.chains li { grid-template-columns: 190px minmax(0, 1fr); padding: 20px 0; }
.rests.chains li p { margin: 0 0 10px; max-width: 800px; }
.rests.chains ul.plain { max-width: 800px; margin-top: 4px; }
.rests.chains ul.plain li { display: block; padding: 8px 0; font-size: 14.5px; }
@media (max-width: 640px) { .rests li, .rests.chains li { grid-template-columns: 1fr; } }

/* Matrix and deadline grid */
table.matrix th, table.matrix td { text-align: center; padding-left: 6px; padding-right: 6px; }
table.matrix th:first-child, table.matrix td:first-child { text-align: left; padding-left: 0; white-space: nowrap; }
table.matrix thead th { white-space: normal; line-height: 1.35; min-width: 62px; }
table.matrix thead th a { color: inherit; text-decoration: none; }
table.matrix thead th a:hover { color: var(--ink); }
table.matrix thead th a.flag { color: var(--bad); }
table.matrix td:first-child a, table.grid td:first-child a { font-weight: 600; text-decoration: none; }
table.matrix td:first-child a:hover, table.grid td:first-child a:hover { text-decoration: underline; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); vertical-align: middle; }
.dot.model { background: transparent; border: 1.5px solid var(--faint); }
.dot.broken { background: var(--bad); }
table.matrix tr.groups th, table.matrix tr.groups td { border-bottom: 0; padding: 0 8px; }
table.matrix tr.groups th { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
table.matrix tr.groups span { display: block; padding-bottom: 6px; border-bottom: 1px solid var(--rule-strong); }
table.matrix .gs { border-left: 1px solid var(--rule); }
/* Deadline grid. Fixed layout: the columns keep their widths when a requirement opens under a jurisdiction name. */
table.grid { table-layout: fixed; min-width: 800px; }
table.grid th, table.grid td { text-align: center; padding-left: 2px; padding-right: 2px; }
table.grid td { padding-top: 4px; padding-bottom: 4px; }
table.grid th:first-child, table.grid td:first-child { text-align: left; padding: 12px 18px 12px 0; }
table.grid th:first-child { width: 270px; }
table.grid thead th:first-child { padding-top: 8px; padding-bottom: 8px; }
table.grid td:first-child a { white-space: nowrap; }
table.grid .now { background: var(--sunk); }
/* A marker is a 20 by 40 button around a 10px square: outlined for a milestone, filled for the final deadline.
   The selected marker carries a short bar beneath it. */
.ms { position: relative; width: 20px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; vertical-align: top; }
.ms i, .ms-key { display: block; flex: none; width: 10px; height: 10px; box-sizing: border-box; border-radius: 2px; border: 1.5px solid var(--text-2); }
.ms.end i, .ms-key.end { background: var(--ink); border-color: var(--ink); }
.ms:hover i { border-color: var(--ink); }
.ms[aria-expanded="true"]::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 7px; height: 2px; border-radius: 1px; background: var(--ink); }
.ms-note { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.ms-meta { display: block; font-size: 12px; color: var(--muted); }
.ms-meta b { font-weight: 600; color: var(--text-2); }
.ms-meta i { font-style: normal; margin: 0 6px; color: var(--faint); }
.ms-meta time { font-family: var(--mono); }
.key { margin: 12px 0 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.key span { display: inline-flex; align-items: center; gap: 7px; }

/* Columns of items */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; }
@media (max-width: 980px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols { grid-template-columns: 1fr; } }
.item { font-size: 15px; }
.item h3 { font-weight: 600; font-size: 16.5px; line-height: 1.3; margin: 0 0 6px; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.item .kicker { font-size: 12.5px; font-weight: 500; margin-bottom: 4px; }
.item .kicker.own { color: var(--ink); font-weight: 600; }
.item p { margin: 0 0 8px; }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.45; }
.timeline li b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--text-2); padding-top: 2px; }
.dates { list-style: none; padding: 0; margin: 0; }
.dates li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.dates li:last-child { border-bottom: 0; }
.dates b { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.dates .sub a { color: inherit; text-decoration: none; }
.dates .sub a:hover { color: var(--ink); }

/* Disclosures */
details.panel { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
details.panel > summary { cursor: pointer; padding: 12px 0; font-weight: 550; color: var(--ink); font-size: 15.5px; }
details.panel > div { padding: 0 0 14px; font-size: 15px; }
details.fold > summary { cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); padding: 3px 0; width: fit-content; }
details.fold > summary:hover { color: var(--ink); }
details.fold[open] > summary { margin-bottom: 4px; }
details.rail-fold { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-strong); }
details.rail-fold > summary { font-size: 12.5px; }
.entry-meta .srcs a { display: block; }
.entry-meta details.fold > summary { font-size: 13px; }

/* Web3 section on algorithm pages: set apart by a coloured border only */
.web3 { --w: #46d1d4; margin: 56px 0 0; padding: 18px 20px 14px; border: 1px solid var(--w); border-left: 3px solid var(--w); border-radius: 0; max-width: var(--measure); }
.web3-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 14px; margin-bottom: 10px; }
.web3-head h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.web3-head .note { font-size: 13.5px; color: var(--muted); }
.web3 p { margin: 0 0 10px; }
.web3 table.dense td:nth-child(2) { white-space: normal; }

/* Audit strip and footer */
.strip { margin-top: 60px; padding: 16px 20px; background: var(--sunk); border-radius: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; font-size: 15px; }
.strip p { margin: 0; }
.strip .more { color: var(--ink); font-weight: 600; }
.foot { border-top: 1px solid var(--rule); }
.foot-in { max-width: var(--page); margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px 40px; font-size: 14px; }
.foot h4 { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.foot p { margin: 0 0 8px; color: var(--text-2); max-width: 380px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 5px 0; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 13px; color: var(--muted); margin: 0; max-width: none; }
.foot .fine a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--rule-strong); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > :first-child { grid-column: 1 / -1; } }
