/* Locker finder (/lockere, /lockere/<city>): a full-screen map under the site header with the
   page's own furniture floating on it as cards (title, network chips, list, controls). The title
   card is drawn as a parcel label, like the AWB search box. Below the map: the static list. */
.lockere { background: var(--bg); }
/* overflow: clip (not hidden): scripts can't scroll it sideways; isolation keeps the floating
   cards' z-index inside the map, under the site header's menus. */
.lk-app { position: relative; isolation: isolate; height: calc(100vh - var(--hdr, 66px)); height: calc(100dvh - var(--hdr, 66px)); min-height: 300px; overflow: hidden; overflow: clip; background: #e9edf2; }
.lk-map { position: absolute; inset: 0; z-index: 0; }
.lk-app .leaflet-container { font-family: inherit; background: #e9edf2; }

/* Floating furniture: one card language (paper, card radius, large shadow). */
.lk-top { position: absolute; z-index: 600; top: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: calc(100% - 200px); pointer-events: none; }
.lk-top > * { pointer-events: auto; }
.lk-title { display: flex; max-width: min(620px, 100%); background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.lk-title-stub { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 70px; padding: 10px 12px; background: var(--label); color: var(--ink); border-right: 2px dashed rgba(19,32,58,.3); }
.lk-bars { width: 38px; height: 11px; margin-bottom: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 7px, var(--ink) 7px 10px, transparent 10px 12px); opacity: .85; }
.lk-title-stub b { font-size: 1.3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lk-title-stub small { font-size: .74rem; font-weight: 600; }
.lk-title-body { min-width: 0; padding: 10px 16px; }
.lk-title-body h1 { margin: 0; font-size: 1.12rem; line-height: 1.25; font-weight: 700; }
.lk-lead { margin: 3px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.lk-toolbar { display: flex; gap: 8px; max-width: 100%; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.lk-toolbar::-webkit-scrollbar { display: none; }
.lk-near, .lk-chip, .lk-kchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-md), 0 0 0 1px rgba(19,32,58,.06); }
.lk-near { background: var(--btn-bg); color: var(--btn-fg); }
.lk-near:hover { background: var(--btn-bg-hover); }
.lk-near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lk-chip[aria-pressed="false"], .lk-kchip[aria-pressed="false"] { background: #eef1f5; color: var(--muted); text-decoration: line-through; box-shadow: 0 0 0 1px var(--line-strong); }
.lk-chip[aria-pressed="false"] img { filter: grayscale(1); opacity: .6; }
.lk-chip img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--net, var(--line)); }
.lk-near:focus-visible, .lk-chip:focus-visible, .lk-kchip:focus-visible, .lk-list-btn:focus-visible, .lk-to-list:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-cargus { --net: #f26b21; } .lk-dhl { --net: #d40511; } .lk-sameday { --net: #e3007a; } .lk-fan { --net: #1d4ed8; } .lk-dpd { --net: #dc0032; }
.lk-gls { --net: #f2b705; } .lk-posta { --net: #0b6b3a; } .lk-packeta { --net: #ba1b02; }

.lk-geo { position: relative; max-width: 100%; padding: 12px 44px 12px 14px; border-radius: var(--radius-card); background: #fff7e0; box-shadow: var(--shadow-lg); font-size: .92rem; }
.lk-geo[hidden] { display: none; }
.lk-geo-x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.lk-geo-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lk-geo-x:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-sheet-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: var(--accent); font-weight: 600; text-decoration: none; }
.lk-sheet-all:hover { text-decoration: underline; }
.lk-sheet { overscroll-behavior: contain; }
.lk-list { overscroll-behavior: contain; }
.lk-sheet.dragging { transition: none !important; }
.lk-geo p { margin: 0; }
.lk-geo .lk-geo-cities { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.lk-geo-cities a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--accent); font-weight: 600; text-decoration: none; }
.lk-geo-cities a:hover { border-color: var(--accent); }

/* "Listă (N)": a pill top right that opens the drawer (desktop) / a bar that opens the sheet (phones). */
.lk-list-btn { position: absolute; z-index: 700; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-lg); }
.lk-list-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lk-list-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
.lk-sheet { position: absolute; z-index: 650; top: 72px; right: 16px; bottom: 16px; width: 384px; display: flex; flex-direction: column; padding: 14px 16px 10px; background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .22s var(--ease), visibility 0s .22s; }
.lk-app.sheet-open .lk-sheet { transform: none; visibility: visible; transition: transform .22s var(--ease); }
@media (prefers-reduced-motion: reduce) { .lk-sheet, .lk-app.sheet-open .lk-sheet { transition: none; } }
.lk-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px -6px 4px 0; }
.lk-sheet h2 { margin: 0; font-size: 1.05rem; }
.lk-sheet-x { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.lk-sheet-x:hover { background: var(--bg); color: var(--ink); }
.lk-sheet-x:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-sheet-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* A popup the map could not pan clear of the top cards: they step aside while it is open. */
.lk-top, .lk-list-btn { transition: opacity .15s; }
.lk-app.popup-cover .lk-top, .lk-app.popup-cover .lk-list-btn { opacity: 0; pointer-events: none; }
.lk-hint { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.lk-list { flex: 1; min-height: 0; margin: 0 -10px; padding: 0; list-style: none; overflow-y: auto; overflow-x: hidden; }
.lk-list:focus, #lk-sheet-title:focus { outline: none; }
.lk-app.sheet-open .leaflet-bottom.leaflet-right { right: 412px; }

/* "Lista punctelor": the way to the static list under the map. */
.lk-to-list { position: absolute; z-index: 600; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg); }
.lk-to-list:hover { background: var(--accent); color: #fff; text-decoration: none; }
.lk-noscript { position: absolute; z-index: 700; left: 16px; bottom: 80px; margin: 0; padding: 12px 14px; border-radius: var(--radius-card); background: var(--paper); box-shadow: var(--shadow-lg); }

/* Leaflet's controls in the same card language. */
.lk-app .leaflet-bar { border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.lk-app .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; font-size: 20px; color: var(--ink); }
.lk-app .leaflet-bottom.leaflet-right { margin: 0 16px 16px 0; }
.lk-app .leaflet-bottom.leaflet-left { margin: 0 0 16px 16px; }
.lk-app .leaflet-control-attribution { border-radius: 8px 0 0 0; font-size: 11px; }
.lk-app .leaflet-bottom .leaflet-control { margin-bottom: 8px; }

.lk-skip { position: absolute; left: 16px; top: 16px; z-index: 1000; padding: 10px 14px; border-radius: var(--radius-control); background: var(--ink); color: #fff; font-weight: 600; }
.lk-skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lk-skip:focus { outline: none; box-shadow: var(--focus-ring); }
.lk-name-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.lk-name-btn:hover { text-decoration: underline; }
.lk-name-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.lk-cl:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent); border-radius: 50%; }
.lk-near.is-busy svg { animation: xawb-spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lk-near.is-busy svg { animation: none; } }

/* Annotations at street level: a small callout per point, in the popup's language. */
.lk-annot { cursor: pointer; }
.lk-ann { position: relative; display: flex; align-items: center; gap: 6px; box-sizing: border-box; height: 32px; padding: 0 9px 0 4px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--net); box-shadow: 0 1px 3px rgba(19,32,58,.25); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: transform .12s, box-shadow .12s; }
.lk-ann::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top: 7px solid var(--net); border-bottom: 0; }
.lk-ann img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; flex: 0 0 auto; }
.lk-ann-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lk-ann .lk-dot { flex: 0 0 auto; width: 8px; height: 8px; }
.lk-ann-d { flex: 0 0 auto; padding: 1px 6px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.lk-annot:hover .lk-ann, .lk-annot.is-hot .lk-ann, .lk-annot.is-selected .lk-ann { transform: translateY(-2px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--net) 28%, transparent), 0 3px 8px rgba(19,32,58,.3); }
.lk-annot.is-hot, .lk-annot.is-selected { z-index: 10000 !important; }

