/* Ntɛm — one stylesheet for the site, the phone apps and the consoles. */

:root {
  --brand: #0E7C4A;
  --brand-600: #0B6A3F;
  --brand-700: #08552F;
  --brand-50: #E8F5EE;
  --brand-100: #CDEBDA;
  --gold: #F5B700;
  --gold-50: #FFF6D6;
  --red: #D62839;
  --red-50: #FDECEE;
  --blue: #2563EB;
  --blue-50: #EAF1FE;
  --amber: #B45309;
  --amber-50: #FEF3E2;
  --ink: #0B1B13;
  --ink-2: #26372E;
  --muted: #5B6B63;
  --faint: #8A9891;
  --line: #E3EAE6;
  --line-2: #D3DDD7;
  --bg: #F4F7F5;
  --card: #FFFFFF;
  --card-2: #F8FAF9;
  --shadow-sm: 0 1px 2px rgba(11, 27, 19, .06), 0 1px 1px rgba(11, 27, 19, .04);
  --shadow: 0 6px 20px rgba(11, 27, 19, .08), 0 2px 6px rgba(11, 27, 19, .05);
  --shadow-lg: 0 18px 50px rgba(11, 27, 19, .16), 0 6px 16px rgba(11, 27, 19, .08);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tile-filter: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #22A867; --brand-600: #1C9459; --brand-700: #167A49; --brand-50: #0F2A1D; --brand-100: #15402A;
    --gold: #FFC72C; --gold-50: #2E2709; --red: #F0566A; --red-50: #3A1419; --blue: #6EA0FF; --blue-50: #13213D;
    --amber: #F5A54A; --amber-50: #33240F;
    --ink: #EAF2ED; --ink-2: #C9D6CF; --muted: #98A9A0; --faint: #6F8077; --line: #24332B; --line-2: #2F4037;
    --bg: #0B1410; --card: #121E18; --card-2: #17251E;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 6px 20px rgba(0,0,0,.45); --shadow-lg: 0 18px 50px rgba(0,0,0,.6);
    --tile-filter: brightness(.72) contrast(1.15) saturate(.7) invert(.92) hue-rotate(180deg);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #22A867; --brand-600: #1C9459; --brand-700: #167A49; --brand-50: #0F2A1D; --brand-100: #15402A;
  --gold: #FFC72C; --gold-50: #2E2709; --red: #F0566A; --red-50: #3A1419; --blue: #6EA0FF; --blue-50: #13213D;
  --amber: #F5A54A; --amber-50: #33240F;
  --ink: #EAF2ED; --ink-2: #C9D6CF; --muted: #98A9A0; --faint: #6F8077; --line: #24332B; --line-2: #2F4037;
  --bg: #0B1410; --card: #121E18; --card-2: #17251E;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 6px 20px rgba(0,0,0,.45); --shadow-lg: 0 18px 50px rgba(0,0,0,.6);
  --tile-filter: brightness(.72) contrast(1.15) saturate(.7) invert(.92) hue-rotate(180deg);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .85em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.ok-text { color: var(--brand); }
.bad-text { color: var(--red); }
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.right { text-align: right; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stack > * + * { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.i { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.star-fill { --star-fill: var(--gold); color: var(--gold); width: 15px; height: 15px; margin-top: -2px; }
.stars { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-name small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: -2px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --b: var(--brand); --bc: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 0; border-radius: 12px; background: var(--b); color: var(--bc); font: inherit; font-weight: 700; font-size: .98rem;
  cursor: pointer; text-decoration: none !important; transition: transform .08s ease, filter .15s ease, background .15s; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn.is-loading { opacity: .6; cursor: default; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-gold { --b: var(--gold); --bc: #1d1600; }
.btn-dark { --b: var(--ink); --bc: var(--bg); }
.btn-danger { --b: var(--red); --bc: #fff; }
.btn-light { --b: var(--card); --bc: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost { --b: transparent; --bc: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--card-2); }
.btn-soft { --b: var(--brand-50); --bc: var(--brand-700); }
:root[data-theme="dark"] .btn-soft { --bc: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-soft { --bc: var(--brand); } }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn .i { width: 18px; height: 18px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  color: var(--ink); cursor: pointer; flex: none; -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--card-2); text-decoration: none; }
.fab {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card);
  color: var(--ink); box-shadow: var(--shadow); cursor: pointer; position: relative;
}
.fab .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--card); }
.link-btn { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

/* ---------------------------------------------------------------- Forms */
.field { display: block; margin-bottom: 14px; }
.field > span, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--card);
  color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 92px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input-sm { min-height: 38px; padding: 7px 10px; font-size: 14px; border-radius: 10px; }
.help { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.input-group { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--card); overflow: hidden; }
.input-group:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input-group .input { border: 0; box-shadow: none !important; border-radius: 0; }
.input-group .addon { display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-weight: 600; background: var(--card-2); border-right: 1px solid var(--line); }
.otp-input { letter-spacing: .5em; text-align: center; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin-bottom: 10px; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.alert { padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-warn { background: var(--amber-50); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.alert-bad { background: var(--red-50); border-color: color-mix(in srgb, var(--red) 30%, transparent); }
.alert-ok { background: var(--brand-50); border-color: var(--brand-100); }
.alert-info { background: var(--blue-50); border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.alert .i { margin-top: 1px; }

/* Switch */
.switch { position: relative; display: inline-block; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 30px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::before { transform: translateX(20px); }

/* Segmented control */
.seg { display: inline-flex; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button, .seg a { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.active, .seg a.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); text-decoration: none; }
.seg-block { display: flex; }
.seg-block button { flex: 1; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--card); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip .i { width: 16px; height: 16px; color: var(--muted); }
.chip.active, .chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.chip.active .i { color: var(--brand); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.badge-ok { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.badge-warn { background: var(--amber-50); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 25%, transparent); }
.badge-bad { background: var(--red-50); color: var(--red); border-color: color-mix(in srgb, var(--red) 25%, transparent); }
.badge-info { background: var(--blue-50); color: var(--blue); border-color: color-mix(in srgb, var(--blue) 25%, transparent); }
.badge-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.badge-gold { background: var(--gold-50); color: #7a5a00; border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
:root[data-theme="dark"] .badge-ok, :root[data-theme="dark"] .badge-gold { color: var(--brand); }

/* Cards & lists */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); }
.card-tight { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: var(--card-2); text-decoration: none; }
.list-item .grow strong { display: block; font-weight: 650; }
.list-item .grow span { display: block; font-size: .86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card-2); color: var(--ink-2); flex: none; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .i { width: 40px; height: 40px; color: var(--faint); margin: 0 auto 10px; display: block; }

.avatar { --hue: 150; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  background: hsl(var(--hue) 45% 88%); color: hsl(var(--hue) 50% 25%); font-weight: 800; font-size: .9rem; }
.avatar-sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.1rem; }
.avatar-xl { width: 76px; height: 76px; font-size: 1.4rem; }

/* Vehicle tiles */
.vt { --c: var(--brand); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, var(--card)); color: var(--c); flex: none; }
.vt .i { width: 28px; height: 28px; stroke-width: 1.8; }
.vt-sm { width: 34px; height: 34px; border-radius: 10px; }
.vt-sm .i { width: 21px; height: 21px; }
.vt-lg { width: 60px; height: 60px; border-radius: 18px; }
.vt-lg .i { width: 36px; height: 36px; }
.vt-okada { --c: #0E7C4A; }
.vt-pragya { --c: #C98A00; }
.vt-taxi { --c: #D62839; }
.vt-comfort { --c: #334155; }
.vt-parcel { --c: #2563EB; }
.vt-aboboyaa { --c: #9A5B13; }
:root[data-theme="dark"] .vt-comfort { --c: #A8B6C8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vt-comfort { --c: #A8B6C8; } }

/* Toasts */
.toasts { position: fixed; z-index: 2000; left: 50%; top: 14px; transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; animation: drop .25s ease; }
.toast-error { background: var(--red); color: #fff; }
.toast-success { background: var(--brand); color: #fff; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal-back { position: fixed; inset: 0; z-index: 1500; background: rgba(5, 15, 10, .5); display: grid; place-items: end center; animation: fade .15s ease; }
@media (min-width: 640px) { .modal-back { place-items: center; } }
.modal { width: min(100%, 460px); max-height: 90vh; overflow: auto; background: var(--card); border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + var(--safe-b)); box-shadow: var(--shadow-lg); animation: up .22s ease; }
@media (min-width: 640px) { .modal { border-radius: 22px; } }
.modal h2 { margin-bottom: 6px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn { flex: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }

/* ================================================================ SITE */
.site-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-nav .inner { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.site-nav nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav nav a { color: var(--ink-2); font-weight: 600; font-size: .94rem; }
@media (max-width: 860px) { .site-nav nav { display: none; } .site-nav .inner .btn { margin-left: auto; } }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .82rem; margin-bottom: 18px; }
:root[data-theme="dark"] .eyebrow { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--brand); } }
.flag-bar { display: inline-flex; width: 26px; height: 12px; border-radius: 3px; overflow: hidden; }
.flag-bar i { flex: 1; } .flag-bar i:nth-child(1) { background: #CE1126; } .flag-bar i:nth-child(2) { background: #FCD116; display: grid; place-items: center; } .flag-bar i:nth-child(3) { background: #006B3F; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.03; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero-trust .i { color: var(--brand); width: 18px; height: 18px; }

/* Booking widget on the landing page */
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-lg); }
.book-card h3 { margin-bottom: 14px; }
.vt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.vt-pick { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink); cursor: pointer; }
.vt-pick.active { border-color: var(--brand); background: var(--brand-50); }
.vt-pick small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.route-inputs { position: relative; display: grid; gap: 8px; margin-bottom: 14px; }
.route-inputs .input { padding-left: 40px; }
.route-inputs .dot { position: absolute; left: 16px; width: 10px; height: 10px; border-radius: 50%; }
.dot-pickup { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.dot-drop { background: var(--ink); border-radius: 3px !important; }

.section { padding: 64px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.025em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: block; color: var(--brand); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
/* Grid columns may shrink below their content (tables, long words) instead of widening the page. */
.split > *, .hero-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .cols-2 > *, .cols-3-1 > *, .form-grid > * { min-width: 0; }
.card > .table { display: block; overflow-x: auto; }
.card > .table > tbody, .card > .table > thead { display: table; width: 100%; }
.feature { padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.section-alt .feature { background: var(--bg); }
.feature .ficon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.feature .ficon.gold { background: var(--gold-50); color: #9a7300; }
.feature .ficon.red { background: var(--red-50); color: var(--red); }
.feature .ficon.blue { background: var(--blue-50); color: var(--blue); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .94rem; }
.ride-type { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.ride-type h3 { margin: 0; }
.ride-type p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; flex: none; }
.step h3 { margin: 4px 0 2px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cta-band { border-radius: 28px; background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .9; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 28px; } }
.site-footer { padding: 40px 0 60px; color: var(--muted); font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: var(--ink); font-size: .9rem; }
.site-footer a { display: block; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* Phone mock-up on the landing page */
.phone { width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0b0f0d; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #dfe9e3; position: relative; }
.phone-map { position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 47%, #fff 47%, #fff 51%, transparent 51%),
  linear-gradient(20deg, transparent 60%, #fff 60%, #fff 63%, transparent 63%),
  linear-gradient(160deg, transparent 30%, #f6f1dd 30%, #f6f1dd 34%, transparent 34%),
  radial-gradient(circle at 30% 70%, #cfe5d6 0 18%, transparent 19%), #e4ece6; }
.phone-route { position: absolute; left: 22%; top: 24%; width: 52%; height: 34%; border: 4px solid var(--brand); border-left: 0; border-bottom: 0; border-radius: 0 60px 0 0; }
.phone-pin { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 4px solid #fff; box-shadow: var(--shadow); }
.phone-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow-lg); color: #0B1B13; }
.phone-sheet .opt { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: .82rem; }
.phone-sheet .opt.active { background: #E8F5EE; box-shadow: inset 0 0 0 1.5px #0E7C4A; }
.phone-sheet .opt b { margin-left: auto; }

/* ================================================================ AUTH */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none !important; } }
.auth-art { background: linear-gradient(160deg, var(--brand-700), var(--brand) 60%, #12925a); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art .brand { color: #fff; }
.auth-art h2 { font-size: 2.2rem; color: #fff; letter-spacing: -.03em; max-width: 14ch; }
.auth-art p { opacity: .9; max-width: 36ch; }
.auth-art .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.auth-panel { display: grid; place-items: center; padding: 32px 20px; }
.auth-box { width: min(100%, 400px); }
.auth-box h1 { font-size: 1.7rem; margin-top: 26px; }
.auth-tabs { margin: 18px 0 20px; }
.auth-mobile-brand { display: none !important; }
@media (max-width: 900px) { .auth-mobile-brand { display: inline-flex !important; } }
.dev-code { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--gold-50); border: 1px dashed var(--gold); font-size: .9rem; }

/* ================================================================ APP (phone) */
.look-app { background: var(--bg); }
.app-page .appbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 6px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.appbar h1 { font-size: 1.1rem; margin: 0; flex: 1; }
.app-main { max-width: 640px; margin: 0 auto; padding: 16px 16px calc(40px + var(--safe-b)); }
.app-main > .card + .card, .app-main > section + section { margin-top: 14px; }
.section-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 4px 8px; }

/* Full-screen map apps */
.map-app { position: fixed; inset: 0; overflow: hidden; }
#map { position: absolute; inset: 0; background: #dfe7e2; z-index: 0; }
.leaflet-tile-pane { filter: var(--tile-filter); }
.lite #map { background: repeating-linear-gradient(45deg, var(--card-2), var(--card-2) 12px, var(--bg) 12px, var(--bg) 24px); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { font-size: 10px; background: color-mix(in srgb, var(--card) 80%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted); }
.map-top { position: absolute; z-index: 10; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; display: flex; gap: 10px; align-items: flex-start; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.map-top .spacer { flex: 1; pointer-events: none; }
.map-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; }
.map-pill .live { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.map-side { position: absolute; z-index: 10; right: 12px; display: grid; gap: 10px; transition: bottom .25s ease; }

.sheet {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; max-height: 68vh; display: flex; flex-direction: column;
  background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.14); padding-bottom: var(--safe-b);
  transition: transform .25s ease;
}
@media (min-width: 760px) {
  .sheet { left: 16px; right: auto; bottom: 16px; top: auto; width: 400px; border-radius: 24px; max-height: calc(100vh - 100px); }
  .map-side { right: 16px; }
}
.sheet.tall { height: 86vh; }
@media (min-width: 760px) { .sheet.tall { height: auto; top: 16px; max-height: none; } }
.sheet-handle { width: 42px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 9px auto 2px; flex: none; }
.sheet-body { padding: 8px 16px 16px; overflow-y: auto; overscroll-behavior: contain; }
.sheet h2 { font-size: 1.25rem; margin: 6px 0 12px; }
.sheet-foot { padding: 12px 16px 14px; border-top: 1px solid var(--line); background: var(--card); flex: none; }
.greet { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 12px; }
.where-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-align: left; }
.where-btn .i { color: var(--ink); }
.where-btn .later { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--card); font-size: .82rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 4px; }
.quick { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .8rem; color: var(--ink); cursor: pointer; }
.quick:hover { background: var(--card-2); }
.place-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.place-row:last-child { border-bottom: 0; }
.place-row .pi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card-2); color: var(--ink-2); flex: none; }
.place-row .pi .i { width: 18px; height: 18px; }
.place-row strong { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-row span.sub { display: block; font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-row .km { margin-left: auto; font-size: .8rem; color: var(--faint); white-space: nowrap; }

.route-box { position: relative; display: grid; gap: 8px; padding-left: 26px; margin-bottom: 10px; }
.route-box::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 22px; border-left: 2px dashed var(--line-2); }
.route-box .rb-dot { position: absolute; left: 4px; width: 12px; height: 12px; border-radius: 50%; }
.route-box .rb-dot.p { top: 18px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.route-box .rb-dot.d { bottom: 18px; background: var(--ink); border-radius: 3px; }
.route-box .input { min-height: 46px; background: var(--card-2); border-color: transparent; }
.route-box .input:focus { background: var(--card); }
.route-line { display: flex; gap: 12px; align-items: flex-start; }
.route-line .rb { display: grid; justify-items: center; padding-top: 5px; gap: 3px; }
.route-line .rb i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.route-line .rb i.d { background: var(--ink); border-radius: 2px; }
.route-line .rb b { display: block; width: 2px; height: 22px; background: var(--line-2); }
.route-line .addr { display: grid; gap: 12px; min-width: 0; }
.route-line .addr div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.route-line .addr small { display: block; color: var(--muted); font-weight: 500; white-space: normal; }

/* Ride options */
.options { display: grid; gap: 6px; margin: 4px 0 10px; }
.option { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid transparent; background: transparent; width: 100%; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.option:hover { background: var(--card-2); }
.option.active { border-color: var(--brand); background: var(--brand-50); }
.option .o-main { flex: 1; min-width: 0; }
.option .o-main strong { display: flex; align-items: center; gap: 6px; font-size: 1rem; }
.option .o-main span { display: block; font-size: .83rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.option .o-price { text-align: right; font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.option .o-price s { display: block; font-weight: 500; font-size: .8rem; color: var(--faint); }
.option .seats { display: inline-flex; align-items: center; gap: 2px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.option .seats .i { width: 13px; height: 13px; }
.option.unavailable { opacity: .55; }
.opt-row { display: flex; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.opt-row button.pick { flex: 1; display: flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; padding: 4px 0; text-align: left; }
.opt-row button.pick .i { color: var(--muted); }
.opt-row button.pick small { color: var(--muted); font-weight: 500; margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }

.offer-box { background: var(--card-2); border-radius: 16px; padding: 14px; margin: 6px 0 10px; }
.offer-amount { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0; }
.offer-amount .val { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; min-width: 140px; text-align: center; font-variant-numeric: tabular-nums; }
.offer-amount .icon-btn { background: var(--card); box-shadow: var(--shadow-sm); }
.offer-hint { text-align: center; font-size: .85rem; color: var(--muted); }
.range { width: 100%; accent-color: var(--brand); }

/* Searching radar */
.radar { position: relative; width: 120px; height: 120px; margin: 6px auto 12px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: radar 2.4s ease-out infinite; }
.radar span:nth-child(2) { animation-delay: .8s; } .radar span:nth-child(3) { animation-delay: 1.6s; }
.radar .core { position: absolute; inset: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.radar .core .i { width: 26px; height: 26px; }
@keyframes radar { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.progress-line { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-line i { display: block; height: 100%; background: var(--brand); transition: width 1s linear; }

/* Driver offers (Name your price) */
.offer-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); margin-bottom: 8px; animation: drop .25s ease; }
.offer-card .grow strong { display: block; }
.offer-card .grow span { display: block; font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-card .price { font-size: 1.15rem; font-weight: 800; text-align: right; }
.offer-card .price small { display: block; font-size: .72rem; font-weight: 600; color: var(--amber); }
.offer-timer { height: 3px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.offer-timer i { display: block; height: 100%; background: var(--gold); transition: width 3.5s linear; }

/* Driver card (passenger view) */
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; }
.status-head h2 { margin: 0; font-size: 1.2rem; }
.eta-chip { padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; white-space: nowrap; }
.driver-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--card-2); }
.driver-card .grow strong { display: block; font-size: 1.02rem; }
.driver-card .grow span { display: block; font-size: .85rem; color: var(--muted); }
.plate { display: inline-block; padding: 4px 9px; border-radius: 7px; background: #FFD84D; color: #111; font-weight: 800; letter-spacing: .04em; font-size: .9rem; border: 1.5px solid #111; white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pin-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: var(--bg); margin: 10px 0; }
.pin-box .digits { display: flex; gap: 6px; }
.pin-box .digits b { display: grid; place-items: center; width: 34px; height: 40px; border-radius: 9px; background: color-mix(in srgb, var(--bg) 14%, transparent); font-size: 1.3rem; font-weight: 800; }
.pin-box small { display: block; opacity: .75; font-size: .8rem; }
.action-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.action { display: grid; justify-items: center; gap: 5px; padding: 10px 4px; border-radius: 14px; background: var(--card-2); border: 0; color: var(--ink); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; position: relative; text-decoration: none !important; }
.action:hover { background: var(--line); }
.action .i { width: 22px; height: 22px; }
.action.sos { background: var(--red-50); color: var(--red); }
.action .count { position: absolute; top: 6px; right: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: .7rem; display: grid; place-items: center; }

/* Rating */
.rate-stars { display: flex; justify-content: center; gap: 8px; margin: 10px 0 14px; }
.rate-stars button { border: 0; background: none; cursor: pointer; padding: 2px; color: var(--line-2); }
.rate-stars button .i { width: 40px; height: 40px; stroke-width: 1.5; }
.rate-stars button.on { color: var(--gold); }
.rate-stars button.on .i { --star-fill: var(--gold); }
.receipt-lines { display: grid; gap: 6px; margin: 10px 0; font-size: .94rem; }
.receipt-lines div { display: flex; justify-content: space-between; }
.receipt-lines .total { font-weight: 800; font-size: 1.1rem; padding-top: 8px; border-top: 1px dashed var(--line-2); }

/* Chat */
.chat { display: flex; flex-direction: column; height: min(60vh, 460px); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 6px 2px 10px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 16px; background: var(--card-2); align-self: flex-start; font-size: .94rem; }
.bubble.mine { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.bubble small { display: block; opacity: .7; font-size: .7rem; margin-top: 2px; }
.chat-form { display: flex; gap: 8px; }

/* Map markers */
.mk { display: grid; place-items: center; }
.mk-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.mk-drop { width: 20px; height: 20px; border-radius: 5px; background: #0B1B13; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.mk-me { width: 18px; height: 18px; border-radius: 50%; background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.2), 0 2px 6px rgba(0,0,0,.3); }
.mk-veh { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); color: var(--c, #0E7C4A); }
.mk-veh .i { width: 22px; height: 22px; stroke-width: 2; }
.mk-veh .hd { position: absolute; inset: -7px; transform: rotate(var(--hd, 0deg)); }
.mk-veh .hd::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 7px solid var(--c, #0E7C4A); border-top: 0; }
.mk-veh.busy { opacity: .55; }
.mk-label { padding: 5px 10px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: .8rem; white-space: nowrap; color: var(--ink); }
.center-pin { position: absolute; z-index: 15; left: 50%; top: 50%; transform: translate(-50%, -100%); pointer-events: none; display: grid; justify-items: center; }
.center-pin .head { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); border: 5px solid #fff; box-shadow: var(--shadow); }
.center-pin .stick { width: 3px; height: 16px; background: var(--ink); border-radius: 2px; }
.center-pin.drop .head { background: var(--ink); border-radius: 7px; }

/* Driver app */
.drive-top { position: absolute; z-index: 10; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; display: flex; gap: 10px; align-items: center; }
.earn-pill { flex: 1; display: flex; justify-content: center; }
.earn-pill a { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow); text-decoration: none; }
.earn-pill a small { font-size: .75rem; opacity: .7; font-weight: 600; }
.go-btn { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font: inherit; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 22%, transparent), var(--shadow-lg); cursor: pointer; margin: 8px auto 12px; position: relative; z-index: 2; }
.go-btn.off { background: var(--red); box-shadow: 0 0 0 8px color-mix(in srgb, var(--red) 18%, transparent), var(--shadow-lg); font-size: 1rem; }
.drive-status { text-align: center; font-weight: 700; margin-bottom: 10px; }
.drive-status small { display: block; color: var(--muted); font-weight: 500; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-strip div { padding: 10px; border-radius: 14px; background: var(--card-2); text-align: center; }
.stat-strip strong { display: block; font-size: 1.1rem; }
.stat-strip span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.request-card { position: absolute; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); background: var(--card); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 16px; animation: up .25s ease; }
@media (min-width: 760px) { .request-card { left: 16px; right: auto; width: 400px; } }
.request-card .rq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.request-card .rq-fare { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.request-card .rq-fare small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: 0; }
.request-ring { margin-left: auto; position: relative; width: 52px; height: 52px; }
.request-ring svg { transform: rotate(-90deg); }
.request-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; }
.rq-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.rq-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.trip-step { display: grid; gap: 10px; }
.big-step { font-size: 1.05rem; }
.swipe-hint { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.pin-entry { display: flex; gap: 8px; justify-content: center; margin: 10px 0; }
.pin-entry input { width: 54px; height: 62px; text-align: center; font-size: 1.6rem; font-weight: 800; border-radius: 14px; border: 2px solid var(--line-2); background: var(--card); color: var(--ink); }
.pin-entry input:focus { outline: none; border-color: var(--brand); }
.wait-timer { font-variant-numeric: tabular-nums; font-weight: 800; }

/* Menu drawer */
.drawer-back { position: fixed; inset: 0; z-index: 900; background: rgba(5,15,10,.45); animation: fade .15s; }
.drawer { position: fixed; z-index: 901; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); background: var(--card); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slidein .2s ease; }
@keyframes slidein { from { transform: translateX(-100%); } }
.drawer-head { padding: calc(22px + env(safe-area-inset-top, 0px)) 20px 18px; background: var(--brand); color: #fff; }
.drawer-head .avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.drawer-head strong { display: block; font-size: 1.1rem; margin-top: 10px; }
.drawer-head span { opacity: .85; font-size: .88rem; }
.drawer nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer nav a { display: flex; align-items: center; gap: 14px; padding: 13px 20px; color: var(--ink); font-weight: 600; }
.drawer nav a:hover { background: var(--card-2); text-decoration: none; }
.drawer nav a .i { color: var(--muted); }
.drawer nav a .tag { margin-left: auto; }
.drawer-foot { padding: 14px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* Wallet */
.wallet-hero { border-radius: 22px; padding: 20px; background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.wallet-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.wallet-hero .lbl { opacity: .85; font-weight: 600; font-size: .88rem; }
.wallet-hero .amt { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 14px; }
.wallet-hero .btn-light { --b: rgba(255,255,255,.16); --bc: #fff; box-shadow: none; }
.tx-amt { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx-amt.plus { color: var(--brand); }
.amount-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.amount-chips button { padding: 12px 0; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.amount-chips button.active { border-color: var(--brand); background: var(--brand-50); }
.net-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.net-pick label { position: relative; }
.net-pick input { position: absolute; opacity: 0; }
.net-pick span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .8rem; cursor: pointer; text-align: center; }
.net-pick input:checked + span { border-color: var(--brand); background: var(--brand-50); }
.net-dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; }
.net-MTN { background: #FFCB05; color: #111; } .net-Telecel { background: #E60000; } .net-AT { background: #0050A0; }

.pass-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); }
.pass-card.active { border-color: var(--gold); background: var(--gold-50); }
.doc-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .thumb { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--card-2); border: 1px solid var(--line); flex: none; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); color: transparent; flex: none; }
.checklist li.done .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.checklist .tick .i { width: 16px; height: 16px; stroke-width: 3; }

/* ================================================================ CONSOLE */
.console { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--card); border-right: 1px solid var(--line); padding: 16px 12px; }
.sidebar-brand { padding: 4px 8px 16px; }
.sidebar-brand:hover { text-decoration: none; }
.sidebar-org { margin: -6px 8px 12px; font-weight: 700; font-size: .88rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sidebar nav { flex: 1; overflow-y: auto; display: grid; gap: 2px; align-content: start; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.sidebar nav a:hover { background: var(--card-2); text-decoration: none; }
.sidebar nav a.active { background: var(--brand-50); color: var(--brand-700); }
:root[data-theme="dark"] .sidebar nav a.active { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sidebar nav a.active { color: var(--brand); } }
.sidebar nav a .i { color: var(--muted); }
.sidebar nav a.active .i { color: var(--brand); }
.sidebar nav .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--amber-50); color: var(--amber); font-size: .74rem; display: grid; place-items: center; }
.sidebar nav .count-bad { background: var(--red); color: #fff; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font-weight: 700; font-size: .9rem; }
.sidebar-user small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.console-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.3rem; margin: 0; flex: 1; }
.topbar-end { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.console-body { padding: 22px 24px 60px; display: grid; gap: 18px; align-content: start; }
.only-mobile { display: none; }
@media (max-width: 960px) {
  .console { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 100; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .only-mobile { display: inline-grid; }
  .topbar { padding: 10px 14px; }
  .console-body { padding: 16px 14px 60px; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand-50); color: var(--brand); flex: none; }
.stat-gold .stat-icon { background: var(--gold-50); color: #9a7300; }
.stat-red .stat-icon { background: var(--red-50); color: var(--red); }
.stat-blue .stat-icon { background: var(--blue-50); color: var(--blue); }
.stat-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.stat-value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: .8rem; color: var(--muted); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cols-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1100px) { .cols-2, .cols-3-1 { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .76rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding: 11px 14px; background: var(--card-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: var(--card-2); }
.table td .sub { display: block; color: var(--muted); font-size: .8rem; }
.table td > .row { flex-wrap: nowrap; white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .input, .filters .select { width: auto; min-height: 40px; padding: 8px 12px; font-size: 14px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--brand); border-color: var(--brand); text-decoration: none; }
.pager { display: flex; justify-content: space-between; padding: 12px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: .92rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 24px; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline .when { color: var(--muted); font-size: .8rem; }

.bars { display: flex; align-items: flex-end; gap: 0; height: calc(var(--h) + 40px); padding-top: 18px; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding: 0 4px; }
.bar i { display: block; width: 100%; max-width: 38px; min-height: 3px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--brand), var(--brand-600)); max-height: var(--h); }
.bar-val { font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; white-space: nowrap; }
.bar-label { font-size: .72rem; color: var(--muted); margin-top: 6px; font-weight: 600; white-space: nowrap; }

/* Dispatch console */
.dispatch { display: grid; grid-template-columns: 360px 1fr; gap: 0; height: calc(100vh - 63px); margin: -22px -24px -60px; }
@media (max-width: 960px) { .dispatch { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; margin: -16px -14px -60px; } }
.dispatch-list { overflow-y: auto; border-right: 1px solid var(--line); background: var(--card); }
.dispatch-map { position: relative; min-height: 360px; }
.dispatch-map #map { position: absolute; inset: 0; }
.dq-head { position: sticky; top: 0; z-index: 2; background: var(--card); padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.dq-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dq-counts div { padding: 8px; border-radius: 10px; background: var(--card-2); text-align: center; }
.dq-counts b { display: block; font-size: 1.1rem; }
.dq-counts span { font-size: .7rem; color: var(--muted); font-weight: 700; }
.dq-item { padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.dq-item:hover, .dq-item.sel { background: var(--card-2); }
.dq-item .top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dq-item .top strong { flex: 1; }
.dq-item .addr { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dq-item.urgent { box-shadow: inset 4px 0 0 var(--red); }
.map-legend { position: absolute; z-index: 5; left: 12px; bottom: 12px; display: flex; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; flex-wrap: wrap; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }

/* Public trip tracking */
.track-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.track-page .map-wrap { position: relative; min-height: 50vh; }
.track-page .map-wrap #map { position: absolute; inset: 0; }
.track-info { max-width: 560px; width: 100%; margin: -40px auto 0; position: relative; z-index: 5; padding: 0 12px 24px; }

@media print { .sidebar, .topbar, .toasts { display: none !important; } .console { display: block; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
