/*
VOICE   A working trade business: plain words, big numbers, nothing decorative that isn't doing a job.
IDEA    The haul ticket and the route sheet: every job reads like a dispatch ticket; the website is a poster of a red box on a truck in front of the Chugach.
PICTURE Website: a drawn scene of a Red Box truck dropping a container. Staff: the dispatch board and route are the picture.
COLOUR  Brand red leads on the website. In staff tools red means "needs attention"; primary actions are ink. Warm paper ground, white cards. Dark is the same at night.
TYPE    Barlow Condensed (the logo's lettering) for titles and big numbers; the system sans for everything else. Labels in sentence case.
*/
/* Barlow Condensed, bundled (assets/fonts, SIL Open Font License) so the site loads no outside fonts. */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }


:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --sunk: #f6f6f7; --raise: #ffffff; --line: #e4e4e7; --line-2: #d0d0d5;
  --ink: #17181b; --ink-2: #45474e; --muted: #6b6d74; --on-ink: #ffffff;
  --red: #c4222b; --red-ink: #a51d25; --red-soft: #fbe9ea; --red-deep: #8f161d;
  /* accent for buttons and highlights; red is kept for warnings and the logo */
  --accent: #17181b; --accent-deep: #000000; --accent-soft: #eeeef0; --on-accent: #ffffff;
  --good: #1f7a45; --good-soft: #e5f3ea; --warn: #8a6d00; --warn-soft: #f8f0cf; --info: #2b5c8a; --info-soft: #e7eff8;
  --sh-1: 0 1px 2px rgba(23, 24, 27, .06); --sh-2: 0 6px 24px -8px rgba(23, 24, 27, .18); --sh-3: 0 24px 60px -18px rgba(23, 24, 27, .35);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --r: 14px; --r-s: 10px;
  --map-land: #f3f1ec; --map-water: #b8d5ea; --map-water-edge: #9cc2de; --map-park: #d5e6c7; --map-park-edge: #c3d9b1; --map-district: #e9e6ee; --map-airport: #e6e4ea; --map-runway: #c6c3cd; --map-river: #a6c9e3;
  --map-hwy: #f7d68d; --map-hwy-casing: #ddb25d; --map-street: #ffffff; --map-street-casing: #d6d6db; --map-label: #2b2b31; --map-label-2: #6b6b74; --map-water-label: #4a7395; --map-halo: #f3f1ec;
}
/* website and customer side: brand red on a cool light ground */
:root[data-brand="red"] {
  --bg: #ffffff; --surface: #ffffff; --sunk: #f6f6f7; --line: #e4e4e7; --line-2: #d0d0d5;
  --accent: #17181b; --accent-deep: #000000; --accent-soft: #eeeef0; --on-accent: #ffffff;
  --warn: #9a5b00; --warn-soft: #fcf0dc;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e0f; --surface: #18181a; --sunk: #131315; --raise: #202023; --line: #27272b; --line-2: #3a3a3f;
  --ink: #f3f3f4; --ink-2: #c8c8cd; --muted: #8d8d94; --on-ink: #111112;
  --red: #ff5f57; --red-ink: #ff8a84; --red-soft: rgba(255, 95, 87, .14); --red-deep: #d9443d;
  --accent: #f3f3f4; --accent-deep: #ffffff; --accent-soft: rgba(255, 255, 255, .08); --on-accent: #111112;
  --good: #8fd3a8; --good-soft: rgba(143, 211, 168, .12); --warn: #f5c04a; --warn-soft: rgba(245, 192, 74, .13); --info: #8fb8ea; --info-soft: rgba(143, 184, 234, .12);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 8px 28px -10px rgba(0, 0, 0, .7); --sh-3: 0 24px 70px -20px rgba(0, 0, 0, .8);
  --map-land: #1c1c1f; --map-water: #0f2436; --map-water-edge: #1a3750; --map-park: #172219; --map-park-edge: #1f3022; --map-district: #222127; --map-airport: #232229; --map-runway: #3b3a43; --map-river: #1c3c58;
  --map-hwy: #6b5b3e; --map-hwy-casing: #2a2620; --map-street: #37373d; --map-street-casing: #242427; --map-label: #dcdce0; --map-label-2: #9a9aa3; --map-water-label: #6f97bb; --map-halo: #1c1c1f;
}
/* customer looks being tried (customer side only) */
:root[data-look="rings"] {
  color-scheme: dark;
  --bg: #0e0e0f; --surface: #18181a; --sunk: #131315; --raise: #202023; --line: #27272b; --line-2: #3a3a3f;
  --ink: #f3f3f4; --ink-2: #c8c8cd; --muted: #8d8d94; --on-ink: #111112;
  --accent: #f3f3f4; --accent-deep: #ffffff; --accent-soft: rgba(255, 255, 255, .08); --on-accent: #111112;
  --red: #ff5f57; --red-ink: #ff8a84; --red-soft: rgba(255, 95, 87, .14); --red-deep: #d9443d;
  --good: #8fd3a8; --good-soft: rgba(143, 211, 168, .12); --warn: #f5c04a; --warn-soft: rgba(245, 192, 74, .13); --info: #8fb8ea; --info-soft: rgba(143, 184, 234, .12);
  --r: 20px;
}
:root[data-look="rings"] { --r: 22px; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html { overflow-x: hidden; overscroll-behavior-x: none; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.has-sheet { overflow: hidden; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.lead { font-size: 16px; color: var(--ink-2); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-end { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--ink) 55%, transparent); outline-offset: 2px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible, input:focus-visible { outline: none; }

/* ---------- titles ---------- */
.title { font: 700 clamp(32px, 4vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.h2 { font: 700 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.h3 { font: 700 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .015em; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); }
.big { font: 700 40px/.9 var(--display); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font-weight: 650; font-size: 14px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .12s, border-color .12s, transform .06s; }
.btn:hover { background: var(--sunk); border-color: color-mix(in srgb, var(--ink) 30%, var(--line-2)); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--surface)); border-color: transparent; }
.btn-red { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-red:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); border-color: transparent; }
.btn-soft { background: var(--sunk); border-color: var(--line); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: var(--r-s); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.icon-btn.is-line { border-color: var(--line-2); background: var(--surface); }
.link { border: 0; padding: 0; background: none; color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- badges and meters ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--sunk); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 650; white-space: nowrap; }
.badge.is-good { background: var(--good-soft); border-color: transparent; color: var(--good); }
.badge.is-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.badge.is-bad { background: var(--red-soft); border-color: transparent; color: var(--red-ink); }
.badge.is-info { background: var(--info-soft); border-color: transparent; color: var(--info); }
.badge.is-ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.is-good { background: var(--good); } .dot.is-warn { background: var(--warn); } .dot.is-bad { background: var(--red); } .dot.is-info { background: var(--info); }
.meter { display: block; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--good); transition: width .3s ease; }
.meter.is-warn > span { background: var(--warn); } .meter.is-bad > span { background: var(--red); } .meter.is-ink > span { background: var(--ink); } .meter.is-info > span { background: var(--info); }

/* ---------- cards, lists, key-values ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font: 700 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: .015em; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li + li { border-top: 1px solid var(--line); }
.li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
button.li, a.li { width: 100%; border: 0; background: none; text-align: left; text-decoration: none; cursor: pointer; }
button.li:hover, a.li:hover { background: var(--sunk); }
.li-main { flex: 1; display: grid; gap: 2px; }
.li-title { font-weight: 650; }
.li-sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.kv { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 550; }
.stat { display: grid; gap: 6px; padding: 16px 18px; }
.stat-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-value { font: 700 36px/.9 var(--display); font-variant-numeric: tabular-nums; }
.stat-note { font-size: 13px; color: var(--muted); }
.stat-note.is-bad { color: var(--red-ink); } .stat-note.is-good { color: var(--good); } .stat-note.is-warn { color: var(--warn); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stats > .stat + .stat { border-left: 1px solid var(--line); }
.empty { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); font-size: 15px; }
.empty .btn { margin-top: 8px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-s); background: var(--sunk); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.note .ic { margin-top: 1px; color: var(--muted); }
.note.is-warn { background: var(--warn-soft); border-color: transparent; color: var(--ink); } .note.is-warn .ic { color: var(--warn); }
.note.is-bad { background: var(--red-soft); border-color: transparent; color: var(--ink); } .note.is-bad .ic { color: var(--red-ink); }
.note.is-good { background: var(--good-soft); border-color: transparent; color: var(--ink); } .note.is-good .ic { color: var(--good); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field > span, .label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 12.5px; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font-size: 16px; }
.textarea { min-height: 84px; resize: vertical; line-height: 1.4; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.wide { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-weight: 650; font-size: 13px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 0 12px; border: 0; background: none; color: var(--muted); font-weight: 650; font-size: 14px; white-space: nowrap; cursor: pointer; text-decoration: none; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"], .tab.is-on { color: var(--ink); }
.tab[aria-selected="true"]::after, .tab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { font-size: 12.5px; font-weight: 650; color: var(--muted); background: var(--sunk); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tbody tr.is-link { cursor: pointer; }
.table tbody tr.is-link:hover { background: var(--sunk); }
.table tfoot td, .table tfoot th { font-weight: 700; border-top: 1px solid var(--line-2); border-bottom: 0; }

/* ---------- sheet + toast + menu ---------- */
#sheet { position: fixed; inset: 0; z-index: 60; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(12, 12, 14, .42); opacity: 0; transition: opacity .18s; }
.sheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--sh-3); transform: translateX(24px); opacity: 0; transition: transform .2s ease, opacity .18s; }
#sheet.is-wide .sheet-panel { width: min(760px, 100%); }
#sheet.is-open .sheet-scrim { opacity: 1; } #sheet.is-open .sheet-panel { transform: none; opacity: 1; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font: 700 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.sheet-body { flex: 1; overflow-y: auto; padding: 20px 22px 28px; overscroll-behavior: contain; }
/* centered pop-up: for short menus and forms */
#sheet.is-center .sheet-scrim { background: rgba(12, 12, 14, .55); }
#sheet.is-center .sheet-panel { top: 50%; left: 50%; right: auto; bottom: auto; width: min(440px, calc(100% - 32px)); max-height: min(640px, 88dvh); border-radius: 18px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
#sheet.is-center.is-wide .sheet-panel { width: min(620px, calc(100% - 32px)); max-height: min(760px, 88dvh); }
#sheet.is-center.is-open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
#sheet.is-center .sheet-body { padding: 18px 20px 22px; }
@media (max-width: 640px) {
  .sheet-panel { top: auto; left: 0; width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(30px); }
  #sheet.is-wide .sheet-panel { width: 100%; }
}
#toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--on-ink); box-shadow: var(--sh-3); font-weight: 600; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s ease; }
#toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#toast button { border: 0; background: none; color: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
.area-driver #toast, body:has(.area-driver) #toast { bottom: 92px; }
.menu-wrap { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 250px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--raise); box-shadow: var(--sh-3); }
.menu-pop[hidden] { display: none; }
.menu-pop .mi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-weight: 600; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.menu-pop .mi:hover { background: var(--sunk); }
.menu-pop .mi[aria-current="true"] { font-weight: 750; }
.menu-pop .mi[aria-current="true"]::after { content: '✓'; margin-left: auto; }
.menu-pop hr { margin: 6px; border: 0; border-top: 1px solid var(--line); }
.menu-pop .mi-label { padding: 8px 12px 4px; font-size: 12px; font-weight: 650; color: var(--muted); }

