html,body{color:#111827;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:hidden}#map{opacity:0;background:#eef2f7;transition:opacity .3s;position:absolute;inset:0}.card{z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:12px;position:absolute;box-shadow:0 8px 30px #0000001a}#topbar{display:contents}#title{max-width:300px;padding:11px 14px;top:62px;left:14px}#title h1{letter-spacing:-.01em;margin:0 0 2px;font-size:15px}#title p{color:#6b7280;margin:0;font-size:11.5px;line-height:1.45}#tools{flex-direction:column;align-items:stretch;gap:6px;padding:8px;display:flex;top:62px;right:14px}#tools select,#tools button{font:inherit;cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600}#tools #wybory{color:#fff;background:#111827;border-color:#111827}#tools .brandbox{align-items:center;gap:6px;display:flex}#tools .brandbox input{min-width:0;font:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;flex:1;padding:5px 8px;font-size:12px;font-weight:700}#tools .brandbox input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}#tools .brandbox select{flex:none;padding:5px 4px}#tools label{color:#6b7280;cursor:pointer;align-items:center;gap:5px;margin-top:2px;font-size:11px;display:flex}#tools .lbl{color:#9ca3af;text-transform:uppercase;margin:2px 0 0;font-size:10px;font-weight:700}#xrow{align-items:center;gap:6px;display:flex}#xplay{flex:none;width:30px;padding:6px 0!important}#rokseg{flex:auto;display:flex}#rokseg button{font:inherit;white-space:nowrap;color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-left-width:0;border-radius:0;flex:1 1 0;padding:7px 4px;font-size:12px;font-weight:700}#rokseg button[data-rok=zmiana]{flex:2.1 1 0}#rokseg button:first-child{border-left-width:1px;border-radius:8px 0 0 8px}#rokseg button:last-child{border-radius:0 8px 8px 0}#rokseg button.on{color:#fff;background:#111827;border-color:#111827}#xplay:disabled{opacity:.35;cursor:default}.toolstoggle,.legi{display:none}.tools-extra{display:contents}#legend{width:250px;padding:10px 12px;bottom:14px;left:14px}#legend h2{color:#374151;text-transform:uppercase;letter-spacing:.03em;margin:0 0 7px;font-size:11px}#legend .row{align-items:center;gap:7px;margin:3px 0;font-size:12px;display:flex}#legend .sw{border:1px solid #00000014;border-radius:3px;flex:none;width:16px;height:12px}#legend .bar{border:1px solid #00000014;border-radius:4px;height:12px}#legend .ticks{color:#6b7280;font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:3px;font-size:10px;display:flex}#legend .ends{justify-content:space-between;margin:0 0 4px;font-size:11px;font-weight:700;display:flex}#legend .ends .o{color:#c2410c}#legend .ends .n{color:#1e3a8a}#legend .note{color:#9ca3af;margin:7px 0 0;font-size:10px;line-height:1.4}#legend .prog{border-top:1px solid #eef0f3;margin:7px 0 2px;padding-top:6px;display:none}#legend .prog.on{display:block}#legend .prog input{accent-color:#2563eb;width:100%;margin:0}#legend .prog .pt{color:#374151;font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:2px;font-size:10.5px;display:flex}#legend .prog .pt b{color:#111827}#search{width:300px;padding:0;top:62px;left:50%;transform:translate(-50%)}#search input{box-sizing:border-box;width:100%;font:inherit;background:0 0;border:0;border-radius:12px;outline:none;padding:9px 12px;font-size:13px}#qlist{border-top:1px solid #eef2f7;max-height:260px;display:none;overflow:auto}#qlist .gs-it{cursor:pointer;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 12px;font-size:12.5px;display:flex}#qlist .gs-it:hover,#qlist .gs-it.sel{background:#f3f4f6}#qlist .gs-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#qlist .gs-sub{color:#9ca3af;white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:45%;font-size:10.5px;overflow:hidden}.maplibregl-popup-content{border-radius:10px;min-width:230px;padding:10px 12px;font-family:inherit}.pp b{font-size:13px}.pp small{color:#6b7280}.pp .prow{grid-template-columns:132px 1fr 44px;align-items:center;gap:6px;margin-top:4px;font-size:11.5px;display:grid}.pp .pn{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.pp .pv{font-variant-numeric:tabular-nums;color:#374151}.pp .psub{color:#9ca3af;margin:2px 0 0;font-size:10px;line-height:1.4}.pp .row{justify-content:space-between;gap:14px;margin-top:3px;font-size:12px;display:flex}.pp .na{color:#1e3a8a;font-weight:700}.pp .tr{color:#c2410c;font-weight:700}.pp .fr{color:#5b21b6;font-weight:700}.irid{pointer-events:none;width:28px;height:28px;position:relative}.irid .halo{background:radial-gradient(circle,#78aaff8c,#0000 70%);border-radius:50%;animation:1.8s ease-out infinite iridpulse;position:absolute;inset:0}.irid .ring{filter:saturate(1.35);background:conic-gradient(#ff004c,#ff8a00,#ffe600,#27ff00,#00ffe0,#06f,#b400ff,#ff004c);border-radius:50%;animation:2.6s linear infinite iridspin;position:absolute;inset:0;mask:radial-gradient(circle,#0000 7px,#000 8px 11px,#0000 12px)}.irid .core{background:#fff;border-radius:50%;position:absolute;inset:10px;box-shadow:0 0 5px #00000073}@keyframes iridspin{to{transform:rotate(360deg)}}@keyframes iridpulse{0%{opacity:.9;transform:scale(.55)}to{opacity:0;transform:scale(2.5)}}@media (prefers-reduced-motion:reduce){.irid .ring,.irid .halo{animation:none}}@media (width<=680px){#topbar{z-index:10;flex-direction:column;gap:8px;display:flex;position:absolute;top:58px;left:8px;right:8px}#topbar>.card{width:auto;max-width:none;position:static;top:auto;left:auto;right:auto;transform:none}#title p{display:none}#title{padding:8px 12px}#title h1{font-size:14px}#tools{flex-flow:wrap;align-items:center;padding:6px}#tools select,#tools button{flex:auto}#tools label{flex:1 0 100%;justify-content:center;margin-top:0}#tools #xrow{flex:1 0 100%}#tools #xplay{flex:none}#search input{font-size:16px}#legend{width:auto;bottom:8px;left:8px;right:8px}#tools .lbl{display:none}#tools .toolstoggle{font:inherit;color:#374151;cursor:pointer;background:#f8fafc;border:1px solid #d1d5db;border-radius:8px;flex:1 0 100%;order:9;padding:7px 10px;font-size:12px;font-weight:600;display:block}#tools .tools-extra{display:none}#tools.open .tools-extra{display:contents}#legend .legi{font:inherit;color:#2563eb;cursor:pointer;background:0 0;border:0;padding:2px 0 4px;font-size:11px;font-weight:700;display:inline-block}#legend .note{display:none}#legend.open .note{display:block}}