/* Phones: full-screen map, chips scroll on top, "Lângă mine" floats, the list is a bottom sheet. */
@media (max-width: 899px) {
  .lk-top { top: 10px; left: 10px; right: 10px; max-width: none; gap: 8px; }
  .lk-title { width: 100%; }
  .lk-title-stub { min-width: 58px; padding: 8px 10px; }
  .lk-title-stub b { font-size: 1.1rem; }
  .lk-bars { width: 30px; height: 9px; }
  .lk-title-body { padding: 8px 12px; }
  .lk-title-body h1 { font-size: .98rem; }
  .lk-lead { display: none; }
  .lk-toolbar { width: calc(100% + 20px); margin: 0 -10px; padding: 2px 10px 6px; }
  .lk-app > .lk-near { position: absolute; right: 14px; bottom: 74px; z-index: 700; min-height: 52px; padding: 0 18px; box-shadow: var(--shadow-lg); }
  .lk-app .leaflet-control-zoom { display: none; }
  .lk-list-btn { top: auto; right: 0; bottom: 0; left: 0; justify-content: center; min-height: 56px; border-radius: 16px 16px 0 0; }
  .lk-list-btn::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-135deg); margin-top: 4px; }
  .lk-list-btn[aria-expanded="true"]::after { transform: rotate(45deg); margin-top: -4px; }
  .lk-sheet-x { display: none; }
  .lk-app.sheet-open > .lk-near { display: none; }
  .lk-sheet { top: auto; left: 0; right: 0; bottom: 56px; width: auto; height: var(--sheet-h, 52%); max-height: calc(100% - 64px); padding: 14px 16px 8px; border-radius: 16px 16px 0 0; transform: translateY(calc(100% + 60px)); }
  .lk-list-btn { touch-action: none; }
  .lk-list-btn::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: currentColor; opacity: .35; }
  .lk-to-list, .lk-app .lk-groupctl { display: none; }
  .lk-near, .lk-chip, .lk-kchip { min-height: 40px; padding: 0 12px; font-size: .88rem; }
  .lk-to-list { left: 14px; bottom: 74px; transform: none; padding: 0 14px; font-size: .9rem; }
  .lk-app .leaflet-bottom.leaflet-left { margin: 0 0 128px 10px; }
  .lk-app .leaflet-bottom.leaflet-right { margin: 0 0 56px 0; }
  .lk-app.sheet-open .leaflet-bottom.leaflet-right { right: 0; }
}

