:root {
    --bg: #f6f4ee;
    --panel: #fffdf8;
    --ink: #2a2722;
    --muted: #6f6a5f;
    --border: #e4ded0;
    --brand: #1f7a5a;
    --brand-dark: #155c43;
    --yes: #2e8b57;
    --limited: #e8941e;
    --no: #cf3b2e;
    --shadow: 0 1px 3px rgba(40,30,10,.08), 0 6px 18px rgba(40,30,10,.07);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--ink); }

.topbar { display: flex; align-items: baseline; gap: 14px; padding: 14px 20px 10px; background: var(--brand); color: #fff; flex-wrap: wrap; }
.brand { font-size: 1.2rem; }
.brand-mark { font-size: 1.3rem; }
.brand strong { font-weight: 800; }
.tagline { margin: 0; opacity: .9; font-size: .9rem; }

.controls { display: flex; gap: 12px; align-items: center; padding: 12px 20px; background: var(--panel); border-bottom: 1px solid var(--border); flex-wrap: wrap; position: sticky; top: 0; z-index: 600; }
.chips { display: flex; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border);
    background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .88rem; font-weight: 600;
    color: var(--muted); transition: all .12s;
}
.chip .dot { width: 11px; height: 11px; border-radius: 50%; }
.chip-yes .dot { background: var(--yes); }
.chip-limited .dot { background: var(--limited); }
.chip-no .dot { background: var(--no); }
.chip em { font-style: normal; opacity: .7; font-variant-numeric: tabular-nums; }
.chip.active { color: var(--ink); border-color: currentColor; }
.chip.chip-yes.active { border-color: var(--yes); background: #eaf5ee; }
.chip.chip-limited.active { border-color: var(--limited); background: #fbf2e2; }
.chip.chip-no.active { border-color: var(--no); background: #fbe9e7; }
.chip:not(.active) { opacity: .55; }
.chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.cat-filter { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
#cat, .q { padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: .88rem; background: #fff; color: var(--ink); }
.q { min-width: 160px; }
.count { margin-left: auto; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.layout { height: calc(100vh - 168px); min-height: 380px; }
#map { width: 100%; height: 100%; background: #e9e6dd; }

.foot { padding: 12px 20px; font-size: .78rem; color: var(--muted); background: var(--panel); border-top: 1px solid var(--border); }
.foot code { background: #ece7da; padding: 1px 5px; border-radius: 4px; }

.poi-popup b { display: block; font-size: 1rem; margin-bottom: 2px; }
.poi-popup .cat { color: var(--muted); }
.poi-popup .wc { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; }
.wc-yes { background: var(--yes); }
.wc-limited { background: var(--limited); }
.wc-no { background: var(--no); }
.leaflet-container { font: inherit; }
