:root{--bg:#fff;--fg:#0f172a;--mut:#64748b;--line:#e2e8f0;--soft:#f1f5f9;--brand:#0160e7;--brand-d:#004fc0;--shadow:0 6px 24px rgba(15,23,42,.18)}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{font:14px/1.4 Archivo,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--fg);background:var(--bg);-webkit-text-size-adjust:100%}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
#app{display:grid;grid-template-columns:360px minmax(0,1fr);height:100vh;height:100dvh}
.side{display:flex;flex-direction:column;min-height:0;background:var(--bg);border-right:1px solid var(--line);z-index:3}
.handle{display:none}
.hd{padding:14px 14px 10px;border-bottom:1px solid var(--line);max-height:60%;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.logo{width:36px;height:36px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;flex:none}
.brand h1{font-size:16px;line-height:1.2;margin:0}
.brand p{margin:0;color:var(--mut);font-size:12px}
.brand a{margin-left:auto;font-size:12px;color:var(--mut);text-decoration:none;white-space:nowrap}
.brand a:hover{color:var(--brand)}
#q{width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--soft);outline:none}
#q:focus{border-color:var(--brand);background:#fff}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 10px;font-size:12px;display:inline-flex;gap:5px;align-items:center;user-select:none}
.chip b{font-weight:600;color:var(--mut)}
.chip[aria-pressed=true]{background:var(--fg);border-color:var(--fg);color:#fff}
.chip[aria-pressed=true] b{color:#cbd5e1}
.chips.types .chip{padding:3px 9px 3px 4px}
.chips.types .chip i{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}
.chips.types .chip i svg{width:11px;height:11px}
.chips.types .chip[aria-pressed=false]{background:var(--soft);color:var(--mut)}
.chips.types .chip[aria-pressed=false] i{opacity:.4}
.tg{position:relative}
.tg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.tg span{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:12px;background:#fff}
.tg i{width:8px;height:8px;border-radius:50%;display:block}
.tg input:not(:checked)+span{color:var(--mut);background:var(--soft)}
.tg input:not(:checked)+span i{opacity:.35}
.tg input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.list{flex:1;overflow:auto;overscroll-behavior:contain;padding:6px 8px 18px}
.sec{margin:12px 6px 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.it{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:8px 10px;border-left:4px solid var(--c,#94a3b8)}
.it:hover{background:var(--soft)}
.it.on{background:#eff6ff;box-shadow:inset 0 0 0 1px #93c5fd}
.it .t{flex:1;min-width:0}
.it .n{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.it .m{display:block;font-size:12px;color:var(--mut)}
.pill{flex:none;font-size:11px;font-weight:600;border-radius:999px;padding:2px 8px}
.pill.open{background:#dcfce7;color:#166534}
.pill.closed{background:#fee2e2;color:#991b1b}
.pill.radovi{background:#fef3c7;color:#92400e}
.pill.old{background:#f1f5f9;color:#475569}
.empty{padding:24px 12px;text-align:center;color:var(--mut)}
.empty button{margin-top:10px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 14px}
.sk{height:50px;margin:6px 4px;border-radius:10px;background:linear-gradient(90deg,var(--soft),#e8eef5,var(--soft));background-size:200% 100%;animation:sh 1.2s infinite linear}
@keyframes sh{to{background-position:-200% 0}}
.mapwrap{position:relative;min-width:0;min-height:0;overflow:hidden;background:#e5e7eb}
#map{position:absolute;inset:0}
.tools{position:absolute;left:12px;top:12px;z-index:2;display:flex;gap:8px;align-items:flex-start}
.seg{display:flex;background:#fff;border-radius:10px;box-shadow:var(--shadow);overflow:hidden}
.seg button{border:0;background:#fff;padding:8px 12px;font-size:12px;font-weight:600}
.seg button+button{border-left:1px solid var(--line)}
.seg button[aria-pressed=true]{background:var(--fg);color:#fff}
.card{position:absolute;left:12px;bottom:28px;width:360px;max-width:calc(100% - 24px);max-height:70%;overflow:auto;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:14px;z-index:2}
.card[hidden]{display:none}
.card .x{position:absolute;right:8px;top:8px;width:30px;height:30px;border:0;border-radius:50%;background:var(--soft);font-size:18px;line-height:1}
.card .top{display:flex;gap:12px;align-items:center;padding-right:30px}
.card .ic{width:48px;height:48px;border-radius:10px;object-fit:contain;background:var(--soft);flex:none}
.card h2{font-size:16px;margin:0;line-height:1.25}
.card .sub{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--mut);font-size:12px;flex-wrap:wrap}
.card .dot{width:10px;height:10px;border-radius:50%;flex:none}
.stanje{margin-top:12px;border-radius:10px;padding:9px 11px;background:var(--soft);font-size:13px}
.stanje.open{background:#f0fdf4}.stanje.closed{background:#fef2f2}.stanje.radovi{background:#fffbeb}
.stanje .l{font-weight:700}
.stanje .d{display:block;margin-top:2px;font-size:12px;color:var(--mut)}
.stats{display:flex;gap:8px;margin:12px 0 0}
.stat{flex:1;background:var(--soft);border-radius:10px;padding:8px 10px}
.stat b{display:block;font-size:15px}
.stat span{font-size:11px;color:var(--mut)}
.desc{margin:10px 0 0;white-space:pre-line;color:#334155}
.kv{margin:10px 0 0;font-size:13px;color:#334155}
.kv b{color:var(--fg)}
.ph{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-top:10px;background:var(--soft)}
.near{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.near li{display:flex;align-items:center;gap:8px;font-size:13px}
.near i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}
.near i svg{width:12px;height:12px}
.acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.btn{display:inline-block;text-decoration:none;text-align:center;border-radius:10px;padding:9px 14px;font-weight:600;font-size:13px;border:1px solid var(--line);background:#fff;color:var(--fg)}
.btn.p{background:var(--brand);border-color:var(--brand);color:#fff;flex:1}
.btn.p:hover{background:var(--brand-d)}
.loader{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#f8fafc;transition:opacity .25s}
.loader.off{opacity:0;pointer-events:none}
.loader div{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--mut)}
.spin{width:34px;height:34px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--brand);animation:rot .8s linear infinite}
@keyframes rot{to{transform:rotate(360deg)}}
.fatal{max-width:320px;text-align:center}
.mapboxgl-ctrl-group button{width:36px;height:36px}
.mk{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 6px rgba(15,23,42,.35);display:grid;place-items:center;color:#fff;cursor:pointer;padding:0}
.mk svg{width:16px;height:16px}
.mk.sm{width:24px;height:24px}.mk.sm svg{width:13px;height:13px}
.mk.sel{outline:3px solid #fbbf24}
.mk-label{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:2px;white-space:nowrap;font-size:11px;font-weight:600;color:#0f172a;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;pointer-events:none}
@media (max-width:1024px){
  #app{display:flex;flex-direction:column}
  .mapwrap{flex:1;order:1}
  .side{order:2;height:44vh;height:44dvh;flex:none;border-right:0;border-top:1px solid var(--line);border-radius:16px 16px 0 0;box-shadow:0 -6px 20px rgba(15,23,42,.12);transition:height .25s ease}
  .side.min{height:64px}
  .handle{display:block;width:100%;border:0;background:transparent;padding:8px 0 2px}
  .handle span{display:block;width:40px;height:4px;border-radius:2px;background:#cbd5e1;margin:0 auto 6px}
  .handle em{display:block;font-style:normal;font-size:13px;font-weight:600;color:#334155;text-align:center}
  .brand,.legend{display:none}
  .hd{padding:0 12px 8px}
  .card{left:8px;right:8px;bottom:8px;width:auto;max-width:none;max-height:70%}
  .tools{left:8px;top:8px}
}
@media (prefers-reduced-motion:reduce){.side,.loader{transition:none}.sk,.spin{animation:none}}

.tg i.evk,.legbox i.evk{background:repeating-linear-gradient(90deg,#dc2626 0 4px,#fff 4px 8px);border:1px solid #dc2626}
.legbox{position:absolute;left:12px;top:60px;z-index:3;width:250px;max-width:calc(100% - 24px);background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:12px 14px;font-size:13px}
.legbox[hidden]{display:none}
.legbox h3{margin:8px 0 6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.legbox h3:first-child{margin-top:0}
.legbox ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.legbox li{display:flex;align-items:center;gap:8px}
.legbox li i{width:30px;height:6px;border-radius:3px;flex:none}
.legbox li i.dash{background:repeating-linear-gradient(90deg,var(--c) 0 6px,transparent 6px 9px)}
.legbox li i.dot{background:radial-gradient(circle,var(--c) 1.6px,transparent 2px) 0 50%/6px 6px repeat-x;height:6px}
.legbox a{display:inline-block;margin-top:10px;color:var(--brand);font-weight:600;text-decoration:none}
.stanje.evak{background:repeating-linear-gradient(135deg,#fef2f2 0 10px,#fff 10px 20px)}
.itrs{margin:10px 0 0;border:1px solid var(--line);border-radius:10px;padding:0}
.itrs summary{padding:10px 12px;font-weight:600;font-size:13px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:8px}
.itrs summary::after{content:"+";font-weight:700;color:var(--mut)}
.itrs[open] summary::after{content:"–"}
.itrs summary::-webkit-details-marker{display:none}
.itrs .ig{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 12px}
.itrs .ig div{background:var(--soft);border-radius:8px;padding:6px 8px}
.itrs .ig span{display:block;font-size:11px;color:var(--mut)}
.itrs .ig b{font-size:13px}
.itrs .it-t{margin:8px 12px;color:#334155;font-size:13px}
.itrs .it-a{display:inline-block;margin:0 12px 12px;color:var(--brand);font-weight:600;font-size:13px;text-decoration:none}
@media (max-width:1024px){
  .chip,.tg span{min-height:36px;padding:6px 12px;font-size:13px}
  .chips.types .chip{padding:4px 12px 4px 5px}
  .chips.types .chip i{width:22px;height:22px}
  .chips{gap:8px}
  .it{padding:11px 10px}
  .btn{padding:12px 14px;font-size:14px;min-height:44px}
  .seg button{padding:11px 14px;font-size:13px;min-height:44px}
  .card .x{width:38px;height:38px;font-size:22px}
  .mk{width:36px;height:36px}.mk svg{width:19px;height:19px}
  .near button{min-height:32px}
  .legbox{left:8px;top:64px}
  .mapboxgl-ctrl-group button{width:40px;height:40px}
  .card{padding:14px 14px 18px}
  #q{padding:11px 12px;font-size:16px}
}
@media (max-width:1024px){
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  .chips::-webkit-scrollbar{display:none}
  .chip,.tg{flex:none;white-space:nowrap}
}

.it .bd{width:30px;height:30px;object-fit:contain;flex:none}
.card .ic.itrs-b{background:none;width:56px;height:56px;border-radius:0}
.mk.mk-img{background:#fff;border:3px solid #999;padding:0;width:38px;height:38px}
.mk.mk-img img{width:26px;height:26px;object-fit:contain;display:block}
.expo{display:flex;gap:10px;align-items:center;margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--soft);border-left:5px solid var(--c,#4d7c0f)}
.expo img{width:44px;height:44px;object-fit:contain;flex:none}
.expo b{display:block;font-size:14px}
.expo span{display:block;font-size:12.5px;color:#334155;margin-top:2px}
.expo.wild{--c:#4d7c0f;background:#f7fee7}
.legbox ul.expo-l{grid-template-columns:1fr 1fr;gap:6px 10px}
.legbox ul.expo-l img{width:26px;height:26px;object-fit:contain}
@media (max-width:1024px){.mk.mk-img{width:44px;height:44px}.mk.mk-img img{width:30px;height:30px}}

.appr{margin-top:12px;display:grid;gap:6px}.appr>b{font-size:13px}
.appr .dir{font-size:12px;font-weight:700;color:#0149b3;margin-top:4px}
.appr .ap{display:grid;gap:2px;text-align:left;border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:9px 12px;min-height:44px;cursor:pointer;font:inherit;color:var(--fg)}
.appr .ap strong{font-size:14px}.appr .ap span{font-size:12.5px;color:#475569}.appr .ap .nt{color:#334155}
.appr .ap.on{border-color:#0891b2;background:#ecfeff;box-shadow:inset 4px 0 0 #0891b2}

.flt-h{display:flex;justify-content:space-between;align-items:center;margin:10px 0 4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--mut)}
.flt-h .lnk{border:0;background:none;color:#0149b3;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;padding:2px 4px;cursor:pointer}
#types.off{opacity:.45;pointer-events:none}

.srch{display:flex;gap:8px}.srch #q{flex:1;min-width:0}
.fbtn{flex:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.fbtn.on{background:var(--fg);border-color:var(--fg);color:#fff}
.fbtn b{background:var(--brand);color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:11px;display:inline-grid;place-items:center;padding:0 5px}
.fpanel{margin-top:4px}.fpanel[hidden]{display:none}
.tgh{margin:8px 0 2px;font-size:12px;font-weight:600;color:#334155}
#types .chips{margin-top:4px}
@media (max-width:1024px){.fpanel .chips{flex-wrap:wrap;overflow:visible}.fbtn{min-height:44px}}

/* Mobilni prikaz: pretraga i slojevi plutaju preko mape, dolje je lista (bottom sheet) */
@media (max-width:1024px){
  .hd{position:fixed;top:0;left:0;right:0;z-index:4;max-height:none;overflow:visible;border:0;background:transparent;padding:calc(8px + env(safe-area-inset-top)) 8px 0;pointer-events:none}
  .hd>*{pointer-events:auto}
  .srch{background:#fff;border-radius:12px;box-shadow:var(--shadow);padding:4px}
  .srch #q{border:0;background:transparent;padding:10px 10px}
  .srch .fbtn{border:0;background:var(--soft);min-height:40px;border-radius:9px}
  .srch .fbtn.on{background:var(--fg)}
  #toggles{margin-top:8px;pointer-events:none;padding:2px 2px 6px}
  #toggles .tg{pointer-events:auto}
  .tg span{box-shadow:0 2px 8px rgba(15,23,42,.2);border-color:transparent;min-height:34px}
  .fpanel{margin-top:6px;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:6px 12px 14px;max-height:calc(100dvh - 190px);overflow:auto}
  .tools{top:calc(104px + env(safe-area-inset-top))}
  .mapboxgl-ctrl-top-right{top:calc(104px + env(safe-area-inset-top))}
  .legbox{top:calc(156px + env(safe-area-inset-top))}
  .list{padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}

.fbtn b[hidden]{display:none}
@media (max-width:1024px){
  #toggles{gap:6px}
  #toggles .tg span{padding:5px 9px;font-size:12.5px;gap:5px}
  .mapboxgl-ctrl-top-right{top:calc(160px + env(safe-area-inset-top))}
  .legbox{top:calc(160px + env(safe-area-inset-top))}
}

.cgrip,.cback{display:none}
@media (max-width:1024px){
  /* Detalj izabrane staze: donji panel (peek) koji se širi; mapa ostaje vidljiva */
  body.has-sel .hd,body.has-sel .side,body.has-sel .tools{display:none}
  .cback{position:absolute;left:10px;top:calc(10px + env(safe-area-inset-top));z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:#fff;box-shadow:var(--shadow);place-items:center}
  body.has-sel .cback{display:grid}
  .card{left:0;right:0;bottom:0;width:auto;max-width:none;border-radius:18px 18px 0 0;padding:6px 14px calc(14px + env(safe-area-inset-bottom));max-height:70dvh;box-shadow:0 -6px 24px rgba(15,23,42,.22)}
  .card.peek{overflow:hidden}
  .card.peek>:not(.cgrip):not(.x):not(.top):not(.stats):not(.acts){display:none}
  .card .cgrip{display:block;width:100%;border:0;background:transparent;padding:4px 0 8px}
  .card .cgrip span{display:block;width:40px;height:4px;border-radius:2px;background:#cbd5e1;margin:0 auto 4px}
  .card .cgrip em{display:block;font-style:normal;font-size:12px;font-weight:600;color:#0149b3;text-align:center}
  .card .x{top:14px}
  /* kontrole mape: zoom dugmad nisu potrebna (pinch), stil mape jednim dodirom */
  .mapboxgl-ctrl-zoom-in,.mapboxgl-ctrl-zoom-out,.mapboxgl-ctrl-compass{display:none!important}
  .mapboxgl-ctrl-top-right{top:calc(104px + env(safe-area-inset-top))}
  #styles button[aria-pressed=false]{display:none}
  #styles button[aria-pressed=true]::before{content:"Stil: ";font-weight:400;color:#94a3b8}
  .legbox{top:calc(156px + env(safe-area-inset-top))}
}

/* Ugrađena mapa jedne staze (#solo=ID) */
.sobar{display:none}
body.solo .hd,body.solo .side,body.solo #bleg,body.solo #b3d,body.solo .cgrip{display:none}
body.solo #app{display:block}
body.solo .mapwrap{height:100%}
body.solo .sobar{display:grid;gap:6px;position:absolute;z-index:3;left:8px;right:56px;top:8px}
body.solo .sorow{display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:2px 0}
body.solo .sorow::-webkit-scrollbar{display:none}
body.solo .sol{flex:none;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:rgba(15,23,42,.75);border-radius:999px;padding:4px 9px}
body.solo .sobar .chip{flex:none;white-space:nowrap;box-shadow:0 2px 8px rgba(15,23,42,.22);border-color:transparent}
body.solo .sobar .chip[aria-pressed=false]{background:#fff;color:#334155}
body.solo .sobar .chip[aria-pressed=true]{background:#0891b2;color:#fff}
body.solo .sobar .chip[data-t][aria-pressed=true]{background:var(--fg)}
body.solo .sofull{justify-self:start;font-size:12px;font-weight:600;color:#0149b3;background:#fff;border-radius:999px;padding:4px 10px;box-shadow:0 2px 8px rgba(15,23,42,.22);text-decoration:none}
body.solo .tools{top:auto;bottom:12px;left:10px}
body.solo .card{bottom:56px}
body.solo .mapboxgl-ctrl-top-right{top:8px}
@media (max-width:1024px){
  body.solo .mapboxgl-ctrl-top-right{top:calc(8px + env(safe-area-inset-top))}
  body.solo .tools{top:auto;bottom:10px;left:8px}
  body.solo.has-sel .sobar{display:none}
  body.solo .card{bottom:0}
  body.solo .legbox{top:auto}
}

.elev{display:none}
body.solo #app{position:relative}
body.solo.has-elev .mapwrap{height:calc(100% - 132px)}
body.solo .elev:not([hidden]){display:block;position:absolute;left:0;right:0;bottom:0;height:132px;background:#fff;border-top:1px solid var(--line);padding:8px 12px 10px}
.eh{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:12px;color:#334155}
.eh b{font-size:13px;color:var(--fg)}
.ep{position:relative;height:88px;margin-top:4px;touch-action:pan-y;cursor:crosshair}
.ep svg{width:100%;height:100%;display:block}
.ep .ea{fill:rgba(1,96,231,.14)}
.ep .el{fill:none;stroke:#0160e7;stroke-width:2;vector-effect:non-scaling-stroke}
.ep .ec{stroke:#0f172a;stroke-width:1;vector-effect:non-scaling-stroke}
.et{position:absolute;top:0;transform:translateX(-50%);background:#0f172a;color:#fff;border-radius:8px;padding:3px 8px;font-size:11.5px;white-space:nowrap;pointer-events:none}
.edot{width:16px;height:16px;border-radius:50%;background:#0160e7;border:3px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.4)}


/* ===== Mobitel i tablet: mapa preko cijelog ekrana, okrugla dugmad, meni sa strane (0.7.0) ===== */
.fabs,.scrim,.dclose,.dh{display:none}
@media (max-width:1024px){
  body:not(.solo) #app{display:block}
  body:not(.solo) .mapwrap{position:fixed;inset:0}
  body:not(.solo) .handle{display:none}
  body:not(.solo) .side,body:not(.solo).has-sel .side{display:flex;position:fixed;top:0;left:0;bottom:0;height:auto;width:min(88vw,380px);z-index:30;border-radius:0;border:0;box-shadow:0 0 40px rgba(15,23,42,.35);transform:translateX(-105%);transition:transform .25s ease;overflow-y:auto;overscroll-behavior:contain;visibility:hidden}
  body:not(.solo).drawer .side{transform:none;visibility:visible}
  body:not(.solo) .hd,body:not(.solo).has-sel .hd{display:block;position:static;background:var(--bg);pointer-events:auto;padding:calc(14px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid var(--line);overflow:visible;flex:none}
  body:not(.solo) .brand{display:flex}
  body:not(.solo) .dclose{display:grid;place-items:center;flex:none;margin-left:8px;width:40px;height:40px;border:0;border-radius:50%;background:var(--soft);font-size:24px;line-height:1}
  body:not(.solo) .srch{box-shadow:none;padding:0;background:transparent}
  body:not(.solo) .srch #q{border:1px solid var(--line);background:var(--soft);padding:11px 12px}
  body:not(.solo) .fbtn{display:none}
  body:not(.solo) #toggles{pointer-events:auto;flex-wrap:wrap;overflow:visible;padding:0;margin-top:10px}
  body:not(.solo) .tg span{box-shadow:none;border-color:var(--line)}
  body:not(.solo) .fpanel,body:not(.solo) .fpanel[hidden]{display:block;background:transparent;box-shadow:none;padding:0;max-height:none;overflow:visible;border-radius:0}
  body:not(.solo) .dh{display:block;margin:14px 0 6px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}
  body:not(.solo) .side .tools,body:not(.solo).has-sel .side .tools{display:flex;position:static;flex-wrap:wrap;gap:8px}
  body:not(.solo) .side .seg{box-shadow:none;border:1px solid var(--line)}
  body:not(.solo) #styles button[aria-pressed=false]{display:block}
  body:not(.solo) #styles button[aria-pressed=true]::before{content:none}
  body:not(.solo) #b3d{display:none}
  body:not(.solo) .side .legbox{position:static;width:auto;max-width:none;box-shadow:none;border:1px solid var(--line);margin-top:8px;max-height:none}
  body:not(.solo) .list{flex:none;overflow:visible;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  body:not(.solo) .scrim{position:fixed;inset:0;z-index:25;background:rgba(15,23,42,.45)}
  body:not(.solo).drawer .scrim{display:block}
  /* dugmad na mapi */
  body:not(.solo) .fabs{display:block}
  body:not(.solo).has-sel .fabs{display:none}
  .fg{position:absolute;z-index:3;display:flex;flex-direction:column;gap:10px}
  .fg-tl{left:10px;top:calc(10px + env(safe-area-inset-top))}
  .fg-bl{left:10px;bottom:calc(18px + env(safe-area-inset-bottom))}
  .fg-br{right:10px;bottom:calc(18px + env(safe-area-inset-bottom))}
  .fab{width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#334155;box-shadow:0 2px 10px rgba(15,23,42,.28);display:grid;place-items:center;font-size:14px;font-weight:800;padding:0}
  .fab svg{width:24px;height:24px}
  .fab.sq{border-radius:12px;width:52px;height:52px}
  .fab.loc{background:#2563eb;color:#fff;width:54px;height:54px}
  .fab[aria-pressed=true]{background:var(--fg);color:#fff}
  #fnorthi{transition:transform .15s linear}
  body:not(.solo) .mapboxgl-ctrl-top-right{display:none}
  body:not(.solo) .mapboxgl-ctrl-bottom-right{right:auto;left:72px;bottom:calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-start}
  body:not(.solo) .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:none;margin:0 0 4px}
  body:not(.solo) .mapboxgl-ctrl-scale{background:rgba(255,255,255,.8);font-weight:700}
}
@media (prefers-reduced-motion:reduce){.side{transition:none!important}}