/* ---- One card: popup ("pop"), selected point on phones ("sel"), list rows ("row") ---- */
.lk-item { list-style: none; border-top: 1px solid var(--line); }
.lk-item:first-child { border-top: 0; }
.lk-card { --net: var(--accent); display: grid; gap: 6px; color: var(--ink); }
.lk-card-h { display: flex; align-items: flex-start; gap: 10px; }
.lk-card-logo { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 2px var(--net); }
.lk-card-logo img { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; }
.lk-card-t { flex: 1; min-width: 0; }
.lk-card-t h3 { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.lk-kind { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: color-mix(in srgb, var(--net) 70%, #13203a); background: color-mix(in srgb, var(--net) 11%, #fff); }
.lk-dist { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-addr { margin: 0; font-size: .9rem; line-height: 1.35; }
.lk-city { display: block; color: var(--muted); font-size: .84rem; }
.lk-tsep { flex: 0 0 1px; align-self: stretch; margin: 6px 2px; background: var(--line-strong); }
.lk-kglyph { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; }
.lk-kglyph svg { width: 12px; height: 12px; }
.lk-kchip[aria-pressed="false"] .lk-kglyph { background: var(--muted); }
.lk-facts { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 2px 0 0; }
.lk-facts span.is-no { background: #f1f5f9; color: var(--muted); }
.lk-limit { display: block; margin: 2px 0 0; color: var(--muted); font-size: .8rem; }
.lk-sendchip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.lk-sendchip[aria-pressed="false"] { background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-md), 0 0 0 1px rgba(19,32,58,.06); }
.lk-sendchip[aria-pressed="true"] { background: #14532d; color: #fff; }
.lk-facts span { padding: 2px 8px; border-radius: 999px; background: #e8f5ee; color: #14532d; font-size: .78rem; font-weight: 600; }
.lk-approx { margin: 0; color: #a15c00; font-size: .82rem; font-weight: 600; }
.lk-status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0; font-size: .86rem; }
.lk-status b { font-weight: 600; }
.lk-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.lk-st-free { color: var(--green-dark); } .lk-st-full { color: var(--red); }
.lk-st-closed { color: #5b6474; } .lk-st-hol { color: #a15c00; }
.lk-when { color: var(--muted); font-size: .8rem; }
.lk-hours { margin: 0; font-size: .86rem; color: var(--ink-2); }
.lk-hours-now { font-weight: 600; color: var(--ink); }
.lk-week summary { cursor: pointer; list-style: none; }
.lk-week summary::-webkit-details-marker { display: none; }
.lk-week summary::after { content: " ▾"; color: var(--muted); }
.lk-week[open] summary::after { content: " ▴"; }
.lk-week ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-variant-numeric: tabular-nums; }
.lk-week li { display: contents; }
.lk-week li span { color: var(--muted); }
.lk-week li.is-today, .lk-week li.is-today span { font-weight: 600; color: var(--ink); }
.lk-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
/* Navigare gets its own row; Waze, Street View and copy share the next. */
.lk-act .lk-go { flex: 1 0 100%; }
.lk-sv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk-go, .lk-sec { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-control); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.lk-go { flex: 1; background: var(--btn-bg); color: var(--btn-fg) !important; border: 1px solid var(--btn-bg); }
.lk-go:hover { background: var(--btn-bg-hover); }
.lk-go svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(45deg); }
.lk-sec { background: var(--paper); color: var(--ink) !important; border: 1px solid var(--line-strong); }
.lk-sec:hover { border-color: var(--ink-2); }
.lk-ico { width: 40px; padding: 0; }
.lk-ico svg, .lk-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk-ico.is-done { border-color: var(--green); color: var(--green-dark) !important; }
.lk-go:focus-visible, .lk-sec:focus-visible, .lk-x:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (pointer: coarse) { .lk-go, .lk-sec { min-height: 44px; } .lk-ico { width: 44px; } }
/* Rows: denser, hover and selected state shared with the pin. */
.lk-card-row { padding: 12px 10px; border-radius: var(--radius-control); cursor: pointer; gap: 5px; }
.lk-card-row .lk-card-logo { width: 28px; height: 28px; border-radius: 8px; }
.lk-card-row .lk-card-logo img { width: 22px; height: 22px; }
.lk-card-row .lk-go, .lk-card-row .lk-sec { min-height: 36px; font-size: .86rem; }
.lk-card-row .lk-go { flex: 1 0 100%; }
.lk-card-row .lk-ico { width: 36px; }
@media (pointer: coarse) { .lk-card-row .lk-go, .lk-card-row .lk-sec { min-height: 44px; } .lk-card-row .lk-ico { width: 44px; } }
.lk-item:hover .lk-card-row { background: var(--bg); }
.lk-item.is-selected .lk-card-row { background: color-mix(in srgb, var(--net) 8%, #fff); box-shadow: inset 3px 0 0 var(--net); }
/* Selected point on phones: a full card on top of the sheet. */
.lk-selected { margin: 0 0 12px; padding: 14px; border-radius: var(--radius-card); background: var(--paper); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.lk-selected[hidden] { display: none; }
.lk-x { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.lk-x:hover { background: var(--bg); color: var(--ink); }
/* Map popup: our card, not Leaflet's chrome. */
/* Padding on the wrapper: a margin on the content would collapse through it (no padding/border). */
.lk-popup .leaflet-popup-content-wrapper { padding: 16px 16px 14px; border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.lk-app .leaflet-container { font-family: inherit; }
.lk-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 260px; max-width: 288px; font: inherit; font-size: 1rem; line-height: normal; }
.lk-popup .leaflet-popup-tip { box-shadow: none; }
.lk-popup a.leaflet-popup-close-button { top: 8px; right: 8px; width: 32px; height: 32px; font: 22px/30px system-ui, sans-serif; color: var(--muted); border-radius: 50%; }
.lk-popup a.leaflet-popup-close-button:hover { background: var(--bg); color: var(--ink); }
.lk-popup .lk-card-h { padding-right: 36px; }
.lk-popup .lk-card p { margin: 0; }
.lk-card { margin: 0; }
/* Pin states shared with the list. */
.lk-pin.is-hot .lk-pin-badge, .lk-pin.is-selected .lk-pin-badge { transform: scale(1.15); box-shadow: 0 0 0 3px color-mix(in srgb, var(--net) 30%, transparent), 0 2px 6px rgba(0,0,0,.35); }
.lk-pin.is-hot, .lk-pin.is-selected { z-index: 10000 !important; }

/* Calmer base map: OSM tiles, desaturated (attribution unchanged). */
.lk-tiles { filter: saturate(.3) brightness(1.04) contrast(.95); }
/* Pins: a 32 px white badge with the network logo, ring and tail in the network colour, a
   corner glyph for the kind; 44 px tap target, the tail's tip on the point. */
.lk-pin { cursor: pointer; }
.lk-pin-badge { transition: transform .12s, box-shadow .12s; position: absolute; left: 6px; top: 0; display: grid; place-items: center; width: 32px; height: 32px; box-sizing: border-box; border-radius: 9px; background: #fff; border: 2px solid var(--net); box-shadow: 0 1px 3px rgba(0,0,0,.35); font: 700 11px/1 system-ui, sans-serif; color: var(--net); }
.lk-pin-badge::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -6px; border: 6px solid transparent; border-top: 8px solid var(--net); border-bottom: 0; }
.lk-pin-badge img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.lk-pin-kind { position: absolute; left: 30px; top: -4px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--net); color: #fff; box-shadow: 0 0 0 1.5px #fff; }
.lk-pin-kind:empty { display: none; }
.lk-pin-kind svg { width: 10px; height: 10px; }
.lk-pin:hover .lk-pin-badge, .lk-pin:focus-visible .lk-pin-badge { transform: scale(1.08); }
/* Groups: slate bubble, count, ring split by network share. */
.leaflet-marker-icon.lk-cl { display: grid; place-items: center; cursor: pointer; }
.lk-cl svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.lk-cl span { position: relative; z-index: 1; color: #fff; font: 700 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.lk-tip { font-size: .82rem; font-weight: 600; }
/* "Grupare: 3 / 4 / 5" */
.lk-groupctl { display: flex; align-items: center; gap: 2px; padding: 3px 4px; background: #fff; font-size: .82rem; }
.lk-groupctl span { padding: 0 6px; color: var(--ink-2); font-weight: 600; }
.leaflet-bar.lk-groupctl button { min-width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
@media (pointer: fine) { .leaflet-bar.lk-groupctl button { min-width: 38px; height: 34px; } }
.leaflet-bar.lk-groupctl button[aria-pressed="true"] { background: #334155; color: #fff; }

.lk-body { padding: 18px 16px 28px; }
/* The city stays in view while scrolling its list: a sticky bar under the site header. */
.lk-listbar { position: sticky; top: var(--hdr, 66px); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 -16px 8px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.lk-list-title { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.lk-list-title .lk-count { margin-left: 6px; vertical-align: 2px; font-weight: 600; }
.lk-listbar-act { position: relative; display: flex; align-items: center; gap: 8px; }
.lk-back, .lk-switch summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.lk-back { background: var(--ink); border-color: var(--ink); color: #fff; }
.lk-back:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.lk-switch summary::-webkit-details-marker { display: none; }
.lk-switch summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.lk-listbar-mark { height: 1px; margin-bottom: -1px; }
.lk-switch summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -3px 0 0 2px; }
.lk-switch[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lk-back:focus-visible, .lk-switch summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-switch-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; width: min(320px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.lk-switch-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lk-switch-list a { flex: 1; display: block; padding: 10px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.lk-switch-list a:hover { background: var(--bg); }
@media (max-width: 640px) {
  .lk-list-title { font-size: 1rem; flex: 1 1 100%; }
  .lk-listbar { padding: 8px 16px; }
  /* Stuck under the header: one line, about 56 px. City (ellipsis) + count, two icon buttons. */
  .lk-listbar.is-stuck { flex-wrap: nowrap; padding: 4px 12px 4px 16px; }
  .lk-listbar.is-stuck .lk-list-title { flex: 1 1 auto; min-width: 0; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lk-listbar.is-stuck .lk-list-pre { display: none; }
  .lk-listbar.is-stuck .lk-btn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lk-listbar.is-stuck .lk-back, .lk-listbar.is-stuck .lk-switch summary { width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .lk-listbar.is-stuck .lk-switch summary::after { display: none; }
  .lk-listbar.is-stuck .lk-listbar-act { gap: 6px; flex: 0 0 auto; }
}
.lk-empty { padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); }
.lk-group h2, .lk-cities h2 { font-size: 1.15rem; margin: 20px 0 8px; }
.lk-body .lk-group h2 { display: flex; align-items: center; gap: 8px; }
.lk-h-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.lk-group { margin: 18px 0 8px; }
.lk-rest summary { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; }
.lk-rest summary::-webkit-details-marker { display: none; }
.lk-rest[open] summary { margin-bottom: 6px; }
.lk-rest .when-open, .lk-rest[open] .when-closed { display: none; }
.lk-rest[open] .when-open { display: inline; }
.lk-rest summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--ink-2); font-size: .8rem; text-align: center; }
.lk-points { margin: 0; padding: 0; list-style: none; columns: 1; }
.lk-points li { padding: 8px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.lk-points strong, .lk-points small { display: block; }
.lk-points small { color: var(--muted); font-size: .88rem; }
.lk-row-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lk-row-act .lk-sec { min-height: 44px; font-size: .86rem; }
/* "Trimite un colet de aici": a quiet secondary link under the navigation buttons. */
.lk-send-line { margin: 0; }
.lk-send { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 2px 0; color: var(--link, #1d4ed8); text-decoration: none; line-height: 1.25; }
.lk-send-t { font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lk-send:hover .lk-send-t { text-decoration-thickness: 2px; }
.lk-send .lk-send-note { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
.lk-points .lk-send { margin-top: 4px; }
.lk-send:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.lk-city-list { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; list-style: none; }
.lk-city-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.lk-city-filter { flex: 1 1 220px; max-width: 360px; min-height: 44px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-control); }
.lk-city-filter:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lk-sort { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--paper); }
.lk-sort button { min-height: 44px; padding: 0 14px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; }
.lk-sort button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lk-sort button:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus, #2563eb); }
.lk-city-none { margin: 4px 0 0; color: var(--muted); }
.lk-city-tools[hidden], .lk-city-list li[hidden], .lk-switch-list li[hidden], .lk-city-none[hidden] { display: none; }
.lk-switch-list .lk-city-tools { margin: 4px 4px 6px; }
.lk-switch-list .lk-city-filter { flex-basis: 100%; max-width: none; }
.lk-switch-list .lk-sort { width: 100%; }
.lk-switch-list .lk-sort button { flex: 1; font-size: .82rem; padding: 0 8px; }
.lk-switch-list ul { margin: 0; padding: 0; list-style: none; }
.lk-switch-list .lk-city-none { padding: 8px 10px; }
.lk-sources { margin-top: 24px; color: var(--muted); font-size: .85rem; }

@media (min-width: 900px) { .lk-points { columns: 2; column-gap: 32px; } }
/* Phones on their side, short windows: one line of title, the rest out of the way. */
@media (max-height: 560px) {
  .lk-title-stub, .lk-lead { display: none; }
  .lk-title-body { padding: 6px 12px; }
  .lk-title-body h1 { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lk-top { gap: 6px; }
  .lk-near, .lk-chip, .lk-kchip { min-height: 36px; }
  .lk-app > .lk-near { bottom: 64px; min-height: 44px; }
  .lk-to-list { display: none; }
  .lk-sheet { max-height: calc(100% - 52px); }
  .lk-geo-cities a:nth-of-type(n+4):not(:last-child) { display: none; }
}
@media (max-width: 899px) {
  .lk-geo { padding: 10px 44px 10px 12px; font-size: .88rem; }
  .lk-geo-cities a:nth-of-type(n+5):not(:last-child) { display: none; }
}

