@font-face{font-family:UrensSans;src:local('Aptos'),local('Segoe UI'),local('Arial');font-display:swap}
:root{--ink:#20382e;--forest:#183e32;--muted:#758078;--line:#e1e5dc;--paper:#f4f5ef;--soft:#eef2e8;font-family:UrensSans,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #659c6e;outline-offset:2px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}main{width:100%;height:100%;height:100dvh;margin:0;padding:0;max-width:none}.workspace{position:relative;width:100%;height:100%;display:flex;overflow:hidden;background:#e2e9da}.map-column{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.map-toolbar{height:40px;min-height:40px;display:flex;justify-content:space-between;align-items:center;padding:0 6px;gap:8px;background:#fffffff7;border-bottom:1px solid #d9e0d3;z-index:800}.active-theme{border:0;background:transparent;display:flex;align-items:center;gap:8px;padding:3px 5px;height:32px;border-radius:5px}.active-theme:hover,.active-theme[aria-expanded=true]{background:#edf3e7}.active-theme img{width:23px;height:23px}.active-theme strong{font-size:12px;font-weight:600;white-space:nowrap}#active-dot{height:6px;width:6px;border-radius:50%;background:#7c9273}.theme-caret{font-size:15px;color:#6f7c68;margin-left:1px}.toolbar-actions{display:flex;gap:4px;align-items:center}.small-button{background:transparent;border:1px solid #dfe5d8;border-radius:5px;padding:5px 8px;height:29px;font-size:10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.2}.small-button:hover{background:var(--soft)}.small-button>span:first-child{font-size:15px;line-height:10px}.small-button.icon-only{font-size:16px;width:30px;padding:0}.icon-button{background:transparent;border:0;border-radius:5px;width:28px;height:28px;font-size:21px;line-height:1}.icon-button:hover{background:var(--soft)}
.theme-panel{position:absolute;z-index:1000;top:45px;left:6px;width:248px;max-width:calc(100vw - 12px);max-height:calc(100% - 53px);display:flex;flex-direction:column;background:#fffffff7;padding:9px;border:1px solid #dbe3d4;border-radius:9px;box-shadow:0 5px 22px #142b2726;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 8px}.panel-heading h2{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:600;margin:0}.count-pill{font-size:9px;font-weight:400;color:#8a9581}.themes{display:flex;flex-direction:column;gap:4px;overflow:auto;min-height:0;padding:2px;scrollbar-width:thin}.theme-card{padding:7px;border:1px solid transparent;background:transparent;border-radius:6px;display:flex;align-items:center;gap:9px;width:100%;text-align:left}.theme-card:hover{background:#f2f5ed}.theme-card[aria-pressed=true]{background:#edf3e7;border-color:#bdd1ad}.theme-thumbnail{width:42px;height:40px;border-radius:4px;overflow:hidden;flex-shrink:0;background:var(--tone);border:1px solid #00000009}.theme-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.theme-card-text{min-width:0;flex:1}.theme-card strong{display:block;font-weight:600;font-size:11px;margin-bottom:3px}.theme-card small{display:block;color:#7b867b;font-size:9px;line-height:1.35}.theme-check{width:13px;height:13px;flex-shrink:0;display:grid;place-items:center;border:1px solid #dbe0d6;border-radius:50%;font-size:8px;color:transparent}.theme-card[aria-pressed=true] .theme-check{background:var(--forest);border-color:var(--forest);color:#fff}
.map-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#e2e9da}#map{height:100%;width:100%;background:#dfe7dc;isolation:isolate}.leaflet-container{font-family:UrensSans,Arial,sans-serif}.leaflet-control-attribution{font-size:9px!important;background:#ffffffe0!important;padding:2px 5px!important}.leaflet-control-attribution a{color:#3b6450}.leaflet-control-scale{margin-left:7px!important;margin-bottom:30px!important}.leaflet-control-scale-line{background:#ffffffbb;border-color:#546752;color:#3c4f3b;font-size:9px}.tile-shell{background:transparent;overflow:hidden}.tile-shell img{display:block;width:100%;height:100%}.tile-shell.failed{background:repeating-linear-gradient(135deg,#dce2d588,#dce2d588 12px,#d2daca88 12px,#d2daca88 13px);outline:1px solid #adbaa950;outline-offset:-1px}.map-stage.dark #map{background:#1a2832}.map-stage.dark .tile-shell.failed{background:repeating-linear-gradient(135deg,#25364088,#25364088 12px,#2b404d88 12px,#2b404d88 13px)}.map-badge{position:absolute;top:7px;left:7px;z-index:500;display:flex;align-items:center;gap:5px;padding:4px 6px;background:#ffffffe6;border-radius:4px;font-size:9px;pointer-events:none}.status-dot{width:5px;height:5px;border-radius:50%;background:#849278;display:inline-block;flex-shrink:0}.status-dot.busy{background:#be973e;animation:pulse 1.5s infinite}.status-dot.error{background:#be694f}.status-dot.ready{background:#6c9851}@keyframes pulse{50%{opacity:.35}}.map-controls{position:absolute;z-index:500;top:7px;right:7px;padding:2px;border:1px solid #d9e1d2;border-radius:5px;background:#fffffff0;box-shadow:0 2px 6px #183e3210;display:flex;flex-direction:column}.map-controls button{width:28px;height:30px;background:none;border:0;font-size:20px;line-height:1;border-radius:3px}.map-controls button:hover{background:#edf3e7}.map-controls span{height:1px;background:var(--line);margin:2px}.coordinates{position:absolute;z-index:500;bottom:7px;left:7px;display:flex;align-items:center;gap:7px;padding:4px 5px;background:#ffffffe6;border-radius:3px;font-family:ui-monospace,monospace;font-size:9px;color:#586650;pointer-events:none}.coord-divider{height:9px;width:1px;background:#d3dacb}.map-error{position:absolute;z-index:600;top:35px;left:7px;background:#fffffff5;max-width:min(260px,calc(100% - 55px));padding:12px;border:1px solid #e4d9bd;border-radius:6px;box-shadow:0 5px 25px #0000000c}.map-error strong{font-size:12px}.map-error p{font-size:11px;line-height:1.5;margin:7px 0 10px;color:#787366}
.load-bar{display:flex;flex-direction:column;gap:9px;padding:12px;background:#f4f7ee;border-radius:7px;font-size:10px}.load-title{display:flex;align-items:center;gap:6px;white-space:nowrap}.load-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;color:#7b886f}.load-metrics b{font-weight:600;color:#53634d}.load-metrics .limit-stat{color:#6d7c66}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:11px 17px;border-radius:7px;background:var(--forest);color:#fff;font-size:12px;z-index:2000;box-shadow:0 8px 30px #0002;max-width:90vw}dialog{border:1px solid #dbe3d5;border-radius:13px;padding:24px;width:min(470px,92vw);color:var(--ink);box-shadow:0 30px 100px #142b2733;max-height:90vh;max-height:90dvh;overflow:auto}dialog::backdrop{background:#13281f66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-heading h2{font-size:22px;font-weight:550;letter-spacing:-.5px;margin:0}.dialog-close{border:0;background:#f2f4ee;width:29px;height:29px;border-radius:50%;font-size:22px;color:#7c8976;line-height:1;flex-shrink:0}.eyebrow{font-size:8px;font-weight:700;letter-spacing:1.7px;margin:0 0 9px;color:#7a8578}dialog p{font-size:12px;line-height:1.7;color:#6b7864}label{display:block;margin:18px 0 8px;font-size:11px;font-weight:600}select,input,textarea{border:1px solid #dce3d5;border-radius:6px;background:#f9faf6;padding:10px;width:100%;font-size:12px;color:var(--ink)}textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:11px}.field-help{font-size:10px;line-height:1.7;color:#8a9483;margin:9px 0 14px}details{border-top:1px solid var(--line);padding-top:15px;margin-top:18px}summary{font-size:12px;font-weight:600;cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:22px}.primary-button{border:1px solid var(--forest);border-radius:7px;padding:10px 17px;background:var(--forest);color:white;font-size:12px}.primary-button:hover{background:#2e5441}.text-button{background:none;border:0;font-size:11px;color:#73816b}.form-error{color:#ac4937;font-size:11px}.presets{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.presets button{border:1px solid #dce4d4;border-radius:5px;background:#f4f7ee;padding:9px 12px;font-size:11px}.about-note{background:#edf3e6;padding:14px;border-radius:8px;margin:18px 0}.about-note strong{font-size:12px}.about-note p{margin-bottom:0}.about-links{display:flex;flex-direction:column;gap:12px;margin-top:20px;font-size:11px}.noscript{position:fixed;bottom:20px;left:20px;background:white;padding:20px;z-index:1000;border:1px solid #ddd}
.expanded .map-toolbar{position:absolute;top:7px;left:7px;height:auto;min-height:0;padding:0;border:0;border-radius:5px;box-shadow:0 2px 6px #183e3210}.expanded .active-theme,.expanded .toolbar-actions>button:not(#expand){display:none}.expanded #expand{height:30px;padding:5px 7px}.expanded .map-badge{display:none}
@media(max-width:600px){.map-toolbar{gap:3px;padding:0 4px}.active-theme{gap:5px;padding:3px}.active-theme strong{font-size:11px}.active-theme img{width:22px;height:22px}#active-dot{display:none}.toolbar-actions{gap:3px}.small-button{width:31px;padding:0;height:31px}.small-button .button-label{display:none}.small-button.icon-only{width:29px}.theme-panel{top:43px;left:4px;max-height:calc(100% - 47px)}.theme-card{min-height:54px}.theme-card strong{font-size:12px}.theme-card small{font-size:10px}.coordinates{font-size:8px;bottom:22px;left:6px}.leaflet-control-scale{margin-left:6px!important;margin-bottom:45px!important}.map-controls{top:6px;right:6px}.map-controls button{width:30px;height:33px}.map-badge{top:6px;left:6px}.expanded .map-toolbar{top:6px;left:6px}.expanded #expand{width:32px;height:32px;padding:0}dialog{padding:20px;max-height:92dvh}.dialog-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
