*{box-sizing:border-box}
:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f6f7f9}
html,body{margin:0;width:100%;height:100%;min-height:100%;background:#f6f7f9}
body{overflow:hidden;overscroll-behavior:none}
button,select,input{font:inherit}
button{touch-action:manipulation}
.app{width:100%;height:100svh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.topbar{position:relative;z-index:1000;flex:none;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #e5e7eb;padding:calc(8px + env(safe-area-inset-top)) 10px 8px;display:flex;align-items:center;gap:8px}
.brand{min-width:0;flex:1}
.brand h1{font-size:17px;line-height:1.1;margin:0;font-weight:900;letter-spacing:-.025em}
.brand p{font-size:11px;color:#6b7280;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-actions{display:flex;align-items:center;gap:5px;flex:none}
.language-select,.live-pill{height:31px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#374151;font-size:10.5px;font-weight:850}
.language-select{padding:0 6px}.live-pill{display:flex;align-items:center;gap:5px;padding:0 8px}.live-dot{width:8px;height:8px;border-radius:50%;background:#f5c542}.live-pill.ok .live-dot{background:#23a55a}.live-pill.bad .live-dot{background:#e5484d}.count-pill{font-size:10.5px;color:#6b7280;white-space:nowrap}
.filters{position:relative;z-index:950;flex:none;background:rgba(255,255,255,.97);border-bottom:1px solid #e5e7eb}
.filter-bar{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:5px 9px}.filter-bar::-webkit-scrollbar{display:none}.nature-filter{padding-bottom:2px}.category-filter{padding-top:3px;padding-bottom:6px}
.filter-chip{flex:none;height:31px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#374151;padding:0 9px;font-size:11px;font-weight:800;display:flex;align-items:center;gap:5px}.filter-chip.active{background:#111827;color:#fff;border-color:#111827}.filter-chip.problem.active{background:#8f2430;border-color:#8f2430}.filter-chip.neutral.active{background:#6b7280;border-color:#6b7280}.filter-chip.positive.active{background:#187246;border-color:#187246}.chip-count{font-size:9px;opacity:.7}
#map{position:relative;z-index:1;flex:1 1 auto;min-height:0;width:100%}.leaflet-control-attribution{font-size:8px;max-width:72vw;white-space:normal}.leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:34px!important}.leaflet-control-container{z-index:700}
.neighborhood-label{background:rgba(255,255,255,.7);border:0;box-shadow:none;color:#4b5563;font-size:9px;font-weight:800;padding:1px 4px}.leaflet-tooltip.neighborhood-label:before{display:none}
.issue-marker-wrap{background:transparent;border:0}.issue-marker{--truth-color:#d4a914;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;border:5px solid var(--truth-color);box-shadow:0 3px 14px rgba(0,0,0,.22);font-size:19px}.issue-marker .nature-dot{position:absolute;width:9px;height:9px;border:2px solid #fff;border-radius:50%;right:1px;bottom:1px;background:#8f2430}.issue-marker .nature-dot.neutral{background:#6b7280}.issue-marker .nature-dot.positive{background:#187246}
.user-dot{width:18px;height:18px;border-radius:50%;background:#2563eb;border:4px solid white;box-shadow:0 0 0 2px rgba(37,99,235,.25),0 2px 8px rgba(0,0,0,.2)}
.leaflet-popup-content-wrapper{border-radius:16px;padding:0;box-shadow:0 10px 34px rgba(0,0,0,.18)}.leaflet-popup-content{margin:0;width:282px!important}.card{padding:14px}.card-head{display:flex;align-items:flex-start;gap:10px}.card-icon{width:40px;height:40px;border-radius:12px;background:#f3f4f6;display:grid;place-items:center;font-size:20px;flex:none}.card-title{font-size:15px;font-weight:900}.card-subtitle{font-size:11px;font-weight:750;color:#4b5563;margin-top:2px}.card-meta{font-size:10.5px;color:#6b7280;margin-top:4px;line-height:1.45}.detail-line{margin-top:8px;padding:7px 8px;border-radius:9px;background:#f8fafc;font-size:11px;color:#374151}.vote-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.vote-btn{min-height:43px;border:1px solid #e5e7eb;background:#fff;border-radius:11px;padding:9px 7px;font-weight:850;font-size:12px;color:#111827}.vote-btn:disabled{opacity:.48}.vote-btn.true{border-color:#b8e0c7}.vote-btn.false{border-color:#f1c0c2}.vote-note{font-size:10.5px;color:#6b7280;margin-top:7px}.truth-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:10px}.truth-scale{height:6px;border-radius:999px;background:linear-gradient(90deg,#b4232f 0%,#d29b17 50%,#16814c 100%);position:relative}.truth-pointer{position:absolute;top:50%;width:10px;height:10px;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.25);transform:translate(-50%,-50%)}.truth-label{font-size:10px;color:#6b7280;font-weight:800;white-space:nowrap}.urgent-note{margin-top:9px;padding:8px;border-radius:9px;background:#fff7ed;color:#9a3412;font-size:10.5px;line-height:1.4}.urgent-note a{color:inherit;font-weight:900}
.map-tools{position:fixed;z-index:850;right:13px;bottom:max(17px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;align-items:flex-end}.tool-btn{border:1px solid #e5e7eb;background:#fff;color:#111827;box-shadow:0 5px 16px rgba(0,0,0,.15);font-weight:850}.tool-btn.round{width:46px;height:46px;border-radius:50%;font-size:19px}.tool-btn.map-mode{min-width:72px;height:35px;border-radius:999px;padding:0 10px;font-size:10.5px}.add-btn{width:57px;height:57px;border:0;border-radius:50%;background:#111827;color:#fff;font-size:28px;box-shadow:0 9px 23px rgba(17,24,39,.28)}.tool-btn:disabled,.add-btn:disabled{opacity:.45}
.info-open{position:fixed;z-index:850;left:10px;bottom:max(9px,env(safe-area-inset-bottom));border:1px solid rgba(229,231,235,.95);background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-radius:999px;padding:7px 9px;font-size:9.5px;font-weight:800;color:#4b5563;box-shadow:0 3px 12px rgba(0,0,0,.08)}
.sheet-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(17,24,39,.38);display:none;align-items:flex-end;justify-content:center}.sheet-backdrop.open{display:flex}.sheet{width:100%;max-height:min(88dvh,760px);overflow:auto;background:#fff;border-radius:22px 22px 0 0;padding:10px 15px max(16px,env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(0,0,0,.18)}.grabber{width:38px;height:4px;border-radius:999px;background:#d1d5db;margin:0 auto 12px}.sheet h2{font-size:18px;margin:0 0 4px}.sheet>p{font-size:12px;color:#6b7280;margin:0 0 13px;line-height:1.45}.categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.category{min-height:57px;border:1px solid #e5e7eb;background:#fff;border-radius:13px;padding:8px 9px;text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center;color:#111827}.category.selected{border-color:#111827;background:#f3f4f6}.category-icon{font-size:19px;grid-row:1/3}.category-label{font-size:11.5px;font-weight:850;line-height:1.2}.category-ttl{font-size:9.5px;color:#6b7280;margin-top:2px}.dynamic-fields{margin-top:12px;padding:10px;border:1px solid #e5e7eb;border-radius:13px;background:#fafafa}.field{display:grid;gap:5px;margin-top:9px}.field:first-child{margin-top:0}.field label{font-size:11px;font-weight:850;color:#374151}.field select,.field input{width:100%;height:42px;border:1px solid #d1d5db;border-radius:10px;background:#fff;padding:0 10px;color:#111827;font-size:12px}.privacy-note,.emergency-note{font-size:10.5px;line-height:1.4;margin-top:9px;padding:8px 9px;border-radius:10px}.privacy-note{background:#f3f4f6;color:#4b5563}.emergency-note{background:#fff7ed;color:#9a3412}.emergency-note a{color:inherit;font-weight:900}.turnstile-host{margin-top:10px}.sheet-actions{position:sticky;bottom:0;display:flex;gap:8px;margin:12px -2px -2px;padding:8px 2px 2px;background:#fff}.sheet-actions button{flex:1;min-height:45px;border:0;border-radius:12px;padding:11px;font-weight:850}.secondary{background:#f3f4f6;color:#111827}.primary{background:#111827;color:#fff}.primary:disabled{opacity:.4}
.info-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.icon-close{width:36px;height:36px;border:0;border-radius:50%;background:#f3f4f6;font-size:21px}.info-sheet section{margin-top:18px}.info-sheet h3{font-size:13px;margin:0 0 7px}.info-copy{font-size:11.5px;line-height:1.55;color:#4b5563}.info-copy ul{padding-left:18px;margin:7px 0}.info-copy li{margin:5px 0}.source-note{margin-top:16px!important;padding-top:10px;border-top:1px solid #e5e7eb;font-size:9.5px!important}.notice-gate{position:fixed;inset:0;z-index:3000;background:rgba(17,24,39,.72);display:grid;place-items:center;padding:18px}.notice-gate[hidden]{display:none}.notice-card{width:min(100%,460px);max-height:90dvh;overflow:auto;background:#fff;border-radius:20px;padding:20px;box-shadow:0 20px 70px rgba(0,0,0,.3)}.notice-brand{font-size:11px;font-weight:950;letter-spacing:.08em}.notice-card h2{font-size:20px;margin:8px 0 10px}.notice-body{font-size:12px;line-height:1.55;color:#4b5563}.notice-body ul{padding-left:19px}.notice-body li{margin:7px 0}.notice-accept{width:100%;min-height:48px;margin-top:15px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:900}
.hint,.toast,.empty-badge{position:fixed;z-index:1500;left:50%;transform:translateX(-50%);font-size:11px}.hint{bottom:92px;display:none;background:rgba(17,24,39,.95);color:#fff;padding:9px 12px;border-radius:999px;white-space:nowrap}.toast{top:max(112px,calc(82px + env(safe-area-inset-top)));display:none;max-width:90%;background:rgba(17,24,39,.95);color:#fff;padding:9px 12px;border-radius:11px;text-align:center;line-height:1.35}.empty-badge{top:max(142px,calc(112px + env(safe-area-inset-top)));display:none;background:rgba(255,255,255,.96);color:#4b5563;border:1px solid #e5e7eb;box-shadow:0 4px 14px rgba(0,0,0,.08);padding:8px 10px;border-radius:999px;white-space:nowrap}
@media(min-width:700px){.topbar{padding-left:14px;padding-right:14px}.sheet{max-width:580px;margin:0 auto 18px;border-radius:22px}.filter-bar{padding-left:14px;padding-right:14px}.info-open{left:14px;bottom:14px}}
@media(max-width:480px){.count-pill{display:none}.live-pill{padding:0 7px}.language-select{padding:0 5px}.leaflet-popup-content{width:254px!important}.card{padding:12px}.categories{gap:6px}.category{padding:7px;min-height:54px}.category-label{font-size:11px}.filter-chip{font-size:10.5px;padding:0 8px}}
