/* Compendium deep-dive — uses design-system tokens only (DESIGN.md). 12px floor, sans UI, serif headings. */
.cmp-shell { max-width: var(--maxw); }
.cmp-eyebrow { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 var(--s-2); }
.cmp-eyebrow a { color: var(--muted); }
.cmp-head h1 { font-size: var(--t-display); margin: 0 0 var(--s-3); }
.cmp-lede { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.55; max-width: 62ch; color: var(--fg); margin: 0 0 var(--s-5); }
.cmp-sub { color: var(--muted); max-width: 64ch; }
.cmp-muted { color: var(--muted); font-size: var(--t-sm); }
.cmp-k { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; margin-right: 4px; }
.cmp-page h2 { margin: var(--s-7) 0 var(--s-3); }
.cmp-page h3 { margin: 0; font-size: var(--t-h4); }

/* Sub-navigation: a stepped tab rail */
.cmp-subnav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); margin: 0 calc(-1 * var(--pad-x)) var(--s-5); padding: 0 var(--pad-x); }
.cmp-subnav ol { list-style: none; display: flex; gap: var(--s-1); margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cmp-subnav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-4); color: var(--muted); text-decoration: none; font-size: var(--t-sm); font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.cmp-subnav a:hover { color: var(--ink-strong); }
.cmp-subnav a[aria-current="page"] { color: var(--ink-strong); border-bottom-color: var(--link); }

/* Tags */
.cmp-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid currentColor; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.cmp-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cmp-tag--confirmed { color: var(--status-court); }
.cmp-tag--contested { color: var(--status-disputed); }
.cmp-tag--unverified { color: var(--status-reported); border-style: dashed; }
.cmp-tag--unverified::before { background: transparent; border: 1px solid currentColor; }
.cmp-pill { display: inline-block; font-size: var(--t-xs); color: var(--muted); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 1px 8px; }
.cmp-pill--legal { color: var(--status-alleged); border-color: currentColor; }
.cmp-legal { font-size: var(--t-sm); color: var(--muted); border-top: 1px solid var(--border); padding-top: var(--s-3); }
.cmp-attr { font-weight: 700; color: var(--status-alleged); }

.cmp-key { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; background: var(--surface); }
.cmp-key-h { font-family: var(--sans) !important; font-size: var(--t-sm) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; margin: 0 0 var(--s-2) !important; }
.cmp-key ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: var(--t-sm); }
.cmp-key p { font-size: var(--t-sm); color: var(--muted); margin: var(--s-3) 0 0; }

.cmp-stats { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin: var(--s-5) 0; }
.cmp-stats p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.cmp-stats strong { display: block; font-family: var(--serif); font-size: var(--t-h2); color: var(--ink-strong); line-height: 1.1; }

/* Sources */
.cmp-srcs { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: 4px; }
.cmp-src { font-size: var(--t-sm); line-height: 1.4; }
.cmp-src-tier { display: inline-block; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-decoration: none; margin-right: 4px; }
.cmp-src--internal { color: var(--muted); font-style: italic; }

/* Filters */
.cmp-filters { display: grid; gap: var(--s-3); margin: var(--s-5) 0; padding: var(--s-4) 0; border-block: 1px solid var(--border); position: sticky; top: var(--tap); z-index: 15; background: var(--bg); }
.cmp-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cmp-filters legend { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; margin-bottom: 6px; }
.cmp-chips { display: flex; gap: 6px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.cmp-chips label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--t-sm); cursor: pointer; color: var(--fg); }
.cmp-chips input { accent-color: var(--link); margin: 0; }
.cmp-chips label:has(input:checked) { border-color: var(--link); color: var(--ink-strong); background: var(--surface-2); }
.cmp-chips label:has(input:focus-visible) { outline: 3px solid var(--link-hover); outline-offset: 2px; }
.cmp-count { margin: 0; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 700px) { .cmp-filters { position: static; } .cmp-filters .cmp-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .cmp-chips label { white-space: nowrap; } }