/* ---------- shared brand bits ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo.is-chip img { height: auto; width: 74px; padding: 6px 7px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 12.5px; font-weight: 750; flex: none; }
.avatar.is-red { background: var(--accent); color: #fff; }
.demo-line { font-size: 12.5px; color: var(--muted); }

/* ---------- map (offline drawn Anchorage + Mat-Su, real tiles when allowed) ---------- */
.map { position: relative; min-height: 320px; border-radius: var(--r); overflow: hidden; background: var(--map-land); border: 1px solid var(--line); z-index: 0; }
.map.leaflet-container { font-family: var(--font); background: var(--map-land); }
.leaflet-pane .rb-water { fill: var(--map-water) !important; stroke: var(--map-water-edge) !important; }
.leaflet-pane .rb-land { fill: var(--map-land) !important; stroke: var(--map-water-edge) !important; }
.leaflet-pane .rb-park { fill: var(--map-park) !important; stroke: var(--map-park-edge) !important; }
.leaflet-pane .rb-base-land { fill: var(--map-district) !important; stroke: none !important; }
.leaflet-pane .rb-airport { fill: var(--map-airport) !important; stroke: var(--map-runway) !important; stroke-opacity: .5; }
.leaflet-pane .rb-runway { stroke: var(--map-runway) !important; }
.leaflet-pane .rb-river { fill: none !important; stroke: var(--map-river) !important; }
.leaflet-pane .rb-road { stroke: var(--map-hwy) !important; }
.leaflet-pane .rb-road-casing { stroke: var(--map-hwy-casing) !important; }
.leaflet-pane .rb-street { stroke: var(--map-street) !important; }
.leaflet-pane .rb-street-casing { stroke: var(--map-street-casing) !important; }
.rb-z-far .rb-street, .rb-z-far .rb-street-casing, .rb-z-far .rb-runway { display: none; }
.rb-z-far .leaflet-pane .rb-road { stroke-width: 2.5px; } .rb-z-far .leaflet-pane .rb-road-casing { stroke-width: 4.5px; }
.rb-z-mid .leaflet-pane .rb-street { stroke-width: 1.6px; } .rb-z-mid .leaflet-pane .rb-street-casing { stroke-width: 3px; }
.has-real-tiles .leaflet-rbBase-pane, .has-real-tiles .leaflet-rbRoads-pane, .has-real-tiles .leaflet-rbLabels-pane { display: none; }
.rb-map-label { background: none !important; border: 0 !important; width: auto !important; height: auto !important; }
.rb-map-label span { display: inline-block; transform: translate(-50%, -50%) rotate(var(--rb-rot, 0deg)); white-space: nowrap; color: var(--map-label); font-size: 11.5px; font-weight: 600; text-shadow: 0 0 3px var(--map-halo), 0 0 3px var(--map-halo), 0 0 6px var(--map-halo); pointer-events: none; }
.rb-map-label.is-city span { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.rb-map-label.is-minor span, .rb-map-label.is-place span { font-size: 10.5px; color: var(--map-label-2); }
.rb-map-label.is-hood span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--map-label-2); }
.rb-map-label.is-district span { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.rb-map-label.is-road span { font-size: 10px; color: var(--map-label-2); }
.rb-map-label.is-water span { color: var(--map-water-label); font-style: italic; font-size: 13px; }
.rb-map-label.is-park span { color: color-mix(in srgb, var(--map-label) 50%, transparent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.rb-z-far .rb-map-label.is-hood, .rb-z-far .rb-map-label.is-road, .rb-z-far .rb-map-label.is-place:not(.is-district) { display: none; }
.rb-z-mid .rb-map-label.is-hood { display: none; } .rb-z-near .rb-map-label.is-city { display: none; }
.leaflet-control-zoom { border: 1px solid var(--line) !important; border-radius: 10px !important; overflow: hidden; box-shadow: var(--sh-2) !important; }
.leaflet-control-zoom a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 80%, transparent) !important; color: var(--muted) !important; font-size: 10px !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--raise); color: var(--ink); box-shadow: var(--sh-3); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 12px 14px; font-size: 13.5px; line-height: 1.45; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.pin { display: grid; place-items: center; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); font: 800 11px/1 var(--font); color: #fff; }
.pin > b { transform: rotate(45deg); }
.pin.is-box { background: var(--accent); }
.pin.is-stop { background: var(--ink); }
.pin.is-done { background: var(--good); }
.pin.is-dump { background: #6d5a3a; border-radius: 6px; transform: none; } .pin.is-dump > b { transform: none; }
.pin.is-yard { background: #111; border-radius: 8px; transform: none; } .pin.is-yard > b { transform: none; }
.pin.is-truck { background: var(--info); border-radius: 8px; transform: none; } .pin.is-truck > b { transform: none; }
