/* TOWLOG — shared styles. Light theme = Shop & Facility, dark theme = Driver. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/shared/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(/shared/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url(/shared/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url(/shared/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url(/shared/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-display: swap; src: url(/shared/fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url(/shared/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 600; font-display: swap; src: url(/shared/fonts/ibm-plex-mono-latin-600-normal.woff2) format('woff2'); }

:root {
  --bg: #e8e5df; --surface: #ffffff; --surface-2: #f4f2ee; --line: #dcd8d0; --line-strong: #c9c4ba;
  --ink: #15161a; --ink-2: #4a4c52; --ink-3: #7b7d83;
  --amber: #f0a500; --amber-ink: #15161a; --amber-soft: #fdf1d3; --amber-line: #f0c766;
  --green: #1d7a46; --green-soft: #ddf2e5; --blue: #1f5fd6; --blue-soft: #e3ecfc;
  --purple: #6c3fd6; --purple-soft: #ece5fc; --red: #b3261e; --red-soft: #fbe7e5; --red-line: #eab0ab;
  --map-bg: #e4dfd5; --map-road: #f8f6f2; --map-grid: #d6d0c4; --lake: #c4d6e4;
  --sidebar: #15161a;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --r: 14px; --r-sm: 10px;
}
body.dark {
  --bg: #0b0c0e; --surface: #17181c; --surface-2: #1f2025; --line: #2a2c32; --line-strong: #3a3c43;
  --ink: #f3f1ec; --ink-2: #b7b8bd; --ink-3: #85878d;
  --amber-soft: #2b2310; --green: #4cc27e; --green-soft: #13301f; --blue: #6d9bf5; --blue-soft: #16223a;
  --purple: #a88bf5; --purple-soft: #241c3a; --red: #f07167; --red-soft: #3a1714; --red-line: #6b2a24;
  --map-bg: #1d1f24; --map-road: #2a2c32; --map-grid: #24262b; --lake: #1b2733;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.4 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.h1 { font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .2px; margin: 0; }
.h2 { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.05; margin: 0; }
.h3 { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 0; }
.label { font-size: 11.5px; letter-spacing: .9px; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.wrap { flex-wrap: wrap; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: 1.5px; }
.badge { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--amber); color: var(--amber-ink); border-radius: 999px; padding: 2px 8px; }

/* Cards & forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.card.tight { padding: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 12.5px; color: var(--ink-2); }
.input, select.input, textarea.input {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 11px 12px; outline: none; transition: border-color .15s, box-shadow .15s;
}
body.dark .input { background: var(--surface-2); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
textarea.input { resize: vertical; min-height: 70px; }
.input.big { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.input.code { font-family: var(--mono); font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 12px; padding: 11px 16px; font-weight: 600; cursor: pointer; transition: transform .05s, opacity .15s, background .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--surface); }
body.dark .btn.dark { background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); }
.btn.ghost { border-color: var(--line-strong); }
.btn.danger { border-color: var(--red-line); color: var(--red); }
.btn.lg { padding: 15px 18px; font-size: 16.5px; border-radius: 14px; }
.btn.sm { padding: 7px 11px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-weight: 600; }
body.dark .link { color: var(--ink-2); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 11px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber); color: var(--amber-ink); }
.pill.amber-soft { background: var(--amber-soft); color: #8a5a00; border: 1px solid var(--amber-line); }
body.dark .pill.amber-soft { color: var(--amber); }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.purple { background: var(--purple); color: #fff; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.grey { background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }

.price { font-family: var(--mono); font-weight: 600; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-width: 0; }
.stat .k { font-size: 12px; color: var(--ink-3); }
.stat .v { font-family: var(--mono); font-size: 24px; font-weight: 600; margin-top: 2px; }
.stat.inverse { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.stat.inverse .k { color: color-mix(in srgb, var(--surface) 65%, transparent); }
.stat.inverse .v.amber { color: var(--amber); }
.stat.alert { border-color: var(--red-line); background: var(--red-soft); }
.stat.alert .k, .stat.alert .v { color: var(--red); }

.list { display: flex; flex-direction: column; gap: 10px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; cursor: pointer; text-align: left; width: 100%; }
.item:hover { border-color: var(--line-strong); }
.item.selected { border: 2px solid var(--ink); padding: 12px 13px; }
.item.fav { background: var(--amber-soft); border-color: var(--amber-line); }
.item.alert { background: var(--red-soft); border-color: var(--red-line); }
.item .t { font-weight: 700; }
.empty { text-align: center; color: var(--ink-3); padding: 28px 12px; border: 1px dashed var(--line-strong); border-radius: var(--r); }

/* Autocomplete */
.ac { position: relative; }
.ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 5px; }
.ac-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.ac-item:hover, .ac-item.on { background: var(--blue-soft); }
.ac-item .pin { color: var(--blue); margin-top: 1px; }

