@font-face{font-family:Onest;src:url('onest.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--navy:#09234d;--navy-2:#123566;--red:#c91838;--red-dark:#a9102c;--gold:#c6a34a;--blue:#1769e0;--green:#168447;--danger:#b42318;--surface:#fff;--surface-2:#f4f7fb;--surface-3:#e9eef6;--text:#0b1f3a;--muted:#5d6b7e;--line:#d9e0ea;--overlay:rgba(9,35,77,.72);--shadow-sm:0 2px 8px rgba(9,35,77,.14);--shadow-md:0 10px 32px rgba(9,35,77,.2);--shadow-lg:0 24px 70px rgba(4,20,44,.3);--r-sm:10px;--r-md:16px;--r-lg:24px;--r-pill:999px;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--ease:cubic-bezier(.2,.8,.2,1)}
[data-theme=dark]{color-scheme:dark;--surface:#101a2a;--surface-2:#152238;--surface-3:#213149;--text:#f4f7fb;--muted:#aebbd0;--line:#30415d;--overlay:rgba(2,10,24,.82);--shadow-sm:0 2px 10px rgba(0,0,0,.38);--shadow-md:0 12px 34px rgba(0,0,0,.46);--shadow-lg:0 28px 74px rgba(0,0,0,.58)}
*{box-sizing:border-box}html,body{width:100%;height:100%;overflow:hidden}body{margin:0;background:var(--surface-2);color:var(--text);font:14px/1.45 Onest,'Segoe UI',system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button{color:inherit}button:not(:disabled),summary{cursor:pointer}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.app-shell,.map-stage,#map{width:100%;height:100%}.map-stage{position:relative;isolation:isolate;overflow:hidden;background:#cbd5e1}#map{z-index:0}.topbar{position:absolute;z-index:700;top:calc(var(--safe-top) + 12px);left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);display:flex;align-items:center;gap:10px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--navy);box-shadow:var(--shadow-md);border:1px solid rgba(198,163,74,.65)}.brand img{width:34px;height:34px}.search-pill{display:flex;align-items:center;gap:12px;width:min(450px,calc(100% - 158px));height:52px;padding:6px 18px;border:1px solid rgba(255,255,255,.5);border-radius:var(--r-pill);background:var(--surface);color:var(--text);box-shadow:var(--shadow-md);text-align:left}.search-pill:hover{background:var(--surface-2)}.search-pill>span:last-child{display:flex;flex-direction:column;min-width:0}.search-pill small{font-size:10px;color:var(--muted);line-height:1.15}.search-pill strong{font-size:16px;line-height:1.25}.search-icon{position:relative;width:18px;height:18px;border:2px solid var(--navy);border-radius:50%;flex:none}.search-icon::after{content:"";position:absolute;width:7px;height:2px;background:var(--navy);right:-5px;bottom:-2px;transform:rotate(45deg);border-radius:2px}.top-action,.icon-action,.avatar-action{height:46px;border:0;box-shadow:var(--shadow-md)}.top-action{padding:0 16px;border-radius:var(--r-pill);background:var(--red);color:#fff;font-weight:750}.icon-action,.avatar-action{width:46px;border-radius:50%;background:var(--surface);color:var(--navy);display:grid;place-items:center}.icon-action{margin-left:auto}.icon-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.avatar-action{background:var(--navy);color:#fff;font-weight:800;border:2px solid var(--gold)}
.fab-stack{position:absolute;z-index:650;right:calc(var(--safe-right) + 16px);bottom:calc(226px + var(--safe-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:10px;transition:bottom .22s var(--ease)}.fab{min-height:48px;border:0;border-radius:var(--r-pill);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:750}.fab svg{width:26px;height:26px}.fab-secondary{width:48px;padding:0;background:var(--surface);color:var(--navy)}.fab-secondary span{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.fab-secondary[aria-pressed=false]{opacity:.58}.fab-primary{padding:0 20px;background:var(--red);color:#fff;font-size:15px}.fab-primary:hover{background:var(--red-dark)}.fab-plus{font-size:28px;font-weight:400;line-height:1}.sheet-half~.fab-stack,.sheet-full~.fab-stack{bottom:calc(50dvh + 14px)}
.feed{position:absolute;z-index:600;background:var(--surface);box-shadow:var(--shadow-lg);transition:height .22s var(--ease),transform .22s var(--ease)}.sheet-toggle{position:absolute;top:0;left:0;width:100%;height:30px;border:0;background:transparent;display:grid;place-items:center}.sheet-toggle span{display:block;width:42px;height:5px;border-radius:3px;background:var(--line)}.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:30px 20px 0}.eyebrow{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1.35px}.live-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(201,24,56,.14)}h1,h2,h3,p{margin-top:0}.feed h1{margin:5px 0 0;font-size:22px;line-height:1.1;letter-spacing:-.6px}.feed h1 #total{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border-radius:8px;background:var(--gold);color:#17213a;font-size:12px;vertical-align:3px;font-variant-numeric:tabular-nums}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface-2);display:grid;place-items:center}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon-button:disabled{opacity:.45}.sync{margin:6px 20px 10px;color:var(--muted);font-size:11px}.sync.error{color:var(--danger)}.filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 20px 12px}.filters::-webkit-scrollbar{display:none}.filters button{flex:none;min-height:38px;padding:7px 14px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface);font-size:12px;font-weight:700}.filters button[aria-pressed=true]{border-color:var(--navy);background:var(--navy);color:#fff}.feed-scroll{overflow-y:auto;overscroll-behavior:contain;padding:0 20px calc(20px + var(--safe-bottom));scrollbar-width:thin}.report{border-top:1px solid var(--line)}.report-button{width:100%;min-height:72px;padding:12px 0;border:0;background:transparent;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left}.report-button:hover{background:var(--surface-2)}.type-icon{width:44px;height:44px;display:grid;place-items:center;flex:none}.type-icon svg{width:42px;height:42px}.report-title{display:block;color:var(--text);font-size:14px;font-weight:780;line-height:1.25;overflow-wrap:anywhere}.report-meta{display:block;margin-top:4px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.report-time{align-self:start;margin-top:7px;color:var(--red);font-size:10px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.report.aging{opacity:.8}.report.old{opacity:.6}.detail{margin:0 0 14px 58px;padding:12px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--muted);font-size:12px}.detail p{margin:0 0 5px}.votes{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.vote{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);font-weight:700}.vote.yes{color:var(--green);border-color:currentColor}.vote.no{color:var(--danger);border-color:currentColor}.vote:disabled{opacity:.5}.stale{color:var(--danger);font-weight:700}.unmapped{border-top:1px solid var(--line);padding:18px 0}.unmapped h2{margin-bottom:4px;font-size:15px}.unmapped>p{font-size:12px;color:var(--muted)}.empty{text-align:center;padding:36px 16px;color:var(--muted)}.empty svg{width:48px;height:48px}.empty h2{margin:10px 0 4px;color:var(--text);font-size:17px}.feed-footer{padding:18px 0 4px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.feed-footer p{margin-bottom:5px}.feed-footer strong{color:var(--text)}.feed-footer details{margin-top:10px}.feed-footer details p{margin-top:8px}.feed-footer a{color:var(--blue)}
.flow-sheet{position:absolute;z-index:800;width:min(460px,calc(100% - 24px));left:12px;top:calc(var(--safe-top) + 78px);padding:18px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-lg)}.sheet-handle{display:none}.flow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.flow-head h2{margin:5px 0 12px;font-size:22px;line-height:1.15}.close-btn{width:44px;height:44px;border:0;border-radius:50%;background:var(--surface-2);font-size:27px;line-height:1}.add-types{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.add-types button{min-width:0;min-height:76px;padding:7px 2px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:750}.add-types button svg{width:36px;height:36px}.add-types button[aria-pressed=true]{border-color:var(--red);background:rgba(201,24,56,.1);box-shadow:inset 0 0 0 1px var(--red);color:var(--red)}.flow-hint{margin:14px 0 10px;color:var(--muted);font-size:12px}.primary{min-height:48px;padding:10px 18px;border:0;border-radius:13px;background:var(--navy);color:#fff;font-weight:800}.primary:hover{background:var(--navy-2)}.primary:disabled{opacity:.45;cursor:not-allowed}.wide{width:100%}.pick-pin{position:absolute;z-index:500;left:50%;top:50%;width:34px;height:48px;transform:translate(-50%,-100%);pointer-events:none}.pick-pin span{display:block;width:34px;height:34px;border:4px solid #fff;border-radius:50% 50% 50% 5px;background:var(--red);box-shadow:var(--shadow-md);transform:rotate(-45deg)}.pick-pin::after{content:"";position:absolute;left:14px;bottom:-5px;width:7px;height:3px;border-radius:50%;background:rgba(0,0,0,.3)}#map.picking{cursor:crosshair}.toast{position:absolute;z-index:1000;left:50%;bottom:calc(210px + var(--safe-bottom));width:max-content;max-width:calc(100% - 32px);padding:12px 16px;border-radius:12px;background:var(--navy);color:#fff;box-shadow:var(--shadow-lg);transform:translateX(-50%);font-weight:650}
.route-sheet{max-height:calc(100dvh - 102px);overflow:auto}.route-fields{position:relative;padding:2px 50px 2px 0}.ruta-row{position:relative;display:flex;align-items:center;gap:8px;margin-bottom:8px}.ruta-row input{width:100%;height:48px;padding:0 12px 0 38px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:16px}.route-dot{position:absolute;left:15px;z-index:1;width:10px;height:10px;border-radius:50%;background:var(--green)}.route-dot.end{background:var(--red);border-radius:3px}.route-line{position:absolute;z-index:2;left:19px;top:36px;width:2px;height:30px;border-left:2px dotted var(--muted)}.field-action{flex:none;width:48px;height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.field-action svg{width:25px;height:25px}.swap-btn{position:absolute;right:0;top:27px;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--surface-2);font-size:21px}.sug{list-style:none;margin:4px 0 10px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:auto;max-height:210px}.sug button{width:100%;min-height:48px;padding:9px 12px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);display:flex;justify-content:space-between;gap:8px;text-align:left}.sug li:last-child button{border-bottom:0}.sug small{color:var(--muted)}.route-actions{display:flex;gap:8px}.route-actions .primary{flex:1}.route-actions>button:not(.primary){min-height:48px;padding:10px 18px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.route-info{margin-top:12px}.r-sum{padding:14px;border-radius:14px;background:var(--surface-2)}.r-sum b{display:block;font-size:18px;font-variant-numeric:tabular-nums}.r-sum span{color:var(--muted);font-size:12px}.r-gmaps{display:block;margin-top:10px;color:var(--blue);font-weight:750}.r-lista{display:flex;gap:8px;margin-top:10px;overflow-x:auto}.r-item{flex:0 0 210px;min-height:62px;padding:7px 9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);display:grid;grid-template-columns:38px 1fr;gap:8px;text-align:left}.r-ic{grid-row:1/3}.r-ic svg{width:36px;height:36px}.r-item small{color:var(--muted);font-variant-numeric:tabular-nums}.rt-done .route-fields,.rt-done #r-go,.rt-done .sug{display:none!important}
.nalog{position:relative;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:28px;border:0;border-radius:24px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg)}.nalog::backdrop{background:var(--overlay);backdrop-filter:blur(5px)}.nalog h2{margin:6px 40px 7px 0;font-size:24px}.nalog p{color:var(--muted)}.n-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:0;border-radius:50%;background:var(--surface-2);font-size:27px}.nalog label{display:block;margin:12px 0 6px;font-size:12px;font-weight:750}.nalog label small{font-weight:500;color:var(--muted)}.nalog input:not([type=checkbox]){display:block;width:100%;height:48px;margin-top:5px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:16px}.nalog .chk{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.4}.nalog .chk input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--red)}.nalog .chk a{color:var(--blue)}.nalog .wide{margin-top:10px}.n-actions{display:grid;gap:8px;margin-top:18px}.n-actions button{min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.n-actions .danger{color:var(--danger);border-color:currentColor}#n-status,#n-status2{margin-top:10px;color:var(--text);font-weight:700}
.leaflet-container{font-family:Onest,'Segoe UI',system-ui,sans-serif}.leaflet-top.leaflet-left{top:78px;left:10px}.leaflet-control-zoom{border:0!important;box-shadow:var(--shadow-sm)!important}.leaflet-bar a{width:40px!important;height:40px!important;line-height:40px!important;background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:var(--surface);color:var(--text)}.leaflet-popup-content-wrapper{border-radius:16px;box-shadow:var(--shadow-md)}.leaflet-popup-content{min-width:220px;margin:16px;font-size:12px;line-height:1.5}.leaflet-popup-content h3{margin:0 0 8px;font-size:15px}.leaflet-popup-content p{margin:4px 0}.leaflet-popup-content small{display:block;margin-top:5px;color:var(--muted)}.leaflet-popup-close-button{width:40px!important;height:40px!important;font-size:25px!important;color:var(--muted)!important}.leaflet-control-attribution{font:10px/1.3 system-ui,sans-serif;background:rgba(255,255,255,.82)!important;padding:2px 6px!important;color:#334155}.patrol-pin{background:transparent;border:0}.pin-body{position:relative;display:block;width:48px;height:48px;filter:drop-shadow(0 0 1.5px #fff) drop-shadow(0 3px 5px rgba(0,0,0,.58))}.pin-body svg{width:48px;height:48px}.pin-body:not(.aging):not(.old)::after{content:"";position:absolute;inset:-5px;border:3px solid var(--red);border-radius:50%;opacity:0;animation:pin-pulse 2.2s ease-out infinite}.pin-body.aging{opacity:.8}.pin-body.old{opacity:.55;filter:grayscale(.45) drop-shadow(0 2px 3px rgba(0,0,0,.4))}.z-low .pin-body{transform:scale(.58)}.z-mid .pin-body{transform:scale(.82)}.z-low .pin-body::after{display:none}.fixed-pin{background:transparent}.fixed-body,.fixed-body svg{display:block;width:25px;height:25px}.fixed-body{opacity:.88;filter:drop-shadow(0 1px 2px #0008)}.fixed-body.planned{opacity:.45}.user-pin{background:#2875dd;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 10px rgba(40,117,221,.24)}@keyframes pin-pulse{0%{transform:scale(.72);opacity:.9}100%{transform:scale(1.5);opacity:0}}
@media(min-width:801px){.feed{top:0;bottom:0;left:0;width:390px;border-radius:0}.sheet-toggle{display:none}.feed-heading{padding-top:96px}.feed-scroll{height:calc(100% - 208px)}.topbar{left:410px}.fab-stack{right:22px;bottom:22px}.flow-sheet{left:410px;top:82px}.toast{bottom:24px}.leaflet-top.leaflet-left{left:400px;top:82px}.leaflet-bottom.leaflet-left{left:390px}.leaflet-control-attribution{margin-left:8px!important}}
@media(max-width:800px){.feed{left:0;right:0;bottom:0;height:196px;max-height:calc(100dvh - 78px);border-radius:24px 24px 0 0}.feed.sheet-half{height:50dvh}.feed.sheet-full{height:calc(100dvh - 78px)}.feed-heading{padding-top:29px}.feed-scroll{height:calc(100% - 138px)}.feed.sheet-peek .feed-scroll{overflow:hidden}.feed.sheet-peek .reports{display:none}.feed.sheet-peek .feed-footer,.feed.sheet-peek .unmapped,.feed.sheet-peek .empty{display:none}.fab-stack{bottom:calc(208px + var(--safe-bottom))}.map-stage:has(.feed.sheet-half) .fab-stack{bottom:calc(50dvh + 12px)}.map-stage:has(.feed.sheet-full) .fab-stack{opacity:0;pointer-events:none}.flow-sheet{position:absolute;top:auto;left:0;bottom:0;width:100%;padding:12px 16px calc(16px + var(--safe-bottom));border-radius:24px 24px 0 0}.flow-sheet .sheet-handle{display:block;width:42px;height:5px;margin:0 auto 12px;border-radius:3px;background:var(--line)}.adding .feed,.adding .fab-stack{display:none}.route-sheet{max-height:82dvh}.toast{bottom:calc(208px + var(--safe-bottom))}.adding .toast{bottom:calc(190px + var(--safe-bottom))}.leaflet-top.leaflet-left{top:78px;left:4px}.leaflet-control-attribution{cursor:pointer;position:relative;width:28px;max-width:28px;height:24px;overflow:hidden;white-space:nowrap;text-indent:-9999px;margin:0 6px 6px 0!important;border-radius:12px}.leaflet-control-attribution::before{content:"ⓘ";text-indent:0;position:absolute;left:7px;top:3px;font-size:14px;color:#334155}.leaflet-control-attribution.open{width:auto;max-width:92vw;height:auto;border-radius:7px;white-space:normal;text-indent:0}.leaflet-control-attribution.open::before{display:none}}
@media(max-width:480px){.topbar{gap:8px}.brand{width:44px;height:44px;border-radius:13px}.brand img{width:31px;height:31px}.search-pill{height:48px;width:auto;flex:1;padding:5px 15px}.search-pill small{display:none}.top-action{position:absolute;top:56px;right:0;height:40px}.icon-action{width:44px;height:44px;margin-left:0}.avatar-action{width:44px;height:44px}.fab-stack{right:12px}.fab-primary{min-height:52px}.add-types{gap:5px}.add-types button{min-height:70px}.add-types button svg{width:32px;height:32px}.report-button{grid-template-columns:44px minmax(0,1fr) auto}.detail{margin-left:0}.flow-head h2{font-size:20px}.nalog{padding:24px 18px}}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--surface:#101a2a;--surface-2:#152238;--surface-3:#213149;--text:#f4f7fb;--muted:#aebbd0;--line:#30415d;--overlay:rgba(2,10,24,.82);--shadow-sm:0 2px 10px rgba(0,0,0,.38);--shadow-md:0 12px 34px rgba(0,0,0,.46);--shadow-lg:0 28px 74px rgba(0,0,0,.58)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.pin-body::after{display:none}}
.group-label{margin:12px 0 6px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}.group-label:first-of-type{margin-top:0}
.share-btn{margin-top:8px;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface-2);font-size:12px;font-weight:700}.share-app{display:block;width:100%;margin:10px 0 4px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);font-weight:750}
.profil{margin:14px 0 6px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stats>div{padding:12px 6px;border-radius:14px;background:var(--surface-2);text-align:center}.stats b{display:block;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}.stats span{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.25}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.badge{padding:5px 11px;border:1px dashed var(--line);border-radius:var(--r-pill);color:var(--muted);font-size:11px;font-weight:700;opacity:.7}.badge.on{border:1px solid var(--gold);background:rgba(198,163,74,.16);color:var(--text);opacity:1}
.profil details{margin-top:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.profil summary{padding:11px 14px;font-weight:750}.alist{max-height:220px;overflow:auto;padding:0 6px 6px}.a-row{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left}.a-row:not(:disabled):hover{background:var(--surface-2)}.a-row b{display:block;font-size:12px}.a-row small{display:block;color:var(--muted);font-size:11px}.a-row em{font-style:normal;font-size:10px;font-weight:800;color:var(--green)}.a-row .r-ic svg{width:34px;height:34px}.alist .muted{margin:8px}
.o-label{display:block;margin:16px 0 8px;font-size:12px;font-weight:750}.seg{display:flex;gap:6px}.seg button{flex:1;min-height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:13px;font-weight:700}.seg button[aria-pressed=true]{border-color:var(--navy);background:var(--navy);color:#fff}[data-theme=dark] .seg button[aria-pressed=true]{background:var(--blue);border-color:var(--blue)}
.o-vrste{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.o-vrste .chk{margin:6px 0}.o-hint{padding:10px 12px;border-radius:12px;background:var(--surface-2);font-size:12px}.o-off{display:block;width:100%;margin-top:8px;min-height:44px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--danger)}#o-status,#s-status{margin-top:10px;font-weight:700;color:var(--text)}
.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.share-link{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:750;text-decoration:none}
.drive-banner{position:absolute;z-index:760;left:12px;right:12px;top:calc(var(--safe-top) + 74px);display:flex;align-items:center;gap:12px;max-width:520px;margin:0 auto;padding:12px 14px;border-radius:18px;background:var(--navy);color:#fff;box-shadow:var(--shadow-lg);border:1px solid rgba(198,163,74,.7)}.drive-banner .type-icon{flex:none;width:46px;height:46px}.drive-banner .type-icon svg{width:46px;height:46px}.drive-banner div:not(.db-actions){flex:1;min-width:0}.drive-banner strong{display:block;font-size:18px;line-height:1.15}.drive-banner small{display:block;color:#cbd5e6;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.db-actions{display:flex;gap:8px}.db-actions button{width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:20px}.db-actions #db-yes{background:var(--green)}.db-actions #db-no{background:var(--red)}
@media(min-width:801px){.drive-banner{left:410px;margin:0}}
@media(max-width:480px){.topbar{gap:6px}.icon-action,.avatar-action{width:42px;height:42px}}
.icon-action{color:var(--text)}.avatar-action{color:#fff}#obav-btn{margin-left:0}[data-theme=dark] .icon-action,[data-theme=dark] .search-icon{color:var(--text)}[data-theme=dark] .search-icon{border-color:var(--text)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .search-icon{border-color:var(--text)}}
.d-koraci{margin:12px 0 16px;padding-left:22px;color:var(--text)}.d-koraci li{margin:8px 0;line-height:1.45}#d-status{margin-top:10px;font-weight:700;color:var(--text)}
#d-kopiraj{color:var(--text)}
#o-diag{margin-top:12px;font-size:11px;color:var(--muted)}
.cesta-pin{background:transparent;border:0}.cesta-body{position:relative;display:block;width:34px;height:34px;opacity:.8;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}.cesta-body svg{width:34px;height:34px}.cesta-body::before{content:"";position:absolute;inset:-3px;border:2px dashed rgba(255,255,255,.95);border-radius:50%}.cesta-body i{position:absolute;right:-7px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--navy);color:#fff;font:700 10px/17px Onest,system-ui,sans-serif;text-align:center;font-style:normal}.z-low .cesta-body{transform:scale(.6)}.z-mid .cesta-body{transform:scale(.85)}
.viber-join{display:flex;align-items:center;justify-content:center;width:100%;margin:10px 0 0;min-height:46px;border-radius:12px;background:#7360f2;color:#fff;font-weight:800;text-decoration:none}.viber-join:hover{background:#5f4ee0}.viber-join+.share-app{margin-top:8px}

.route-fields{display:grid;grid-template-columns:1fr 44px;gap:10px;align-items:center;padding:0;margin-bottom:12px}
.route-fields::before{content:"";grid-column:1;grid-row:1;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);pointer-events:none;position:absolute;left:0;right:54px;top:0;bottom:0}
.route-fields .ruta-row{grid-column:1;position:relative;margin:0;gap:0}
.route-fields .ruta-row+.ruta-row{border-top:1px solid var(--line)}
.route-fields .ruta-row input{height:52px;border:0;border-radius:14px;background:transparent;padding:0 12px 0 40px;outline:0}
.route-fields .ruta-row input:focus{box-shadow:none;background:color-mix(in srgb,var(--blue) 8%,transparent)}
.route-fields .field-action{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:10px;background:transparent}
.route-fields .route-dot{left:16px}.route-fields .ruta-row:last-of-type .route-dot{top:50%;margin-top:-5px}
.route-fields .route-line{left:20px;top:34px;height:36px}
.route-fields .swap-btn{grid-column:2;grid-row:1/3;position:static;width:44px;height:44px;align-self:center}
.feed-footer a.viber-join,a.viber-join{color:#fff!important}
.route-fields{grid-template-rows:52px 52px}
.route-fields .swap-btn{grid-row:1/3}
.route-fields{position:relative}
.route-fields::before{display:none}
.route-fields .ruta-row{border:1px solid var(--line);background:var(--surface-2)}
.route-fields .ruta-row:first-of-type{border-radius:14px 14px 0 0;grid-row:1}
.route-fields .ruta-row:nth-of-type(2){border-radius:0 0 14px 14px;border-top:0;grid-row:2}
.route-fields .ruta-row+.ruta-row{border-top:0}
.route-fields .sug{position:absolute;z-index:20;left:0;right:54px;top:108px;margin:6px 0 0;max-height:240px;box-shadow:0 12px 30px rgba(0,0,0,.35);grid-column:auto;grid-row:auto}
.route-fields .sug[hidden]{display:none}
.route-fields{gap:0 10px;grid-template-rows:52px 52px auto}
.route-fields .sug{position:static;grid-column:1/-1;grid-row:3;margin:8px 0 0;max-height:220px;box-shadow:none}
.route-fields .sug button{min-height:44px;padding:6px 12px}
.route-fields .ruta-row+.ruta-row input{border-top:1px solid var(--line)}
.n-tabs{display:flex;gap:6px;margin:10px 0 12px;flex-wrap:wrap}.n-tabs button{flex:1;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-weight:700;font-size:13px}.n-tabs button[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}#n-pwbox{margin-top:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}#n-pwbox summary{padding:11px 14px;font-weight:750}#n-pwbox form{padding:0 14px 12px}
.add-note{width:100%;min-height:44px;margin:8px 0 0;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:15px}.add-panel,#add-panel{max-height:calc(100dvh - 120px);overflow:auto}

.pr-note{margin:0 0 10px;color:var(--muted);font-size:13px}.pr-lista{max-height:42dvh;overflow:auto;display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.pr-msg{max-width:88%;padding:8px 12px;border-radius:14px;background:var(--surface-2)}.pr-msg b{font-size:11px;color:var(--muted)}.pr-msg p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.pr-msg.korisnik{align-self:flex-end;background:var(--navy);color:#fff}.pr-msg.korisnik b{color:#cbd5e1}.pr-msg.admin{background:#12361f}
#pr-form textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:inherit;font-size:15px;resize:vertical}
.leaflet-control-attribution{cursor:pointer;position:relative;width:28px;max-width:28px;height:24px;overflow:hidden;white-space:nowrap;text-indent:-9999px;margin:0 6px 6px 0!important;border-radius:12px;opacity:.75}.leaflet-control-attribution::before{content:"ⓘ";text-indent:0;position:absolute;left:7px;top:3px;font-size:14px;color:#334155}.leaflet-control-attribution.open{width:auto;max-width:92vw;height:auto;border-radius:7px;white-space:normal;text-indent:0;opacity:1}.leaflet-control-attribution.open::before{display:none}
.link-btn{display:block;margin-top:8px;padding:0;border:0;background:none;color:var(--muted);font-size:12px;text-decoration:underline}

.oglas-slot{margin:12px 0 0}.oglas{position:relative;display:block;border-radius:12px;overflow:hidden;border:1px solid var(--line)}.oglas img{display:block;width:100%;height:auto}.oglas-tag{position:absolute;right:6px;top:6px;padding:1px 7px;border-radius:6px;background:rgba(0,0,0,.6);color:#fff;font-size:10px;letter-spacing:.5px;text-transform:uppercase}

.add-photo{display:flex;align-items:center;gap:10px;margin:10px 0 0}.photo-btn{min-height:44px;padding:0 16px;border:1px dashed var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:650}.photo-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--muted)}.photo-x{width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:24px}.photo-hint{margin:6px 0 0;font-size:12.5px;color:var(--muted)}.rimg{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin:8px 0;background:var(--surface-2)}

.gran-pin{background:none;border:0}.gran-body{display:block;min-width:46px;height:26px;padding:0 8px;border:2px solid #fff;border-radius:13px;box-shadow:0 2px 6px rgba(0,0,0,.35);color:#0b1220;font-size:13px;font-weight:800;line-height:22px;text-align:center;white-space:nowrap}

.fh-actions{display:flex;gap:8px;align-items:center}.pm-kat{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pm-kat button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:19px;background:var(--surface-2);color:var(--text);font-weight:650}.pm-kat button[aria-pressed=true]{background:var(--brand,#09234d);color:#fff;border-color:transparent}.pm-hint{margin:4px 0 10px;font-size:13px;color:var(--muted)}.pm-lista{max-height:46dvh;overflow:auto;margin:0 -4px 12px;padding:0 4px}.pm-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.pm-row b{display:block}.pm-row small{display:block;color:var(--muted);font-size:13px}.pm-act{display:flex;gap:8px;flex-shrink:0}.pm-act a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:20px;border:1px solid var(--line);font-weight:700;text-decoration:none;color:var(--text)}.pm-act .pm-call{background:#16a34a;border-color:#16a34a;color:#fff}

.o-mjesta{list-style:none;margin:6px 0;padding:0}.o-mjesta li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}.o-mjesta button{width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:22px}.o-add{display:flex;gap:8px;margin:6px 0}.o-add input{flex:1;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:15px}.o-add button{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--brand,#09234d);color:#fff;font-weight:700}

.leaflet-popup .rimg{max-height:150px}

.add-chosen{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 6px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.add-chosen[hidden]{display:none}.add-chosen span{font-weight:750}.add-chosen button{min-height:36px;padding:0 14px;border:0;border-radius:18px;background:transparent;color:var(--brand,#09234d);font-weight:700;text-decoration:underline}
#add-panel.picked .group-label,#add-panel.picked .add-types{display:none}
@media(max-width:800px){#add-panel{max-height:calc(100dvh - 160px)}}
@media(max-width:800px){#add-panel.picked{max-height:44dvh;overflow:auto}#add-panel.picked .eyebrow{display:none}#add-panel.picked .photo-hint{font-size:11.5px;margin:4px 0 0}#add-panel.picked #add-send{position:sticky;bottom:0}#add-panel.picked .flow-head{margin-bottom:4px}}
select.lang-sel{appearance:none;-webkit-appearance:none;color:var(--text);font-size:15px;text-align:center;text-align-last:center;padding:0 12px;cursor:pointer;background-image:none}