/* Matrix rows */
.cmp-cat > h2 { position: relative; padding-top: var(--s-3); border-top: 1px solid var(--border); }
.cmp-row { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(16px, 3vw, 24px); margin: 0 0 var(--s-4); scroll-margin-top: 140px; }
.cmp-row:target { border-color: var(--link); }
.cmp-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-4); }
.cmp-row-head h3 { flex: 1 1 16rem; }
.cmp-id { font-size: var(--t-xs); color: var(--faint); }
.cmp-sig { display: inline-flex; gap: 3px; }
.cmp-sig i { width: 6px; height: 14px; border-radius: 1px; background: var(--fg); opacity: .8; }
.cmp-sig i.off { background: var(--border-strong); opacity: 1; }
.cmp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--s-4) var(--s-6); }
.cmp-col h4 { font-size: var(--t-xs) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) !important; margin: 0 0 var(--s-2); }
.cmp-col--formal { border-left: 2px solid var(--status-court); padding-left: var(--s-4); }
.cmp-col--other { border-left: 2px solid var(--border-strong); padding-left: var(--s-4); }
.cmp-col p { margin: 0 0 var(--s-2); max-width: 60ch; }
.cmp-accts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.cmp-acct-who { font-weight: 700; font-size: var(--t-sm); color: var(--ink-strong); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cmp-q { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); background: var(--surface-2); border-radius: var(--radius-sm); font-family: var(--serif); font-size: var(--t-base); line-height: 1.5; }
.cmp-q-label { display: block; font-family: var(--sans); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--status-disputed); font-weight: 700; margin-bottom: 2px; }
.cmp-cc-link { font-size: var(--t-sm); color: var(--muted); margin: var(--s-3) 0 0; }
.cmp-row[hidden], .cmp-cat[hidden] { display: none; }

/* Candidates */
.cmp-cand { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: clamp(16px, 3vw, 24px); margin: 0 0 var(--s-4); scroll-margin-top: 80px; }
.cmp-cand:target { border-color: var(--status-disputed); }
.cmp-cand > header { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: center; margin-bottom: var(--s-3); }
.cmp-cand > header h3 { flex: 1 1 16rem; }
.cmp-rec { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--status-disputed); }
.cmp-rec--not-a-contradiction { color: var(--muted); }
.cmp-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: start; }
.cmp-vs-mid { align-self: center; font-family: var(--serif); font-style: italic; color: var(--faint); }
.cmp-side { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 0 0 4px; }
@media (max-width: 700px) { .cmp-vs { grid-template-columns: 1fr; } .cmp-vs-mid { justify-self: start; } }

/* Overview hub */
.cmp-hub { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--s-4); }
.cmp-hubcard { display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none !important; color: var(--fg) !important; transition: border-color .2s, transform .2s; }
.cmp-hubcard:hover { border-color: var(--link); transform: translateY(-2px); }
.cmp-hubstat { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--status-court); font-weight: 700; }
.cmp-hubh { font-family: var(--serif); font-size: var(--t-h3); font-weight: 700; color: var(--ink-strong); }
.cmp-hubp { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }
.cmp-oqs { padding-left: 1.2em; display: grid; gap: var(--s-4); }
.cmp-oqs p { margin: 4px 0 0; font-family: var(--serif); color: var(--fg); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .cmp-hubcard { transition: none; } .cmp-hubcard:hover { transform: none; } }

