: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); }

/* Shelf */
.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); }
.metric-note { margin: 0; color: var(--muted); max-width: 850px; font-size: .91rem; line-height: 1.85; }
.metric-note b { color: var(--text); font-weight: 600; }
.shelf { margin-top: 28px; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
@media (max-width: 720px) { .shelf { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 18px; } }
.glass { appearance: none; border: 0; background: none; padding: 6px 0 4px; color: var(--ink); cursor: pointer; display: grid; justify-items: center; gap: 4px; border-radius: 2px; }
.glass svg { width: 100%; max-width: 64px; height: auto; display: block; overflow: visible; }
.glass .v { font: 500 .7rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); min-height: 1em; }
.glass .y { font: 500 1.05rem/1 var(--serif); }
.glass:hover { background: #F0EBE2; }
.glass[aria-current="true"] { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.glass[aria-current="true"] .y { color: var(--ce-deep-teal); font-weight: 500; }
.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: 1px; display: inline-block; }
.sw.new { background: var(--water); }
.sw.rep { background: repeating-linear-gradient(135deg, var(--water-soft) 0 3px, transparent 3px 6px); border: 1px solid var(--ce-echo-teal); }
.sw.lim { height: 0; border-top: 2px dashed var(--limit); border-radius: 0; }

/* 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 { grid-template-columns: minmax(0, 1fr); } }
.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; } }

.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.glance div { padding: 16px 18px 14px 0; display: grid; gap: 2px; }
.glance div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.glance b { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--serif); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.glance span { font-size: .72rem; color: var(--muted); }
@media (max-width: 720px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } .glance div:nth-child(3) { border-left: 0; padding-left: 0; } .glance div:nth-child(n+3) { border-top: 1px solid var(--line); } }


/* Poe letters. Layout: site record page; a parchment map of where letters came from, a twenty-year timeline of Poe's moves, then the letter index. */
.letters {
  --to-poe: #2D5154;
  --from-poe: #8C6B3E;
  --home: #0B0B0D;
  --map-bg: #F1EBDF;
  --map-land: #E7DFCF;
  --map-edge: #CDBFA6;
  --map-foreign: #EDE6D8;
}
.letters .glance b { font-variant-numeric: lining-nums; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 14px; }
.controls .button { min-height: 38px; padding: 8px 14px; }
.controls label { font-size: .72rem; font-weight: 600; color: var(--text); }
.controls select { font: 400 .8rem var(--sans); min-height: 38px; padding: 6px 10px; border: 1px solid #9DA89E; border-radius: 2px; background: var(--paper); color: var(--text); max-width: 100%; }
.yearbox { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; min-width: 0; }
.yearbox input { flex: 1; min-width: 0; accent-color: var(--ce-deep-teal); }
.yearbox output { font: 400 1.5rem/1 var(--serif); color: var(--ink); min-width: 5.5ch; text-align: right; font-variant-numeric: lining-nums; }

.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; align-items: start; }
@media (max-width: 900px) { .map-grid { grid-template-columns: minmax(0, 1fr); } }
.map-frame { background: var(--map-bg); border: 1px solid var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.map-frame svg { display: block; width: 100%; height: auto; }
.map-frame .states path { fill: var(--map-land); stroke: var(--map-edge); stroke-width: .7; }
.map-frame .foreign path { fill: var(--map-foreign); stroke: var(--map-edge); stroke-width: .6; }
.arc { fill: none; stroke-linecap: round; }
.arc.to { stroke: var(--to-poe); }
.arc.from { stroke: var(--from-poe); stroke-dasharray: 4 3; }
.arc.dim { opacity: .14; }
.city { cursor: pointer; }
.city circle.dot { fill: var(--to-poe); stroke: var(--map-bg); stroke-width: 1.5; }
.city.home circle.dot { fill: var(--home); }
.city text { font: 500 11px var(--sans); fill: var(--text); paint-order: stroke; stroke: var(--map-bg); stroke-width: 3px; stroke-linejoin: round; }
.city.home text { font: 600 12px var(--sans); fill: var(--ink); }
.city.sel circle.dot { stroke: var(--ce-candlelight); stroke-width: 3; }
.city:focus-visible { outline: none; }
.city:focus-visible circle.dot { stroke: var(--ink); stroke-width: 3; }
.poe-now { fill: none; stroke: var(--home); stroke-width: 1.5; }
.map-title { font: italic 400 22px var(--serif); fill: var(--muted); }
.atlantic rect { fill: var(--paper); stroke: var(--map-edge); }
.atlantic text { font: 400 11px var(--sans); fill: var(--text); }
.atlantic .h { font: italic 400 15px var(--serif); fill: var(--ink); }
.nowhere { cursor: pointer; }
.nowhere.sel rect { stroke: var(--ce-candlelight); stroke-width: 2.5; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .72rem; color: var(--muted); margin-top: 10px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--to-poe); }
.map-legend i.f { border-top: 2px dashed var(--from-poe); }
.map-legend i.h { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--home); }

