/* ═══════════════════════════════════════════════════════════
   APROAPE · Sistem vizual
   „Apple, obsedat de UX civic." Cald ca intenție.
   O singură hartă vie, liniștită. Cromul slujește, nu se arată.
═══════════════════════════════════════════════════════════ */
:root{
  --bg:        #f6f4ef;   /* alb cald */
  --surface:   #ffffff;
  --surface-2: #faf8f4;
  --ink:       #1d1a16;   /* negru cald */
  --ink-2:     #57514a;
  --ink-3:     #8b8479;
  --ink-4:     #b6afa4;
  --line:      rgba(29,26,22,.08);
  --line-2:    rgba(29,26,22,.05);

  /* accent cald — cărămidă (concept „aproape": pământ ars, căldură umană, orașul vechi) */
  --accent:      #b35a3f;
  --accent-press:#98472f;
  --accent-soft: #f4e2db;
  --accent-ink:  #4f261a;

  /* filtru hartă (control prin Tweaks) */
  --map-filter: saturate(.62) brightness(1.04) contrast(.96) sepia(.10) hue-rotate(-6deg);

  /* nuanțe de categorie — calme, armonioase (oklch L≈.58) */
  --c-cismele: #3a7ca5;
  --c-toalete: #7a5ea8;
  --c-joaca:   #3f9468;
  --c-caini:   #c0892f;
  --c-pisici:  #c06a4a;

  --ok:  #3f9468;
  --warn:#c5731c;
  --off: #b14f4f;

  --r-sm:12px; --r:16px; --r-lg:22px; --r-xl:30px; --r-pill:999px;
  --num:'DM Sans',-apple-system,system-ui,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --sh-1:0 1px 2px rgba(29,26,22,.05), 0 4px 14px rgba(29,26,22,.06);
  --sh-2:0 2px 6px rgba(29,26,22,.06), 0 16px 44px rgba(29,26,22,.12);
  --sh-3:0 8px 24px rgba(29,26,22,.10), 0 30px 70px rgba(29,26,22,.18);

  --header-h:64px;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-bot:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{height:100%}
body{min-height:100%}
html{-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',-apple-system,system-ui,sans-serif;
  background:var(--bg);color:var(--ink);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  line-height:1.5;overflow-x:hidden;
  font-feature-settings:"cv05" 1,"ss01" 1;
}
button{font:inherit;color:inherit;cursor:pointer;border:none;background:none;padding:0}
input{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
::selection{background:var(--accent-soft);color:var(--accent-ink)}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px;border-radius:6px}
svg{display:block}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ico-sm{width:17px;height:17px;stroke-width:1.8}
.ico-lg{width:26px;height:26px;stroke-width:1.6}

/* ───────────────── APP SHELL ───────────────── */
#app{position:fixed;inset:0;overflow:hidden}
#map{position:absolute;inset:0;z-index:1;background:var(--bg)}
/* Hartă liniștită — desaturată, ușor caldă */
.leaflet-tile-pane{filter:var(--map-filter)}
.leaflet-container{background:var(--bg)!important;font-family:inherit!important}
.leaflet-control-attribution{font-size:9px!important;background:rgba(255,255,255,.6)!important;color:var(--ink-4)!important}
.leaflet-control-attribution a{color:var(--ink-3)!important}
.leaflet-bar{border:none!important;box-shadow:var(--sh-1)!important;border-radius:var(--r-sm)!important;overflow:hidden}
.leaflet-bar a{background:var(--surface)!important;color:var(--ink-2)!important;border-bottom:1px solid var(--line-2)!important;width:38px!important;height:38px!important;line-height:38px!important;font-size:18px!important;font-weight:500!important}
.leaflet-bar a:hover{background:var(--surface-2)!important;color:var(--ink)!important}

/* fade-in scenă la pornire */
.scene-veil{position:absolute;inset:0;z-index:9000;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;transition:opacity .6s var(--ease);}
.scene-veil.gone{opacity:0;pointer-events:none}
.veil-mark{width:60px;height:60px;border-radius:18px;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 10px 30px color-mix(in srgb,var(--accent) 38%,transparent);animation:floaty 2.4s var(--ease) infinite}
.veil-mark svg{width:34px;height:34px;stroke:#fff;stroke-width:1.6;fill:none}
.veil-word{font-size:15px;color:var(--ink-3);letter-spacing:.02em;font-weight:500}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

/* ───────────────── TOP BAR ───────────────── */
.topbar{
  position:absolute;top:0;left:0;right:0;z-index:600;
  padding:calc(12px + var(--safe-top)) 16px 0;
  pointer-events:none;
  display:flex;flex-direction:column;gap:10px;
}
.topbar > *{pointer-events:auto}
.bar-main{
  display:flex;align-items:center;gap:10px;
  max-width:560px;
}
.brand{
  display:flex;align-items:center;gap:10px;flex:none;
  height:52px;padding:0 16px 0 10px;
  background:rgba(255,255,255,.82);backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-radius:var(--r-pill);box-shadow:var(--sh-1);
  border:1px solid rgba(255,255,255,.6);
}
.brand-mark{width:36px;height:36px;border-radius:11px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 3px 10px color-mix(in srgb,var(--accent) 34%,transparent)}
.brand-mark svg{width:22px;height:22px;stroke:#fff;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.brand-name{font-size:19px;font-weight:600;letter-spacing:-.025em;line-height:1}
.brand-sub{font-size:10.5px;color:var(--ink-3);letter-spacing:.01em;margin-top:2px;font-weight:450;white-space:nowrap}
.brand-text{min-width:0}

.searchbar{
  flex:1;min-width:0;display:flex;align-items:center;gap:9px;
  height:52px;padding:0 16px;
  background:rgba(255,255,255,.82);backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-radius:var(--r-pill);box-shadow:var(--sh-1);
  border:1px solid rgba(255,255,255,.6);
  transition:box-shadow .2s,border-color .2s;
}
.searchbar:focus-within{box-shadow:var(--sh-2);border-color:var(--accent)}
.searchbar svg{stroke:var(--ink-3);flex:none}
.searchbar input{flex:1;min-width:0;background:none;border:none;outline:none;font-size:15.5px;font-weight:450;letter-spacing:-.01em}
.searchbar input::placeholder{color:var(--ink-3);font-weight:450}
.search-clear{display:none;color:var(--ink-3);padding:4px;border-radius:50%}
.search-clear.on{display:flex}
.search-clear:hover{color:var(--ink);background:var(--line-2)}

/* category filter — pictograme */
.filterscroll{
  display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
  -webkit-overflow-scrolling:touch;padding-bottom:2px;max-width:100%;
}
.filterscroll::-webkit-scrollbar{display:none}
.fbtn{
  display:inline-flex;align-items:center;gap:8px;flex:none;
  height:42px;padding:0 16px 0 13px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.82);backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  box-shadow:var(--sh-1);border:1.5px solid transparent;
  font-size:14px;font-weight:550;letter-spacing:-.01em;color:var(--ink-2);
  transition:all .2s var(--ease);white-space:nowrap;
}
.fbtn:hover{color:var(--ink);transform:translateY(-1px)}
.fbtn .dot{width:10px;height:10px;border-radius:50%;flex:none;background:var(--cat,var(--accent));transition:transform .2s}
.fbtn .fic{width:18px;height:18px;stroke:var(--cat,var(--ink-2));fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fbtn.active{background:var(--surface);border-color:var(--cat,var(--accent));color:var(--ink);box-shadow:var(--sh-2)}
.fbtn.active .dot{transform:scale(1.15)}
.fbtn[data-cat="toate"] .fic{stroke:var(--ink-2)}
.fbtn[data-cat="toate"].active .fic{stroke:var(--accent)}
.fbtn .fcount{font-size:11.5px;color:var(--ink-4);font-weight:600;font-variant-numeric:tabular-nums}
.fbtn.active .fcount{color:var(--cat,var(--accent))}

/* ───────────────── NEAR-ME FAB ───────────────── */
.fab{
  position:absolute;right:16px;z-index:550;
  bottom:calc(var(--sheet-peek,140px) + 18px + var(--safe-bot));
  display:flex;align-items:center;gap:9px;height:52px;padding:0 20px 0 17px;
  background:var(--ink);color:#fff;border-radius:var(--r-pill);
  box-shadow:var(--sh-3);font-size:14.5px;font-weight:600;letter-spacing:-.01em;
  transition:transform .2s var(--ease),background .2s,bottom .4s var(--ease);
}
.fab:hover{background:#000;transform:translateY(-2px)}
.fab:active{transform:scale(.96)}
.fab svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fab.locating svg{animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ───────────────── BOTTOM SHEET / PANEL ───────────────── */
.sheet{
  position:absolute;left:0;right:0;bottom:0;z-index:700;
  background:var(--surface);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:0 -2px 10px rgba(29,26,22,.05), 0 -16px 50px rgba(29,26,22,.14);
  transform:translateY(calc(100% - var(--sheet-peek,140px)));
  transition:transform .42s var(--ease-out);
  display:flex;flex-direction:column;
  max-height:92%;height:92%;
  will-change:transform;
}
.sheet.half{transform:translateY(42%)}
.sheet.full{transform:translateY(0)}
.sheet.dragging{transition:none}
.sheet-grip{flex:none;display:flex;justify-content:center;padding:10px 0 4px;cursor:grab;touch-action:none}
.sheet-grip::before{content:"";width:38px;height:5px;border-radius:99px;background:var(--ink-4);opacity:.5}

.sheet-head{flex:none;padding:4px 20px 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-2);touch-action:none}
.sheet-title{min-width:0}
.sheet-h{font-size:21px;font-weight:650;letter-spacing:-.03em;line-height:1.1;display:flex;align-items:center;gap:9px}
.sheet-h .hmark{width:9px;height:9px;border-radius:50%;background:var(--cat,var(--accent));flex:none}
.sheet-meta{font-size:13px;color:var(--ink-3);margin-top:4px;font-weight:450}
.sheet-meta b{color:var(--ink-2);font-weight:600}
.sheet-sort{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-3);font-weight:550;padding:7px 12px;border-radius:var(--r-pill);background:var(--surface-2);border:1px solid var(--line)}
.sheet-sort svg{width:14px;height:14px;stroke:var(--ink-3);fill:none;stroke-width:1.8}

.sheet-body{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:8px 14px calc(28px + var(--safe-bot))}

/* lista de locuri */
.placelist{display:flex;flex-direction:column;gap:6px}
.place{
  display:flex;align-items:center;gap:14px;
  padding:13px 12px;border-radius:var(--r);
  transition:background .16s;cursor:pointer;text-align:left;width:100%;
  position:relative;
}
.place:hover{background:var(--surface-2)}
.place:active{background:var(--accent-soft)}
.place-ic{
  width:46px;height:46px;border-radius:14px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:color-mix(in srgb,var(--cat) 13%,#fff);
}
.place-ic svg{width:24px;height:24px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.place-main{flex:1;min-width:0}
.place-name{font-size:15.5px;font-weight:600;letter-spacing:-.02em;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-line{display:flex;align-items:center;gap:8px;margin-top:3px;font-size:13px;color:var(--ink-3);font-weight:450}
.place-line .sep{width:3px;height:3px;border-radius:50%;background:var(--ink-4)}
.place-dist{font-weight:600;color:var(--ink-2);font-variant-numeric:tabular-nums}
.place-end{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.statuspill{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;padding:4px 9px;border-radius:var(--r-pill);letter-spacing:-.005em}
.statuspill .sd{width:6px;height:6px;border-radius:50%}
.statuspill.open{background:color-mix(in srgb,var(--ok) 12%,#fff);color:#2c6a4b}.statuspill.open .sd{background:var(--ok)}
.statuspill.temp{background:color-mix(in srgb,var(--warn) 13%,#fff);color:#9a5910}.statuspill.temp .sd{background:var(--warn)}
.statuspill.closed{background:color-mix(in srgb,var(--off) 12%,#fff);color:#8f3a3a}.statuspill.closed .sd{background:var(--off)}
.place-chev{color:var(--ink-4)}
.place.is-closed .place-name,.place.is-closed .place-ic{opacity:.55}

/* empty */
.empty{padding:48px 24px;text-align:center;color:var(--ink-3)}
.empty-mark{width:54px;height:54px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:var(--ink-4)}
.empty-h{font-size:16px;font-weight:600;color:var(--ink-2);letter-spacing:-.02em}
.empty-p{font-size:13.5px;margin-top:6px;max-width:30ch;margin-inline:auto;line-height:1.5}

/* ───────────────── DETALIU LOC ───────────────── */
.detail{display:none;flex-direction:column;animation:detailIn .4s var(--ease-out)}
.detail.on{display:flex}
@keyframes detailIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.detail-hero{
  height:128px;border-radius:var(--r-lg);margin:4px 6px 0;position:relative;overflow:hidden;
  display:flex;align-items:flex-end;padding:16px;
  background:
    radial-gradient(120% 140% at 85% 10%, color-mix(in srgb,var(--cat) 30%,transparent), transparent 60%),
    color-mix(in srgb,var(--cat) 12%,#fff);
}
.detail-hero::after{content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.5) 0 2px,transparent 2px 11px);opacity:.4;mix-blend-mode:overlay}
.detail-bigic{width:58px;height:58px;border-radius:16px;background:var(--surface);display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-1);z-index:1}
.detail-bigic svg{width:32px;height:32px;stroke:var(--cat);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.detail-pad{padding:16px 18px 0}
.detail-name{font-size:25px;font-weight:680;letter-spacing:-.035em;line-height:1.06}
.detail-addr{display:flex;align-items:flex-start;gap:8px;margin-top:9px;font-size:14px;color:var(--ink-2);line-height:1.45;font-weight:450}
.detail-addr svg{width:16px;height:16px;stroke:var(--ink-3);fill:none;stroke-width:1.7;margin-top:1px;flex:none}

.detail-distrow{display:flex;gap:10px;margin-top:16px}
.distcard{flex:1;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r);padding:13px 15px}
.distcard-n{font-size:22px;font-weight:680;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}
.distcard-n small{font-size:13px;font-weight:600;color:var(--ink-3);letter-spacing:-.01em}
.distcard-l{font-size:11.5px;color:var(--ink-3);margin-top:5px;font-weight:500;letter-spacing:.01em}

.detail-state{margin-top:14px;display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:var(--r);font-size:14px;font-weight:500;line-height:1.4}
.detail-state.open{background:color-mix(in srgb,var(--ok) 9%,#fff);color:#2c6a4b}
.detail-state.temp{background:color-mix(in srgb,var(--warn) 11%,#fff);color:#9a5910}
.detail-state.closed{background:color-mix(in srgb,var(--off) 9%,#fff);color:#8f3a3a}
.detail-state svg{width:20px;height:20px;fill:none;stroke-width:1.8;flex:none}

.detail-facts{margin-top:16px;display:flex;flex-direction:column;gap:1px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.fact{display:flex;align-items:center;gap:12px;padding:13px 15px;background:var(--surface);font-size:14.5px}
.fact + .fact{border-top:1px solid var(--line-2)}
.fact-ic{width:18px;height:18px;stroke:var(--ink-3);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fact-l{color:var(--ink-2);font-weight:450}
.fact-v{margin-left:auto;font-weight:600;letter-spacing:-.01em;display:flex;align-items:center;gap:6px}
.fact-v.yes{color:var(--ok)}.fact-v.no{color:var(--ink-4)}

.detail-actions{display:flex;gap:10px;margin-top:18px;padding-bottom:6px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:52px;border-radius:var(--r-pill);font-size:15px;font-weight:650;letter-spacing:-.015em;transition:transform .15s,background .2s,box-shadow .2s}
.btn:active{transform:scale(.97)}
.btn svg{width:19px;height:19px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{flex:1;background:var(--accent);color:#fff;box-shadow:0 4px 16px color-mix(in srgb,var(--accent) 34%,transparent)}
.btn-primary:hover{background:var(--accent-press)}
.btn-primary svg{stroke:#fff}
.btn-ghost{flex:none;width:52px;background:var(--surface-2);border:1px solid var(--line);color:var(--ink-2)}
.btn-ghost:hover{background:var(--bg);color:var(--ink)}
.btn-ghost svg{stroke:currentColor}

.detail-back{
  position:absolute;top:14px;left:14px;z-index:5;
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 15px 0 11px;
  background:var(--surface);border-radius:var(--r-pill);box-shadow:var(--sh-1);
  font-size:13.5px;font-weight:600;color:var(--ink-2);border:1px solid var(--line)
}
.detail-back:hover{color:var(--ink)}
.detail-back svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}

/* ───────────────── PINI HARTĂ ───────────────── */
.pin{
  width:34px;height:34px;border-radius:50% 50% 50% 2px;
  background:var(--cat,var(--accent));transform:rotate(45deg);
  box-shadow:0 3px 8px rgba(29,26,22,.28);
  display:flex;align-items:center;justify-content:center;
  border:2.5px solid #fff;transition:transform .18s var(--ease);
  cursor:pointer;
}
.pin svg{transform:rotate(-45deg);width:17px;height:17px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pin-wrap:hover .pin{transform:rotate(45deg) scale(1.12)}
.pin-wrap.active .pin{transform:rotate(45deg) scale(1.28);z-index:5}
.pin.dim{opacity:.42}
.pin.is-closed{background:var(--ink-4)}
/* cluster */
.cluster{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.92);backdrop-filter:blur(6px);
  box-shadow:var(--sh-2);border:1.5px solid var(--line);
  font-size:14px;font-weight:700;color:var(--ink);letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
}
.cluster small{position:absolute;bottom:-4px;right:-4px;width:16px;height:16px}
/* marker „tu" */
.mepin{width:20px;height:20px;border-radius:50%;background:#2f6fe0;border:3px solid #fff;box-shadow:0 0 0 6px rgba(47,111,224,.18),0 2px 8px rgba(0,0,0,.3)}

/* tooltip pe hartă */
.maptip{
  background:var(--surface)!important;border:none!important;border-radius:var(--r-sm)!important;
  box-shadow:var(--sh-2)!important;padding:8px 12px!important;
  font-family:inherit!important;font-size:13px!important;font-weight:600!important;
  color:var(--ink)!important;letter-spacing:-.01em!important;
}
.maptip::before{display:none!important}

/* footer apartenență */
.kin{
  position:absolute;left:16px;bottom:calc(8px + var(--safe-bot));z-index:540;
  display:none;align-items:center;gap:8px;height:34px;padding:0 13px;
  background:rgba(255,255,255,.78);backdrop-filter:blur(16px);
  border-radius:var(--r-pill);box-shadow:var(--sh-1);
  font-size:11.5px;color:var(--ink-3);font-weight:500;border:1px solid rgba(255,255,255,.5)
}
.kin b{color:var(--ink-2);font-weight:600}
.kin .kdot{width:6px;height:6px;border-radius:50%;background:var(--accent)}

/* ───────────────── DESKTOP ───────────────── */
@media(min-width:880px){
  .topbar{padding:18px 20px 0;flex-direction:row;align-items:flex-start;gap:14px;flex-wrap:wrap}
  .bar-main{flex:none;width:auto}
  .searchbar{width:300px;flex:none}
  .filterscroll{order:3;width:100%;flex-wrap:wrap;overflow:visible}
  .sheet{
    left:20px;top:96px;bottom:20px;right:auto;width:392px;
    height:auto;max-height:none;
    border-radius:var(--r-xl);
    transform:none!important;transition:none;
    box-shadow:var(--sh-2);
  }
  .sheet-grip{display:none}
  .sheet-head{padding-top:18px}
  .fab{bottom:36px;right:36px}
  .kin{display:flex;right:36px;left:auto}
  .detail-distrow .distcard{padding:14px 16px}
}
@media(min-width:880px){
  .topbar .filterscroll{max-width:none}
}

/* mobil: ascunde categorii dacă e detaliu deschis pe full? menținem */
@media(max-width:879px){
  .kin{display:none}
}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;transition-duration:.12s!important}
}

/* ───────────────── HERO + AER (în panou) ───────────────── */
.listlabel{font-size:11.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3);padding:16px 12px 8px}
.hero-card{
  margin:8px 6px 12px;padding:22px 20px 20px;border-radius:var(--r-lg);
  position:relative;overflow:hidden;
  background:
    radial-gradient(130% 130% at 90% -10%, color-mix(in srgb,var(--accent) 18%,transparent), transparent 60%),
    var(--accent-soft);
  border:1px solid color-mix(in srgb,var(--accent) 18%,transparent);
}
.hero-card::after{content:"";position:absolute;right:-30px;bottom:-30px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 16%,transparent),transparent 70%);pointer-events:none}
.hero-emblem{width:48px;height:48px;border-radius:14px;background:var(--accent);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px color-mix(in srgb,var(--accent) 38%,transparent);position:relative;z-index:1}
.hero-emblem svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-title{font-size:25px;font-weight:680;letter-spacing:-.035em;line-height:1.08;margin-top:16px;position:relative;z-index:1}
.hero-title em{font-style:normal;color:var(--accent-press)}
.hero-text{font-size:14.5px;color:var(--ink-2);line-height:1.5;margin-top:10px;max-width:36ch;font-weight:450;position:relative;z-index:1;text-wrap:pretty}
.hero-hint{font-size:13px;color:var(--ink-2);display:flex;gap:9px;margin-top:15px;align-items:center;position:relative;z-index:1;font-weight:450}
.hero-hint svg{stroke:var(--accent-press);flex:none}
.hero-hint b{font-weight:650;color:var(--ink)}

.aer-card{display:block;margin:0 6px 6px;padding:16px 17px 14px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-1);transition:transform .2s var(--ease),box-shadow .2s}
.aer-card:hover{box-shadow:var(--sh-2);transform:translateY(-1px)}
.aer-top{display:flex;align-items:center;gap:13px}
.aer-ic{width:46px;height:46px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--air) 14%,#fff)}
.aer-ic svg{width:24px;height:24px;stroke:var(--air);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.aer-headwrap{flex:1;min-width:0}
.aer-kicker{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);font-weight:600}
.aer-title{display:flex;align-items:baseline;gap:11px;margin-top:4px;flex-wrap:wrap}
.aer-band{font-size:19px;font-weight:680;letter-spacing:-.025em;color:var(--air);line-height:1}
.aer-val{font-size:13px;font-weight:600;color:var(--ink-3);display:inline-flex;align-items:baseline;gap:4px}
.aer-val small{font-size:11px;font-weight:500;color:var(--ink-4)}
.aer-go{flex:none;color:var(--ink-4)}
.aer-go svg{width:22px;height:22px;stroke:var(--ink-4);fill:none;stroke-width:1.8}
.aer-chips{display:flex;gap:7px;margin-top:13px;flex-wrap:wrap}
.aer-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:550;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);padding:5px 10px;border-radius:var(--r-pill)}
.aer-chip-dot{width:7px;height:7px;border-radius:50%;flex:none}
.aer-chip b{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:700}
.aer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding-top:13px;border-top:1px solid var(--line-2);font-size:12.5px;color:var(--ink-3);font-weight:450}
.aer-foot b{color:var(--ink-2);font-weight:600}
.aer-cta{display:inline-flex;align-items:center;gap:3px;color:var(--air);font-weight:650;white-space:nowrap}
.aer-cta svg{stroke:var(--air)}

/* ───────────────── PAGINA AER ───────────────── */
.aqipin-wrap{will-change:transform}
.aqipin{width:38px;height:38px;border-radius:50%;background:var(--air,#5a9e6f);border:3px solid #fff;box-shadow:0 3px 9px rgba(29,26,22,.3);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer;transition:transform .18s var(--ease)}
.aqipin-wrap:hover .aqipin{transform:scale(1.12)}
.aqipin-wrap.active .aqipin{transform:scale(1.3);z-index:5;box-shadow:0 5px 16px rgba(29,26,22,.4)}

.backchip{display:inline-flex;align-items:center;gap:7px;height:52px;padding:0 18px 0 14px;background:rgba(255,255,255,.82);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-radius:var(--r-pill);box-shadow:var(--sh-1);border:1px solid rgba(255,255,255,.6);font-size:14.5px;font-weight:600;color:var(--ink-2);white-space:nowrap;flex:none;transition:color .2s,transform .15s}
.backchip:hover{color:var(--ink);transform:translateY(-1px)}
.backchip svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
/* pe mobil bara de sus se aglomerează — colaps la doar iconiță + ascundem subtitlul brandului */
@media(max-width:620px){
  .bar-main .backchip{width:52px;padding:0;justify-content:center}
  .bar-main .backchip .bc-label{display:none}
  .topbar .brand-sub{display:none}
}
/* când e deschis detaliul unei stații, ascundem antetul generic ca să nu se suprapună cu „Înapoi" */
.sheet:has(.detail.on) .sheet-head{display:none}

.readout{margin:8px 6px 14px;padding:22px 22px 20px;border-radius:var(--r-lg);position:relative;overflow:hidden;background:radial-gradient(120% 120% at 88% -10%, color-mix(in srgb,var(--air) 26%,transparent), transparent 58%), color-mix(in srgb,var(--air) 9%,#fff);border:1px solid color-mix(in srgb,var(--air) 22%,transparent)}
.readout-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);font-weight:600;display:flex;align-items:center;gap:8px}
.readout-live{display:inline-flex;align-items:center;gap:6px;color:var(--air);font-weight:600}
.readout-live .ld{width:7px;height:7px;border-radius:50%;background:var(--air);animation:lpulse 2.2s ease-in-out infinite}
@keyframes lpulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--air) 50%,transparent)}50%{box-shadow:0 0 0 6px transparent}}
.readout-row{display:flex;align-items:flex-end;gap:14px;margin-top:12px}
.readout-big{font-size:62px;font-weight:680;letter-spacing:-.04em;line-height:.85;font-variant-numeric:tabular-nums}
.readout-bandwrap{padding-bottom:6px}
.readout-band{font-size:19px;font-weight:680;letter-spacing:-.02em;color:var(--air);line-height:1.1}
.readout-unit{font-size:12.5px;color:var(--ink-3);font-weight:550;margin-top:2px}
.readout-note{font-size:14px;color:var(--ink-2);margin-top:14px;line-height:1.45;font-weight:450;max-width:38ch}
/* legendă scală */
.legend{display:flex;gap:5px;margin-top:18px}
.legend-seg{flex:1}
.legend-bar{height:7px;border-radius:4px;position:relative}
.legend-seg.on .legend-bar::after{content:"";position:absolute;top:-5px;left:50%;transform:translateX(-50%);width:0;height:0;border:5px solid transparent;border-top-color:var(--ink)}
.legend-l{font-size:9.5px;color:var(--ink-3);margin-top:7px;text-align:center;font-weight:550;letter-spacing:-.01em}
.legend-seg.on .legend-l{color:var(--ink);font-weight:700}

.place-ic.air{font-size:15px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.trendpill{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:600;color:var(--ink-3)}
.trendpill svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.2}
.trendpill.up{color:#b5683e}.trendpill.down{color:#3f9468}
.pollrow{display:flex;gap:10px;margin-top:16px}
.pollcard{flex:1;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r);padding:13px 14px;text-align:left}
.pollcard-n{font-size:21px;font-weight:680;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}
.pollcard-n small{font-size:11px;font-weight:600;color:var(--ink-3)}
.pollcard-l{font-size:11px;color:var(--ink-3);margin-top:5px;font-weight:550}

/* ═══════════════════════════════════════════════════════════
   PAGINĂ DE PORNIRE (index — hero + harta ca secțiune)
═══════════════════════════════════════════════════════════ */
.site{max-width:1180px;margin:0 auto;padding:0 22px}

/* nav */
.sitenav{position:sticky;top:0;z-index:600;background:transparent;transition:background .3s,box-shadow .3s,border-color .3s;border-bottom:1px solid transparent}
.sitenav.stuck{background:rgba(246,244,239,.86);backdrop-filter:blur(18px) saturate(180%);-webkit-backdrop-filter:blur(18px) saturate(180%);border-bottom-color:var(--line)}
.nav-inner{max-width:1180px;margin:0 auto;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.nav-brand{display:flex;align-items:center;gap:11px}
.nav-mark{width:38px;height:38px;border-radius:11px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 3px 10px color-mix(in srgb,var(--accent) 34%,transparent)}
.nav-mark svg{width:23px;height:23px;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nav-name{font-size:20px;font-weight:650;letter-spacing:-.03em;line-height:1}
.nav-links{display:flex;align-items:center;gap:4px}
.nav-links a{padding:9px 15px;border-radius:var(--r-pill);font-size:14.5px;font-weight:550;color:var(--ink-2);transition:background .15s,color .15s}
.nav-links a:hover{background:rgba(29,26,22,.05);color:var(--ink)}
.nav-cta{background:var(--accent)!important;color:#fff!important;font-weight:650!important}
.nav-cta:hover{background:var(--accent-press)!important}
.nav-links .nav-hide{}
@media(max-width:620px){.nav-links .nav-hide{display:none}.nav-links .nav-cta{display:none}}

/* ════════ MENIU + CONT (partajat de toate paginile · aproape-nav.js) ════════ */
.apr-burger{display:inline-flex;flex-direction:column;gap:5px;width:40px;height:40px;justify-content:center;align-items:center;background:rgba(29,26,22,.05);border:1px solid var(--line);border-radius:12px;cursor:pointer;padding:0;flex:none;transition:background .15s}
.apr-burger:hover{background:rgba(29,26,22,.09)}
.apr-burger span{width:17px;height:1.6px;background:var(--ink-2);border-radius:1px;display:block}
#aprContTop{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:rgba(29,26,22,.05);border:1px solid var(--line);color:var(--ink-2);flex:none;text-decoration:none;transition:background .15s}
#aprContTop:hover{background:rgba(29,26,22,.09)}
#aprContTop svg{width:21px;height:21px;flex:none}
#aprContTop.is-auth{background:var(--accent);border-color:transparent;color:#fff}
#aprContTop.is-auth:hover{background:var(--accent-press)}
.apr-acct-ini{font-family:'DM Sans',var(--num,inherit),sans-serif;font-size:14px;font-weight:700;letter-spacing:.01em;line-height:1}
.apr-mm{--mm-acc:#e0936f;position:fixed;inset:0;z-index:1200;background:rgba(20,17,14,.97);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);transform:translateY(-100%);opacity:0;pointer-events:none;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .3s;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:calc(28px + env(safe-area-inset-bottom))}
.apr-mm.open{transform:translateY(0);opacity:1;pointer-events:all}
.apr-mm-top{display:flex;align-items:center;justify-content:space-between;padding:calc(15px + env(safe-area-inset-top)) 20px 8px}
.apr-mm-brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:18px;font-weight:650;letter-spacing:-.025em}
.apr-mm-mark{width:32px;height:32px;border-radius:9px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.apr-mm-mark svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.apr-mm-close{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.apr-mm-close:hover{background:rgba(255,255,255,.15)}
.apr-mm-close svg{width:18px;height:18px;stroke:rgba(255,255,255,.85);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apr-mm-group{padding:8px 0}
.apr-mm-group + .apr-mm-group{border-top:.5px solid rgba(255,255,255,.08)}
.apr-mm-glabel{padding:12px 22px 7px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.34)}
.apr-mm-item{display:flex;align-items:center;gap:14px;padding:12px 22px;font-size:16px;font-weight:500;color:rgba(255,255,255,.86);text-decoration:none;transition:background .12s,color .12s}
.apr-mm-item:hover,.apr-mm-item:active{background:rgba(255,255,255,.07);color:#fff}
.apr-mm-item svg{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.apr-mm-item:hover svg{opacity:.95}
.apr-mm-item .apr-mm-sub{margin-left:auto;font-size:12.5px;color:rgba(255,255,255,.4);font-weight:500}
.apr-mm-item.accent{color:var(--mm-acc)}
.apr-mm-item.accent svg{stroke:var(--mm-acc);opacity:.95}
body.apr-mm-lock{overflow:hidden}
/* pe mobil: arată ȘI contul ȘI meniul (nu ascunde butonul de cont) */
.nav-links #aprContTop,.nav-links .apr-burger{display:inline-flex!important}
/* pe bara hărții/aerului, butoanele stau lângă backchip */
.topbar .bar-main #aprContTop,.topbar .bar-main .apr-burger{height:52px;width:52px;border-radius:14px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);box-shadow:var(--sh-1);border:1px solid rgba(255,255,255,.6)}
/* autentificat: păstrează fundalul accent ca inițialele albe să se vadă (nu alb pe alb) */
.topbar .bar-main #aprContTop.is-auth{background:var(--accent);border-color:transparent;color:#fff}
.topbar .bar-main #aprContTop.is-auth:hover{background:var(--accent-press)}

/* hero */
.hero{position:relative;overflow:hidden;padding:64px 0 76px}
.hero::before{content:"";position:absolute;top:-180px;right:-120px;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 16%,transparent),transparent 62%);pointer-events:none}
.hero-inner{max-width:1180px;margin:0 auto;padding:0 22px;position:relative}
.hero-kicker{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-press);margin-bottom:22px}
.hero-kicker::before{content:"";width:24px;height:1.5px;background:var(--accent-press)}
.hero h1{font-size:clamp(42px,8vw,82px);font-weight:680;letter-spacing:-.04em;line-height:.96;text-wrap:balance;max-width:15ch}
.hero h1 em{font-style:normal;color:var(--accent-press)}
.hero-lede{font-size:clamp(17px,2.4vw,21px);color:var(--ink-2);line-height:1.5;max-width:46ch;margin-top:24px;font-weight:450;text-wrap:pretty}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.bigbtn{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 26px;border-radius:var(--r-pill);font-size:16px;font-weight:650;letter-spacing:-.015em;transition:transform .15s,background .2s,box-shadow .2s}
.bigbtn:active{transform:scale(.97)}
.bigbtn svg{width:20px;height:20px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bigbtn-primary{background:var(--accent);color:#fff;box-shadow:0 6px 20px color-mix(in srgb,var(--accent) 34%,transparent)}
.bigbtn-primary:hover{background:var(--accent-press)}.bigbtn-primary svg{stroke:#fff}
.bigbtn-ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line)}
.bigbtn-ghost:hover{border-color:var(--ink-4)}.bigbtn-ghost svg{stroke:var(--accent-press)}
.bigbtn-report{background:var(--accent-soft);color:var(--accent-ink);border:1.5px solid transparent}
.bigbtn-report:hover{background:color-mix(in srgb,var(--accent) 18%,#fff)}
.bigbtn-report svg{stroke:var(--accent-press)}

.hero-cats{display:flex;flex-wrap:wrap;gap:10px;margin-top:44px}
.herocat{display:inline-flex;align-items:center;gap:10px;padding:11px 17px 11px 13px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-1);font-size:14.5px;font-weight:600;letter-spacing:-.01em;color:var(--ink);transition:transform .18s var(--ease),box-shadow .2s}
.herocat:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.herocat-ic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 14%,#fff);flex:none}
.herocat-ic svg{width:18px;height:18px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero-stat{display:flex;gap:30px;margin-top:40px;flex-wrap:wrap}
.hero-stat-i .n{font-size:34px;font-weight:680;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.hero-stat-i .n em{font-style:normal;color:var(--accent-press)}
.hero-stat-i .l{font-size:12.5px;color:var(--ink-3);margin-top:6px;font-weight:500;letter-spacing:.01em}
@media(max-width:560px){
  .hero{padding:32px 0 38px}
  .hero h1{font-size:clamp(33px,10.5vw,48px)}
  .hero-lede{font-size:15.5px;margin-top:14px;line-height:1.45}
  .hero-cta{margin-top:22px;gap:10px}
  .hero-cta .bigbtn{width:100%;justify-content:center}
  .hero-cats{margin-top:22px}
  .hero-stat{margin-top:24px;gap:22px}
}

/* secțiune generică */
.section{padding:34px 0 8px}
.sec-inner{max-width:1180px;margin:0 auto;padding:0 22px}
.sec-head{margin-bottom:22px}
.sec-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-press);margin-bottom:12px}
.sec-kicker svg{width:15px;height:15px;stroke:var(--accent-press);fill:none;stroke-width:1.8}
.sec-title{font-size:clamp(28px,4.6vw,40px);font-weight:680;letter-spacing:-.035em;line-height:1.05;text-wrap:balance}
.sec-sub{font-size:16px;color:var(--ink-2);line-height:1.5;max-width:48ch;margin-top:10px;font-weight:450;text-wrap:pretty}

/* unealtă hartă (search + filtre) */
.tool{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}
.tool .searchbar{flex:1;width:100%;max-width:100%;box-shadow:var(--sh-1);background:var(--surface);border:1px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none}
.tool .filterscroll{flex:1;min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.tool .filterscroll::-webkit-scrollbar{display:none}
.tool .fbtn{background:var(--surface);border:1.5px solid var(--line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.tool .fbtn.active{border-color:var(--cat,var(--accent));box-shadow:var(--sh-1)}
@media(max-width:879px){.tool .searchbar{width:100%}.tool .filterscroll{flex-wrap:nowrap;overflow-x:auto}}

/* harta ca secțiune */
.mapwrap{display:grid;grid-template-columns:1fr;gap:14px}
.mapcanvas{position:relative;border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-2);border:1px solid var(--line);height:58vh;min-height:380px}
.mapcanvas #map{position:absolute;inset:0}
.mapcanvas .fab{position:absolute;right:16px;bottom:16px;z-index:550}
.mapcanvas .kin{position:absolute;left:16px;bottom:16px;display:flex;z-index:540}
.listpanel{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--sh-1);overflow:hidden;min-height:380px}
.lp-head{flex:none;padding:16px 20px 13px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-2)}
.lp-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px 18px;max-height:none}
@media(min-width:880px){
  .mapwrap{grid-template-columns:1.72fr 1fr;height:640px}
  .mapcanvas{height:100%}
  .listpanel{height:100%}
}

/* secțiunea aer (preview mare) */
.aerbig{border-radius:var(--r-xl);overflow:hidden;border:1px solid color-mix(in srgb,var(--air,#5a9e6f) 22%,transparent);background:radial-gradient(110% 130% at 92% -10%, color-mix(in srgb,var(--air,#5a9e6f) 22%,transparent), transparent 55%), color-mix(in srgb,var(--air,#5a9e6f) 7%,#fff);box-shadow:var(--sh-1)}
.aerbig-grid{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:780px){.aerbig-grid{grid-template-columns:340px 1fr}}
.aerbig-left{padding:28px 28px 26px;border-bottom:1px solid color-mix(in srgb,var(--air) 16%,transparent)}
@media(min-width:780px){.aerbig-left{border-bottom:none;border-right:1px solid color-mix(in srgb,var(--air) 16%,transparent)}}
.aerbig-live{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:600;color:var(--air)}
.aerbig-live .ld{width:7px;height:7px;border-radius:50%;background:var(--air);animation:lpulse 2.2s ease-in-out infinite}
.aerbig-big{font-size:74px;font-weight:680;letter-spacing:-.04em;line-height:.85;margin-top:16px;font-variant-numeric:tabular-nums}
.aerbig-band{font-size:21px;font-weight:680;letter-spacing:-.02em;color:var(--air);margin-top:10px}
.aerbig-note{font-size:14px;color:var(--ink-2);line-height:1.45;margin-top:10px;font-weight:450;max-width:34ch}
.aerbig-right{padding:24px 28px;display:flex;flex-direction:column}
.aerbig-rhead{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
/* mobil: cipsuri-pastilă care curg unul lângă altul (nu stivuite) */
.sensorgrid{display:flex;flex-wrap:wrap;gap:8px}
.sensormini{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.sensormini-dot{width:9px;height:9px;border-radius:50%;flex:none}
.sensormini-t{display:flex;flex-direction:row;align-items:baseline;gap:6px}
.sensormini-n{font-size:12.5px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;line-height:1.2}
.sensormini-v{font-size:11px;color:var(--ink-3);font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}
/* tabletă/desktop: revine la carduri în grilă */
@media(min-width:480px){
  .sensorgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
  .sensormini{border-radius:var(--r);padding:10px 12px;gap:9px;min-width:0}
  .sensormini-dot{width:11px;height:11px}
  .sensormini-t{min-width:0;flex-direction:column;align-items:flex-start;gap:1px}
  .sensormini-n{overflow:hidden;text-overflow:ellipsis}
}
@media(min-width:780px){.sensorgrid{grid-template-columns:repeat(3,1fr)}}
.aerbig-cta{margin-top:auto;padding-top:18px}
.aerbig-cta .bigbtn{height:50px}

/* footer */
.sitefoot{margin-top:64px;border-top:1px solid var(--line);background:var(--surface-2)}
.foot-inner{max-width:1180px;margin:0 auto;padding:40px 22px 46px;display:flex;flex-wrap:wrap;gap:26px;align-items:flex-start;justify-content:space-between}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-mark{width:44px;height:44px;border-radius:12px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.foot-mark svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.foot-t .ft{font-size:17px;font-weight:650;letter-spacing:-.02em}
.foot-t .fs{font-size:13px;color:var(--ink-3);margin-top:3px;font-weight:450}
.foot-note{font-size:13.5px;color:var(--ink-2);max-width:38ch;line-height:1.5;font-weight:450}
.foot-note b{font-weight:650}
.foot-kin{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;color:var(--ink-3);font-weight:500}
.foot-kin .kdot{width:6px;height:6px;border-radius:50%;background:var(--accent)}

/* ────── LOGO PRIMĂRIA SECTORULUI 1 (brand mprumutat) ────── */
.nav-seal{height:40px;width:auto;flex:none;display:block}
.nav-lock{display:flex;flex-direction:column;line-height:1;min-width:0}
.nav-lock .nav-name{font-size:20px;font-weight:650;letter-spacing:-.03em}
.nav-org{font-size:10.5px;color:var(--ink-3);font-weight:500;letter-spacing:.01em;margin-top:3px;white-space:nowrap}
.nav-divider{width:1px;height:26px;background:var(--line);flex:none;margin:0 2px}
@media(max-width:520px){.nav-org{display:none}}

.hero-org{display:inline-flex;align-items:center;gap:9px;margin-top:30px;font-size:13px;color:var(--ink-3);font-weight:450}
.hero-org img{height:26px;width:auto;display:block;opacity:.9}
.hero-org b{color:var(--ink-2);font-weight:600}

.foot-logo{height:54px;width:auto;display:block}
.foot-brand{display:flex;align-items:center;gap:13px}
.foot-seal{height:52px;width:auto;display:block;flex:none}
.foot-wordmark{font-size:18px;font-weight:700;letter-spacing:-.01em;line-height:1.04;color:#27408b}
.brand-seal{height:34px;width:auto;display:block;flex:none}
.veil-seal{animation:floaty 2.4s var(--ease) infinite}
.veil-seal img{height:66px;width:auto;display:block}

/* ────── topbar pagina HARTA (brand + search + acasă) ────── */
.topbar-map .searchbar{min-width:0}
.topbar-map .backchip-home{flex:none}
.topbar-map .filterscroll{flex-wrap:wrap;overflow:visible;width:100%;justify-content:flex-start}
@media(min-width:880px){
  /* panoul de rezultate coboară sub bara cu brand+căutare+filtre, ca pastilele să rămână libere */
  .sheet-map{top:152px}
}
@media(max-width:879px){
  .topbar-map .brand-sub{display:none}
  .topbar-map .brand{padding-right:10px}
  .topbar-map .backchip-home{width:52px;padding:0;justify-content:center}
  .topbar-map .backchip-home .bc-label{display:none}
}
@media(min-width:880px){
  .topbar-map .bar-main{display:flex;align-items:center;gap:12px;flex:1;width:auto;max-width:none}
  .topbar-map .searchbar{flex:1;max-width:420px;width:auto}
  .topbar-map .backchip-home{margin-left:0}
}

/* ────── teaser hartă (pe landing) ────── */
.hartateaser{display:grid;grid-template-columns:1fr;border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line);box-shadow:var(--sh-1);background:var(--surface)}
@media(min-width:780px){.hartateaser{grid-template-columns:1.45fr 1fr}}
.ht-map{
  position:relative;display:block;min-height:260px;overflow:hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb,var(--ink) 5%,transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb,var(--ink) 5%,transparent) 39px 40px),
    linear-gradient(118deg, transparent 0 47%, color-mix(in srgb,var(--ink) 6%,transparent) 47% 48.4%, transparent 48.4%),
    radial-gradient(120% 120% at 72% 18%, color-mix(in srgb,var(--accent) 10%,transparent), transparent 58%),
    var(--surface-2);
  transition:filter .25s var(--ease);
}
.ht-map:hover{filter:saturate(1.05) brightness(1.01)}
.ht-pins{position:absolute;inset:0;pointer-events:none}
.htpin{position:absolute;transform:translate(-50%,-100%)}
.htpin .pin{box-shadow:0 4px 10px rgba(29,26,22,.26)}
.ht-maplabel{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:var(--r-pill);padding:6px 12px;font-size:12px;font-weight:600;color:var(--ink-2);box-shadow:var(--sh-1)}
.ht-maplabel .kdot{width:6px;height:6px;border-radius:50%;background:var(--accent)}
.ht-open{position:absolute;right:16px;bottom:16px;height:48px;padding:0 20px}
@media(max-width:520px){.ht-open{left:16px;right:auto}}
.ht-body{padding:26px 28px;display:flex;flex-direction:column;justify-content:center}
.ht-h{font-size:22px;font-weight:680;letter-spacing:-.03em;line-height:1.12}
.ht-sub{font-size:14px;color:var(--ink-2);line-height:1.5;margin-top:10px;font-weight:450;text-wrap:pretty}
.ht-cats{display:flex;flex-direction:column;gap:4px;margin-top:18px}
.htcat{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:var(--r);transition:background .15s}
.htcat:hover{background:var(--surface-2)}
.htcat-ic{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 13%,#fff);flex:none}
.htcat-ic svg{width:21px;height:21px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.htcat-t{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.htcat-n{font-size:14.5px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.htcat-c{font-size:12px;color:var(--ink-3);font-weight:500;margin-top:2px}
.cat-emblem{width:62px;height:62px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 15%,#fff);margin-bottom:22px}
.cat-emblem svg{width:34px;height:34px;stroke:var(--cat);fill:none;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}

/* ── Cifre în DM Sans (figuri tabulare, ton Apple) ── */
.hero-stat-i .n,.distcard-n,.pollcard-n,.aerbig-big,.readout-big,.aer-val,.fcount,
.place-dist,.cluster,.aqipin,.place-ic.air,.sensormini-v,.rep-ref b,.htcat-c,
.detail-bigic,.distcard-n small,.pollcard-n small{
  font-family:var(--num);
  font-variant-numeric:tabular-nums;
}
.nav-cat{display:inline-flex;align-items:center;gap:9px;margin-left:13px;padding-left:13px;border-left:1px solid var(--line);font-size:14px;font-weight:600;color:var(--ink-2);letter-spacing:-.01em}
.nav-cat-ic{width:28px;height:28px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--accent) 15%,#fff);flex:none}
.nav-cat-ic svg{width:17px;height:17px;stroke:var(--accent);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:560px){.nav-cat{display:none}}

/* ═══════════════════════════════════════════════════════════
   SESIZARE — foaie focalizată, contextuală
═══════════════════════════════════════════════════════════ */
.report-scrim{position:fixed;inset:0;z-index:2000;background:rgba(29,26,22,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s var(--ease)}
@media(min-width:600px){.report-scrim{align-items:center}}
.report-scrim.on{opacity:1;pointer-events:auto}
.report{width:100%;max-width:464px;background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;max-height:92vh;overflow-y:auto;box-shadow:var(--sh-3);position:relative;transform:translateY(34px);transition:transform .34s var(--ease-out);padding:0 0 18px}
@media(min-width:600px){.report{border-radius:var(--r-xl);transform:translateY(20px) scale(.98)}}
.report-scrim.on .report{transform:none}
.report-x{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--ink-3);z-index:2;border:1px solid var(--line)}
.report-x:hover{background:var(--bg);color:var(--ink)}
.report-x svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.report-context{display:flex;align-items:center;gap:13px;padding:22px 56px 16px 22px}
.report-cic{width:46px;height:46px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 14%,#fff)}
.report-cic svg{width:24px;height:24px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.report-cname{font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.2}
.report-caddr{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-3);margin-top:3px;font-weight:450}
.report-caddr svg{stroke:var(--ink-4);fill:none;stroke-width:1.7;flex:none}
.report-body{padding:4px 22px 8px;border-top:1px solid var(--line-2)}
.rep-q{font-size:19px;font-weight:680;letter-spacing:-.03em;margin:16px 0 14px}
.rep-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.rep-chip{padding:0 15px;height:44px;border-radius:var(--r-pill);background:var(--surface-2);border:1.5px solid var(--line);font-size:14px;font-weight:550;color:var(--ink-2);transition:all .15s}
.rep-chip:hover{border-color:var(--ink-4);color:var(--ink)}
.rep-chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}
.rep-note{width:100%;border:1.5px solid var(--line);border-radius:var(--r);padding:12px 14px;font-size:14.5px;font-family:inherit;color:var(--ink);resize:none;outline:none;background:var(--surface);transition:border-color .15s}
.rep-note:focus{border-color:var(--accent)}
.rep-note::placeholder{color:var(--ink-4)}
.rep-extra{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.rep-soft{display:flex;align-items:center;gap:11px;padding:0 15px;height:48px;border-radius:var(--r);background:var(--surface-2);border:1px solid var(--line);font-size:14px;font-weight:550;color:var(--ink-2);transition:all .15s}
.rep-soft:hover{background:var(--bg)}
.rep-soft svg{width:19px;height:19px;stroke:var(--ink-3);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rep-soft .rep-opt{margin-left:auto;font-size:11.5px;color:var(--ink-4);font-weight:500}
.rep-soft.on{background:color-mix(in srgb,var(--accent) 9%,#fff);border-color:color-mix(in srgb,var(--accent) 30%,transparent);color:var(--ink)}
.rep-soft.on svg{stroke:var(--accent-press)}
.rep-soft.on .rep-opt{color:var(--accent-press)}
.rep-contact{display:none;margin-top:2px}
.rep-contact.on{display:block}
.rep-photos{display:flex;flex-wrap:wrap;gap:8px}
.rep-photos:empty{display:none}
.rep-thumb{position:relative;width:74px;height:74px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);background:var(--surface-2)}
.rep-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.rep-thumb-x{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;background:rgba(29,26,22,.6);color:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .15s}
.rep-thumb-x:hover{background:rgba(29,26,22,.82)}
.rep-contact input{width:100%;border:1.5px solid var(--line);border-radius:var(--r);padding:12px 14px;font-size:14.5px;font-family:inherit;outline:none;transition:border-color .15s}
.rep-contact input:focus{border-color:var(--accent)}
.report-foot{padding:14px 22px 0}
.report-loc{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--ink-3);line-height:1.4;margin-bottom:14px;font-weight:450}
.report-loc svg{stroke:var(--accent-press);fill:none;stroke-width:1.8;flex:none;margin-top:1px}
.rep-send{width:100%;height:52px}
.rep-send:disabled{opacity:.4;pointer-events:none}
.report-disc{font-size:12px;color:var(--ink-4);text-align:center;margin-top:11px;font-weight:450}
.report-success{padding:40px 26px 8px;text-align:center}
.rep-check{width:64px;height:64px;border-radius:50%;background:color-mix(in srgb,var(--ok) 14%,#fff);display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.rep-check svg{width:34px;height:34px;stroke:var(--ok);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rep-thanks{font-size:21px;font-weight:680;letter-spacing:-.03em}
.rep-sub{font-size:14.5px;color:var(--ink-2);line-height:1.5;margin-top:10px;font-weight:450;max-width:34ch;margin-inline:auto}
.rep-ref{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:10px 16px;border-radius:var(--r-pill);background:var(--surface-2);border:1px solid var(--line);font-size:13px;color:var(--ink-3)}
.rep-ref b{color:var(--ink);font-weight:700;letter-spacing:.01em}
.rep-cont-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12.5px;color:var(--ink-3);margin-top:16px;font-weight:450}
.rep-cont-note svg{stroke:var(--ink-4);fill:none;stroke-width:1.7;flex:none}
.rep-close{width:100%;height:52px;margin-top:22px}
.rep-actions2{display:flex;gap:10px;margin-top:20px}
.rep-actions2 .rep-login{flex:1;margin-top:0;height:52px;justify-content:center}
.rep-actions2 .rep-close{flex:1;margin-top:0;width:auto}

/* ── Contul Unic · Sesizările mele ── */
.cont-wrap{max-width:780px;margin:0 auto;padding:0 22px}
.cont-head{padding:40px 0 18px}
.cont-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-press);margin-bottom:12px}
.cont-h{font-size:clamp(28px,5vw,40px);font-weight:680;letter-spacing:-.035em;line-height:1.05}
.cont-sub{font-size:16px;color:var(--ink-2);line-height:1.5;margin-top:10px;font-weight:450;max-width:52ch}
.cont-stats{display:flex;gap:26px;margin:22px 0 8px;flex-wrap:wrap}
.cont-stat .n{font-size:30px;font-weight:680;letter-spacing:-.03em;font-family:var(--num);line-height:1}
.cont-stat .n em{font-style:normal;color:var(--accent)}
.cont-stat .l{font-size:12px;color:var(--ink-3);margin-top:5px;font-weight:500}
.ses-list{display:flex;flex-direction:column;gap:12px;padding:12px 0 60px}
.ses-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 20px;box-shadow:var(--sh-1)}
.ses-top{display:flex;align-items:center;gap:13px}
.ses-ic{width:44px;height:44px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 14%,#fff)}
.ses-ic svg{width:23px;height:23px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ses-tt{flex:1;min-width:0}
.ses-name{font-size:16px;font-weight:650;letter-spacing:-.02em;line-height:1.2}
.ses-meta{font-size:13px;color:var(--ink-3);margin-top:3px;font-weight:450}
.ses-status{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:650;padding:5px 11px;border-radius:var(--r-pill);letter-spacing:-.005em}
.ses-status .sd{width:6px;height:6px;border-radius:50%}
.ses-status.verif{background:color-mix(in srgb,var(--warn) 13%,#fff);color:#9a5910}.ses-status.verif .sd{background:var(--warn)}
.ses-status.lucru{background:color-mix(in srgb,#2f6fe0 13%,#fff);color:#1d4ea0}.ses-status.lucru .sd{background:#2f6fe0}
.ses-status.gata{background:color-mix(in srgb,var(--ok) 13%,#fff);color:#2c6a4b}.ses-status.gata .sd{background:var(--ok)}
.ses-step{display:flex;align-items:center;gap:0;margin-top:16px}
.ses-step-i{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative}
.ses-step-dot{width:14px;height:14px;border-radius:50%;background:var(--ink-5);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--line);z-index:1}
.ses-step-i.on .ses-step-dot{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.ses-step-i.cur .ses-step-dot{background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}
.ses-step-l{font-size:11px;font-weight:600;color:var(--ink-4);letter-spacing:-.01em}
.ses-step-i.on .ses-step-l,.ses-step-i.cur .ses-step-l{color:var(--ink-2)}
.ses-step-bar{position:absolute;top:6px;left:-50%;width:100%;height:2px;background:var(--ink-5);z-index:0}
.ses-step-i.on .ses-step-bar,.ses-step-i.cur .ses-step-bar{background:var(--accent)}
.ses-step-i:first-child .ses-step-bar{display:none}
.ses-note{font-size:13.5px;color:var(--ink-2);margin-top:14px;line-height:1.45;padding:11px 14px;background:var(--surface-2);border-radius:var(--r);font-weight:450}
.ses-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12.5px;color:var(--ink-3);font-weight:500}
.ses-ref{font-family:var(--num);font-weight:700;color:var(--ink-2)}
.ses-empty{text-align:center;padding:60px 24px;color:var(--ink-3)}
.ses-empty-mark{width:60px;height:60px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;color:var(--ink-4)}
.ses-empty-mark svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.6}
.cont-acct{display:inline-flex;align-items:center;gap:9px}
.cont-acct-av{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#2f6fe0,#5a93f0);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;font-family:var(--num)}
.cont-acct-n{font-size:14px;font-weight:600;letter-spacing:-.01em}
@media(max-width:560px){.cont-acct-n{display:none}}
.report-trigger{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;padding:14px 16px;border-radius:var(--r);background:var(--surface-2);border:1px solid var(--line);font-size:14.5px;font-weight:600;color:var(--ink-2);transition:all .15s}
.report-trigger:hover{background:var(--bg);color:var(--ink)}
.report-trigger > svg:first-child{width:18px;height:18px;stroke:var(--accent-press);fill:none;stroke-width:1.8;flex:none}
.report-trigger > svg:last-child{margin-left:auto;stroke:var(--ink-4)}
.detail-reported{display:flex;align-items:center;gap:10px;margin-top:12px;padding:12px 15px;border-radius:var(--r);background:color-mix(in srgb,var(--warn) 11%,#fff);color:#8a5512;font-size:13px;font-weight:500;line-height:1.4}
.detail-reported svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}
.detail-reported b{font-weight:700}
.rep-picksearch{display:flex;align-items:center;gap:9px;height:46px;padding:0 14px;background:var(--surface-2);border:1.5px solid var(--line);border-radius:var(--r);margin:6px 0 8px}
.rep-picksearch input{flex:1;background:none;border:none;outline:none;font:inherit;font-size:15px;color:var(--ink)}
.rep-picksearch svg{stroke:var(--ink-3);fill:none;stroke-width:1.8;flex:none}
.rep-picklist{max-height:44vh;overflow-y:auto;display:flex;flex-direction:column;gap:2px;margin-bottom:4px}
.rep-pick{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:var(--r);text-align:left;width:100%;transition:background .15s}
.rep-pick:hover{background:var(--surface-2)}
.rep-pick-ic{width:38px;height:38px;border-radius:11px;flex:none;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 13%,#fff)}
.rep-pick-ic svg{width:20px;height:20px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rep-pick-n{flex:1;min-width:0;font-size:14.5px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rep-pick-d{font-size:12.5px;color:var(--ink-3);font-weight:600;font-variant-numeric:tabular-nums;flex:none}

/* ── box de detalii pe hartă (popup la clic pe pin) ── */
.mapbox-popup .leaflet-popup-content-wrapper{border-radius:18px;box-shadow:var(--sh-2);padding:0;border:1px solid var(--line);background:var(--surface)}
.mapbox-popup .leaflet-popup-content{margin:0;width:auto!important;line-height:1.4}
.mapbox-popup .leaflet-popup-tip{background:var(--surface);box-shadow:var(--sh-1)}
.mapbox-popup a.leaflet-popup-close-button{width:26px;height:26px;top:9px;right:9px;color:var(--ink-4);font-size:18px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.mapbox-popup a.leaflet-popup-close-button:hover{background:var(--surface-2);color:var(--ink)}
.mapbox{padding:15px 15px 13px;width:232px;font-family:'Inter',sans-serif}
.mapbox-top{display:flex;gap:11px;align-items:center;padding-right:22px}
.mapbox-ic{width:42px;height:42px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--cat) 14%,#fff)}
.mapbox-ic svg{width:23px;height:23px;stroke:var(--cat);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mapbox-ic.solid{background:var(--cat)}
.mapbox-ic.solid span{color:#fff;font-weight:700;font-size:15px;font-family:var(--num)}
.mapbox-name{font-size:15px;font-weight:650;letter-spacing:-.02em;line-height:1.18;color:var(--ink)}
.mapbox-line{font-size:12.5px;color:var(--ink-3);margin-top:3px;font-weight:450}
.mapbox-dist{color:var(--ink-2);font-weight:600;font-family:var(--num)}
.mapbox-status{display:inline-flex;margin-top:11px}
.mapbox-actions{display:flex;gap:8px;margin-top:12px}
.mapbox-btn{flex:1;height:40px;border-radius:var(--r-pill);display:flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;font-weight:600;letter-spacing:-.01em;background:var(--surface-2);border:1px solid var(--line);color:var(--ink-2);text-decoration:none;cursor:pointer;transition:background .15s}
.mapbox-btn:hover{background:var(--bg);color:var(--ink)}
.mapbox-btn svg{width:16px;height:16px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;stroke:currentColor}
.mapbox-btn.primary{background:var(--cat);color:#fff;border-color:transparent}
.mapbox-btn.primary:hover{filter:brightness(.94);color:#fff}
.mapbox-btn.primary svg{stroke:#fff}
.rep-login{display:inline-flex;align-items:center;gap:9px;margin-top:14px;height:46px;padding:0 20px;border-radius:var(--r-pill);background:var(--ink);color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s}
.rep-login:hover{background:#000}
.rep-login svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ── banner „Vezi stadiul" după revenirea din login Contul Unic ── */
.claim-banner{position:fixed;left:50%;top:calc(14px + var(--safe-top,0px));transform:translate(-50%,-16px);z-index:9500;display:flex;align-items:center;gap:13px;width:min(440px,calc(100vw - 28px));padding:13px 14px 13px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-3);opacity:0;pointer-events:none;transition:opacity .3s var(--ease-out),transform .3s var(--ease-out)}
.claim-banner.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.claim-banner-ic{width:36px;height:36px;border-radius:50%;flex:none;background:color-mix(in srgb,var(--ok) 14%,#fff);display:flex;align-items:center;justify-content:center}
.claim-banner-ic svg{width:20px;height:20px;stroke:var(--ok);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.claim-banner-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.claim-banner-tx b{font-size:14px;font-weight:650;letter-spacing:-.02em;color:var(--ink)}
.claim-banner-tx span{font-size:12px;color:var(--ink-3);font-weight:450;line-height:1.3}
.claim-banner-btn{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:var(--r-pill);background:var(--accent);color:#fff;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s}
.claim-banner-btn:hover{background:var(--accent-press)}
.claim-banner-x{flex:none;width:28px;height:28px;border-radius:50%;background:transparent;border:none;color:var(--ink-3);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.claim-banner-x:hover{background:var(--surface-2);color:var(--ink)}
.claim-banner-x svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
@media(max-width:520px){.claim-banner{flex-wrap:wrap}.claim-banner-btn{flex:1;justify-content:center}}