/* People network */
.cmp-fig { margin: var(--s-5) 0; }
.cmp-net-wrap { border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(ellipse at center, var(--surface) 0%, var(--bg) 75%); overflow-x: auto; }
.cmp-net { display: block; width: 100%; min-width: 720px; height: auto; }
.cmp-net-cl { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--faint); }
.cmp-net-links path { fill: none; stroke: var(--border-strong); stroke-width: 1.2; transition: stroke .15s, opacity .15s; }
.cmp-node circle, .cmp-node rect { fill: var(--surface-2); stroke: var(--fg); stroke-width: 1.5; transition: fill .15s; }
.cmp-node--person circle { fill: var(--status-court); stroke: var(--bg); }
.cmp-node--role circle { fill: var(--bg); stroke: var(--muted); stroke-dasharray: 3 2; }
.cmp-node--org rect { fill: var(--surface-2); stroke: var(--muted); }
.cmp-node text { font-family: var(--sans); font-size: 12px; fill: var(--fg); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.cmp-node a, .cmp-node > g { cursor: pointer; outline: none; }
.cmp-node a:focus-visible circle, .cmp-node > g:focus-visible rect { stroke: var(--link-hover); stroke-width: 3; }
.cmp-net.is-focus .cmp-net-links path { opacity: .12; }
.cmp-net.is-focus .cmp-net-links path.on { opacity: 1; stroke: var(--link); stroke-width: 2; }
.cmp-net.is-focus .cmp-node { opacity: .3; }
.cmp-net.is-focus .cmp-node.on { opacity: 1; }
.cmp-legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-2); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 2px; }
.lg-p { background: var(--status-court); } .lg-r { border: 1.5px dashed var(--muted); } .lg-o { border-radius: 3px; background: var(--surface-2); border: 1.5px solid var(--muted); }
.lg-c { background: var(--status-court); } .lg-x { background: var(--status-disputed); } .lg-u { border: 1.5px dashed var(--status-reported); }
.lg-a { background: oklch(0.78 0.11 245 / .18); border: 1px solid oklch(0.78 0.11 245 / .5); width: 16px; height: 16px; }
.lg-f { width: 20px; height: 0; border-radius: 0; border-top: 2px dashed var(--status-disputed); }
.cmp-fig figcaption { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-2); }
.cmp-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--s-4); }
.cmp-person { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--s-4) var(--s-5); scroll-margin-top: 80px; }
.cmp-person:target { border-color: var(--link); }
.cmp-person--role { border-style: dashed; background: transparent; }
.cmp-person > header { display: flex; flex-wrap: wrap; gap: 6px var(--s-2); align-items: center; margin-bottom: var(--s-2); }
.cmp-person > header h3 { flex: 1 1 100%; }
.cmp-person p { font-size: var(--t-sm); margin: 0 0 var(--s-2); }
.cmp-page details { margin-top: var(--s-2); }
.cmp-page summary { cursor: pointer; font-size: var(--t-sm); font-weight: 600; color: var(--link); min-height: 32px; display: flex; align-items: center; }
.cmp-stmts, .cmp-rels { padding-left: 1em; display: grid; gap: var(--s-3); font-size: var(--t-sm); margin: var(--s-2) 0 0; }
.cmp-stmts p { margin: 0 0 2px; }

/* Cases */
.cmp-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); position: relative; }
.cmp-case { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(16px, 3vw, 24px); scroll-margin-top: 80px; }
.cmp-case:target { border-color: var(--link); }
.cmp-kind { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--status-court); font-weight: 700; }
.cmp-case h3 { margin: 4px 0 var(--s-3); }
.cmp-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-3); }
.cmp-dl dt { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; }
.cmp-dl dd { margin: 0; font-size: var(--t-sm); }
.cmp-status { padding: var(--s-2) var(--s-3); background: var(--surface-2); border-radius: var(--radius-sm); font-size: var(--t-sm); }

