:root{--fg:#0b1020;--muted:#5b6475;--bg:#fff;--card:#f9fbff;--border:#e6ecff}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}
.container{max-width:1080px;margin:0 auto;padding:16px}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.toolbar .spacer{flex:1}
select,input,button{font:inherit;padding:8px 12px;border:1px solid #ddd;border-radius:10px;background:#fff}
button{cursor:pointer}
.card{background:var(--card);border:1px solid #e6ecff;border-radius:14px;padding:12px;margin:10px 0}
#map{height:70vh;border:1px solid #e5e5e5;border-radius:12px;margin:8px 0}
.grid{display:grid;gap:12px}@media(min-width:1000px){.grid{grid-template-columns:2fr 1fr}}
.list .item{border-bottom:1px dashed #e5e5e5;padding:8px 0;cursor:pointer}
.muted{color:#666}.badge{display:inline-block;padding:.2em .6em;border:1px solid #ddd;border-radius:999px;font-size:12px;background:#fff}
.ok{border:1px solid #cde7c7;background:#f6fff3;padding:8px;border-radius:8px;white-space:pre-wrap}.err{border:1px solid #ffd0d0;background:#fff6f6;padding:8px;border-radius:8px;white-space:pre-wrap}.hidden{display:none}
.small{font-size:12px;color:#666}
/* colored dot before category */
.catlabel .dot{margin-right:6px;font-weight:bold}
/* tags */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.tag{border:1px solid #e6ecff;background:#fff;border-radius:999px;padding:6px 10px;cursor:pointer}
.tag.active{background:#f0f6ff;border-color:#cce0ff}
.tag.clear{border-color:#ffd7d7;background:#fff0f0}
