[hidden] { display: none !important; }
.app-header { display:flex; align-items:center; justify-content:flex-start; gap:1rem; }
.header-meta { margin-left:auto; }
.brand { display:flex; align-items:center; gap:.55rem; }
#map, #map-right { position:absolute; inset:0; }
#map { z-index:auto; }
#map-right { clip-path:inset(0 0 0 50%); pointer-events:none; z-index:1; }
.map-stage .map-top, .map-stage .map-bottom, .map-stage .year-stamp, #map-status { z-index:4; }
.map-stage .map-top { right:52px; }
#split-rule { position:absolute; z-index:3; top:0; bottom:0; left:50%; width:2px; background:#ffffffe0; pointer-events:none; box-shadow:0 0 8px #13261955; }
#split-rule span { position:absolute; top:48%; transform:translate(-50%,-50%); width:2.65rem; height:2.65rem; display:grid; place-items:center; border:2px solid white; border-radius:50%; background:#11261e; color:white; }
#split-handle { pointer-events:auto; touch-action:none; cursor:ew-resize; }
#split-handle:focus-visible { outline:3px solid #bc9a48; outline-offset:2px; }
#stamp-earlier { left:1rem; right:auto; }
#stamp-later { right:1rem; left:auto; }
#timeline { max-width:min(31rem,100%); }
#swipe { min-height:44px; touch-action:pan-y; }
.map-key:empty, .map-key[hidden] { display:none; }
.map-key { max-width:100%; }
.map-key div { display:flex; gap:.4rem; align-items:center; }
.map-key > div { min-width:0; overflow-wrap:anywhere; }
.map-key .candidate-key { flex-shrink:0; }
.legend-bar { width:10rem; height:.55rem; border-radius:1rem; margin:.25rem 0; }
.legend-scale { display:flex; justify-content:space-between; gap:1rem; }
.legend-scale span { white-space:nowrap; }
.map-key:has(.legend-bar) { flex-direction:column; align-items:stretch; gap:.15rem; width:min(17rem,100%); padding:.6rem .8rem; }
.map-key:has(.legend-bar) .legend-bar { width:auto; }
.map-details { font-size:.88rem; line-height:1.5; overflow-wrap:anywhere; }
.metric-grid strong { display:block; font-size:1.35rem; font-variant-numeric:tabular-nums; }
.metric-grid small { display:block; }
.eyebrow { margin-bottom:.4rem; }
.intro { font-size:.91rem; line-height:1.55; }
.tab[aria-pressed="true"] { color:white; background:#173d2b; }
.method summary { cursor:pointer; font-weight:650; }
.method p, .method li { font-size:.84rem; line-height:1.5; margin-top:.65rem; }
.candidate-key { display:inline-block; width:.7rem; height:.7rem; border-radius:2px; background:#e4667d; }
.timeline canvas { display:block; width:100%; height:54px; margin-block:.25rem; }
.trend p { margin:0 0 .35rem; font-size:.82rem; color:#53635a; }
#trend-chart { display:block; width:100%; height:66px; }
#delta-field { display:flex; align-items:center; gap:.4rem; font-size:.88rem; margin-top:.6rem; }
.screen-inputs { margin-top:.65rem; }
.screen-inputs label { margin-bottom:.4rem; }
.screen-criteria { display:block; color:#53635a; font-size:.8rem; line-height:1.4; margin-top:.2rem; }
.crop-table { width:100%; border-collapse:collapse; margin:.5rem 0; font-size:.77rem; }
.crop-table th, .crop-table td { padding:.45rem .35rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
.crop-table td:nth-child(2) { white-space:nowrap; font-variant-numeric:tabular-nums; }
.crop-table th { font-weight:650; color:var(--ink); }
.validation-table caption { text-align:left; font-weight:650; margin-bottom:.25rem; }
.candidate-focus { margin:.45rem 0 .1rem; border:1px solid var(--line); background:var(--ivory-50); color:var(--ink); padding:.55rem .7rem; border-radius:var(--radius); min-height:44px; font:inherit; cursor:pointer; }
.candidate-focus:hover { background:var(--ivory-200); }
.maplibregl-ctrl-bottom-right { z-index:3; }
@media(max-width:700px) { .brand-subtitle { display:none; } .header-meta { margin-left:auto; } .map-stage { min-height:400px; } }