/* Map */
.cmp-scrub { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3) var(--s-4); align-items: center; margin: var(--s-4) 0; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); position: sticky; top: var(--tap); z-index: 15; }
.cmp-scrub-l input { width: 100%; accent-color: var(--link); min-height: var(--tap); }
.cmp-scrub-out { grid-column: 1 / -1; font-family: var(--serif); font-size: var(--t-base); min-height: 3em; }
.cmp-scrub-out strong { font-family: var(--sans); font-size: var(--t-sm); display: block; color: var(--status-court); }
.cmp-tagfilter { grid-column: 1 / -1; }
.cmp-panels { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--s-4); }
.cmp-panel { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--s-3); min-width: 0; }
.cmp-panel--state { grid-row: span 2; }
.cmp-panel figcaption { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: var(--s-2); }
.cmp-panel svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .cmp-panels { grid-template-columns: 1fr; } .cmp-panel--state { grid-row: auto; } }
.cmp-utah { fill: oklch(0.16 0.006 264); stroke: var(--border-strong); stroke-width: 1.5; }
.cmp-road { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 6 4; }
.cmp-road-l, .cmp-town { font-family: var(--sans); font-size: 12px; fill: var(--faint); }
.cmp-zoom { fill: none; stroke: var(--link); stroke-width: 1; stroke-dasharray: 2 2; }
.cmp-leg { stroke: var(--muted); stroke-width: 1.5; opacity: .6; }
.cmp-leg--flag { stroke: var(--status-disputed); stroke-dasharray: 5 4; opacity: 1; stroke-width: 2; }
.cmp-area { fill: oklch(0.78 0.11 245 / .14); stroke: oklch(0.78 0.11 245 / .45); stroke-width: 1; }
.cmp-pt circle { stroke: var(--bg); stroke-width: 1.5; transition: r .2s, opacity .2s; }
.cmp-pt--confirmed circle { fill: var(--status-court); }
.cmp-pt--contested circle { fill: var(--status-disputed); }
.cmp-pt--claimed circle { fill: var(--bg); stroke: var(--status-reported); stroke-dasharray: 2 1.5; }
.cmp-pt:focus-visible circle { stroke: var(--link-hover); stroke-width: 3; }
.cmp-map.is-live .cmp-pt.is-future, .cmp-map.is-live .cmp-pt.is-off { opacity: 0; pointer-events: none; }
.cmp-map.is-live .cmp-pt.is-past circle { opacity: .45; }
.cmp-map.is-live .cmp-pt.is-now circle { r: 8; opacity: 1; stroke: var(--ink-strong); stroke-width: 2; }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 640px; }
.cmp-table th, .cmp-table td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp-table thead th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--surface); }
.cmp-table tbody th { font-weight: 600; color: var(--ink-strong); }
.cmp-table tr.cmp-flag > * { background: oklch(0.82 0.14 80 / .06); }
.cmp-legq td { font-family: var(--serif); font-size: var(--t-base); }
.cmp-fit { font-weight: 700; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .05em; }
.cmp-fit--ok { color: var(--status-court); } .cmp-fit--tight, .cmp-fit--misfit { color: var(--status-disputed); } .cmp-fit--n\/a { color: var(--muted); }
.cmp-method { margin: var(--s-3) 0 var(--s-4); font-size: var(--t-sm); color: var(--muted); }
.cmp-evs { list-style: none; margin: 0; padding: 0 0 0 var(--s-5); border-left: 2px solid var(--border); display: grid; gap: var(--s-4); }
.cmp-ev { position: relative; padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 180px; transition: border-color .2s; }
.cmp-ev::before { content: ''; position: absolute; left: calc(-1 * var(--s-5) - 7px); top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--status-court); border: 2px solid var(--bg); }
.cmp-ev.cmp-pt--contested::before { background: var(--status-disputed); }
.cmp-ev.cmp-pt--claimed::before { background: var(--bg); border: 2px dashed var(--status-reported); }
.cmp-ev:target, .cmp-ev.is-now { border-color: var(--link); }
.cmp-ev h3 { font-size: var(--t-base) !important; font-family: var(--serif); margin: 4px 0 var(--s-2) !important; }
.cmp-ev p { margin: 0 0 4px; font-size: var(--t-sm); }
.cmp-ev-time { display: flex; flex-wrap: wrap; gap: 6px var(--s-3); align-items: center; font-weight: 700; color: var(--ink-strong); }
.cmp-ev[hidden] { display: none; }

.cmp-cta { margin: var(--s-8) 0 0; padding: var(--s-6); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.cmp-cta h2 { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .cmp-pt circle, .cmp-ev, .cmp-net-links path, .cmp-node circle { transition: none; } }
@media print { .cmp-subnav, .cmp-filters, .cmp-scrub, .cmp-cta { display: none; } }
.cmp-net-region { fill: oklch(0.14 0.004 264 / .55); stroke: var(--border); stroke-width: 1; }
.cmp-place { font-family: var(--sans); font-size: 12px; fill: var(--fg); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }
/* Records library */
.rec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.rec-doc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--s-4) var(--s-5); scroll-margin-top: 80px; }
.rec-doc:target { border-color: var(--link); }
.rec-doc[hidden], .rec-group[hidden] { display: none; }
.rec-doc h3 { font-size: var(--t-h4); margin: 4px 0; }
.rec-doc p { margin: 0 0 var(--s-2); font-size: var(--t-sm); max-width: 70ch; }
.rec-meta { color: var(--muted); font-size: var(--t-xs) !important; text-transform: uppercase; letter-spacing: .05em; }
.rec-links { font-weight: 600; }
.rec-facts { padding-left: 1em; display: grid; gap: 6px; font-size: var(--t-sm); }
.rec-search { display: grid; gap: 6px; }
.rec-search input { min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--fg); font: inherit; max-width: 32rem; }
.rec-avenues { padding-left: 1.1em; display: grid; gap: var(--s-3); }
.rec-avenues p { margin: 4px 0 0; font-size: var(--t-sm); color: var(--muted); }
.cmp-docs { font-size: var(--t-sm); margin: var(--s-3) 0 0; }
.cmp-note { font-size: var(--t-sm); margin: var(--s-3) 0 0; padding: var(--s-2) var(--s-3); border-left: 2px solid var(--status-court); color: var(--fg); }
.cmp-cands-sub { margin: var(--s-6) 0 var(--s-2) !important; font-size: var(--t-h3) !important; }

