
/* Crypt of Echoes record page layout (shared with the data views). */
:root {
  --ce-obsidian: #0B0B0D;
  --ce-parchment: #E6DFD3;
  --ce-deep-teal: #2D5154;
  --ce-echo-teal: #5E7F82;
  --ce-mist: #8EB6B8;
  --ce-candlelight: #C8B28A;
  --paper: #FAF8F4;
  --panel: #F3EFE7;
  --text: #202829;
  --muted: #596161;
  --line: #D8D2C7;
  --pill-bg: #E5EBE5;
  /* data marks */
  --ink: #0B0B0D;
  --surface: #FAF8F4;
  --water: #2D5154;
  --water-soft: #8EB6B8;
  --limit: #9A6B2F;
  --flag: #8A6A35;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --editorial: "EB Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --max: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--text); font: 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ce-deep-teal); text-underline-offset: 4px; }
a:hover { color: #183A3D; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ce-deep-teal); outline-offset: 3px; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--ce-candlelight); }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; line-height: 1.13; margin: 0; text-wrap: balance; }
.eyebrow { font-size: .63rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ce-deep-teal); line-height: 1.65; margin: 0; }
.mono { font-variant-numeric: tabular-nums; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: var(--max); margin: 0 auto; }

/* Header */
.site-header { background: var(--ce-obsidian); color: var(--ce-parchment); }
.topline { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px 11px; border-bottom: 1px solid #292E2C; color: #A2ADA9; font-size: .59rem; letter-spacing: .17em; text-transform: uppercase; }
.topline a { font: italic .76rem var(--serif); letter-spacing: .025em; color: #BFB7A8; text-decoration: none; text-transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px 22px; }
.brand img { width: 322px; max-width: 54vw; height: auto; display: block; }
.header-search { color: var(--ce-parchment); text-decoration: none; font-size: .8rem; display: inline-flex; gap: 10px; align-items: center; }
.header-search svg { width: 18px; height: 18px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 30px; border-top: 1px solid #303634; }
.main-nav a { font-size: .73rem; letter-spacing: .025em; color: #D7D3C9; padding: 15px 0 14px; text-decoration: none; position: relative; }
.main-nav a:hover { color: var(--ce-mist); }
.main-nav a[aria-current="page"] { color: var(--ce-mist); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ce-mist); }
@media (max-width: 640px) {
  .topline { justify-content: center; font-size: .5rem; }
  .topline a, .header-search span { display: none; }
  .main-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 17px; }
  .main-nav a { border-bottom: 1px solid #26372F; padding: 11px 4px; }
}

/* Intro */
main { padding-block: 0 72px; }
.breadcrumb { display: flex; justify-content: space-between; gap: 12px; font-size: .69rem; margin: 26px 0 40px; color: #586C67; }
.breadcrumb a { text-decoration: none; }
.record-intro { border-bottom: 1px solid var(--ce-echo-teal); padding-bottom: 28px; }
.record-intro h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 980px; margin: 14px 0 17px; letter-spacing: -.04em; }
.lede { font-size: .95rem; max-width: 850px; line-height: 1.9; color: #596662; margin: 0 0 14px; }
.small { font-size: .77rem; color: var(--muted); line-height: 1.75; margin: 0; }

.content-section { padding: 44px 0 8px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 1.95rem; }
.section-heading > span { color: var(--muted); font-size: .73rem; font-variant-numeric: tabular-nums; }

/* Buttons, as on the site */
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--ce-deep-teal); border: 1px solid var(--ce-deep-teal); border-radius: 2px; color: var(--paper); font: 500 .78rem/1.45 var(--sans); min-height: 44px; padding: 11px 16px; text-decoration: none; cursor: pointer; }
.button:hover { background: #1D3F41; border-color: #1D3F41; color: #fff; }
.button.secondary { background: transparent; color: var(--ce-deep-teal); border-color: #9DA89E; }
.button.secondary:hover { background: #E8ECE4; border-color: var(--ce-deep-teal); color: var(--ce-deep-teal); }

/* Ledger: styled like the site's "Read this source here" panel */
.ledger { margin-top: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; }
.ledger-top { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-end; }
.ledger-top h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: 6px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.ledger-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 760px) { .ledger-body, .ledger-body.funds { grid-template-columns: minmax(0, 1fr) !important; } }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ce-deep-teal); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; background: var(--pill-bg); color: #294C47; border: 1px solid #C9D5CC; font-size: .56rem; letter-spacing: .07em; padding: 3px 7px; font-weight: 600; text-transform: uppercase; white-space: nowrap; border-radius: 2px; }
.pill.rep { background: transparent; border-style: dashed; color: var(--muted); border-color: #A9B0AA; }
.pill.none { background: #F1E8D8; border-color: #D9C6A0; color: #6E5226; }
.notes { display: grid; gap: 12px; align-content: start; }
.notes h3 { font-size: 1.35rem; }
.note { border-left: 2px solid var(--ce-candlelight); padding: 2px 0 2px 14px; margin: 0; font: 1.02rem/1.6 var(--editorial); }
.note.ok { border-left-color: var(--line); color: var(--muted); }

/* Log */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.log li:last-child { border-bottom: 1px solid var(--line); }
.log li b { font: 400 1.5rem/1.1 var(--serif); color: var(--ink); }
.log li p { margin: 0; max-width: 68ch; font: 1.05rem/1.65 var(--editorial); }
.log li button { font: 600 .67rem/1 var(--sans); color: var(--ce-deep-teal); background: none; border: 0; padding: 0 0 0 6px; cursor: pointer; white-space: nowrap; }
.log li button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Source trail: the site's record cards */
.record-card { display: flex; gap: 22px; padding: 25px 0; border-top: 1px solid var(--line); }
.record-card:last-child { border-bottom: 1px solid var(--line); }
.record-icon { width: 50px; height: 61px; flex: 0 0 50px; background: #E9E6DA; color: var(--ce-deep-teal); border: 1px solid #D4CDBF; border-radius: 2px; display: grid; place-items: center; }
.record-icon svg { width: 23px; height: 23px; }
.record-card-body { min-width: 0; flex: 1; }
.record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; font-size: .64rem; margin-bottom: 10px; color: #586664; }
.record-card h3 { font: 400 1.51rem/1.25 var(--serif); letter-spacing: -.025em; }
.record-card h3 a { color: var(--ink); text-decoration: none; }
.record-card h3 a:hover { color: var(--ce-deep-teal); }
.record-card p { font-size: .79rem; line-height: 1.8; margin: 9px 0 0; color: var(--muted); }
.record-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 20px; font-size: .65rem; margin-top: 14px; color: var(--muted); }
.record-bottom div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.record-bottom a { font-size: .67rem; font-weight: 600; text-decoration: none; }
@media (max-width: 520px) { .record-icon { display: none; } .record-card h3 { font-size: 1.37rem; } }

/* Method + footer */
.method { margin-top: 44px; max-width: 850px; display: grid; gap: 10px; }
.method p { margin: 0; font-size: .77rem; color: var(--muted); line-height: 1.75; }
.site-footer { background: var(--ce-obsidian); color: #AAB5B1; padding-block: 52px 22px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 820px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }
.footer-main img { width: 240px; max-width: 100%; height: auto; display: block; }
.footer-motto { font: 400 1.3rem/1.3 var(--serif); color: var(--ce-parchment); margin: 14px 0 0; }
.footer-motto em { color: var(--ce-mist); }
.footer-main .eyebrow { color: var(--ce-candlelight); font-size: .54rem; letter-spacing: .12em; margin: 14px 0 17px; }
.footer-main p { font-size: .8rem; }
.footer-note { color: #8A958F; font-size: .72rem !important; }
.footer-links a { color: #C3CCC5; display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #2F3631; text-decoration: none; font-size: .72rem; }
.footer-links a:hover { color: var(--ce-mist); }
.footer-links a span { color: var(--ce-candlelight); }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid #2F3631; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .6rem; letter-spacing: .12em; }
.footer-bottom a { color: var(--ce-parchment); text-decoration: none; letter-spacing: 0; font-size: .64rem; }
@media (prefers-reduced-motion: no-preference) { .fill { transition: y 500ms ease, height 500ms ease; } }

.text-link{font:600 .67rem/1 var(--sans);color:var(--ce-deep-teal);background:none;border:0;padding:0;cursor:pointer}.text-link:hover{text-decoration:underline;text-underline-offset:4px}

/* BEGIN SEARCH READING */
.research-reading{max-width:1120px;margin:3rem auto;padding:2rem clamp(18px,4vw,48px);border-top:1px solid #b6aa91;color:inherit;line-height:1.65}
.research-reading>h2{font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.15;margin:0 0 1.2rem}
.research-section{margin:1.8rem 0}.research-section h3{font-size:1.35rem;line-height:1.3;margin:0 0 .8rem}.research-section>p{max-width:78ch;margin:.8rem 0}
.research-reading a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.research-links{padding-left:1.3rem;columns:2;column-gap:2rem}.research-links li{break-inside:avoid;margin:0 0 .65rem}
.research-table{max-width:100%;overflow-x:auto;margin:1rem 0}.research-table table{border-collapse:collapse;width:100%;font-size:.92rem;line-height:1.5;text-align:left}.research-table caption{text-align:left;font-weight:600;padding:.6rem 0}.research-table th,.research-table td{border-bottom:1px solid #b6aa91;padding:.7rem;vertical-align:top;min-width:100px}.research-table thead th{font-size:.82rem}.research-table tbody th{font-weight:500}.research-table:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.research-details{border-top:1px solid #b6aa91;padding:.85rem 0}.research-details summary{font-weight:600;cursor:pointer;padding:.4rem 0}.research-jump{display:block;font-size:.95rem;margin:1rem 0;text-decoration:underline}.search-heading{font-size:clamp(2.2rem,5vw,4.5rem)!important;line-height:1.08!important;overflow-wrap:break-word}
@media(max-width:650px){.research-links{columns:1}.research-reading{padding:1.4rem 18px;margin:2rem auto}.research-table table{font-size:.86rem}}
/* END SEARCH READING */

/* Readable chart labels use local scrolling; the page remains within the viewport. */
.readable-chart,.readable-table{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.readable-chart:focus-visible,.readable-table:focus-visible{outline:2px solid #23686b;outline-offset:3px}
.readable-chart > svg.readable-chart-svg{display:block;width:100%;max-width:none;height:auto;max-height:none}
@media print{.readable-chart,.readable-table{overflow:visible}.readable-chart > svg.readable-chart-svg{min-width:0!important}}

/* Shared pieces for the record data views */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.stat { background: var(--paper); padding: 18px 18px 16px; }
.stat b { display: block; font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--serif); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: .74rem; line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.prose { max-width: 760px; }
.prose p { font: 1.12rem/1.7 var(--editorial); margin: 0 0 14px; color: var(--text); }
.prose p.small { font: .77rem/1.75 var(--sans); color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; padding: clamp(18px, 3vw, 30px); }
.callout { border-left: 3px solid var(--ce-candlelight); background: #F6F0E3; padding: 14px 18px; font-size: .86rem; line-height: 1.7; max-width: 860px; }
.callout.warn { border-left-color: #9A3B2F; background: #F7ECE8; }
.callout b { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 18px 18px 16px; }
.card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card p { margin: 0; font: 1rem/1.6 var(--editorial); color: var(--text); }
.card .eyebrow { margin-bottom: 6px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--sans); }
.cap { font-size: .72rem; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: minmax(0, 1fr); } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .84rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font: 1.02rem/1.55 var(--editorial); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✦"; color: var(--ce-candlelight); font-size: .8rem; padding-top: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .74rem; }
.anchor-nav a { text-decoration: none; }
.anchor-nav a:hover { text-decoration: underline; }
.card p.eyebrow { font: 600 .63rem/1.65 var(--sans); color: var(--ce-deep-teal); margin: 0 0 6px; }
.legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .7rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { font: 500 .74rem/1 var(--sans); min-height: 36px; padding: 9px 13px; border-radius: 2px; border: 1px solid #9DA89E; background: transparent; color: var(--ce-deep-teal); cursor: pointer; }
.tabs button:hover { background: #E8ECE4; }
.tabs button[aria-pressed="true"] { background: var(--ce-deep-teal); color: var(--paper); border-color: var(--ce-deep-teal); }
.bedtax .readable-chart { margin-top: 22px; }
.heat { min-width: 860px; border-collapse: separate; border-spacing: 2px; font-size: .72rem; }
.heat th, .heat td { border: 0; padding: 0; }
.heat thead th { font-size: .56rem; padding: 0 0 6px; text-align: center; }
.heat thead th:first-child { text-align: left; }
.heat tbody th { padding-right: 8px; white-space: nowrap; }
.heat tbody th button { appearance: none; border: 0; background: none; font: 500 .76rem/1.3 var(--sans); color: var(--ce-deep-teal); cursor: pointer; padding: 6px 0; text-align: left; }
.heat tbody th button:hover { text-decoration: underline; text-underline-offset: 3px; }
.heat tr.sel th button { color: var(--ink); font-weight: 700; }
.heat tr.sel th button::before { content: "▸ "; color: var(--ce-candlelight); }
.heat td.cell { vertical-align: middle; height: 38px; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; font-size: .66rem; border-radius: 1px; }
.heat td.num { padding: 0 6px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.heat tr.sel td.cell { box-shadow: inset 0 0 0 1.5px var(--ink); }
.heat-legend { display: flex; align-items: center; gap: 10px; font-size: .68rem; color: var(--muted); margin-top: 10px; }
.heat-legend i { width: 160px; height: 10px; background: linear-gradient(90deg, rgb(234,240,236), rgb(29,63,65)); display: inline-block; }
#zip-table td.num { white-space: normal; }

.bedtax .ledger .chart { max-width: 560px; }

.sub-h { font-size: 1.6rem; margin: 34px 0 10px; }
.prose-p { font: 1.08rem/1.65 var(--editorial); max-width: 760px; margin: 0 0 14px; }
details.yt { margin-top: 16px; }
details.yt summary { cursor: pointer; font: 600 .76rem/1 var(--sans); color: var(--ce-deep-teal); padding: 10px 0; }
#hist-table small { color: var(--muted); }
.missing { color: #8C7F66; font-style: italic; }
.audit-list { list-style: none; margin: 0; padding: 0; }
.audit-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .84rem; }
.audit-list li:first-child { border-top: 0; }
.audit-list b { font: 400 1.15rem/1.2 var(--serif); color: #9A3B2F; font-variant-numeric: tabular-nums; }


/* Video data views */
.video-frame { background: var(--ce-obsidian); border: 1px solid #1d2322; border-radius: 2px; overflow: hidden; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16/9); background: #000; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: .72rem; color: var(--muted); margin-top: 10px; }
.watch { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .watch { grid-template-columns: minmax(0, 1fr); } }
.chapters { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 62px 1fr; gap: 10px; width: 100%; padding: 9px 4px; font-size: .8rem; line-height: 1.45; }
.chapters button:hover, .chapters button:focus-visible { background: #EEF1EB; }
.chapters button.on { background: #E5EBE5; }
.chapters .t { font-variant-numeric: tabular-nums; color: var(--ce-deep-teal); font-weight: 600; }
.chapters .d { color: var(--muted); display: block; font-size: .72rem; }
.seek { all: unset; cursor: pointer; color: var(--ce-deep-teal); font-weight: 600; font-variant-numeric: tabular-nums; border-bottom: 1px dotted var(--ce-echo-teal); }
.seek:hover { color: #183A3D; }
.dv-table td, .dv-table th { padding-right: 14px; }
.dv-table td:first-child { white-space: nowrap; }
.tag { display: inline-block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; background: var(--pill-bg); color: var(--ce-deep-teal); white-space: nowrap; }
.tag.rust { background: #F3E2DD; color: #9A3B2F; }
.tag.amber { background: #F6ECDC; color: #8A5A1C; }
.tag.purple { background: #ECE7F1; color: #5E4E70; }
.chart .ax { stroke: #B9B2A5; stroke-width: 1; }
.chart .grid { stroke: #E2DCD1; stroke-width: 1; }
.chart .lbl { font-size: 11px; fill: #596161; }
.chart .lbl-strong { font-size: 12px; fill: #202829; font-weight: 600; }
.chart .val { font-size: 11px; fill: #202829; font-variant-numeric: tabular-nums; }
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.frames figure { margin: 0; }
.frames img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: #111; border-radius: 2px; }
.frames figcaption { font-size: .68rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.frames button { all: unset; cursor: pointer; display: block; }
.frames button:focus-visible img { outline: 2px solid var(--ce-deep-teal); outline-offset: 2px; }
.vote-grid td.y { background: #DCE7E3; color: #2D5154; text-align: center; font-weight: 600; }
.vote-grid td.n { background: #F3E2DD; color: #9A3B2F; text-align: center; font-weight: 600; }
.vote-grid td.a { background: #EEEAE2; color: #8b8b84; text-align: center; }
.vote-grid th { white-space: nowrap; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.sub-h { font: 400 1.35rem/1.2 var(--serif); margin: 26px 0 10px; color: var(--ink); }
.quietlist { margin: 0; padding-left: 18px; font-size: .86rem; line-height: 1.7; }
.quietlist li { margin: 4px 0; }



.dv-fig{margin:0;background:#16181a;border-radius:2px;overflow:hidden}
.dv-fig img{display:block;width:100%;height:auto}
.dv-fig figcaption{background:var(--panel);color:var(--muted);font-size:.78rem;line-height:1.5;padding:10px 12px;border-top:1px solid var(--line)}
.fig-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.quote{border-left:3px solid #9A3B2F;padding:4px 0 4px 16px;margin:14px 0;font:400 1.12rem/1.55 var(--serif);color:var(--ink)}
.quote cite{display:block;margin-top:6px;font:500 .74rem/1.4 var(--sans);font-style:normal;color:var(--muted);letter-spacing:.02em}
.bars{display:grid;gap:7px;margin:4px 0}
.bar{display:grid;grid-template-columns:minmax(96px,32%) 1fr;gap:10px;align-items:center;font-size:.8rem}
.bar .bl{color:var(--text);line-height:1.3}
.bar .bt{position:relative;height:22px;background:#ECE7DD;border-radius:1px}
.bar .bf{position:absolute;left:0;top:0;bottom:0;border-radius:1px}
.bar .bv{position:absolute;top:50%;transform:translateY(-50%);font-size:.74rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text)}
@media(max-width:520px){.bar{grid-template-columns:1fr;gap:3px}}
.dv-table{width:100%;border-collapse:collapse;font-size:.84rem}
.dv-table th{text-align:left}
.mk{display:inline-block;width:12px;height:12px;border-radius:50%;background:#2D5154}
.mk.o{background:transparent;border:1.5px solid #9AA3A3}
.chain{list-style:none;margin:0;padding:0;display:grid;gap:0}
.chain li{position:relative;padding:12px 0 12px 34px;border-left:2px solid var(--line);margin-left:9px}
.chain li::before{content:"";position:absolute;left:-8px;top:16px;width:14px;height:14px;border-radius:50%;background:var(--paper);border:2px solid #2D5154}
.chain li.rust::before{border-color:#9A3B2F;background:#9A3B2F}
.chain li.amber::before{border-color:#C98A3C}
.chain li b{display:block;font:600 .78rem/1.4 var(--sans);letter-spacing:.03em;color:var(--muted)}
.chain li p{margin:3px 0 0;line-height:1.55}
.cmp{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:760px){.cmp{grid-template-columns:1fr}}
.cmp > div{background:var(--panel);border:1px solid var(--line);padding:14px 16px;border-radius:2px}
.cmp h3{margin:0 0 6px;font:600 .78rem/1.3 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cmp p{margin:0;line-height:1.6}
mark.del{background:rgba(154,59,47,.14);color:inherit;text-decoration:line-through;text-decoration-color:rgba(154,59,47,.6)}
mark.add{background:rgba(201,138,60,.22);color:inherit}
.yeargrid{display:grid;grid-template-columns:70px 1fr;gap:0}
.yeargrid > div{padding:9px 0;border-bottom:1px solid var(--line)}
.yeargrid .y{font:600 .84rem/1.4 var(--sans);font-variant-numeric:tabular-nums;color:#9A3B2F}
.tag{display:inline-block;font:600 .66rem/1 var(--sans);letter-spacing:.05em;text-transform:uppercase;padding:4px 6px;border-radius:2px;background:#E5EBE5;color:#2D5154;margin-right:4px}
.tag.rust{background:rgba(154,59,47,.1);color:#9A3B2F}
.tag.amber{background:rgba(201,138,60,.16);color:#7a5320}
.tag.purple{background:rgba(125,107,143,.14);color:#5d4d6e}

/* person pages (people/<slug>) */
.pp-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:36px;align-items:start}
@media(max-width:860px){.pp-top{grid-template-columns:minmax(0,1fr);gap:22px}}
.pp-hero{margin:14px 0 0}
.pp-hero img{max-height:520px;object-fit:cover;object-position:top}
.pp-hero figcaption{padding:10px 12px;font-size:.72rem;line-height:1.55;color:#3f4646}
.pp-role{font:400 1.2rem/1.5 var(--editorial,Georgia,serif);color:var(--muted);margin:-6px 0 14px}
.pp-bio h3{font-size:1.45rem;margin:26px 0 8px}
.pp-bio h3:first-child{margin-top:0}
.pp-bio .quote{max-width:760px;margin:26px 0}
.chain li p{margin:4px 0 0;font:1rem/1.6 var(--editorial,Georgia,serif);color:var(--text)}
.chain li p a{text-decoration:none}
.chain li p a:hover{text-decoration:underline}
.pp-rel{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pp-rel li{font-size:.86rem;line-height:1.5}
.pp-rel li span{display:block;color:var(--muted);font-size:.74rem}
.pp-open{list-style:none;margin:0;padding:0;max-width:860px}
.pp-open li{border-top:1px solid var(--line);padding:14px 0;font-size:.88rem;line-height:1.6}
.pp-open li b{display:block;color:var(--ink,#111)}
.record-card h3 a,.card a,.pp-rel a,.prose a{overflow-wrap:anywhere}
.record-meta-line{margin:6px 0 0;font-size:.72rem;color:var(--muted)}