.side h3 { font-size: 1.35rem; }
.side .count { font-size: .72rem; color: var(--muted); margin: 2px 0 10px; }
.side ol { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border-top: 1px solid var(--line); }
.side li { border-bottom: 1px solid var(--line); }
.side li button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 2px; cursor: pointer; display: grid; gap: 2px; color: var(--text); font: 400 .8rem/1.45 var(--sans); }
.side li button:hover { background: #F0EBE2; }
.side li button b { font: 400 1.02rem/1.3 var(--serif); color: var(--ink); }
.side li button span { color: var(--muted); font-size: .7rem; }
.side .empty { font: italic 1rem/1.5 var(--editorial); color: var(--muted); padding: 12px 0; }

.timeline-wrap { overflow-x: auto; margin-top: 8px; }
.timeline-wrap svg { display: block; width: 100%; min-width: 760px; height: auto; }
.band rect { stroke: var(--paper); stroke-width: 2; }
.band text { font: 500 11px var(--sans); fill: var(--paper); }
.tick text { font: 400 11px var(--sans); fill: var(--muted); }
.tick line { stroke: var(--line); }
.ldot { cursor: pointer; }
.ldot.to { fill: var(--to-poe); }
.ldot.from { fill: var(--from-poe); }
.ldot.unc { fill-opacity: .45; }
.ldot.off { opacity: .12; }
.ldot.sel { stroke: var(--ink); stroke-width: 2; }
.tl-label { font: 600 10px var(--sans); letter-spacing: .12em; fill: var(--ce-deep-teal); }
.tl-year { fill: var(--ce-candlelight); fill-opacity: .28; }

.letter-card { margin-top: 28px; }
.letter-card .ledger-top h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 30ch; }
.letter-card .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 28px; }
.letter-card .facts div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.letter-card .facts span { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ce-deep-teal); }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
.person { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.person b { font: 400 1.25rem/1.25 var(--serif); color: var(--ink); }
.person .n { font: 400 1.6rem/1 var(--serif); color: var(--ce-deep-teal); }
.person p { grid-column: 1 / -1; margin: 0; font: italic .98rem/1.55 var(--editorial); color: var(--text); }
.person .bars { grid-column: 1 / -1; display: flex; gap: 2px; height: 14px; align-items: flex-end; }
.person .bars i { flex: 1; background: var(--to-poe); min-height: 1px; }
.person button { grid-column: 1 / -1; justify-self: start; }

.year-group h3 { font: 400 1.6rem/1.1 var(--serif); margin: 26px 0 6px; }
.lrow { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; font-size: .8rem; }
.lrow .d { color: var(--muted); font-variant-numeric: tabular-nums; }
.lrow a.t { font: 400 1.08rem/1.35 var(--serif); color: var(--ink); text-decoration: none; }
.lrow a.t:hover { color: var(--ce-deep-teal); }
.lrow .meta { color: var(--muted); font-size: .7rem; grid-column: 2; }
.lrow .acts { display: flex; gap: 12px; font-size: .67rem; font-weight: 600; }
.lrow .acts a { text-decoration: none; }
.lrow .dir { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--to-poe); }
.lrow .dir.from { background: var(--from-poe); }
@media (max-width: 640px) { .lrow { grid-template-columns: minmax(0, 1fr); } .lrow .meta { grid-column: 1; } }
.trail-list { margin-top: 14px; }
.letters [hidden] { display: none !important; }

.home-mark { cursor: pointer; }
.home-mark .house { stroke: var(--map-bg); stroke-width: 1.5; stroke-linejoin: round; }
.home-mark .leader, .city.callout .leader { stroke: var(--ink); stroke-width: .8; stroke-opacity: .5; }
.home-mark .tag { fill: var(--paper); stroke-width: 1.2; }
.home-mark .num { font: 600 11px var(--sans); fill: var(--paper); }
.home-mark .nm { font: 600 12px var(--sans); fill: var(--ink); }
.home-mark .yr { font: 400 10px var(--sans); fill: var(--muted); }
.home-mark.faded { opacity: .35; }
.home-mark.now .tag { stroke-width: 2.5; }
.home-mark.now .nm { font-size: 13px; }
.home-mark.sel .tag { fill: #FFF8EA; }
.home-mark:focus-visible { outline: none; }
.home-mark:focus-visible .tag { stroke: var(--ink); stroke-width: 2.5; }
.pulse { fill: none; stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
}
.map-legend i.h { width: 12px; height: 12px; border-radius: 0; background: var(--home); clip-path: polygon(0 45%, 50% 0, 100% 45%, 100% 100%, 0 100%); }
.home-mark .ct { font-weight: 400; fill: var(--muted); font-size: 11px; }
.home-mark .num { font-size: 10px; }
.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}
.letters .facts{display:grid}

/* 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}}