/* Unofficial-copy label for third-party mirrors of court records (Burkhart warrant copies), 14 Nov 2026 */
.unofficial-copy{display:inline-block;margin-left:.35em;padding:.05em .45em;border:1px solid #b45309;border-radius:4px;background:#fff7ed;color:#7c2d12;font-size:.78em;font-weight:600;letter-spacing:.01em;white-space:nowrap;vertical-align:baseline}
.unofficial-note{font-size:.8em;color:#7c2d12;margin-left:.25em}
.cmp-rec--graph{color:var(--status-disputed);font-weight:600}
.cmp-rec--open-question{font-weight:600}
.cmp-anchor{display:block;position:relative;top:-80px;visibility:hidden}

/* Route legs: mobile-first stacked cards (polish 14 Nov) */
.cmp-leg-title { display: block; }
.cmp-leg-pts { display: block; margin-top: 2px; font-weight: 400; }
.cmp-legq td { font-family: var(--sans); font-size: var(--t-sm); line-height: 1.55; white-space: normal; overflow-wrap: anywhere; }
.cmp-table th, .cmp-table td { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .cmp-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .cmp-table--stack, .cmp-table--stack tbody, .cmp-table--stack tr, .cmp-table--stack th, .cmp-table--stack td { display: block; min-width: 0; width: auto; }
  .cmp-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cmp-table--stack tr.cmp-leg-row { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: var(--s-4); padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .cmp-table--stack tr.cmp-leg-row:has(+ .cmp-legq) { border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; padding-bottom: var(--s-2); }
  .cmp-table--stack tr.cmp-leg-row > th { flex: 1 1 100%; padding: 0 0 var(--s-2); border: 0; background: none !important; font-size: var(--t-base); line-height: 1.35; }
  .cmp-table--stack tr.cmp-leg-row > td { flex: 0 1 auto; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg) !important; font-size: var(--t-xs); line-height: 1.4; }
  .cmp-table--stack tr.cmp-leg-row > td::before { content: attr(data-label) ": "; color: var(--faint); font-weight: 600; }
  .cmp-table--stack tr.cmp-leg-row > td .cmp-pillnum { font-weight: 700; color: var(--ink-strong); }
  .cmp-table--stack tr.cmp-leg-row > td .cmp-muted { font-size: inherit; }
  .cmp-table--stack tr.cmp-legq { padding: 0 var(--s-4) var(--s-4); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); }
  .cmp-table--stack tr.cmp-legq td { padding: var(--s-3) 0 0; border: 0; border-top: 1px dashed var(--border); background: none !important; }
  .cmp-table--stack tr.cmp-flag > * { background: none; }
  .cmp-table--stack tr.cmp-flag.cmp-leg-row, .cmp-table--stack tr.cmp-flag.cmp-legq { border-left: 3px solid var(--status-disputed); }
}
.cmp-tag--commentary { color: var(--status-reported); border-style: dashed; }
.cmp-tag--commentary::before { background: transparent; border: 1px solid currentColor; }
.cmp-tag--party { color: var(--muted); }
/* KXC:START */
/* People: story-ordered list */
.kx-intro { font-size: var(--t-lg); line-height: 1.5; color: var(--fg); max-width: var(--measure); margin: 0 0 20px; }
.kx-jump { margin: 0 0 8px; position: sticky; top: var(--bar-h); z-index: 5; background: var(--bg); padding: 8px 0; margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); padding-left: var(--pad-x); border-bottom: 1px solid var(--border); }
.kx-jump ul { list-style: none; margin: 0; padding: 0 var(--pad-x) 0 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kx-jump ul::-webkit-scrollbar { display: none; }
.kx-jump a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--ink-strong); text-decoration: none; }
.kx-jump a:active { transform: scale(0.97); }
.kx-pgroup { margin: clamp(32px, 7vw, 56px) 0 0; scroll-margin-top: calc(var(--bar-h) + 64px); }
.kx-pgroup > h2 { font-size: var(--t-h2); margin: 0 0 6px; }
.kx-pg-deck { font-family: var(--sans); font-size: var(--t-sm); color: var(--muted); margin: 0 0 12px; max-width: var(--measure); }
.kx-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .kx-plist { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.kx-person { padding: 16px 0 14px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--bar-h) + 64px); }
.kx-person h3 { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.2; margin: 0 0 4px; color: var(--ink-strong); }
.kx-person--role h3 { font-family: var(--sans); font-size: var(--t-base); font-weight: 600; color: var(--fg); }
.kx-role-tag { font-family: var(--sans); font-size: var(--t-xs); color: var(--faint); margin: 0 0 4px; }
.kx-why { font-size: var(--t-base); line-height: 1.5; color: var(--fg); margin: 0 0 4px; max-width: 40rem; }
.kx-more-d > summary { min-height: 44px; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--link); }
.kx-more-d > :not(summary) { font-family: var(--sans); font-size: var(--t-sm); line-height: 1.5; color: var(--muted); }
.kx-more-d h4 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 700; color: var(--fg); margin: 14px 0 6px; }
.kx-more-d ul { padding-left: 1.1em; margin: 0; }
.kx-more-d li { margin: 0 0 8px; }
.kx-more-d li p { margin: 0 0 2px; }
.kx-st-meta { color: var(--faint); }
.kx-orgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
@media (min-width: 720px) { .kx-orgs { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.kx-orgs li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: var(--t-sm); }
.kx-org-n { color: var(--fg); font-weight: 600; } .kx-org-t { color: var(--faint); text-align: right; }
.kx-netd { margin: 40px 0 0; border-top: 1px solid var(--border); }
.kx-netd > summary { min-height: 52px; font-family: var(--sans); font-size: var(--t-base); font-weight: 600; color: var(--link); }
.kx-aside-rules { margin: 32px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); max-width: var(--measure); }
.kx-aside-rules h2 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 700; margin: 0 0 4px; }
.kx-aside-rules p { font-family: var(--sans); font-size: var(--t-sm); color: var(--muted); margin: 0; }
.kx-crumb { font-family: var(--sans); font-size: var(--t-sm); margin: 0 0 8px; }
.kx-crumb a { color: var(--muted); text-decoration: none; }
.kx-crumb a::before { content: '← '; }
/* Matrix: flat rows, official vs other clearly distinct */
.cmp-row { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 22px 0 10px; margin: 0; scroll-margin-top: calc(var(--bar-h) + 16px); }
.cmp-row:target { border-top-color: var(--link); }
.cmp-row-head { display: block; margin-bottom: 14px; }
.cmp-row-head h3 { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.2; margin: 0 0 8px; color: var(--ink-strong); }
.kx-row-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; }
.kx-key { font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; color: var(--accent-text); }
.cmp-cols { gap: 14px 32px; }
.cmp-col h4 { font-family: var(--sans); font-size: var(--t-sm) !important; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--fg) !important; margin: 0 0 8px; }
.cmp-col--formal { border-left: 0; padding: 14px 16px; background: color-mix(in oklch, var(--status-court) 9%, var(--surface)); border: 1px solid color-mix(in oklch, var(--status-court) 30%, var(--border)); border-radius: var(--radius); }
.cmp-col--formal h4 { color: var(--status-court) !important; }
.cmp-col--other { border-left: 0; padding: 4px 0 0; }
.cmp-col p { font-size: var(--t-base); line-height: 1.55; color: var(--fg); }
.cmp-accts { gap: 0; }
.cmp-acct { padding: 12px 0; border-bottom: 1px solid var(--border); background: none; border-radius: 0; }
.cmp-acct:first-child { padding-top: 0; }
.cmp-acct:last-child { border-bottom: 0; }
.cmp-acct--commentary { border-left: 0; padding-left: 0; }
.cmp-acct--commentary > p:not(.cmp-acct-who) { color: var(--muted); }
.cmp-acct-who { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--ink-strong); margin: 0 0 4px; }
.cmp-attr { font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; color: var(--status-reported); display: block; margin-bottom: 2px; }
.kx-srcs { margin: 6px 0 0; }
.kx-srcs > summary { min-height: 40px; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--link); width: max-content; max-width: 100%; }
.kx-srcs .cmp-srcs { margin: 4px 0 6px; gap: 8px; }
.cmp-src { font-family: var(--sans); font-size: var(--t-sm); color: var(--fg); text-decoration-color: color-mix(in oklch, currentColor 38%, transparent); }
.cmp-src-tier { display: inline; font-family: var(--sans); font-size: var(--t-xs); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--faint); margin: 0 0 0 4px; }
.cmp-src-tier::before { content: '· '; }
.cmp-docs { font-family: var(--sans); font-size: var(--t-sm); color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.cmp-docs a { color: var(--fg); }
.cmp-q { background: color-mix(in oklch, var(--status-disputed) 8%, var(--surface)); border: 1px solid color-mix(in oklch, var(--status-disputed) 26%, var(--border)); border-radius: var(--radius); padding: 14px 16px; }
.cmp-q-label { text-transform: none; letter-spacing: 0; font-size: var(--t-sm); }
.cmp-cc-link { font-family: var(--sans); }
.cmp-cand { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 20px 0 8px; }
.cmp-cand header { display: block; } .cmp-cand header h3 { margin: 0 0 6px; }
.cmp-vs { gap: 12px; }
.cmp-vs > div:not(.cmp-vs-mid) { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.cmp-side { font-family: var(--sans); font-size: var(--t-sm); font-weight: 700; color: var(--fg); margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
.cmp-key { background: transparent; border: 0; padding: 0; margin: 0 0 20px; }
.cmp-key-h, .cmp-key h2 { font-family: var(--sans); font-size: var(--t-sm) !important; text-transform: none; letter-spacing: 0; color: var(--fg); }
.cmp-key li { font-family: var(--sans); font-size: var(--t-sm); color: var(--muted); }
.cmp-stats { gap: 6px 18px; }
.cmp-filters legend { text-transform: none; letter-spacing: 0; font-size: var(--t-sm); font-weight: 700; color: var(--fg); }
.cmp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cmp-chips label { white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.cmp-subnav ol { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmp-subnav a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.cmp-col--formal, .cmp-q, .kx-open, .cmp-vs > div { box-shadow: none; }
.cmp-eyebrow, .cmp-kind, .cmp-k { text-transform: none !important; letter-spacing: 0 !important; }
.cmp-k { font-weight: 700; color: var(--fg); font-family: var(--sans); font-size: var(--t-sm); }
.cmp-tag { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: var(--t-xs); padding: 2px 9px; }
.cmp-docs.kx-srcs { margin-top: 10px; }
/* Map labels: sized in SVG units so they stay ≥12px on a 390px phone */
.cmp-town { font-size: 17px; fill: var(--muted); font-weight: 600; }
.cmp-road-l { font-size: 15px; }
.cmp-place { font-size: 16px; }
@media (min-width: 900px) { .cmp-town { font-size: 14px; } .cmp-road-l { font-size: 13px; } .cmp-place { font-size: 13px; } }
.cmp-note { border-left: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); }
.cmp-table--stack tr.cmp-flag.cmp-leg-row, .cmp-table--stack tr.cmp-flag.cmp-legq { border-left: 1px solid color-mix(in oklch, var(--status-disputed) 40%, var(--border)); }
@media (max-width: 899px) {
  .cmp-panel--county text.cmp-place, .cmp-panel--county text.cmp-town { font-size: 19.5px; }
  .cmp-panel--campus text.cmp-place, .cmp-panel--campus text.cmp-town { font-size: 22px; }
}
.cmp-subnav a { text-decoration: none; }
/* KXC:END */
