:root {
  /* Krant: papier, inkt, één accent per gemeente */
  --bg: #f8f5ee;
  --surface: #fffdf8;
  --text: #1b1a17;
  --muted: #6b675e;
  --line: #ddd6c6;
  --rule: #1b1a17;
  --accent: #1b1a17;          /* inkt */
  --accent-ink: #fffdf8;
  --link: #8c2a1f;             /* roestrood voor nadruk, spaarzaam */
  --mark: #f6e3a1;
  --ok: #2f6b3f;
  --warn: #9a5b0b;
  --chip: #efe9dc;
  --haarlem: #9e2b25;
  --heemstede: #1f4e8c;
  --bloemendaal: #2f6b3f;
  --zandvoort: #9a5b0b;
  --radius: 3px;
  --shadow: none;
  --serif: "Source Serif 4", "Source Serif Pro", Charter, "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513; --surface: #1e1d1a; --text: #ece7dc; --muted: #a39e92; --line: #34312b; --rule: #ece7dc;
    --accent: #ece7dc; --accent-ink: #161513; --link: #e08a7c; --mark: #5c4d16; --ok: #7cc48f; --warn: #e3a95a; --chip: #2a2824;
    --haarlem: #e3857e; --heemstede: #8db3e8; --bloemendaal: #86c795; --zandvoort: #e3a95a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: .2em 0 .4em; }
h2 { font-size: 1.1rem; margin: 1.6em 0 .6em; display: flex; align-items: baseline; gap: .6em; }
h3 { font-size: 1rem; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--chip); padding: .05em .35em; border-radius: 4px; }
mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 .1em; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.more { margin-left: auto; font-size: .85rem; font-weight: normal; }
.inline { display: inline; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topsearch { flex: 1; max-width: 520px; }
.topsearch input { width: 100%; }
.top nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top nav a, .top nav .link { padding: 6px 10px; border-radius: 6px; text-decoration: none; }
.top nav a[aria-current] { background: var(--chip); font-weight: 600; }

main { max-width: 1100px; margin: 0 auto; padding: 20px; }
main.wide { max-width: 1440px; }
main.narrow { max-width: 420px; }
main.center { min-height: 100vh; display: grid; place-items: center; }

/* forms */
input[type=search], input[type=text], input[type=email], input[type=password], input[type=date], input:not([type]), select {
  font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; min-width: 0;
}
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 1px; }
button, .button { font: inherit; color: inherit; background: var(--chip); border: 1px solid var(--line); border-radius: 6px; padding: 7px 14px; cursor: pointer; text-decoration: none; display: inline-block; }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
button.small, .seek.small { padding: 2px 8px; font-size: .82rem; }
button.link { background: none; border: 0; padding: 6px 10px; color: var(--muted); }
button.danger { color: var(--accent); }
label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; color: var(--muted); }
label input, label select { color: var(--text); }
label.check { flex-direction: row; align-items: center; gap: 6px; }
.row { display: flex; gap: 10px; align-items: flex-end; margin: 10px 0; }
.row.wrap { flex-wrap: wrap; }
.row > input[type=search] { flex: 1; }
.grow { flex: 1; }
fieldset.chips { border: 0; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
fieldset.chips legend { font-size: .86rem; color: var(--muted); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.chip { flex-direction: row; align-items: center; gap: 6px; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 8px; color: var(--text); cursor: pointer; font-size: .86rem; }
.chip:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
details summary { cursor: pointer; color: var(--muted); font-size: .9rem; margin: 6px 0; }
.searchform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 20px 0; }
.login { width: 100%; }
.card > h2:first-child { margin-top: 0; }
.login form { display: grid; gap: 12px; }
.login h1 { display: flex; align-items: center; gap: 10px; }
.error { color: var(--accent); font-weight: 600; }

/* badges */
.muni { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 1px 7px; border-radius: 4px; color: #fff; background: var(--muted); vertical-align: 1px; }
.muni-haarlem { background: var(--haarlem); } .muni-heemstede { background: var(--heemstede); }
.muni-bloemendaal { background: var(--bloemendaal); } .muni-zandvoort { background: var(--zandvoort); }
@media (prefers-color-scheme: dark) { .muni { color: #111; } }
.chip.muni-haarlem, .chip.muni-heemstede, .chip.muni-bloemendaal, .chip.muni-zandvoort { background: var(--chip); color: var(--text); text-transform: none; font-weight: normal; font-size: .86rem; letter-spacing: 0; }
.chip[class*=muni-]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muni-c, var(--muted)); order: 2; }
.chip.muni-haarlem { --muni-c: var(--haarlem); } .chip.muni-heemstede { --muni-c: var(--heemstede); }
.chip.muni-bloemendaal { --muni-c: var(--bloemendaal); } .chip.muni-zandvoort { --muni-c: var(--zandvoort); }
.dtype { font-size: .74rem; padding: 1px 6px; border-radius: 4px; background: var(--chip); border: 1px solid var(--line); white-space: nowrap; }
.dtype-raadsvoorstel, .dtype-besluitenlijst_college { border-color: var(--accent); color: var(--accent); }
.dtype-motie, .dtype-amendement { border-color: var(--heemstede); color: var(--heemstede); }
.tag { display: inline-block; font-size: .74rem; padding: 1px 7px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.tag.ok { color: var(--ok); } .tag.warn { color: var(--warn); } .tag.watch { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.party { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); padding: 0 5px; border-radius: 4px; }

/* home */
.hero { margin: 10px 0 20px; }
.bigsearch { display: flex; gap: 10px; }
.bigsearch input { flex: 1; font-size: 1.1rem; padding: 12px 14px; }
.grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.mlist, .dlist { list-style: none; padding: 0; margin: 0; }
.mlist li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dlist li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.when { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.topics { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; margin-top: 4px; }
.topics span:not(:last-child)::after { content: " ·"; color: var(--muted); }
.cancelled strong, .cancelled .items { text-decoration: line-through; opacity: .6; }

/* search results */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow-x: auto; }
.tabs a { padding: 8px 14px; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a[aria-selected] { border-color: var(--accent); font-weight: 600; }
.count { font-size: .8rem; color: var(--muted); background: var(--chip); border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.results { list-style: none; padding: 0; margin: 0; }
.results > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.results .title { font-weight: 600; font-size: 1.02rem; }
.results .meta { font-size: .86rem; margin-bottom: 4px; }
.snippet { margin: 4px 0 0; color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.seg-hit { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.playlink { align-self: start; text-align: center; font-variant-numeric: tabular-nums; font-size: .86rem; text-decoration: none; background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 5px 4px; font-weight: 600; }
.playlink:hover { color: var(--accent-ink); filter: brightness(1.1); }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 20px 0; }

/* agenda */
.week h2 { position: sticky; top: 54px; background: var(--bg); padding: 6px 0; z-index: 2; border-bottom: 1px solid var(--line); }
.meeting { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; box-shadow: var(--shadow); }
.meeting header { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.items { margin: 8px 0 0 162px; padding: 0; list-style: none; }
.items > li { padding: 5px 0; border-top: 1px dashed var(--line); }
.items.full { margin: 0; }
.items.full > li { padding: 10px 0; }
.num { display: inline-block; min-width: 2.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.docs { list-style: none; padding: 0 0 0 2.2em; margin: 4px 0 0; font-size: .86rem; display: grid; gap: 3px; }
.itemhead { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.itemhead .seek { margin-left: auto; }

/* meeting page */
.pagehead { margin-bottom: 16px; }
.meetinggrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
#player { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); }
.novideo { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.transcript-col { position: sticky; top: 70px; max-height: calc(100vh - 90px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px 10px; }
.transcript-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.transcript-head h2 { margin: 12px 0 6px; }
.transcript-head input[type=search] { flex: 1; min-width: 140px; }
.transcript { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; }
.transcript li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 5px 6px; border-radius: 6px; }
.transcript li p { margin: 0; }
.transcript li.current { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.transcript li.hidden { display: none; }
.speaker { font-weight: 700; font-size: .88rem; margin-top: 6px; }
.seek.ts { background: none; border: 0; padding: 0; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; text-align: left; cursor: pointer; align-self: start; padding-top: 2px; }
.seek.ts:hover { color: var(--accent); text-decoration: underline; }

/* documents */
.doctable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doctable th, .doctable td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doctable th { font-size: .8rem; color: var(--muted); font-weight: 600; background: var(--chip); }
.doctable tr.inactive { opacity: .55; }
.doctable .actions { white-space: nowrap; }
.doctext { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }

/* volgen: groepen, tijdlijn, opvolging, samenvatting */
.dlist.groups .dgroup { padding: 10px 0; }
.dgroup-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
details.bijlagen { margin: 2px 0 0; }
details.bijlagen summary { font-size: .82rem; margin: 2px 0; }
details.bijlagen ul { margin: 2px 0; padding-left: 1.2em; font-size: .86rem; }
.dtype-collegebesluit { border-color: var(--accent); color: var(--accent); }
.dtype-toezegging, .dtype-schriftelijke_vragen { border-color: var(--zandvoort); color: var(--zandvoort); }
.day h2, .month h2 { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline .ev { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline .ev .snippet { margin: 4px 0 0; }
.speech { list-style: none; padding: 0; margin: 6px 0 0; font-size: .9rem; display: grid; gap: 4px; }
.seek.small { font-variant-numeric: tabular-nums; text-decoration: none; background: var(--chip); border-radius: 4px; padding: 1px 6px; font-size: .8rem; margin-right: 4px; }
.hidebtn { margin-left: 4px; }
.hidebtn button { padding: 0 4px; font-size: .78rem; opacity: .6; }
.hidebtn button:hover { opacity: 1; color: var(--accent); }
.age { display: inline-block; min-width: 2.4em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; border-radius: 4px; padding: 0 4px; background: var(--chip); }
.age.warn { color: var(--warn); } .age.late { color: var(--accent-ink); background: var(--accent); }
.summary .kern { font-size: 1.05rem; }
.sumlist { padding-left: 1.2em; margin: 4px 0 12px; display: grid; gap: 8px; }
.sumlist blockquote { margin: 3px 0 0; padding-left: 10px; border-left: 3px solid var(--line); color: var(--muted); font-size: .86rem; }
.pageref { font-size: .78rem; background: var(--chip); border-radius: 4px; padding: 0 6px; text-decoration: none; white-space: nowrap; }
.todossier { margin: 0 0 12px; }
button:disabled { opacity: .6; cursor: progress; }

@media (max-width: 1180px) {
  .top { flex-wrap: wrap; row-gap: 6px; }
  .topsearch { order: 3; flex-basis: 100%; max-width: none; }
  .week h2 { top: 96px; }
}
@media (max-width: 900px) {
  .grid2, .meetinggrid { grid-template-columns: 1fr; }
  .transcript-col { position: static; max-height: 70vh; }
  .items { margin-left: 0; }
}
@media (max-width: 640px) {
  main { padding: 16px; }
  .top { flex-wrap: wrap; padding: 8px 16px; gap: 8px; }
  .topsearch { order: 3; flex-basis: 100%; max-width: none; }
  .top nav { overflow-x: auto; }
  .mlist li, .meeting header { grid-template-columns: 1fr; gap: 2px; }
  .doctable { display: block; overflow-x: auto; }
  .seg-hit, .timeline .ev { grid-template-columns: 1fr; gap: 2px; }
  .playlink { justify-self: start; padding: 4px 10px; }
  .bigsearch { flex-direction: column; }
}

/* ===================================================== Krant
   Serif voor koppen en titels, sans voor bediening en metadata.
   Lijnen in plaats van schaduwen; inkt in plaats van rood. */
h1, h2, h3, .brand, .results .title, .dgroup-head strong, .timeline strong, .mlist strong, .meeting header strong,
.doctable td > a, .dlist > li > a, .kern { font-family: var(--serif); }
h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.005em; }
main > h1:first-child, .pagehead h1 { border-bottom: 1px solid var(--line); padding-bottom: .35em; }
a { text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
a:hover { color: var(--link); }

.top { background: var(--bg); border-bottom: 3px double var(--rule); padding: 12px 24px 10px; }
.brand { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; gap: 10px; }
.brand img { width: 26px; height: 26px; }
.top nav a, .top nav .link { font-size: .84rem; letter-spacing: .02em; padding: 5px 8px; border-radius: 0; }
.top nav a[aria-current] { background: none; font-weight: 600; box-shadow: inset 0 -2px 0 var(--rule); }
.topsearch input { background: var(--surface); }

.card, .searchform, .meeting, .transcript-col, .doctable, .doctext, .novideo { box-shadow: none; border-radius: var(--radius); }
.searchform { background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button, .button { border-radius: var(--radius); }
.chip { border-radius: var(--radius); background: transparent; }
.chip:has(input:checked) { background: var(--chip); border-color: var(--rule); }

/* gemeenten als gekleurde kapitalen in plaats van gevulde labels */
.muni { background: none !important; color: var(--muni-c, var(--muted)) !important; padding: 0; font-size: .72rem; letter-spacing: .08em; }
.muni-haarlem { --muni-c: var(--haarlem); } .muni-heemstede { --muni-c: var(--heemstede); }
.muni-bloemendaal { --muni-c: var(--bloemendaal); } .muni-zandvoort { --muni-c: var(--zandvoort); }
h2 .muni { font-size: .95rem; }
.dtype { background: none; border: 0; padding: 0; color: var(--muted); font-size: .76rem; font-style: italic; }
.dtype::after { content: " ·"; font-style: normal; }
.dtype-raadsvoorstel, .dtype-besluitenlijst_college, .dtype-collegebesluit, .dtype-motie, .dtype-amendement,
.dtype-toezegging, .dtype-schriftelijke_vragen { color: var(--text); border: 0; }
.tag { border-radius: var(--radius); }
.tag.watch { background: var(--chip); color: var(--link); }

/* lijsten als krantenindex */
.dlist li, .results > li, .timeline .ev, .mlist li { border-bottom: 1px solid var(--line); }
.dgroup-head strong, .timeline strong { font-weight: 600; font-size: 1.04rem; }
.week h2, .day h2, .month h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--rule); }
.when, .seek.ts, .playlink, .pageref, .age { font-family: var(--mono); font-size: .78rem; }
.playlink { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); }
.doctable th { background: transparent; border-bottom: 1px solid var(--rule); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.doctable { border: 0; background: transparent; }
.doctext { font-family: var(--serif); font-size: 1.02rem; line-height: 1.65; }
.summary { border-left: 3px solid var(--rule); border-radius: 0; }
.kern { font-size: 1.15rem; line-height: 1.5; }
.sumlist blockquote { font-family: var(--serif); font-style: italic; }
.hero .bigsearch input { font-family: var(--serif); font-size: 1.25rem; border-color: var(--rule); }
.age.late { background: var(--link); color: #fff; }
mark { background: var(--mark); }
.copyquote { font: .72rem var(--sans); padding: 0 6px; margin-left: 4px; background: transparent; border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; }
.copyquote:hover { color: var(--text); border-color: var(--rule); }
.copyquote.done { color: var(--ok); border-color: var(--ok); }
.transcript li .copyquote { opacity: 0; }
.transcript li:hover .copyquote, .transcript li:focus-within .copyquote, .transcript li.current .copyquote { opacity: 1; }
.speaksession { border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
.speaksession h3 { margin: .4em 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.speakers { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; }
.compare { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.compare .col { padding: 0 14px; border-left: 1px solid var(--line); }
.compare .col:first-child { border-left: 0; padding-left: 0; }
.compare h2 { margin: .6em 0 .2em; }
.compare h3 { font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.2em 0 .3em; }
.compare .dlist li { font-size: .9rem; }
.tally { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compare .col:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } .compare .col { border-left: 0; padding: 0; } }
.amountlist { list-style: none; padding: 0; margin: 0; }
.amountlist > li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.amt { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ctx { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 3px; font-size: .86rem; color: var(--muted); }
.vtitle { font-family: var(--serif); font-weight: 600; }
.vquote { margin: 4px 0 0; padding-left: 10px; border-left: 2px solid var(--line); font-family: var(--serif); font-style: italic; font-size: .86rem; color: var(--muted); }
.outcome { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.outcome-aangenomen { color: var(--ok); } .outcome-verworpen { color: var(--link); } .outcome-ingetrokken, .outcome-aangehouden, .outcome-onbekend { color: var(--muted); }
.partystats { margin: 0 0 14px; }
@media (max-width: 640px) { .amountlist > li { grid-template-columns: 1fr; gap: 2px; } }
.askform { display: flex; gap: 10px; align-items: flex-end; margin: 10px 0 20px; }
.askform textarea { flex: 1; font: 1.1rem var(--serif); color: var(--text); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 12px; resize: vertical; }
.answer .para { font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; }
.cite { display: inline-block; font: 600 .7rem var(--sans); min-width: 1.5em; text-align: center; background: var(--chip); border-radius: var(--radius); padding: 0 4px; margin-left: 2px; text-decoration: none; vertical-align: 2px; }
.note { border-left: 3px solid var(--warn); padding-left: 10px; font-size: .92rem; }
.sources { padding-left: 1.6em; display: grid; gap: 8px; }
.sources li.unused { opacity: .65; }
.sources li:target { background: var(--mark); }
.passage { margin-top: 2px; }
.morenav { position: relative; }
.morenav summary { list-style: none; cursor: pointer; font-size: .84rem; letter-spacing: .02em; padding: 5px 8px; color: var(--text); margin: 0; }
.morenav summary::-webkit-details-marker { display: none; }
.morenav summary::after { content: " ▾"; font-size: .7em; }
.morenav summary[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--rule); }
.morenav-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 250px; background: var(--surface); border: 1px solid var(--rule); padding: 6px 0; display: grid; }
.morenav-panel a, .morenav-panel button.link { padding: 7px 14px !important; text-align: left; color: var(--text); font-size: .88rem; }
.morenav-panel a:hover, .morenav-panel button.link:hover { background: var(--chip); }
.morenav-panel a[aria-current] { box-shadow: inset 3px 0 0 var(--rule) !important; }
.morenav-panel form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.top nav { overflow: visible !important; }
@media (max-width: 640px) { .top nav { flex-wrap: wrap; } .morenav-panel { right: auto; left: 0; } }
