/* Llega Ya — estilos de la app (mobile first) */
:root {
  --navy: #0b1f4d;
  --navy-2: #12306e;
  --blue: #1d5bea;
  --blue-50: #eaf1ff;
  --yellow: #ffc727;
  --yellow-50: #fff6d6;
  --green: #16a34a;
  --green-50: #e7f8ee;
  --red: #e11d48;
  --red-50: #ffe9ee;
  --orange: #f97316;
  --orange-50: #fff1e6;
  --gray-50: #f5f7fb;
  --gray-100: #eceff5;
  --gray-200: #dde2ec;
  --gray-400: #98a2b3;
  --gray-600: #5b6577;
  --text: #121a2c;
  --bg: #f3f6fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(16, 32, 77, .07);
  --nav-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.4;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
small, .muted { color: var(--gray-600); }
.hidden { display: none !important; }

/* ---------- Layout ---------- */
.app { max-width: 760px; margin: 0 auto; padding: 0 14px calc(var(--nav-h) + var(--safe-b) + 24px); }
.app.wide { max-width: 1100px; }
.topbar {
  position: sticky; top: 0; z-index: 30; background: var(--bg);
  display: flex; align-items: center; gap: 10px; padding: 12px 0 10px;
}
.topbar .title { flex: 1; min-width: 0; }
.topbar .title h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sub { font-size: 13px; color: var(--gray-600); display: flex; gap: 6px; align-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text); cursor: pointer; position: relative;
}
.icon-btn .badge {
  position: absolute; top: -3px; right: -3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 10px; padding: 1px 6px;
}
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.sm { width: 18px; height: 18px; }

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff;
  border-top: 1px solid var(--gray-100); padding-bottom: var(--safe-b);
  box-shadow: 0 -4px 18px rgba(16, 32, 77, .06);
}
.bottom-nav .inner { max-width: 760px; margin: 0 auto; display: flex; height: var(--nav-h); }
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--gray-600); font-size: 12px; font-weight: 500;
}
.bottom-nav a.active { color: var(--blue); font-weight: 700; }
.bottom-nav a.active .icon { stroke-width: 2.4; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.card.flat { box-shadow: none; border: 1px solid var(--gray-100); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.section-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-600); margin: 18px 2px 8px; }
.grid { display: grid; gap: 10px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-4 { grid-template-columns: 1fr 1fr; }

.stat { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.stat .label { font-size: 13px; color: var(--gray-600); }
.stat .value { font-size: 22px; font-weight: 800; margin-top: 2px; }
.stat.yellow { background: var(--yellow-50); box-shadow: none; }
.stat.blue { background: var(--blue-50); box-shadow: none; }
.stat.green { background: var(--green-50); box-shadow: none; }
.stat.red { background: var(--red-50); box-shadow: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-100); margin: 12px -16px -16px; }
.stat-row > div { padding: 12px 16px; }
.stat-row > div + div { border-left: 1px solid var(--gray-100); }
.stat-row .value { font-size: clamp(17px, 5vw, 22px); font-weight: 800; white-space: nowrap; }
.stat-row .muted { font-size: 13px; }

.hero-amount { white-space: nowrap; font-size: clamp(28px, 8.5vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.pill-change { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; background: var(--green-50); color: var(--green); font-weight: 700; padding: 4px 10px; border-radius: 20px; font-size: 13px; }
.pill-change.down { background: var(--red-50); color: var(--red); }

/* finanzas tiles */
.money-tile { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.money-tile .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.money-tile .amount { font-size: 22px; font-weight: 800; }
.money-tile.green { background: var(--green-50); } .money-tile.green .ic { background: var(--green); } .money-tile.green .lbl { color: var(--green); }
.money-tile.red { background: var(--red-50); } .money-tile.red .ic { background: var(--red); } .money-tile.red .lbl { color: var(--red); }
.money-tile.blue { background: var(--blue-50); } .money-tile.blue .ic { background: var(--blue); } .money-tile.blue .lbl { color: var(--blue); }
.money-tile .lbl { font-size: 13px; font-weight: 600; }

/* ---------- Tabs / segmented ---------- */
.segmented { display: flex; background: #fff; border-radius: 12px; padding: 4px; gap: 4px; box-shadow: var(--shadow); margin-bottom: 12px; }
.segmented a, .segmented button {
  flex: 1; text-align: center; padding: 9px 6px; border-radius: 9px; font-weight: 600; color: var(--gray-600);
  border: 0; background: transparent; font-size: 14px; cursor: pointer; font-family: inherit;
}
.segmented .active { background: var(--blue); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 12px; border-radius: 20px; background: #fff; color: var(--gray-600); font-size: 13px; font-weight: 600; border: 1px solid var(--gray-200); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip b { margin-left: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px;
  padding: 12px 16px; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
  background: var(--blue); color: #fff; text-align: center; line-height: 1.1;
}
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.green { background: var(--green); }
.btn.red { background: var(--red); }
.btn.dark { background: var(--navy); }
.btn.light { background: #fff; color: var(--text); border: 1px solid var(--gray-200); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.wa { background: #25d366; color: #fff; }
.btn.warn { background: #8a5a00; color: #fff; }
.btn.outline-red { background: var(--red-50); color: var(--red); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.fab {
  position: fixed; right: max(16px, calc(50% - 364px)); bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 35;
  width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(11, 31, 77, .28);
}
.fab .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions > * { flex: 1; }

/* ---------- Lists ---------- */
.list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: var(--text); }
.list-item + .list-item { border-top: 1px solid var(--gray-100); }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .meta { font-size: 13px; color: var(--gray-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .right { text-align: right; flex: none; }
.num {
  width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.num.gray { background: var(--gray-400); }
.num.green { background: var(--green); }
.num.red { background: var(--red); }
.num.orange { background: var(--orange); }
.chev { color: var(--gray-400); }

.badge-st { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-pendiente { background: var(--blue-50); color: var(--blue); }
.st-entregado { background: var(--green-50); color: var(--green); }
.st-no_responde { background: var(--orange-50); color: var(--orange); }
.st-rechazado { background: var(--red-50); color: var(--red); }
.st-cancelado { background: var(--gray-100); color: var(--gray-600); }
.st-borrador { background: var(--gray-100); color: var(--gray-600); }
.st-asignada { background: var(--blue-50); color: var(--blue); }
.st-en_curso { background: var(--yellow-50); color: #9a6b00; }
.st-finalizada { background: var(--green-50); color: var(--green); }

.order-cards { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.order-cards::-webkit-scrollbar { display: none; }
.order-card { flex: none; width: 170px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.order-card .amt { font-weight: 800; font-size: 17px; margin: 6px 0; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 12px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px 13px; font-size: 16px;
  font-family: inherit; background: #fff; color: var(--text); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 234, .15); }
textarea { min-height: 90px; resize: vertical; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.input-icon input { padding-left: 40px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); font-weight: 500; }
.check input { width: 20px; height: 20px; }
.error-text { color: var(--red); font-size: 13px; margin-top: 4px; }
.date-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--blue-50); color: var(--blue); font-weight: 700;
  border-radius: 12px; padding: 8px 12px; position: relative; font-size: 14px; white-space: nowrap;
}
.date-pill input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.alert.ok { background: var(--green-50); color: #0f6b33; }
.alert.err { background: var(--red-50); color: #9f1239; }
.alert.info { background: var(--blue-50); color: var(--navy-2); }
.alert.warn { background: var(--yellow-50); color: #7a5300; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 60;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  max-width: calc(100% - 32px);
}
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: var(--orange); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 5px; }

/* ---------- Map ---------- */
.map { height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--gray-100); position: relative; z-index: 1; }
.map.tall { height: 420px; }
.map.small { height: 230px; }
.map-marker {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.map-marker.done { background: var(--gray-400); }
.map-marker.current { background: var(--orange); width: 36px; height: 36px; font-size: 15px; }
.map-marker.home { background: var(--navy); }
.map-marker.me { background: var(--yellow); color: var(--navy); }
.route-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin: -26px 12px 12px; position: relative; z-index: 5; text-align: center; padding: 10px 4px; }
.route-stats .value { font-size: 20px; font-weight: 800; }
.route-stats .label { font-size: 11px; color: var(--gray-600); }
.route-stats > div + div { border-left: 1px solid var(--gray-100); }

/* ---------- Delivery (modo oscuro "Mi ruta") ---------- */
body.driver { background: #0b1530; color: #eef2ff; }
body.driver .topbar { background: #0b1530; }
body.driver .muted, body.driver small { color: #9aa8cc; }
body.driver .card, body.driver .list { background: #13214a; box-shadow: none; color: #eef2ff; }
body.driver .list-item { color: #eef2ff; }
body.driver .list-item + .list-item { border-color: #1f2f60; }
body.driver .list-item .meta { color: #9aa8cc; }
body.driver .segmented { background: #13214a; box-shadow: none; }
body.driver .segmented a, body.driver .segmented button { color: #9aa8cc; }
body.driver .segmented .active { background: var(--blue); color: #fff; }
body.driver .bottom-nav { background: #0f1b3d; border-color: #1f2f60; }
body.driver .bottom-nav a { color: #9aa8cc; }
body.driver .bottom-nav a.active { color: #fff; }
body.driver .icon-btn { background: #13214a; color: #eef2ff; box-shadow: none; }
body.driver .section-title { color: #9aa8cc; }
body.driver .route-stats { background: #fff; color: var(--text); }
body.driver .stat { background: #13214a; box-shadow: none; }
body.driver .stat .label { color: #9aa8cc; }
body.driver input, body.driver select, body.driver textarea { background: #0f1b3d; border-color: #263a74; color: #fff; }
body.driver label { color: #9aa8cc; }
body.driver .btn.light { background: #13214a; color: #eef2ff; border-color: #263a74; }
body.driver .money-tile.green { background: rgba(22,163,74,.15); }
body.driver .money-tile.red { background: rgba(225,29,72,.15); }
body.driver .money-tile.blue { background: rgba(29,91,234,.2); }
body.driver .money-tile .lbl { color: #cdd6f4; }
body.driver .alert.ok { background: rgba(22,163,74,.2); color: #b7f5cd; }
body.driver .alert.err { background: rgba(225,29,72,.2); color: #ffc4d0; }
body.driver .alert.info { background: rgba(29,91,234,.2); color: #cfe0ff; }
body.driver .alert.warn { background: rgba(255,199,39,.15); color: #ffe39a; }
body.driver .chip { background: #13214a; border-color: #263a74; color: #cdd6f4; }
body.driver .chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.current-stop { border: 2px solid var(--blue); }
.current-stop .collect { color: #4ade80; font-weight: 800; font-size: 20px; }
.stop-actions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.stop-actions .btn { padding: 14px 6px; font-size: 14px; }
.btn-noresp { background: #5c3d07; color: #ffd27a; }
.btn-reject { background: #5a1023; color: #ff9fb3; }
.mini-btn {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: #1f2f60; color: #fff; border: 0; cursor: pointer; flex: none;
}
.mini-btn.green { background: #13532e; color: #8ef0b2; width: auto; padding: 0 10px; font-weight: 700; font-size: 12px; gap: 4px; }

/* ---------- Landing / auth ---------- */
body.landing { background: var(--navy); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; font-style: italic; letter-spacing: -.02em; }
.brand .ya { color: var(--yellow); }
.brand img { width: 44px; height: 44px; }
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 18px; max-width: 440px; margin: 0 auto; }
.auth-card { background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.auth-card h1 { margin-bottom: 4px; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.type-switch label {
  border: 2px solid var(--gray-200); border-radius: 14px; padding: 12px; cursor: pointer; text-align: center; color: var(--text); margin: 0;
}
.type-switch input { display: none; }
.type-switch input:checked + span { color: var(--blue); }
.type-switch label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.type-switch .icon { width: 28px; height: 28px; display: block; margin: 0 auto 4px; }

.land-hero { padding: 26px 18px 10px; max-width: 1100px; margin: 0 auto; }
.land-hero h1 { font-size: 40px; line-height: 1.05; margin: 22px 0 10px; font-weight: 900; }
.land-hero h1 .y { color: var(--yellow); }
.land-hero p.lead { font-size: 18px; color: #cdd6f4; margin: 0 0 20px; }
.tag { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; letter-spacing: .05em; padding: 6px 14px; border-radius: 20px; font-size: 13px; }
.tag.y { background: var(--yellow); color: var(--navy); }
.land-grid { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; padding: 10px 18px; }
@media (min-width: 820px) { .land-grid { grid-template-columns: 1fr 1fr; } .land-hero h1 { font-size: 56px; } }
.land-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px; }
.land-card h2 { font-size: 22px; margin: 10px 0 12px; }
.land-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.land-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: #e3e9fb; }
.land-card li .icon { color: var(--yellow); }
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 1100px; margin: 10px auto; padding: 0 18px; }
@media (min-width: 820px) { .feature-row { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border-radius: 16px; padding: 14px; }
.feature .circle { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--yellow); flex: none; }
.plans { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; padding: 10px 18px 30px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: #fff; color: var(--text); border-radius: 20px; padding: 20px; }
.plan .price { font-size: 34px; font-weight: 900; }
.plan ul { padding: 0; list-style: none; margin: 10px 0 0; }
.plan li { padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.plan li .icon { color: var(--green); }
.cta-big { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--yellow); color: var(--navy); border-radius: 22px; padding: 18px 22px; font-weight: 900; font-size: 22px; }
.cta-big small { display: block; font-weight: 500; font-size: 15px; color: var(--navy); }

/* paywall */
.paywall { text-align: center; }
.paywall .lock { width: 70px; height: 70px; border-radius: 50%; background: var(--red-50); color: var(--red); display: flex; align-items: center; justify-content: center; margin: 4px auto 12px; }
.plan-option { display: flex; align-items: center; gap: 12px; border: 2px solid var(--gray-200); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; text-align: left; color: var(--text); font-weight: 400; font-size: 15px; }
.plan-option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.plan-option input { width: 22px; height: 22px; }
.plan-option .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; }

/* tables (admin) */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; color: var(--gray-600); letter-spacing: .03em; }

.sparkline { width: 100%; height: 70px; display: block; }
.empty { text-align: center; padding: 30px 16px; color: var(--gray-600); }
.empty .icon { width: 44px; height: 44px; color: var(--gray-400); margin-bottom: 8px; }
body.driver .empty { color: #9aa8cc; }
.drag-handle { cursor: grab; color: var(--gray-400); touch-action: none; padding: 4px; }
.sortable-ghost { opacity: .4; }
.install-banner { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.install-banner img { width: 40px; height: 40px; border-radius: 10px; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--gray-200); }
.kv:last-child { border-bottom: 0; }
body.driver .kv { border-color: #263a74; }
.text-green { color: var(--green); } .text-red { color: var(--red); } .text-blue { color: var(--blue); } .text-orange { color: var(--orange); }
body.driver .text-green { color: #4ade80; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; } .mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 12px; }
.center { text-align: center; } .right { text-align: right; } .bold { font-weight: 700; } .nowrap { white-space: nowrap; }
.flex { display: flex; align-items: center; gap: 8px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: start; }
  .split .map.tall { position: sticky; top: 70px; height: calc(100vh - 170px); }
}
