/* USVI Public Records: the core strip, the archive's mark and the Encyclopedia line (site_chrome.py). */
nav.core{background:color-mix(in srgb,var(--navy,#162667) 78%,#000);border-bottom:1px solid rgba(255,255,255,.14);font:400 14px/1.3 var(--serif,Georgia,serif)}
nav.core .wrap{max-width:980px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:0 2px;padding:4px 16px}
nav.core a,nav.core span[aria-current]{display:inline-flex;align-items:center;min-height:36px;color:rgba(255,255,255,.78);text-decoration:none}
nav.core a:hover,nav.core a:focus{color:#fff;text-decoration:underline}
nav.core span[aria-current]{color:#fff;font-weight:700}
nav.core .dot{color:rgba(255,255,255,.6);padding:0 4px}
header.site .brand img.mk{height:38px;width:auto;margin:0 8px 0 -4px;align-self:center;border-radius:6px}
header.site .brand a.source{display:block;margin-top:3px;font:600 .82em/1.35 var(--serif,Georgia,serif);color:var(--gold,#F4C53D);text-decoration:none}
header.site .brand a.source:hover,header.site .brand a.source:focus{text-decoration:underline}
/* Phones (2026-12-02): the strip stays on one line down to 370px, and below that wraps into two short lines;
   the compact header keeps its one-row brand, as before the strip arrived. */
@media(max-width:520px){
nav.core{font-size:11px}
nav.core .wrap{flex-wrap:nowrap;white-space:nowrap;padding:2px 10px}
nav.core a,nav.core span[aria-current]{min-height:32px}
nav.core .dot{padding:0 2px}
}
@media(max-width:369px){
nav.core .wrap{flex-wrap:wrap;white-space:normal}
nav.core a,nav.core span[aria-current]{min-height:26px}
}
@media(max-width:700px){
body:not(.fullhead) header.site .brand img.mk{display:none}
body:not(.fullhead) header.site .brand a.source{display:none}
}
/* Dark mode (Brian, 2026-12-02, "Option B ... lock in"): a navy page instead of near-black, and cards that stand
   off it with a lighter fill and a clear edge, as light mode's white cards do. This file loads after app.css, so
   these win; --mut lifts so gray text keeps 5:1 on the lighter cards; the high-contrast setting keeps its own. */
@media(prefers-color-scheme:dark){:root{--bg:#1a2242;--card:#2a376c;--line:#5566a6;--mut:#a7b0c4}}
@media(prefers-color-scheme:dark) and (prefers-contrast:more){:root{--mut:#c6cddd;--line:#7080b8}}