/* Status stepper */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.steps div { text-align: center; font-size: 10.5px; color: var(--ink-3); }
.steps div::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.steps div.done::before { background: var(--amber); }
.steps div.now { color: var(--ink); font-weight: 700; }
.steps div.now::before { background: var(--ink); }
body.dark .steps div.now::before { background: #fff; }

/* Audit trail */
.trail { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 6px; font-size: 13px; }
.trail .tm { font-family: var(--mono); color: var(--ink-2); }
.trail .last { font-weight: 700; }
.trail .pending { color: var(--ink-3); }

/* Map */
.map { position: relative; background: var(--map-bg); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 200px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map .legend { position: absolute; left: 10px; top: 10px; background: var(--surface); border-radius: 10px; padding: 8px 10px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.map .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.map .note { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 12px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.map .zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.map .zoom button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; cursor: pointer; }
.map .live-tag { position: absolute; right: 10px; top: 10px; background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.map text { font-family: var(--body); }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
#toast div { background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 12px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 90vw; }
body.dark #toast div { background: #f3f1ec; color: #15161a; }
#toast div.err { background: var(--red); color: #fff; }

/* Modal / drawer */
.overlay { position: fixed; inset: 0; background: rgba(10,10,12,.45); z-index: 50; display: flex; justify-content: flex-end; }
.drawer { width: min(440px, 100vw); height: 100%; background: var(--surface); overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.overlay.center { justify-content: center; align-items: center; padding: 16px; }
.overlay.center .drawer { height: auto; max-height: 92vh; border-radius: 18px; width: min(560px, 100%); }
.x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: 16px; }
.codebox { background: var(--ink); color: var(--surface); border-radius: 16px; padding: 16px; }
.codebox .code { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--amber); letter-spacing: 1px; margin: 6px 0 12px; word-break: break-all; }
.codebox .btn { border-color: #3a3c43; color: #f3f1ec; }
.codebox .btn.primary { color: #15161a; }

/* Switch */
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--amber); }
.switch input:checked + span::after { transform: translateX(22px); background: #15161a; }
.switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ===== Phone-style app shell (Shop + Driver) ===== */
.phone { max-width: 460px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.phone > header { padding: 16px 16px 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone main { flex: 1; padding: 6px 16px 120px; display: flex; flex-direction: column; gap: 12px; }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(460px, 100%); background: var(--surface); border-top: 1px solid var(--line); display: flex; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 20; }
.tabbar button { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ink-3); cursor: pointer; padding: 2px; }
.tabbar button .ic { width: 42px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 16px; }
.tabbar button.on { color: var(--ink); }
.tabbar button.on .ic { background: var(--amber); color: #15161a; }
.footer-bar { position: fixed; bottom: 66px; left: 50%; transform: translateX(-50%); width: min(460px, 100%); background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px; z-index: 19; }
.iconbtn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; font-size: 17px; flex: none; }
.back { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: 17px; flex: none; }

/* Driver incoming call */
.ring { position: relative; width: 132px; height: 132px; margin: 4px auto 0; }
.ring svg { transform: rotate(-90deg); }
.ring .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .c b { font-family: var(--mono); font-size: 30px; font-weight: 600; display: block; }
.bigprice { font-family: var(--mono); font-size: 46px; font-weight: 600; text-align: center; letter-spacing: -1px; }
.route { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; row-gap: 0; }
.route .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; margin-top: 4px; border: 2px solid var(--ink-3); }
.route .sq { width: 12px; height: 12px; background: var(--amber); border-radius: 2px; margin-top: 4px; }
.route .ln { width: 2px; background: var(--line-strong); margin: 2px auto; min-height: 22px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 13.5px; }
.kv > :nth-child(odd) { color: var(--ink-3); }
.kv > :nth-child(even) { text-align: right; font-weight: 600; }
.kv.left > :nth-child(even) { text-align: left; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stepper button { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: 22px; cursor: pointer; }
.stepper b { font-family: var(--mono); font-size: 26px; }
.gps { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 10px; background: transparent; cursor: pointer; }
.gps i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.gps.off i { background: var(--red); }

/* ===== Facility desktop shell ===== */
.shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--sidebar); color: #f3f1ec; padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .org { color: #9fa1a7; font-size: 13px; margin: 2px 6px 22px; }
.side nav button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; color: #c9cace; text-align: left; padding: 11px 12px; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 14.5px; }
.side nav button.on { background: #2a2c31; color: #fff; }
.side nav button .n { background: var(--amber); color: #15161a; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; padding: 0 6px; }
.side .timeout { margin-top: auto; background: #1f2025; border-radius: 12px; padding: 12px; }
.side .timeout .seg { background: #15161a; border-color: #2a2c31; width: 100%; }
.side .timeout .seg button { flex: 1; color: #9fa1a7; }
.side .timeout .seg button.on { background: var(--amber); color: #15161a; }
.side .who { font-size: 12px; color: #85878d; margin-top: 12px; padding: 0 6px; display: flex; justify-content: space-between; align-items: center; }
.side .who button { background: none; border: 0; color: #c9cace; text-decoration: underline; cursor: pointer; font-size: 12px; }
.content { padding: 20px 22px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar .stat { min-width: 130px; padding: 9px 14px; }
.topbar .stat .v { font-size: 21px; }
.dispatch { display: grid; grid-template-columns: minmax(250px, 300px) minmax(300px, 1fr) minmax(280px, 330px); gap: 14px; min-height: calc(100vh - 120px); }
.dispatch .calls { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: calc(100vh - 130px); padding-right: 2px; }
.callcard .st { font-size: 10.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.st.offering, .st.en_route { color: var(--blue); }
.st.unassigned { color: var(--red); }
.st.on_location { color: var(--purple); }
.st.under_tow { color: #9a6a00; }
.st.accepted { color: var(--green); }
.bar { height: 5px; background: var(--blue-soft); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--blue); transition: width 1s linear; }
.detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: calc(100vh - 130px); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12.5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-family: var(--mono); }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--surface-2); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel > h3 { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* Login page */
.auth { max-width: 440px; margin: 0 auto; padding: 48px 18px; display: flex; flex-direction: column; gap: 16px; }
.hero { background: #12141a; color: #f3f1ec; border-radius: 20px; padding: 28px 24px; }
.hero .logo { font-family: var(--head); font-weight: 800; font-size: 56px; letter-spacing: 3px; line-height: 1; }
.hero .rule { width: 60px; height: 5px; background: var(--amber); margin: 14px 0; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.roles button { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; padding: 12px 6px; cursor: pointer; font-weight: 700; }
.roles button.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.demo-grid button { text-align: left; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.demo-grid button b { display: block; }

@media (max-width: 1100px) {
  .dispatch { grid-template-columns: 1fr 1fr; }
  .dispatch .detail { grid-column: 1 / -1; max-height: none; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .side .org, .side .timeout, .side .who { display: none; }
  .side nav { display: flex; gap: 4px; overflow-x: auto; width: 100%; }
  .side nav button { width: auto; white-space: nowrap; gap: 6px; }
  .dispatch { grid-template-columns: 1fr; }
  .dispatch .calls { max-height: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content { padding: 14px; }
  .map.tall { min-height: 320px; }
}

/* ===== Google Maps markers ===== */
.gmap .gmap-canvas { position: absolute; inset: 0; }
.gmap .legend, .gmap .note, .gmap .live-tag { z-index: 2; }
.gmap .live-tag { right: auto; left: 10px; top: auto; bottom: 10px; }
.gm-pin { position: relative; display: flex; align-items: center; gap: 6px; transform: translateY(50%); }
.gm-pin.click { cursor: pointer; }
.gm-pin i { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 10.5px; color: #fff; }
.gm-pin.driver i { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.gm-pin.driver.hl i { border-color: #15161a; border-width: 3px; }
.gm-pin.pickup i { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #15161a; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #15161a; }
.gm-pin.square i { width: 18px; height: 18px; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.gm-label { background: #fff; color: #15161a; border: 1px solid #d6d0c4; border-radius: 6px; padding: 3px 8px; font: 600 12px var(--body); white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.gm-label.dark { background: #15161a; color: #fff; border-color: #15161a; }
