/* ==========================================================================
   HatidKo maps (MapLibre GL JS + OpenFreeMap). Built on tokens.css.
   ========================================================================== */

/* ---------- map container, loading and errors ---------- */
.hk-map { position: relative; background: #e8efe9; overflow: hidden; }
.hk-map .maplibregl-canvas { outline: none; }
.map-status {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; text-align: center; font-size: 14px; color: var(--ink-2); background: linear-gradient(160deg, #eaf6ee, #f6f7f2);
}
.map-status[hidden] { display: none; }
.map-status.is-error { background: #fbfcf9; }
.map-status strong { font-size: 15px; color: var(--ink); }
.map-status span { color: var(--muted); max-width: 30ch; }
.map-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--green-100); border-top-color: var(--green-700); animation: spin .8s linear infinite; display: inline-block; vertical-align: -6px; }
.map-spinner.sm { width: 15px; height: 15px; border-width: 2px; vertical-align: -2px; }

/* MapLibre controls, restyled to match the app */
.hk-map .maplibregl-ctrl-group { border-radius: var(--r-sm); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.hk-map .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.hk-map .maplibregl-ctrl-attrib, .hk-map .maplibregl-ctrl-logo { display: none !important; }
.hk-map .map-credit { position: absolute; left: 6px; bottom: 4px; z-index: 2; font-size: 9.5px; line-height: 1.4; padding: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .7); color: #555; pointer-events: none; user-select: none; }

/* Floating round buttons on maps */
.map-fab {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); box-shadow: var(--shadow-2); text-decoration: none; cursor: pointer; flex: none;
}
.map-fab .i { width: 22px; height: 22px; }
.map-fab:hover { color: var(--green-700); background: var(--green-50); }
.map-fab.on, .map-fab[aria-pressed=true] { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.map-fab.busy .i { animation: spin 1s linear infinite; }
.map-fab:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }

/* ---------- markers ---------- */
.mk-pin { position: relative; width: 36px; height: 45px; cursor: pointer; filter: drop-shadow(0 4px 5px rgba(10, 40, 20, .3)); }
.mk-pin-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mk-pin-body { stroke: #fff; stroke-width: 1.6; }
.mk-pin.tone-green .mk-pin-body { fill: var(--green-700); }
.mk-pin.tone-orange .mk-pin-body { fill: var(--orange-600); }
.mk-pin.tone-gray .mk-pin-body { fill: #8d9a92; }
.mk-pin.tone-blue .mk-pin-body { fill: var(--info); }
.mk-pin-badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid #fff; }
.maplibregl-marker.maplibregl-marker-draggable .mk-pin { cursor: grab; }
.mk-label { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); box-shadow: var(--shadow-1); pointer-events: none; }

.mk-user { position: relative; width: 22px; height: 22px; }
.mk-user-dot { position: absolute; inset: 3px; border-radius: 50%; background: #1f8cf0; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.mk-user-pulse { position: absolute; inset: -10px; border-radius: 50%; background: rgba(31, 140, 240, .22); animation: mk-pulse 2s ease-out infinite; }
@keyframes mk-pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.mk-driver { position: relative; width: 38px; height: 38px; display: grid; place-items: center; }
.mk-driver-halo { position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(10, 40, 20, .35); border: 3px solid var(--green-600); }
.mk-driver-svg { position: relative; width: 22px; height: 22px; fill: var(--green-700); stroke: none; }
.mk-driver.st-busy .mk-driver-halo { border-color: var(--orange-500); }
.mk-driver.st-busy .mk-driver-svg { fill: var(--orange-600); }
.mk-driver.st-assigned .mk-driver-halo { border-color: var(--green-700); background: var(--green-700); box-shadow: 0 0 0 6px rgba(14, 122, 61, .2), 0 3px 10px rgba(10, 40, 20, .4); }
.mk-driver.st-assigned .mk-driver-svg { fill: #fff; }
.mk-driver.st-self { width: 46px; height: 46px; }
.mk-driver.st-self .mk-driver-halo { background: #1f8cf0; border-color: #fff; box-shadow: 0 0 0 7px rgba(31, 140, 240, .22), 0 3px 10px rgba(0, 0, 0, .35); }
.mk-driver.st-self .mk-driver-svg { fill: #fff; width: 26px; height: 26px; }
.mk-driver.small { width: 28px; height: 28px; }
.mk-driver.small .mk-driver-halo { border-width: 2px; }
.mk-driver.small .mk-driver-svg { width: 16px; height: 16px; }

/* ---------- address inputs with suggestions ---------- */
.place-field { position: relative; }
.place-input { position: relative; display: flex; align-items: center; }
.place-input input { padding-right: 52px !important; }
.field-pin { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; cursor: pointer; }
.field-pin:hover { background: var(--green-100); }
.field-pin .i { width: 20px; height: 20px; }
.place-pop { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 60; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: var(--shadow-3); max-height: 320px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.field > .place-pop, .place-input + .place-pop { top: auto; }
.place-pop ul { list-style: none; margin: 0; padding: 6px; }
.place-title { padding: 8px 10px; font-size: 13px; color: var(--muted); }
.place-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-xs); cursor: pointer; }
.place-opt:hover, .place-opt.active { background: var(--green-50); }
.place-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.place-ico .i { width: 18px; height: 18px; }
.place-ico.k-current { background: #e6f2fe; color: #1f6fc0; }
.place-ico.k-saved { background: var(--orange-50); color: var(--orange-700); }
.place-ico.k-store { background: var(--green-50); color: var(--green-700); }
.place-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.place-text strong { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-text small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--muted); flex: none; }
.place-meta em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green-700); }

/* ---------- booking trip map ---------- */
.trip-card { overflow: visible; }
.trip-map-card { margin: -4px -4px 14px; }
.trip-map { position: relative; height: 210px; border-radius: var(--r); border: 1px solid var(--line); }
@media (min-width: 720px) { .trip-map { height: 260px; } }
.trip-map-static { height: 170px; margin-bottom: 12px; }
.trip-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); min-height: 22px; }
.trip-meta .i { width: 17px; height: 17px; color: var(--green-600); flex: none; }
.trip-meta.is-warn { color: var(--warn); }
.trip-meta.is-warn .i { color: var(--warn); }
.trip-meta strong { color: var(--ink); }
.trip-locate { position: absolute; right: 10px; bottom: 30px; z-index: 3; width: 42px; height: 42px; }
.trip-nearby { position: absolute; left: 10px; top: 10px; z-index: 3; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; font-size: 12.5px; font-weight: 700; color: var(--green-800); box-shadow: var(--shadow-1); }
.trip-nearby:empty { display: none; }
.checkout-map { height: 150px; margin-top: 4px; }

/* ---------- full-screen location picker ---------- */
body.picker-open { overflow: hidden; }
.picker { position: fixed; inset: 0; z-index: 200; background: #e8efe9; display: block; }
.picker-map, .picker-map.maplibregl-map { position: absolute; inset: 0; }
.picker-pin {
  position: absolute; left: 50%; top: 50%; z-index: 5; width: 40px; height: 50px; margin: -50px 0 0 -20px; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 29s-9-8.4-9-16a9 9 0 0 1 18 0c0 7.6-9 16-9 16z' fill='%230e7a3d' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12.5' r='3.6' fill='%23fff'/%3E%3C/svg%3E");
  filter: drop-shadow(0 5px 5px rgba(10, 40, 20, .3)); transition: transform .18s ease;
}
.picker-pin.kind-dropoff, .picker-pin.kind-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 29s-9-8.4-9-16a9 9 0 0 1 18 0c0 7.6-9 16-9 16z' fill='%23e36a0c' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12.5' r='3.6' fill='%23fff'/%3E%3C/svg%3E"); }
.picker-pin.lift { transform: translateY(-12px); }
.picker-pin-shadow { position: absolute; left: 50%; top: 50%; z-index: 4; width: 14px; height: 6px; margin: -3px 0 0 -7px; border-radius: 50%; background: rgba(0, 0, 0, .25); pointer-events: none; }
.picker-head { position: absolute; top: 0; left: 0; right: 0; z-index: 8; display: flex; gap: 10px; align-items: center; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; }
.picker-search { flex: 1; margin: 0; position: relative; }
.picker-search > .i { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; color: var(--muted); z-index: 1; }
.picker-search input { width: 100%; min-height: 48px; padding: 0 14px 0 44px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-2); font-size: 16px; }
.picker-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(34, 166, 80, .18), var(--shadow-2); }
.picker-search .place-pop { top: calc(100% + 6px); }
.picker-locate { position: absolute; right: 14px; bottom: calc(190px + env(safe-area-inset-bottom, 0px)); z-index: 6; }
.picker-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-3); padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 720px) { .picker-sheet { left: auto; right: 20px; bottom: 20px; width: 400px; border-radius: var(--r-lg); } .picker-locate { bottom: 30px; right: 440px; } }
.picker-kicker { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--green-700); }
.picker-addr { font-size: 17px; line-height: 1.3; }
.picker-sub { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.picker-warn { color: var(--bad); font-size: 13px; font-weight: 650; }

/* ---------- live tracking (customer booking, driver active job) ---------- */
.track-hero.has-live-map { background: #fff; }
.track-map-slot { height: 230px; }
.track-live { position: relative; height: 240px; }
@media (min-width: 720px) { .track-live { height: 300px; } }
.track-live-map, .track-live-map.maplibregl-map { position: absolute; inset: 0; }
.track-live.no-map { height: auto; min-height: 56px; background: linear-gradient(160deg, #eaf6ee, #fff6ec); }
.track-live.no-map .track-live-map { display: none; }
.track-live.no-map .track-chip { position: static; margin: 10px; }
.track-chip {
  position: absolute; left: 10px; right: 64px; top: 10px; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
  padding: 9px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 13px; color: var(--ink-2);
}
.track-chip[hidden], .track-chip:empty { display: none; }
.track-chip .i { width: 17px; height: 17px; color: var(--green-600); flex: none; }
.track-chip strong { font-size: 15px; color: var(--green-800); }
.track-chip.is-live { border-color: var(--green-100); }
.track-chip.is-ok .i { color: var(--green-700); }
.track-chip.is-warn { background: #fff8ec; border-color: #f3dcb5; color: var(--warn); }
.track-chip.is-warn .i { color: var(--warn); }
.track-chip.is-muted { color: var(--muted); }
.sim-tag { font-size: 10.5px; font-weight: 750; padding: 2px 7px; border-radius: var(--r-pill); background: var(--orange-100); color: var(--orange-700); }
.track-recenter { position: absolute; right: 10px; top: 10px; z-index: 3; width: 42px; height: 42px; }
/* Zoom buttons sit below the recenter button. */
.track-live .maplibregl-ctrl-top-right { top: 52px; }
.nav-start { margin-top: -4px; }
.dist-chip { background: var(--green-50) !important; color: var(--green-800) !important; }

/* ---------- driver smart navigation (full screen) ---------- */
body.nav-mode #topbar, body.nav-mode #bottom-nav { display: none !important; }
body.nav-mode { overflow: hidden; }
body.nav-mode #main { padding: 0 !important; max-width: none !important; }
.nav-screen { position: fixed; inset: 0; z-index: 90; background: #e8efe9; }
.nav-map, .nav-map.maplibregl-map { position: absolute; inset: 0; }
.nav-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; gap: 10px; align-items: flex-start; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0; pointer-events: none; }
.nav-top > * { pointer-events: auto; }
.nav-exit { width: 44px; height: 44px; }
.nav-banner { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--green-800), var(--green-900)); color: #fff; box-shadow: var(--shadow-3); }
.nav-turn { width: 52px; height: 52px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.nav-turn .i { width: 36px; height: 36px; stroke-width: 2.4; color: #fff; }
.nav-instr { display: flex; flex-direction: column; min-width: 0; }
.nav-instr strong { font-family: var(--font-display); font-size: 26px; font-weight: 850; line-height: 1.05; letter-spacing: -.01em; }
.nav-instr strong:empty { display: none; }
.nav-instr span { font-size: 16px; font-weight: 650; line-height: 1.3; color: #e6f5ec; }
.nav-then { position: absolute; z-index: 5; top: calc(96px + env(safe-area-inset-top, 0px)); left: 66px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--green-900); color: #dff3e6; font-size: 13.5px; font-weight: 650; box-shadow: var(--shadow-2); }
.nav-then[hidden] { display: none; }
.nav-then .i { width: 18px; height: 18px; }
.nav-alert { position: absolute; z-index: 5; top: calc(132px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; padding: 10px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-2); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav-alert[hidden] { display: none; }
.nav-alert .i { width: 18px; height: 18px; flex: none; }
.nav-alert.is-warn { background: #fff8ec; color: var(--warn); }
.nav-alert.is-info { background: var(--info-50); color: var(--info); }
.nav-alert.is-ok { background: var(--green-50); color: var(--green-800); }
.nav-alert .link-btn { color: inherit; }
.nav-fabs { position: absolute; z-index: 5; right: 12px; top: calc(196px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 10px; }
.nav-fabs [hidden] { display: none; }
.nav-recenter { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(210px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: #1f6fc0; color: #fff; font-weight: 750; box-shadow: var(--shadow-3); }
.nav-recenter[hidden] { display: none; }
.nav-recenter .i { width: 18px; height: 18px; }
.nav-screen .maplibregl-ctrl-bottom-right { bottom: calc(200px + env(safe-area-inset-bottom, 0px)); }
.nav-screen .maplibregl-ctrl-bottom-left { bottom: calc(190px + env(safe-area-inset-bottom, 0px)); }
.nav-sheet { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-3); padding: 4px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); max-height: 78vh; overflow-y: auto; }
@media (min-width: 860px) { .nav-sheet { left: 16px; right: auto; bottom: 16px; width: 420px; border-radius: var(--r-lg); max-height: calc(100vh - 140px); } .nav-recenter { bottom: 30px; } .nav-screen .maplibregl-ctrl-bottom-right { bottom: 10px; } .nav-screen .maplibregl-ctrl-bottom-left { bottom: 10px; left: 450px; } }
.nav-grip { display: grid; place-items: center; width: 100%; height: 22px; border: 0; background: none; cursor: pointer; }
.nav-grip span { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); }
.nav-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nav-eta { display: flex; flex-direction: column; min-width: 0; }
.nav-eta strong { font-family: var(--font-display); font-size: 30px; font-weight: 850; color: var(--green-800); line-height: 1; letter-spacing: -.02em; }
.nav-eta small { font-size: 14px; color: var(--muted); margin-top: 4px; }
.nav-stage { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--orange-50); color: var(--orange-700); font-size: 13px; font-weight: 750; flex: none; }
.nav-stage .i { width: 17px; height: 17px; }
.nav-step .btn { min-height: 58px; font-size: 17px; }
.nav-step .btn.pulse { animation: nav-pulse 1.4s ease-in-out infinite; }
@keyframes nav-pulse { 50% { box-shadow: 0 0 0 8px rgba(247, 134, 27, .28); } }
.nav-details { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.nav-details[hidden] { display: none; }
.nav-details .card { box-shadow: none; }

/* ---------- marketplace map view ---------- */
.market-tabs-row { display: flex; gap: 8px; align-items: center; }
.market-tabs-row .tabs { flex: 1; }
.map-toggle { flex: none; }
.map-page { position: relative; width: 100%; height: calc(100dvh - var(--top-h) - var(--nav-h) - var(--safe-b) - 28px); min-height: 380px; }
.map-page .map-wrap { position: relative; width: 100%; height: 100%; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.map-canvas, .map-canvas.maplibregl-map { position: absolute; inset: 0; }
.store-map-top { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 5; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.store-map-top > * { pointer-events: auto; }
/* Keep the zoom buttons clear of the search and filter overlay. */
#store-map .maplibregl-ctrl-top-right { top: 168px; }
.seg-toggle { display: inline-flex; align-self: flex-start; padding: 3px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.seg-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.seg-btn .i { width: 17px; height: 17px; }
.seg-btn.active { background: var(--green-700); color: #fff; }
.store-find { box-shadow: var(--shadow-2); max-width: 480px; }
.store-map-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.store-map-filter::-webkit-scrollbar { display: none; }
.store-map-filter .chip { box-shadow: var(--shadow-1); }
.store-map-filter .chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.store-locate { position: absolute; right: 12px; bottom: 40px; z-index: 5; }
.store-map-count { position: absolute; left: 12px; bottom: 30px; z-index: 4; background: rgba(255, 255, 255, .94); padding: 5px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-1); }
.store-map-count:empty { display: none; }
.map-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 6; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 14px; }
.map-sheet[hidden] { display: none; }
@media (min-width: 720px) { .map-sheet { left: auto; width: 380px; } }
.sheet-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; }
.store-sheet-body { display: flex; gap: 12px; padding-right: 30px; }
.store-sheet-img { width: 76px; height: 76px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.store-sheet-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-sheet-text strong { font-size: 16px; }
.store-sheet-text small { color: var(--muted); font-size: 13px; }
.store-sheet .sheet-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.store-sheet .sheet-facts .chip { min-height: 28px; padding: 0 9px; font-size: 12px; }
.store-sheet .sheet-facts .chip.on { background: var(--green-50); color: var(--green-800); border-color: var(--green-100); }
.store-sheet .sheet-facts .chip.off { background: var(--bad-50); color: var(--bad); border-color: #f2c4c5; }
.store-sheet .sheet-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- vendor store location ---------- */
.store-loc-map { height: 150px; border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: 10px; }
.store-loc-map.no-map { display: none; }
.store-loc-addr { display: flex; gap: 8px; align-items: flex-start; font-weight: 650; margin-bottom: 4px; }
.store-loc-addr .i { width: 18px; height: 18px; color: var(--green-700); flex: none; margin-top: 2px; }
.store-loc .btn { margin-top: 10px; }
.loc-search { position: relative; }
.loc-search input { padding-left: 42px !important; }
.loc-search > .i { position: absolute; left: 13px; top: 14px; width: 20px; height: 20px; color: var(--muted); }
.loc-map-wrap { position: relative; margin: 4px 0 8px; }
.loc-map { height: 300px; border-radius: var(--r); border: 1px solid var(--line); }
@media (min-width: 720px) { .loc-map { height: 360px; } }
.loc-gps { position: absolute; right: 10px; bottom: 34px; z-index: 3; }
.loc-coords input { background: var(--surface-2) !important; color: var(--muted); }
.loc-nudge { text-decoration: none; align-items: center; }
.loc-nudge > div { flex: 1; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mk-user-pulse, .nav-step .btn.pulse, .map-fab.busy .i { animation: none; }
  .picker-pin { transition: none; }
}
