.actual-badge{background:#edf4ea;border-color:#468073}.actual-badge span{color:#246f61}.actual-badge strong{font-size:12px}.controls section:first-of-type{padding-top:14px}.check-row{display:flex;gap:7px;align-items:flex-start;font-size:11px;margin-top:14px;line-height:1.6}input[type=search]{width:100%;padding:10px 11px;border:1px solid #dce2d9;border-radius:6px;background:#fafbf8;color:var(--ink)}input:disabled{opacity:.4;cursor:default}.unavailable-note{padding:19px 0;font-size:11px;color:#6e7f75;line-height:1.9}.unavailable-note p{font-size:10px;margin:7px 0}.map-tools{top:72px;padding:5px 8px}.leaflet-control-zoom{margin-top:125px!important}.legend{bottom:40px}.missing-key{color:#99a69f;font-size:15px}.flag-key{color:#a86a20;font-size:15px}.rank-card.selected{border-color:#3c7a66;background:#f0f6ec}.rank-card.missing .rank-cost b{font-size:16px;color:#7c887f}.flag-badge{display:inline-block;border:1px solid #ead3a6;border-radius:4px;padding:2px 5px;background:#fff7e8;color:#8e642a;font-size:9px;margin:3px 0 1px 26px}.rank-cost b{font-variant-numeric:tabular-nums}.rank-line{line-height:1.5}.detail-meta{overflow-wrap:anywhere}.provenance a,.source-link{overflow-wrap:anywhere}.detail-facts{margin:14px 0}.missing-panel{background:#f1f3ef;border-left:3px solid #9ca9a0;padding:16px;margin:16px 0;border-radius:6px;line-height:1.8}.missing-panel strong{font-size:21px}.flag-panel{padding:13px;border:1px solid #e6d2aa;background:#fff8e9;border-radius:7px;line-height:1.8;font-size:11px;margin:12px 0}.detail-total{margin:16px 0}.detail-total strong{font-size:29px}.detail-total .detail-meta{font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;background:#f6f7f2;padding:10px;border-radius:5px}#mapStatus{font-size:9px;color:#677e71;max-width:190px}.legend-scale span{white-space:normal}.leaflet-interactive:focus{outline:none;stroke:#c28c44;stroke-width:4}#dataContent{font-size:12px;line-height:1.9}.error-state{padding:25px;color:#9f4f36;line-height:1.8}.results>.outline{position:relative}main{height:720px}@media(min-width:1600px){main{height:calc(100vh - 275px);min-height:620px}}@media(max-width:850px){main{height:auto}.map-panel{height:620px}}@media(max-width:580px){.map-panel{height:550px}.sample-badge strong{display:block;margin-top:4px}.map-top{gap:5px;padding:11px 10px}.map-kind{font-size:8px}.legend{padding:11px}.map-caption{font-size:7px;left:14px}.legend small{font-size:8px}.map-tools{left:12px;top:67px}.leaflet-control-zoom{margin-left:12px!important;margin-top:120px!important}footer span{font-size:9px}#mapTitle{font-size:10px}}

#map{background:#dcebe8}

@media(min-width:851px){main{height:calc(100vh - 280px);min-height:560px}}

#map{background:#e1e7e1}

.rank-card.selected{background:#fff;border-color:#173f3b;box-shadow:0 0 0 2px #173f3b}

.rank-entry{margin-bottom:10px}.rank-entry .rank-card{margin-bottom:0;width:100%}.candidate-actions{display:flex;justify-content:space-between;gap:8px;padding:6px 9px}.candidate-actions button,.comparison-panel button{background:transparent;border:1px solid #c8d8cf;border-radius:6px;padding:4px 8px;color:#254d43;font:inherit;font-size:12px;cursor:pointer}.candidate-actions button[aria-pressed=true]{background:#e0eee6;border-color:#355f50}.comparison-panel[hidden]{display:none}.comparison-panel{margin:0 26px 12px;background:#fff;border:1px solid #c8d8cf;border-radius:12px;padding:12px 18px;max-height:340px;overflow:auto}.comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comparison-card{border:1px solid #dce5de;border-radius:8px;padding:10px}.comparison-card.selected{outline:2px solid #173f3b}.comparison-card dl{margin:8px 0}.comparison-card dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:5px 0}.comparison-card dd{margin:0;text-align:right}.comparison-card dt{color:#587368}.comparison-total{border-top:1px solid #dce5de;padding-top:6px;font-weight:bold}.comparison-card small{font-size:10px;color:#587368}.conversion-explanation{flex-basis:100%;margin:0;font-size:12px;color:#3c5c51;line-height:1.5}.exploration-heading{flex-wrap:wrap}#comparisonStatus:empty{display:none}@media(max-width:700px){.comparison-panel{margin:0 14px 10px}.comparison-grid{grid-template-columns:1fr}.comparison-card dl>div{font-size:11px}}

#more[hidden]{display:none}

.exploration-field input:disabled{opacity:.45;cursor:not-allowed}

/* Ribbon: preserve DOM and focus order, including attendance at the leading edge. */
#explorationBar .exploration-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
#explorationBar .exploration-toolbar>.exploration-tool{grid-column:auto}
#explorationBar .exploration-toolbar>.exploration-tool:last-child{grid-column:1/-1}
.exploration-content[hidden]{display:none!important}
.exploration-ribbon-actions{display:flex;justify-content:flex-end;margin-top:6px}
.exploration-toggle{border:1px solid #c8d8cf;border-radius:5px;background:#f7faf6;color:#254d43;padding:4px 9px;font-size:11px;line-height:1.5;cursor:pointer}
.exploration-toggle:focus-visible{outline:2px solid #c28c44;outline-offset:2px}
#explorationBar.is-collapsed{padding-top:3px;padding-bottom:3px}
#explorationBar.is-collapsed .exploration-ribbon-actions{margin-top:0}
@media(min-width:900px){#explorationBar .exploration-toolbar{grid-template-columns:minmax(125px,.55fr) 1fr 1fr 1.5fr}#explorationBar .exploration-toolbar>.exploration-tool:last-child{grid-column:auto}}
@media(min-width:851px){main{height:calc(100vh - 280px + var(--exploration-reclaimed-height,0px))}}
@media(max-width:850px){.map-panel{height:calc(620px + var(--exploration-reclaimed-height,0px))}}
@media(max-width:580px){.map-panel{height:calc(550px + var(--exploration-reclaimed-height,0px))}}
