/* My Taxi Ride website - shared styles.
   Look: the phase 4 prototype (navy ink, signal orange, cool off-white), kept as ONE light theme on purpose.
   Layout: a centered 1180px column; full-width bands alternate paper / white / navy; most sections are a
   two-column split (copy + a product illustration) that stacks into one column below 940px. */
:root {
  color-scheme: light;
  /* colour */
  --navy: #13233F;
  --navy-raised: #1B2E50;
  --navy-deep: #0E1A30;
  --navy-line: #2A3E63;
  --orange: #C2410C;
  --orange-dark: #9A3412;
  --orange-soft: #FDBA74;
  --orange-tint: #FFF7ED;
  --paper: #F5F6F4;
  --white: #FFFFFF;
  --line: #DDE2E0;
  --line-strong: #C9D1CE;
  --map: #E6ECE8;
  --ink: #13233F;
  --ink-2: #33415A;
  --ink-3: #4A5568;
  --ink-4: #8A94A6;
  --on-navy: #F2F5FA;
  --on-navy-2: #D3DBE8;
  --on-navy-3: #AEB9CC;
  --good-bg: #DCFCE7;
  --good: #166534;
  --good-strong: #15803D;
  --info-bg: #DBEAFE;
  --info: #1E40AF;
  --warn-bg: #FEF3C7;
  --warn: #92400E;
  --error: #B42318;
  /* type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* layout */
  --wrap: 1180px;
  --gutter: 24px;
  --pill: 999px;
  --shadow: 0 12px 32px rgba(19, 35, 63, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
p { margin: 0; }
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 2px; }
strong { font-weight: 700; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }
.page {
  background: var(--paper); color: var(--ink);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; /* short pages keep the footer at the bottom */
}
.page > main { flex: 1 0 auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- type ---------- */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 86%;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.25rem, 1.35rem + 3.7vw, 3.5rem); line-height: 1.03; }
.h2 { font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.5rem); line-height: 1.08; }
.h3 { font-size: 21px; line-height: 1.2; font-weight: 700; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--muted { color: var(--ink-3); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.copy { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.small { font-size: 15px; color: var(--ink-3); }
.ticks {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 16px; line-height: 1.5;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--paper); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--on-navy-2); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-raised); color: var(--white); }
.btn--lg { min-height: 48px; padding: 0 26px; font-size: 16px; font-weight: 700; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
/* the My Taxi Ride logo (from the old mytaxiride.com; transparent PNG at 2x) */
.brand__logo { display: block; width: auto; height: 44px; }
.site-nav { display: flex; gap: 22px; margin-left: 12px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--orange); text-decoration: underline; }
.site-header__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.lang-switch__current { color: var(--ink); }
.lang-switch__sep { color: var(--ink-4); }
.lang-switch a { color: var(--ink-3); text-decoration: none; }
.lang-switch a:hover { color: var(--orange); text-decoration: underline; }
.back-link { font-size: 15px; font-weight: 600; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); cursor: pointer;
}
.mobile-nav { border-top: 1px solid var(--line); }
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; padding-block: 8px 18px; font-size: 17px; font-weight: 600; }
.mobile-nav__list a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.mobile-nav__list .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .site-header--full .site-nav,
  .site-header--full .lang-switch,
  .site-header--full .site-header__cta { display: none; }
  .site-header--full .menu-btn { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}
/* "Start free trial" next to "Book a demo": the bar has room for both, with the logo at full size, from about
   1010px in English and 1070px in Spanish (measured). Below that it stays in the phone menu (up to 900px) and in
   each page's own calls to action. */
@media (max-width: 1023px) {
  .site-header--full .site-header__trial { display: none; }
}
@media (max-width: 1079px) {
  .page[lang="es"] .site-header--full .site-header__trial { display: none; }
}
@media (max-width: 420px) {
  .brand__logo { height: 38px; }
}

/* ---------- sections ---------- */
.section { padding-block: 80px; }
.section--tight { padding-block: 72px; }
.band { background: var(--white); border-block: 1px solid var(--line); }
.band--navy { background: var(--navy); color: var(--on-navy); border: 0; }
.band--navy .h2 { color: var(--white); }
.band--navy .eyebrow { color: var(--orange-soft); }
.band--navy .copy, .band--navy .lead { color: var(--on-navy-2); }
.band--navy .ticks { color: var(--on-navy); }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack--lg { gap: 22px; }
.split { display: grid; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse > .split__media { order: -1; }
  .split--pricing { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: 40px; }
  .split--demo { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; }
}
@media (max-width: 600px) {
  .section { padding-block: 56px; }
  .section--tight { padding-block: 52px; }
  .split { gap: 32px; }
}

.hero { padding-block: 64px 48px; }
.hero__price { font-size: 15px; color: var(--ink-3); }
.hero__price strong { color: var(--ink); }
@media (max-width: 600px) { .hero { padding-block: 40px 36px; } }

.strip__list {
  list-style: none; margin-block: 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  padding-block: 18px; font-size: 15px; font-weight: 600;
}
.strip__list li { display: flex; align-items: center; gap: 8px; }
.strip__list svg { color: var(--orange); flex: none; }

.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.figure figcaption { font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.figure--center figcaption { text-align: center; }
.band--navy .figure figcaption { color: var(--on-navy-3); }

/* ---------- "to confirm" tags (team preview only; the public build refuses to run while any remain) ---------- */
.tbc {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px;
  margin-left: 6px; padding: 1px 8px;
  border: 1px dashed var(--orange); border-radius: 6px;
  background: var(--orange-tint); color: var(--orange-dark);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.5;
  vertical-align: middle; letter-spacing: 0;
}
.tbc b { text-transform: uppercase; letter-spacing: 0.04em; }
.tbc--block { align-self: flex-start; margin-left: 0; }
.band--navy .tbc, .site-footer .tbc { border-color: var(--orange-soft); background: transparent; color: var(--orange-soft); }
.tbc-note { background: var(--orange-tint); border-bottom: 1px dashed var(--orange); color: var(--orange-dark); font-size: 14px; }
.tbc-note p { padding-block: 10px; }
.hide-tbc .tbc, .hide-tbc .tbc-note { display: none; }

/* ---------- Spanish pages: one small line while a native speaker reviews the translation (ships publicly) ---------- */
.review-note { background: var(--paper); border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.review-note p { padding-block: 6px; }

/* ---------- team-preview bar (added by site.js when the page is a preview build) ---------- */
.preview-bar { background: var(--navy-deep); color: var(--on-navy); font-size: 14px; line-height: 1.45; }
.preview-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 8px; }
.preview-bar__inner p { flex: 1 1 280px; min-width: 0; }
.preview-bar__btn {
  font: inherit; font-weight: 600; color: var(--navy); background: var(--orange-soft);
  border: 0; border-radius: var(--pill); padding: 6px 14px; cursor: pointer;
}
.preview-bar__btn:hover { background: var(--white); }

/* ---------- product illustrations (decorative; every one is aria-hidden and captioned as made-up data) ---------- */
.pill { display: inline-flex; align-items: center; border-radius: var(--pill); padding: 3px 10px; font-weight: 600; white-space: nowrap; }
.pill--good { background: var(--good-bg); color: var(--good); }
.pill--info { background: var(--info-bg); color: var(--info); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; border-radius: 8px; padding: 6px 12px; font-size: 13px; }
.chip--solid { background: var(--navy); color: var(--white); font-weight: 600; }
.chip--ghost { border: 1px solid var(--line); color: var(--ink); }
.chip--lg { padding: 8px 14px; }

/* hero: dispatch board */
.mock-board {
  background: var(--navy); color: var(--on-navy); border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-board__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.mock-board__title { font-weight: 600; }
.mock-board__clock { color: var(--on-navy-3); }
.call-card {
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.call-card__label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange);
}
.call-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.call-card__number { font-size: 20px; font-weight: 600; }
.call-card__meta { font-size: 14px; color: var(--ink-3); }
.call-card .chip-row { margin-top: 4px; }
.trip-list { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.trip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  background: var(--navy-raised); border-radius: 10px; padding: 10px 12px;
}
.trip__time { color: var(--on-navy-3); }
.trip__route { flex: 1 1 120px; min-width: 0; }

/* product: caller card */
.caller-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.caller-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); }
.caller-card__name { font-family: var(--font-display); font-stretch: 86%; font-size: 22px; font-weight: 700; }
.caller-card__note { font-size: 14px; color: var(--ink-2); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--paper); border-radius: 10px; padding: 10px; min-width: 0; }
.stat__label { font-size: 12px; color: var(--ink-3); }
.stat__value { font-size: 18px; font-weight: 600; }
.stat__value--text { font-size: 16px; }

/* call center: call queue */
.queue {
  background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--on-navy);
}
.queue__bases { display: flex; flex-wrap: wrap; gap: 8px; }
.base-chip { border-radius: var(--pill); padding: 4px 12px; }
.base-chip--on { background: var(--white); color: var(--navy); font-weight: 600; }
.base-chip--off { border: 1px solid var(--navy-line); color: var(--on-navy-2); }
.queue__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  background: var(--navy-raised); border-radius: 10px; padding: 10px 12px;
}
.lang-badge { border-radius: 6px; padding: 2px 8px; font-weight: 700; }
.lang-badge--es { background: var(--orange); color: var(--white); }
.lang-badge--en { background: var(--on-navy); color: var(--navy); }
.queue__text { flex: 1 1 140px; min-width: 0; }
.queue__time { color: var(--on-navy-3); }

/* dispatch: driver offers */
.offers { display: flex; flex-direction: column; gap: 10px; }
.offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.offer--win { border: 2px solid var(--good-strong); }
.offer__car { font-weight: 600; width: 64px; flex: none; }
.offer__info { flex: 1 1 160px; min-width: 0; font-size: 14px; color: var(--ink-2); }
.offer__status { font-size: 13px; color: var(--ink-3); }
.offer .pill { font-size: 13px; font-weight: 700; }

/* rider and driver apps: phone frames */
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.phone {
  width: clamp(150px, 40vw, 220px); aspect-ratio: 1 / 2; max-width: 100%;
  border: 8px solid var(--navy); border-radius: 34px; background: var(--white); color: var(--ink);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 10px;
  font-size: clamp(11px, 2.9vw, 13px); line-height: 1.35;
}
.phone--wide { width: clamp(160px, 46vw, 240px); }
.phone--dark { background: var(--navy-deep); color: var(--on-navy); gap: 12px; }
.phone__brand { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: 15px; }
.phone__field { border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--ink-3); }
.phone__option { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.phone__option--on { border: 1.5px solid var(--navy); }
.phone__option .mono { font-weight: 600; }
.phone__option-note { color: var(--ink-3); }
.phone__cta { margin-top: auto; background: var(--orange); color: var(--white); border-radius: var(--pill); padding: 11px; text-align: center; font-weight: 700; font-size: 14px; }
.phone__map { position: relative; flex: none; aspect-ratio: 192 / 190; border-radius: 14px; background: var(--map); overflow: hidden; }
.phone__route { position: absolute; left: 15%; top: 21%; width: 62%; height: 53%; border-left: 3px dashed var(--navy); border-bottom: 3px dashed var(--navy); border-radius: 0 0 0 18px; }
.phone__pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; }
.phone__pin--start { left: 11%; top: 16%; background: var(--orange); }
.phone__pin--end { left: 74%; top: 69%; background: var(--navy); }
.phone__title { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: 17px; }
.phone__meta { color: var(--ink-3); }
.phone__actions { display: flex; gap: 8px; margin-top: auto; }
.phone__action { flex: 1; border: 1px solid var(--line); border-radius: var(--pill); padding: 9px 4px; text-align: center; }
.phone__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-soft); }
.phone__big { font-family: var(--font-display); font-stretch: 86%; font-size: 24px; font-weight: 800; }
.phone__trip { font-size: 14px; color: var(--on-navy-2); }
.phone__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.phone__tag { background: var(--navy-raised); border-radius: var(--pill); padding: 4px 10px; font-size: 12px; }
.phone__buttons { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.phone__accept { background: var(--good-strong); color: var(--white); border-radius: var(--pill); padding: 12px; text-align: center; font-weight: 700; }
.phone__decline { border: 1px solid var(--navy-line); border-radius: var(--pill); padding: 12px; text-align: center; }

/* payments: tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--paper); border-radius: 14px; padding: 16px; min-width: 0; }
.tile__label { font-size: 12px; color: var(--ink-3); }
.tile__value { font-size: clamp(17px, 4.6vw, 22px); font-weight: 600; }
.tile__note { font-size: 12px; color: var(--ink-3); }
.tile__note--good { color: var(--good); font-weight: 700; }
@media (max-width: 420px) { .tile { padding: 12px; } }

/* NEMT: MAS trips list */
.mas {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; font-size: 14px;
}
.mas__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; }
.mas__title { font-weight: 700; }
.mas__head .pill { font-size: 12px; font-weight: 700; }
.mas__row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.mas__time { width: 52px; flex: none; color: var(--ink-3); }
.mas__who { flex: 1 1 140px; min-width: 0; }
.mas__status { font-weight: 600; }
.mas__status--good { color: var(--good); }
.mas__status--warn { color: var(--warn); }
.mas__status--muted { color: var(--ink-3); font-weight: 400; }

/* ---------- how it starts ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--paper); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.step__num { font-size: 14px; font-weight: 600; color: var(--orange); }
.step__text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.step .tbc { margin-left: 0; align-self: flex-start; }

/* ---------- pricing ---------- */
.price-card {
  background: var(--white); border: 1.5px solid var(--navy); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.price__from { font-size: 15px; color: var(--ink-3); }
.price__amount { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: clamp(3.5rem, 2.6rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.01em; }
.price__unit { font-size: 17px; color: var(--ink-2); }
.price-card .btn { align-self: flex-start; }
@media (max-width: 600px) { .price-card { padding: 22px; } }

/* ---------- questions ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 20px; color: var(--orange); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.faq-item__body p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.faq-item__body .tbc { margin-left: 0; align-self: flex-start; }

/* ---------- final call to action ---------- */
.cta-final { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cta-final .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.05; }
.cta-final .lead { max-width: 620px; color: var(--on-navy-2); }
.cta-final .btn-row { justify-content: center; }
.cta-final__phone { font-size: 15px; color: var(--on-navy-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-3); }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 32px; font-size: 14px; }
.site-footer__name { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--on-navy-2); }
.site-footer a:hover { color: var(--white); }
.site-footer__lang { margin-left: auto; display: flex; gap: 6px; }
.site-footer__current { color: var(--white); }
.site-footer .tbc { margin-left: 0; }

/* ---------- demo form ---------- */
.demo { padding-block: 48px 72px; }
.promise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.promise__num { font-weight: 600; color: var(--orange); flex: none; }
.promise .tbc { margin-left: 6px; }
.panel { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-width: 0; }
@media (max-width: 600px) { .panel { padding: 20px; } .demo { padding-block: 32px 56px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 600; }
.field__hint { font-weight: 400; color: var(--ink-3); }
.field__error { font-size: 13px; color: var(--error); }
.input {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px;
}
.input:focus { outline: 3px solid var(--orange-soft); outline-offset: 1px; border-color: var(--navy); }
.input[aria-invalid="true"] { border-color: var(--error); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2313233F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.group legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.choices--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; cursor: pointer; }
.choice input, .consent input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); margin: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; color: var(--ink-3); }
.form__status--error { color: var(--error); font-weight: 600; }
.form__note { font-size: 13px; color: var(--ink-3); }
.form .btn { align-self: flex-start; }
.thanks { display: flex; flex-direction: column; gap: 14px; }
.thanks h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.125rem); line-height: 1.1; }
.thanks h2:focus { outline: none; }
.badge-good { align-self: flex-start; background: var(--good-bg); color: var(--good); border-radius: var(--pill); padding: 4px 12px; font-size: 13px; font-weight: 700; }

/* ---------- simple pages (privacy, terms, not found) ---------- */
.simple { padding-block: 64px 80px; }
.simple .stack { max-width: 720px; }

/* =====================================================================================================
   Multi-page site (Nov 2026): header menus, footer site map and the shared page components.
   Page writers: use these classes; see WRITING.md for the snippets. Do not add page CSS here by hand.
   ===================================================================================================== */

/* ---------- header dropdowns: <details class="menu"> works without script; site.js keeps one open ---------- */
.site-nav { align-items: center; }
.site-nav > a[aria-current="page"] { color: var(--orange); }
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0; color: var(--ink);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.menu[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.menu > summary:hover { color: var(--orange); }
.menu__panel {
  position: absolute; top: calc(100% + 10px); left: -14px; z-index: 20;
  width: 320px; padding: 8px; display: grid; gap: 2px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.menu__panel--wide { width: 600px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.menu__item:hover, .menu__item:focus-visible { background: var(--paper); color: var(--ink); }
.menu__title { font-size: 15px; font-weight: 600; }
.menu__text { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.menu__item[aria-current="page"] .menu__title { color: var(--orange); }

/* ---------- phone menu, grouped ---------- */
.mobile-nav__groups { display: grid; gap: 16px; padding-block: 12px 20px; }
.mobile-nav__group { display: flex; flex-direction: column; }
.mobile-nav__label { margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mobile-nav__group a { padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-nav__group a[aria-current="page"] { color: var(--orange); }
.mobile-nav__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.mobile-nav__end a:not(.btn) { color: var(--ink); text-decoration: none; }
@media (min-width: 560px) { .mobile-nav__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mobile-nav__end { grid-column: 1 / -1; } }

/* ---------- footer site map ---------- */
.site-footer__grid { display: grid; gap: 28px; padding-block: 48px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.site-footer__brand .brand { color: var(--white); }
.site-footer__brand .brand__logo { height: 48px; }
.site-footer__heading { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--white); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid var(--navy-line); }
.site-footer__bottom .site-footer__bar { padding-block: 20px; }

/* ---------- inner-page header and breadcrumbs ---------- */
.page-hero { padding-block: 48px 40px; }
.page-hero .h1 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3rem); }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-4); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; }
@media (max-width: 600px) { .page-hero { padding-block: 32px 28px; } }

/* ---------- big numbers (MTR-wide figures; always with their date in a .note) ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-big { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.stat-big__value { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-big__label { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.band--navy .stat-big { background: var(--navy-raised); border-color: var(--navy-line); }
.band--navy .stat-big__value { color: var(--white); }
.band--navy .stat-big__label { color: var(--on-navy-2); }
.note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.band--navy .note { color: var(--on-navy-3); }

/* ---------- link cards (overview pages, "related" sections) ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--navy); color: var(--ink); }
.band .card { background: var(--paper); border-color: var(--paper); }
.band a.card:hover { border-color: var(--navy); }
.card__title { font-family: var(--font-display); font-stretch: 86%; font-size: 20px; font-weight: 700; line-height: 1.2; }
.card__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card__more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--orange); }
.card__more::after { content: " \2192"; }

/* ---------- feature grid (what a product does, item by item) ---------- */
.features { display: grid; gap: 24px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feature__title { font-family: var(--font-display); font-stretch: 86%; font-size: 19px; font-weight: 700; line-height: 1.25; }
.feature__text { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.feature .tbc { margin-left: 0; align-self: flex-start; }
.band--navy .feature__title { color: var(--white); }
.band--navy .feature__text { color: var(--on-navy-2); }
/* links on navy: the orange accent is too dark there, so they use the soft orange */
.band--navy a:not(.btn) { color: var(--orange-soft); }
.band--navy a:not(.btn):hover { color: var(--white); }

/* real screenshots and full-width pictures */
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); background: var(--white); }
.features + .figure { margin-top: 40px; }
.stack--measure { max-width: 760px; }

/* =====================================================================================================
   Page-specific illustration styles (merged from the page writers' output; each block has its own prefix)
   ===================================================================================================== */

/* ---------- pages: overview-phones-console ---------- */
/* product: how the parts fit together (mock-product-hub) */
.m-product-hub {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
}
.m-product-hub__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.m-product-hub__node {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 8px; border-radius: 12px; background: var(--paper); text-align: center;
}
.m-product-hub__node::after {
  content: ""; position: absolute; left: 50%; width: 2px; height: 20px; margin-left: -1px;
  background: var(--line-strong);
}
.m-product-hub__row--in .m-product-hub__node::after { top: 100%; }
.m-product-hub__row--out .m-product-hub__node::after { bottom: 100%; }
.m-product-hub__name { max-width: 100%; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); overflow-wrap: break-word; }
.m-product-hub__who { max-width: 100%; font-size: 12px; line-height: 1.35; color: var(--ink-3); overflow-wrap: break-word; }
.m-product-hub__core {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; border-radius: 16px; background: var(--navy); color: var(--on-navy); text-align: center;
}
.m-product-hub__title { font-family: var(--font-display); font-stretch: 86%; font-size: 19px; font-weight: 800; line-height: 1.15; color: var(--white); }
.m-product-hub__sub { font-size: 13px; line-height: 1.4; color: var(--on-navy-2); }
.m-product-hub__bases { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.m-product-hub__base { border-radius: var(--pill); padding: 4px 12px; background: var(--navy-raised); font-size: 12px; font-weight: 600; }
@media (max-width: 420px) {
  .m-product-hub { padding: 14px; }
  .m-product-hub__row { gap: 6px; }
  .m-product-hub__node { padding: 10px 4px; }
  .m-product-hub__name { font-size: 13px; }
  .m-product-hub__who { font-size: 11px; }
}

/* phone booking: call log (mock-phone-log) */
.m-phone-log {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink);
}
.m-phone-log__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.m-phone-log__title { font-weight: 700; }
.m-phone-log__date { font-size: 13px; color: var(--ink-3); }
.m-phone-log__totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-phone-log__total { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px; border-radius: 10px; background: var(--white); }
.m-phone-log__num { font-size: 18px; font-weight: 600; line-height: 1.2; }
.m-phone-log__label { font-size: 12px; line-height: 1.3; color: var(--ink-3); }
.m-phone-log__row {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 6px 10px;
  padding-top: 10px; border-top: 1px solid var(--line-strong);
}
.m-phone-log__time { line-height: 1.45; color: var(--ink-3); }
.m-phone-log__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; color: var(--ink); }
.m-phone-log__meta { font-size: 13px; color: var(--ink-3); }
.m-phone-log__row .m-phone-log__pill { align-self: center; font-size: 12px; font-weight: 700; }
@media (max-width: 420px) {
  .m-phone-log { padding: 14px; }
  .m-phone-log__totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-phone-log__row { grid-template-columns: 44px minmax(0, 1fr); }
  .m-phone-log__row .m-phone-log__pill { grid-column: 2; justify-self: start; }
}

/* ---------- pages: dispatch-reports ---------- */
/* dispatch: live map (mock-dispatch-map) */
.m-dispatch-map {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--ink);
}
.m-dispatch-map__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; }
.m-dispatch-map__title { font-weight: 700; }
.m-dispatch-map__count { color: var(--ink-3); }
.m-dispatch-map__area { position: relative; aspect-ratio: 16 / 10; min-height: 200px; border-radius: 12px; background: var(--map); overflow: hidden; }
.m-dispatch-map__park { position: absolute; left: 72%; top: 6%; width: 24%; height: 20%; border-radius: 10px; background: var(--good-bg); }
.m-dispatch-map__road { position: absolute; background: var(--white); }
.m-dispatch-map__road--h1 { left: 0; right: 0; top: 34%; height: 10px; }
.m-dispatch-map__road--h2 { left: 0; right: 0; top: 74%; height: 8px; }
.m-dispatch-map__road--v1 { top: 0; bottom: 0; left: 22%; width: 10px; }
.m-dispatch-map__road--v2 { top: 0; bottom: 0; left: 62%; width: 8px; }
.m-dispatch-map__pin {
  position: absolute; left: 44%; top: calc(74% + 4px); transform: translate(-50%, -50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid var(--white);
}
.m-dispatch-map__tag {
  position: absolute; left: 44%; top: calc(74% - 34px); transform: translateX(-50%);
  background: var(--white); color: var(--ink); border-radius: 8px; padding: 3px 8px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.m-dispatch-map__car {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 7px;
  border: 2px solid var(--white); border-radius: 7px; background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 600; line-height: 1;
}
.m-dispatch-map__car--busy { background: var(--ink-4); }
.m-dispatch-map__car--a { left: calc(22% + 5px); top: calc(34% + 5px); }
.m-dispatch-map__car--b { left: 84%; top: calc(74% + 4px); }
.m-dispatch-map__car--c { left: calc(62% + 4px); top: 15%; }
.m-dispatch-map__car--d { left: calc(22% + 5px); top: 90%; }
.m-dispatch-map__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-3); }
.m-dispatch-map__key { display: inline-flex; align-items: center; gap: 6px; }
.m-dispatch-map__swatch { width: 12px; height: 12px; flex: none; border-radius: 4px; background: var(--navy); }
.m-dispatch-map__swatch--busy { background: var(--ink-4); }
.m-dispatch-map__swatch--pin { border-radius: 50%; background: var(--orange); }

/* reports: report sheet (mock-reports-sheet) */
.m-reports-sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink);
}
.m-reports-sheet__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.m-reports-sheet__title { font-family: var(--font-display); font-stretch: 86%; font-size: 20px; font-weight: 700; line-height: 1.2; }
.m-reports-sheet__badge { border-radius: 6px; padding: 2px 8px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.m-reports-sheet__meta { color: var(--ink-3); }
.m-reports-sheet__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 12px; border-top: 1px solid var(--line); }
.m-reports-sheet__h, .m-reports-sheet__c { min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-reports-sheet__h { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.m-reports-sheet__c--auto { color: var(--good); font-weight: 600; }
.m-reports-sheet__c--manual { color: var(--info); font-weight: 600; }
.m-reports-sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--ink-2); }
.m-reports-sheet__label { font-weight: 700; }
@media (max-width: 420px) {
  .m-reports-sheet { padding: 14px; font-size: 12px; }
  .m-reports-sheet__grid { column-gap: 8px; }
}

/* reports: TLC trip record dialog (mock-reports-fhv) */
.m-reports-fhv { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 13px; color: var(--ink); }
.m-reports-fhv__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px;
  padding: 12px 16px; background: var(--navy); color: var(--on-navy); font-weight: 600;
}
.m-reports-fhv__where { font-size: 12px; font-weight: 400; color: var(--on-navy-3); }
.m-reports-fhv__body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.m-reports-fhv__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-reports-fhv__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-reports-fhv__label { font-size: 12px; color: var(--ink-3); }
.m-reports-fhv__input { border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-reports-fhv__check { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); }
.m-reports-fhv__box { position: relative; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 4px; background: var(--navy); }
.m-reports-fhv__box::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg);
}
.m-reports-fhv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.m-reports-fhv__btn { border-radius: var(--pill); padding: 7px 16px; background: var(--orange); color: var(--white); font-weight: 700; }
.m-reports-fhv__saved { border-radius: var(--pill); padding: 4px 10px; background: var(--good-bg); color: var(--good); font-size: 12px; font-weight: 700; }

/* ---------- pages: apps ---------- */
/* driver app page: driver documents and automatic suspension (partial mock-driver-docs) */
.m-driver-docs {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.4;
}
.m-driver-docs__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; }
.m-driver-docs__title { font-weight: 700; }
.m-driver-docs__pill { font-size: 12px; font-weight: 700; }
.m-driver-docs__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.m-driver-docs__name { flex: 1 1 130px; min-width: 0; }
.m-driver-docs__date { font-size: 13px; color: var(--ink-3); }
.m-driver-docs__status { margin-left: auto; font-weight: 600; }
.m-driver-docs__status--good { color: var(--good); }
.m-driver-docs__status--bad { color: var(--error); }
.m-driver-docs__status--muted { color: var(--ink-3); font-weight: 400; }
.m-driver-docs__notice {
  display: flex; flex-direction: column; gap: 2px; margin-top: 4px; padding: 12px 14px;
  background: var(--warn-bg); color: var(--warn); border-radius: 12px; font-size: 13px;
}
.m-driver-docs__notice-title { font-weight: 700; }

/* ---------- pages: money-and-start ---------- */
/* payments: rider app booking and wallet screens (inside the shared phone frames) */
.m-payments-pay__trip { color: var(--ink-3); }
.m-payments-pay__fare { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-weight: 600; }
.m-payments-pay__label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.m-payments-pay__balance { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; background: var(--paper); }
.m-payments-pay__small { color: var(--ink-3); }
.m-payments-pay__amount { font-size: clamp(18px, 4.6vw, 22px); font-weight: 600; line-height: 1.2; }
.m-payments-pay__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.m-payments-pay__in { color: var(--good); font-weight: 600; }

/* payments: wallet refund on the dispatch desk (the white card reuses the shared call card) */
.m-payments-wallet {
  background: var(--navy); color: var(--on-navy); border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px; font-size: 13px;
}
.m-payments-wallet__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.m-payments-wallet__title { min-width: 0; font-weight: 600; }
.m-payments-wallet__clock { flex: none; color: var(--on-navy-3); }
.m-payments-wallet__question { font-size: 15px; line-height: 1.45; color: var(--ink); }
.m-payments-wallet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.m-payments-wallet__name { font-weight: 600; }
.m-payments-wallet__balance { font-size: 18px; font-weight: 600; color: var(--white); }
.m-payments-wallet__list { display: flex; flex-direction: column; gap: 8px; }
.m-payments-wallet__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  background: var(--navy-raised); border-radius: 10px; padding: 10px 12px;
}
.m-payments-wallet__date { flex: none; color: var(--on-navy-3); }
.m-payments-wallet__what { flex: 1 1 90px; min-width: 0; display: flex; flex-direction: column; }
.m-payments-wallet__by { font-size: 12px; color: var(--on-navy-3); }
.m-payments-wallet__amt { flex: none; margin-left: auto; font-weight: 600; }
.m-payments-wallet__amt--in { color: var(--good-bg); }

/* pricing: the drivers counted this week */
.m-pricing-week {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; font-size: 14px;
}
.m-pricing-week__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.m-pricing-week__title { font-weight: 700; }
.m-pricing-week__week { font-size: 13px; color: var(--ink-3); }
.m-pricing-week__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.m-pricing-week__car { flex: none; width: 60px; font-weight: 600; }  /* room for the Spanish 'Auto 12' */
.m-pricing-week__who { flex: 1 1 80px; min-width: 0; color: var(--ink-2); }
.m-pricing-week__status { flex: none; margin-left: auto; border-radius: var(--pill); padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.m-pricing-week__status--on { background: var(--good-bg); color: var(--good); }
.m-pricing-week__status--hold { background: var(--warn-bg); color: var(--warn); }
.m-pricing-week__row--off .m-pricing-week__car,
.m-pricing-week__row--off .m-pricing-week__who { color: var(--ink-3); }
.m-pricing-week__total {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px;
  margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: var(--on-navy-2);
}
.m-pricing-week__count { font-family: var(--font-display); font-stretch: 86%; font-size: 20px; font-weight: 800; color: var(--white); }

/* how it starts: setup checklist */
.m-start-setup {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px; font-size: 14px;
}
.m-start-setup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.m-start-setup__title { font-weight: 700; }
.m-start-setup__step { font-size: 13px; color: var(--ink-3); }
.m-start-setup__bar { height: 6px; border-radius: var(--pill); background: var(--paper); overflow: hidden; }
.m-start-setup__fill { display: block; width: 60%; height: 100%; border-radius: var(--pill); background: var(--orange); }
.m-start-setup__row { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.m-start-setup__tick { position: relative; flex: none; width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 50%; }
.m-start-setup__tick--done { background: var(--good-strong); border-color: var(--good-strong); }
.m-start-setup__tick--done::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 10px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg);
}
.m-start-setup__what { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-weight: 600; }
.m-start-setup__note { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.m-start-setup__status { flex: none; font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.m-start-setup__status--done { color: var(--good); }
.m-start-setup__status--next { color: var(--orange-dark); }

/* ---------- pages: solutions ---------- */
/* NEMT page: trip notes written by the MAS import (mock-nemt-feed) */
.m-nemt-feed {
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  font-size: 14px; line-height: 1.45; color: var(--ink);
}
.m-nemt-feed__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px;
  padding: 12px 16px; background: var(--navy); color: var(--on-navy); font-size: 13px;
}
.m-nemt-feed__title { font-weight: 600; }
.m-nemt-feed__where { color: var(--on-navy-3); }
.m-nemt-feed__list { display: flex; flex-direction: column; padding: 2px 16px 6px; }
.m-nemt-feed__row {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.m-nemt-feed__row:first-child { border-top: 0; }
.m-nemt-feed__time { color: var(--ink-3); }
.m-nemt-feed__text { min-width: 0; }
.m-nemt-feed__by { display: block; font-size: 12px; color: var(--ink-3); }
.m-nemt-feed__tag { border-radius: var(--pill); padding: 2px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.m-nemt-feed__tag--new { background: var(--good-bg); color: var(--good); }
.m-nemt-feed__tag--changed { background: var(--warn-bg); color: var(--warn); }
.m-nemt-feed__tag--cancelled { background: var(--paper); color: var(--ink-3); }
@media (max-width: 420px) {
  .m-nemt-feed__row { grid-template-columns: 44px minmax(0, 1fr); }
  .m-nemt-feed__tag { grid-column: 2; justify-self: start; }
}

/* NEMT page: rider signature in the driver app (mock-nemt-sign); the phone frame is the shared .phone */
.m-nemt-sign__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.m-nemt-sign__trip { color: var(--ink-3); }
.m-nemt-sign__who { display: flex; flex-wrap: wrap; gap: 6px; }
.m-nemt-sign__opt { border: 1px solid var(--line); border-radius: var(--pill); padding: 3px 9px; color: var(--ink-2); white-space: nowrap; }
.m-nemt-sign__opt--on { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }
.m-nemt-sign__pad {
  position: relative; flex: 1 1 auto; min-height: 64px;
  display: flex; align-items: center; justify-content: center; padding: 10px 10px 20px;
  border: 1.5px dashed var(--line-strong); border-radius: 12px; background: var(--paper);
}
.m-nemt-sign__ink { width: 100%; max-width: 180px; height: auto; color: var(--info); }
.m-nemt-sign__line { position: absolute; left: 12px; right: 12px; bottom: 14px; border-bottom: 1px solid var(--ink-4); }
.m-nemt-sign__actions { display: flex; gap: 8px; }
.m-nemt-sign__clear, .m-nemt-sign__confirm { flex: 1; border-radius: var(--pill); padding: 9px 4px; text-align: center; }
.m-nemt-sign__clear { border: 1px solid var(--line); }
.m-nemt-sign__confirm { background: var(--good-strong); color: var(--white); font-weight: 700; }

/* ---------- pages: company ---------- */
/* about: one MTR system shared by many bases (mock-about-system) */
.m-about-system {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-size: 14px; line-height: 1.4;
}
.m-about-system__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.m-about-system__title { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: 22px; line-height: 1.1; }
.m-about-system__cloud {
  border-radius: var(--pill); padding: 3px 10px; white-space: nowrap;
  background: var(--info-bg); color: var(--info); font-size: 12px; font-weight: 700;
}
.m-about-system__sub { font-size: 13px; color: var(--ink-3); }
.m-about-system__bases { display: flex; flex-direction: column; gap: 8px; }
.m-about-system__base {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  background: var(--paper); border-radius: 12px; padding: 10px 12px;
}
.m-about-system__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--navy); }
.m-about-system__dot--orange { background: var(--orange); }
.m-about-system__dot--good { background: var(--good-strong); }
.m-about-system__name { flex: 1 1 130px; min-width: 0; font-weight: 600; }
.m-about-system__count { font-size: 13px; color: var(--ink-3); }
.m-about-system__label { margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.m-about-system__ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.m-about-system__way {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.m-about-system__way-name { font-weight: 600; }
.m-about-system__way-note { font-size: 12px; color: var(--ink-3); }
@media (max-width: 420px) {
  .m-about-system { padding: 16px; }
  .m-about-system__base, .m-about-system__way { padding: 8px 10px; }
}

/* contact: a demo request as the visitor sends it (mock-contact-request) */
.m-contact-request {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-size: 14px; line-height: 1.4;
}
.m-contact-request__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-bottom: 2px; }
.m-contact-request__title { font-family: var(--font-display); font-stretch: 86%; font-weight: 800; font-size: 22px; line-height: 1.1; }
.m-contact-request__badge {
  border-radius: var(--pill); padding: 3px 10px; white-space: nowrap;
  background: var(--good-bg); color: var(--good); font-size: 12px; font-weight: 700;
}
.m-contact-request__row { display: flex; flex-wrap: wrap; gap: 2px 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.m-contact-request__label { flex: 0 0 84px; color: var(--ink-3); }
.m-contact-request__value { flex: 1 1 140px; min-width: 0; font-weight: 600; }
.m-contact-request__next {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
  background: var(--paper); border-radius: 12px; padding: 10px 12px; color: var(--ink-2);
}
.m-contact-request__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--orange); }
@media (max-width: 420px) { .m-contact-request { padding: 16px; } }

/* ---------- screens: phone-apps ---------- */
/* ---------- app pictures: rider app (iPhone) and driver app (Android), drawn from the apps' own code ----------
   Partials: mock-app-rider-book, mock-app-rider-track (classes ma-r-), mock-app-driver-offer,
   mock-app-driver-trip (classes ma-d-). Each is one phone, 240 x 480. The colours below are the apps'
   real colours; everything else uses them through these properties. The bezel uses the site's navy. */
.ma-r {
  /* Rider app: MTR_Customer_iOS, Assets.xcassets/Colors and the icon files.
     --ma-r-brand stands in for each base's own colour. Note: in today's code all 16 builds (MTR's own
     and 15 base brands) get this same green; only the app name, icon and logo change per base. */
  --ma-r-brand: #7FCA93;       /* 7FCA93: Book Ride, call button, home header, launch screen */
  --ma-r-brand-dark: #58A56D;  /* 58A56D: pickup marker */
  --ma-r-black: #000000;       /* mtrBlack: titles, vehicle names, route line */
  --ma-r-navy: #242E42;        /* 242E42: driver name, addresses, Cancel Request */
  --ma-r-grey: #747379;        /* 747379: rating, Plate # / Vehicle / Distance labels */
  --ma-r-grey-2: #A5A5A5;      /* A5A5A5: "4 PERSON" */
  --ma-r-grey-3: #C8C7CC;      /* C8C7CC: dotted line between pickup and drop-off */
  --ma-r-gap: #EFEFF4;         /* EFEFF4: gaps and dividers in the driver card */
  --ma-r-row: #F4F5F6;         /* F4F5F6: vehicle row border, chosen row */
  --ma-r-head: #F6F6F6;        /* driver row background */
  --ma-r-pin: #F52D56;         /* drop-off pin */
  --ma-r-star: #FFCC00;        /* rating star */
  --ma-r-white: #FFFFFF;
  --ma-r-car-roof: #404044;    /* car marker on the map (ic_whitecar) */
  --ma-r-photo-bg: #EAEAEA;    /* driver photo placeholder (dummy_profile) */
  --ma-r-photo: #7A7A7A;
  --ma-r-shadow: rgba(0, 0, 0, 0.2); /* bottom sheet shadow (mtrBlack at 0.2) */
  /* the app uses SF UI Text and Inter; the site does not load them, so system fonts stand in */
  --ma-r-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ma-d {
  /* Driver app: MTR_Android_Driver_New, res/values/colors.xml and res/drawable.
     The iPhone driver app uses the same greens and red for these screens. */
  --ma-d-green: #58A56D;       /* green2: Accept, status button, chosen tab */
  --ma-d-red: #F17367;         /* red2: Reject; distance bar while far from the pickup */
  --ma-d-black: #000000;
  --ma-d-grey: #636363;        /* very_dark_gray: miles on the offer */
  --ma-d-grey-2: #858585;      /* gray_dark: tab not chosen */
  --ma-d-label: #9B9B9BE6;     /* pColor: PICK UP / DROP OFF */
  --ma-d-line: #D8D8D8;        /* light_dark: card border and dividers */
  --ma-d-head: #E8E8E865;      /* gray_light2: offer header strip */
  --ma-d-timer: #D8D8D863;     /* progress_color: Accept countdown fill */
  --ma-d-white: #FFFFFF;
  --ma-d-route: #04B404;       /* green: route on the trip screen (the offer route is black) */
  --ma-d-dot: #3A56FF;         /* centermarker: the driver's position */
  --ma-d-call: #71BD65;        /* ic_call */
  --ma-d-chat: #3F7FE9;        /* ic_chat */
  --ma-d-toggle: #5DAB72;      /* toggleon: online switch */
  --ma-d-toggle-bg: #FAFAFA;
  --ma-d-toggle-edge: #58A56D40;
  --ma-d-voucher: #418651;     /* icvoucherblack: voucher trips */
  --ma-d-bolt: #FCDC08;        /* ic_keyup */
  --ma-d-walkie: #BCBCC0;      /* walkie_talkie: push-to-talk */
  --ma-d-walkie-screen: #D8FC7C;
  --ma-d-gps: #2C70CC;         /* ic_gps: navigate */
  --ma-d-gps-road: #FCDC30;
  --ma-d-gps-arrow: #FF0000;
  --ma-d-shadow: rgba(0, 0, 0, 0.18);
  /* the app uses Inter, SF UI Display and Poppins; system fonts stand in */
  --ma-d-font: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.ma-r, .ma-d {
  /* maps: the default Google map look, simplified (map tiles, not app colours) */
  --ma-map-land: #ECEEF0;
  --ma-map-road: #FFFFFF;
  --ma-map-edge: #D7DBE0;
  --ma-map-park: #CDEBC9;
  --ma-map-water: #AAD3F7;
}

/* phone frame (both apps) */
.ma-r-phone, .ma-d-phone {
  position: relative;
  display: flex; flex-direction: column;
  width: 240px; max-width: 100%; aspect-ratio: 1 / 2;
  margin-inline: auto; align-self: flex-start;
  overflow: hidden;
  border: 8px solid var(--navy); border-radius: 34px;
  font-size: 10px; line-height: 1.25; text-align: left; letter-spacing: 0;
}
.ma-r-phone { background: var(--ma-r-white); color: var(--ma-r-black); font-family: var(--ma-r-font); }
.ma-d-phone { background: var(--ma-d-white); color: var(--ma-d-black); font-family: var(--ma-d-font); }
.ma-r-phone svg, .ma-d-phone svg { display: block; flex: none; overflow: visible; }
.ma-r-status, .ma-d-status {
  flex: none; height: 15px; padding: 0 14px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 8.5px; font-weight: 600;
}
.ma-r-status__icons { width: 30px; height: 8px; }
.ma-d-status__icons { width: 22px; height: 8px; }
.ma-r-map, .ma-d-map { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.ma-r-map__art, .ma-d-map__art { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ma-r-phone .ma-r-map__art, .ma-d-phone .ma-d-map__art { overflow: hidden; }
.ma-r-map__land, .ma-d-map__land { fill: var(--ma-map-land); }
.ma-r-map__park, .ma-d-map__park { fill: var(--ma-map-park); }
.ma-r-map__water, .ma-d-map__water { fill: var(--ma-map-water); }
.ma-r-map__edge, .ma-d-map__edge { fill: none; stroke: var(--ma-map-edge); stroke-width: 9; }
.ma-r-map__road, .ma-d-map__road { fill: none; stroke: var(--ma-map-road); stroke-width: 7; }

/* rider app: map markers (user_pickup, ic_location_pin, ic_whitecar) */
.ma-r-map__route { fill: none; stroke: var(--ma-r-black); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ma-r-mk__ring { fill: var(--ma-r-brand-dark); }
.ma-r-mk__core { fill: var(--ma-r-black); }
.ma-r-mk__man { fill: var(--ma-r-white); }
.ma-r-mk__pin { fill: var(--ma-r-pin); }
.ma-r-mk__hole { fill: var(--ma-r-white); }
.ma-r-mk__car { fill: var(--ma-r-white); stroke: var(--ma-r-grey-3); stroke-width: .8; }
.ma-r-mk__roof { fill: var(--ma-r-car-roof); }

/* rider app: "Book a Ride" (ShowRouteVC) with the vehicle sheet (VehicleSelectionVC) */
.ma-r-nav { flex: none; position: relative; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--ma-r-white); }
.ma-r-nav__back { position: absolute; left: 10px; top: 7px; width: 12px; height: 12px; }
.ma-r-nav__title { font-size: 12.5px; font-weight: 500; }
.ma-r-sheet {
  flex: none; position: relative; z-index: 1; margin-top: -18px;
  background: var(--ma-r-white); border-radius: 18px 18px 0 0; box-shadow: 0 -1px 6px var(--ma-r-shadow);
}
.ma-r-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 11px 10px 7px 11px; }
.ma-r-sheet__title { font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.ma-r-pref {
  flex: none; display: flex; align-items: center; gap: 4px; width: 66px; height: 18px; padding: 0 6px;
  border: 1px solid var(--ma-r-black); border-radius: 5px; font-size: 8.5px; font-weight: 500;
}
.ma-r-pref__icon { width: 8px; height: 8px; }
.ma-r-pref__caret { width: 6px; height: 4px; margin-left: auto; }
.ma-r-cars { display: flex; flex-direction: column; gap: 4px; padding: 0 11px; }
.ma-r-car { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 6px; border: 1px solid var(--ma-r-row); border-radius: 9px; }
.ma-r-car--on { background: var(--ma-r-row); }
.ma-r-car__img { width: 36px; height: 19px; }
.ma-r-car__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ma-r-car__name { font-size: 9.5px; font-weight: 500; }
.ma-r-car__seats { font-size: 7px; color: var(--ma-r-grey-2); }
.ma-r-car__price { font-size: 8.5px; font-weight: 500; white-space: nowrap; }
.ma-r-veh__body { fill: var(--ma-r-navy); }
.ma-r-veh__glass { fill: var(--ma-r-grey-3); }
.ma-r-veh__wheel { fill: var(--ma-r-black); }
.ma-r-veh__hub { fill: var(--ma-r-grey-2); }
.ma-r-btn {
  display: flex; align-items: center; justify-content: center; height: 29px; margin: 9px 9px 13px;
  border-radius: 15px; background: var(--ma-r-brand); color: var(--ma-r-white); font-size: 10.5px; font-weight: 500;
}

/* rider app: driver on the way (ShowRouteVC with the RideConfirmVC sheet) */
.ma-r-ride { display: flex; flex-direction: column; gap: 3px; overflow: hidden; background: var(--ma-r-gap); }
.ma-r-ride__driver { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 9px; background: var(--ma-r-head); }
.ma-r-photo { flex: none; width: 29px; height: 29px; overflow: hidden; border-radius: 50%; background: var(--ma-r-photo-bg); }
.ma-r-photo svg { width: 100%; height: 100%; }
.ma-r-photo__man { fill: var(--ma-r-photo); }
.ma-r-ride__who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ma-r-ride__name { font-size: 10px; font-weight: 600; color: var(--ma-r-navy); }
.ma-r-ride__rate { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: var(--ma-r-grey); }
.ma-r-ride__star { width: 9px; height: 9px; fill: var(--ma-r-star); }
.ma-r-round { flex: none; display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; color: var(--ma-r-white); }
.ma-r-round svg { width: 13px; height: 13px; }
.ma-r-round--call { background: var(--ma-r-brand); }
.ma-r-ride__stops { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 10px; padding: 5px 10px; background: var(--ma-r-white); }
.ma-r-ride__track { grid-row: 1 / 3; grid-column: 1; align-self: center; width: 12px; height: 45px; }
.ma-r-ride__dots { fill: none; stroke: var(--ma-r-grey-3); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2.4 3.4; }
.ma-r-ride__addr { grid-column: 2; padding: 6px 0; font-size: 9.5px; color: var(--ma-r-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-r-ride__addr + .ma-r-ride__addr { border-top: 1px solid var(--ma-r-gap); }
.ma-r-ride__facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 7px 3px; background: var(--ma-r-white); text-align: center; }
.ma-r-fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ma-r-fact__k { font-size: 7.5px; font-weight: 600; color: var(--ma-r-grey); white-space: nowrap; }
.ma-r-fact__v { font-size: 8.5px; font-weight: 700; color: var(--ma-r-navy); }
.ma-r-ride__foot { padding: 5px 9px 12px; background: var(--ma-r-white); }
.ma-r-btn--dark { height: 26px; margin: 0; border-radius: 5px; background: var(--ma-r-navy); font-size: 10px; font-weight: 600; }

/* driver app: shared */
.ma-d-map__route { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ma-d-map__route--offer { stroke: var(--ma-d-black); stroke-width: 3; }
.ma-d-map__route--trip { stroke: var(--ma-d-route); stroke-width: 3.6; }
.ma-d-mk__halo { fill: var(--ma-d-dot); fill-opacity: .2; }
.ma-d-mk__dot { fill: var(--ma-d-dot); stroke: var(--ma-d-white); stroke-width: 1.6; }
.ma-d-mk__ring { fill: var(--ma-d-green); }
.ma-d-mk__core, .ma-d-mk__rider { fill: var(--ma-d-black); }
.ma-d-mk__man { fill: var(--ma-d-white); }
.ma-d-ic-walkie { width: 10px; height: 15px; }
.ma-d-ic-walkie__ant { fill: none; stroke: var(--ma-d-black); stroke-width: 2; stroke-linecap: round; }
.ma-d-ic-walkie__body { fill: var(--ma-d-walkie); stroke: var(--ma-d-black); stroke-width: 1.4; }
.ma-d-ic-walkie__screen { fill: var(--ma-d-walkie-screen); stroke: var(--ma-d-black); stroke-width: .9; }
.ma-d-ic-walkie__grill { fill: none; stroke: var(--ma-d-black); stroke-width: 1.1; stroke-linecap: round; }

/* driver app: online, new trip offer (autopilot HomeScreen with the job card) */
.ma-d-bar {
  flex: none; position: relative; z-index: 2; display: flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 7px; background: var(--ma-d-white); box-shadow: 0 1px 3px var(--ma-d-shadow);
}
.ma-d-bar__icon { width: 15px; height: 15px; }
.ma-d-bar__menu { width: 18px; height: 18px; margin-right: 2px; }
.ma-d-bar__title { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 13.5px; font-weight: 600; }
.ma-d-bar .ma-d-ic-walkie { width: 11px; height: 16px; }
.ma-d-ic-bolt { fill: var(--ma-d-bolt); }
.ma-d-ic-voucher { fill: var(--ma-d-voucher); stroke: var(--ma-d-black); stroke-width: 1.4; }
.ma-d-ic-voucher__van { fill: var(--ma-d-white); }
.ma-d-toggle {
  flex: none; position: relative; width: 25px; height: 13px; margin-left: 2px;
  border-radius: 7px; background: var(--ma-d-toggle-bg); box-shadow: inset 0 0 0 1px var(--ma-d-toggle-edge);
}
.ma-d-toggle::after { content: ""; position: absolute; top: 0; right: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ma-d-toggle); }
.ma-d-offer {
  position: absolute; left: 6px; right: 6px; bottom: 5px;
  background: var(--ma-d-white); border: 1px solid var(--ma-d-line); border-radius: 7px 7px 0 0;
}
.ma-d-offer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 37px;
  padding: 4px 8px; background: var(--ma-d-head); border-radius: 6px 6px 0 0;
}
.ma-d-offer__time { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.ma-d-offer__clock { width: 13px; height: 13px; }
.ma-d-offer__est { display: flex; flex-direction: column; gap: 1px; }
.ma-d-est { font-size: 10px; font-weight: 700; white-space: nowrap; }
.ma-d-est__k { font-size: 7px; font-weight: 600; }
.ma-d-est--far { font-weight: 600; color: var(--ma-d-grey); }
.ma-d-est--far .ma-d-est__k { font-size: 7.5px; }
.ma-d-offer__stop { display: flex; flex-direction: column; gap: 1px; margin: 6px 8px 0; padding-bottom: 6px; border-bottom: 1.5px solid var(--ma-d-line); }
.ma-d-offer__stop--drop { margin: 5px 0 0; padding: 0 8px 6px; }
.ma-d-offer__label { font-size: 7px; font-weight: 700; color: var(--ma-d-label); }
.ma-d-offer__addr { font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-d-offer__actions { display: flex; gap: 5px; padding: 9px; }
.ma-d-btn {
  position: relative; display: flex; align-items: center; justify-content: center; height: 29px; overflow: hidden;
  border-radius: 6px; color: var(--ma-d-white); font-size: 10.5px; font-weight: 600;
}
.ma-d-btn--reject { flex: 4 1 0; background: var(--ma-d-red); }
.ma-d-btn--accept { flex: 6 1 0; background: var(--ma-d-green); }
.ma-d-btn__timer { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: var(--ma-d-timer); }
.ma-d-btn__label { position: relative; }

/* driver app: on the way to the pickup (ActivityRegularJobsWithStop) */
.ma-d-near { flex: none; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; background: var(--ma-d-red); color: var(--ma-d-white); }
.ma-d-near__back { width: 12px; height: 9px; }
.ma-d-near__text { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ma-d-near .ma-d-ic-walkie { width: 10px; height: 15px; }
.ma-d-tabs { flex: none; display: flex; gap: 9px; padding: 6px 7px 0; background: var(--ma-d-white); }
.ma-d-tab {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; height: 25px;
  border-radius: 5px; background: var(--ma-d-grey-2); color: var(--ma-d-white); font-size: 10px; font-weight: 500;
}
.ma-d-tab--on { background: var(--ma-d-green); }
.ma-d-map--trip { margin-top: 4px; margin-bottom: -8px; }
.ma-d-fabs { position: absolute; right: 9px; bottom: 22px; display: flex; flex-direction: column; gap: 11px; }
.ma-d-fab { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ma-d-white); box-shadow: 0 1px 3px var(--ma-d-shadow); }
.ma-d-fab svg { width: 13px; height: 13px; }
.ma-d-fab .ma-d-ic-walkie { width: 10px; height: 15px; }
.ma-d-fab--gps { background: none; box-shadow: none; }
.ma-d-fab--gps svg { width: 22px; height: 22px; }
.ma-d-ic-gps { fill: var(--ma-d-gps); }
.ma-d-ic-gps__road { fill: none; stroke: var(--ma-d-gps-road); stroke-width: 3.2; stroke-linecap: round; }
.ma-d-ic-gps__arrow { fill: var(--ma-d-gps-arrow); }
.ma-d-trip {
  flex: none; position: relative; z-index: 1;
  background: var(--ma-d-white); border: 1px solid var(--ma-d-line); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.ma-d-trip__body { display: flex; gap: 6px; padding: 8px 8px 0 9px; }
.ma-d-trip__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ma-d-trip__k { font-size: 9px; font-weight: 600; }
.ma-d-trip__v { margin: 1px 0 3px; font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-d-trip__side { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ma-d-trip__contact { display: flex; gap: 10px; margin-bottom: 3px; }
.ma-d-round { width: 20px; height: 20px; }
.ma-d-round--call { color: var(--ma-d-call); }
.ma-d-round--chat { color: var(--ma-d-chat); }
.ma-d-round__bg { fill: currentColor; fill-opacity: .25; }
.ma-d-trip__est { font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.ma-d-trip__estk { font-size: 8px; font-weight: 400; }
.ma-d-trip__fare { align-self: stretch; margin-top: 2px; text-align: center; font-size: 10px; font-weight: 700; }
.ma-d-trip__actions { padding: 7px 5px 9px; }
.ma-d-status-btn {
  display: flex; align-items: center; justify-content: center; height: 26px;
  border-radius: 5px; background: var(--ma-d-green); color: var(--ma-d-white); font-size: 10.5px; font-weight: 600;
}

/* ---------- screens: desktop ---------- */
/* desktop dispatch program: main screen (mock-app-desktop-main). The Windows program's Home tab in its default
   layout for a new PC ("screen5" in MyTaxi/Main.cs): trips grid, small map, caller ID lines, driver status boxes,
   assignment box, Drivers Request. Colours are the program's own (Main.cs SetTripStatusColor and column styles,
   FormsLibrary/GridLineDataGridView.cs, FormsLibrary/StatusBox2.cs); the greys are the Windows system colours.
   Built for about 1000px; on narrower screens .md scrolls sideways, never the page. */
.md {
  /* Windows system colours (WinForms SystemColors on Windows 10/11) */
  --md-face: #F0F0F0;        /* Control: form, menu bar, status bar, unselected tabs */
  --md-white: #FFFFFF;       /* Window: title bar, tab page, grid cells */
  --md-text: #000000;        /* ControlText */
  --md-text-off: #6D6D6D;    /* GrayText: status box with no driver */
  --md-hl: #0078D7;          /* Highlight: selected grid row */
  --md-gridline: #A0A0A0;    /* ControlDark: DataGridView grid lines */
  --md-head-sep: #E5E5E5;    /* column header divider */
  --md-tab-line: #D9D9D9;    /* tab and tab page border */
  --md-group-line: #DCDCDC;  /* group box border */
  --md-edge: #828790;        /* grid border */
  --md-btn: #E1E1E1;         /* button */
  --md-btn-line: #ADADAD;
  --md-scroll: #CDCDCD;      /* scroll bar thumb */
  --md-scroll-arrow: #606060;
  --md-ico-bg: #1C1D22;      /* app icon: dark frame */
  --md-ico-van: #B1B1B9;     /* app icon: silver van */
  /* grid column colours (Main.cs, GridLineDataGridView.cs) */
  --md-yellow: #FFFD8B;      /* Trip#, E.T.A, caller ID Line and status columns */
  --md-beige: #E8EBDA;       /* Car, Pick Up, Destination, Aff ID; caller Dur, Name, Last Trip */
  --md-cyan: #D7FCFE;        /* Phone#, caller Phone No. */
  /* Trip Status and other cell colours (SetTripStatusColor) */
  --md-red: #DD4B39;         /* Unassigned; Driver# of a hand-assigned trip; ringing line */
  --md-blue: #A5BFDD;        /* Assigned */
  --md-lime: #CADFAA;        /* Driving to Customer */
  --md-ink-blue: #040059;    /* Waiting for customer */
  --md-seagreen: #2E8B57;    /* Customer Picked up (SeaGreen) */
  --md-reserve: #000080;     /* Reservation */
  --md-green: #A5C8A3;       /* Completed; paid; connected line; assignment box Id; status box driver */
  --md-peach: #FFCC99;       /* Cancelled, No Cars */
  --md-pink: #FCE8E6;        /* payment not paid yet */
  --md-purple: #D7AAFB;      /* Pick Up and Destination of a reservation */
  --md-ios: #A9A9A9;         /* ... of a trip booked in the iPhone rider app */
  --md-orange: #F0B340;      /* status box: last call */
  --md-lemon: #FFFB8B;       /* status box: driver location */
  /* small map: Google roadmap look (approximate) */
  --md-map-land: #F1F3F4;
  --md-map-block: #E6E8EB;
  --md-map-park: #C9E9D0;
  --md-map-water: #AADAFF;
  --md-map-road-edge: #DADCE0;
  --md-map-main: #FEEFAF;
  --md-map-main-edge: #F2D477;
  --md-map-pin: #EA4335;
  --md-map-pin-dark: #B31412;
  --md-map-car: #1E8E3E;
  --md-map-ink: #666666;
  --md-map-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  /* type */
  --md-font-ui: "Segoe UI", Tahoma, Arial, sans-serif;
  --md-font-ms: "Microsoft Sans Serif", Tahoma, Arial, sans-serif;
  --md-font-grid: Arial, "Liberation Sans", Helvetica, sans-serif;

  overflow-x: auto; overscroll-behavior-x: contain;
  border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow);
  background: var(--md-face); color: var(--md-text);
  font-family: var(--md-font-ui); font-size: 11px; line-height: 1.3; text-align: left;
}
.md-win { min-width: 1000px; }

/* title bar, menu row, tabs */
.md-title { display: flex; align-items: center; gap: 8px; height: 28px; padding-left: 10px; background: var(--md-white); font-size: 12px; }
.md-title__icon { flex: none; width: 16px; height: 16px; }
.md-ico__bg { fill: var(--md-ico-bg); }
.md-ico__van { fill: var(--md-ico-van); }
.md-ico__wheel { fill: var(--md-ico-bg); stroke: var(--md-ico-van); stroke-width: 0.6; }
.md-title__text { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-caps { display: flex; align-self: stretch; }
.md-cap { width: 40px; display: grid; place-items: center; }
.md-cap svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; }
.md-menu { display: flex; align-items: center; height: 22px; padding: 0 4px; white-space: nowrap; overflow: hidden; }
.md-menu__item { padding: 0 5px; }
.md-menu__label { margin-left: 16px; font: 700 12px/22px var(--md-font-ms); }
.md-menu__label--online { margin-left: auto; padding-left: 12px; }
.md-tabs, .md-maptabs { position: relative; z-index: 1; display: flex; align-items: flex-end; }
.md-tabs { height: 21px; padding: 0 2px; }
.md-tab {
  margin-right: -1px; padding: 2px 6px; border: 1px solid var(--md-tab-line); border-bottom: 0;
  background: var(--md-face); font: 11px/14px var(--md-font-ms); white-space: nowrap;
}
.md-tab--on { margin-bottom: -1px; padding-block: 3px; background: var(--md-white); }

/* Home tab page: trips + caller ID + boxes on the left, map + assignment on the right */
.md-page {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 6px;
  margin: 0 2px 2px; padding: 6px 5px 5px; background: var(--md-white); border: 1px solid var(--md-tab-line);
}
.md-left, .md-right { display: flex; flex-direction: column; min-width: 0; }
.md-left { gap: 5px; }
.md-right { gap: 4px; }
.md-trips { display: flex; flex-direction: column; flex: 1 1 auto; }
.md-gridbox, .md-calls { display: flex; flex-direction: column; border: 1px solid var(--md-edge); background: var(--md-white); min-width: 0; }
.md-gridbox { flex: 1 1 auto; }
.md-bottom { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 6px; }

/* grids (DataGridView): fixed-width columns, more of them off to the right as in the program */
.md-grid { flex: 1 1 auto; overflow: hidden; background: var(--md-white); font: 11px var(--md-font-grid); }
.md-grid--trips { --md-cols: 40px 54px 50px 140px 80px 140px 118px 50px 64px 44px 40px 60px 100px; }
.md-grid--calls { --md-cols: 30px 34px 92px 64px 66px 66px 30px 84px 54px 76px 92px; }
.md-grid--assign { --md-cols: repeat(4, minmax(0, 1fr)); border: 1px solid var(--md-edge); }
.md-grid--req { --md-cols: repeat(3, minmax(0, 1fr)); border: 1px solid var(--md-edge); }
.md-tr { display: grid; grid-template-columns: var(--md-cols); }
.md-td {
  height: 19px; padding: 0 3px; border-right: 1px solid var(--md-gridline); border-bottom: 1px solid var(--md-gridline);
  line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--md-white);
}
.md-grid--assign .md-td, .md-grid--req .md-td { height: 18px; line-height: 17px; }
.md-c-pu, .md-c-dest, .md-c-drv { font-weight: 700; }
.md-c-trip, .md-c-eta, .md-k-line, .md-k-ls, .md-k-ts, .md-k-car, .md-k-arr, .md-k-most { background: var(--md-yellow); }
.md-c-car, .md-c-pu, .md-c-dest, .md-k-dur, .md-k-name, .md-k-last, .md-a-last, .md-a-time, .md-aff { background: var(--md-beige); }
.md-c-phone, .md-k-phone { background: var(--md-cyan); }
.md-a-id { background: var(--md-green); }
.md-hl { background: var(--md-hl); color: var(--md-white); }
.md-st-red, .md-line-ring { background: var(--md-red); }
.md-st-assigned { background: var(--md-blue); }
.md-st-driving { background: var(--md-lime); }
.md-st-waiting { background: var(--md-ink-blue); color: var(--md-white); }
.md-st-pickedup { background: var(--md-seagreen); color: var(--md-white); }
.md-st-reservation { background: var(--md-reserve); color: var(--md-white); font-weight: 700; }
.md-st-completed, .md-paid, .md-line-on { background: var(--md-green); }
.md-st-cancelled { background: var(--md-peach); }
.md-unpaid { background: var(--md-pink); }
.md-manual { background: var(--md-red); color: var(--md-white); }
.md-res { background: var(--md-purple); }
.md-app-ios { background: var(--md-ios); }
.md-th .md-td {
  background: var(--md-white); color: var(--md-text); font-family: var(--md-font-ms); font-weight: 400;
  border-right-color: var(--md-head-sep);
}

/* horizontal scroll bar, pager, buttons */
.md-hs { display: flex; flex: none; height: 12px; background: var(--md-face); }
.md-hs__arrow { width: 12px; display: grid; place-items: center; color: var(--md-scroll-arrow); }
.md-hs__arrow svg { width: 6px; height: 6px; }
.md-hs__track { flex: 1 1 auto; position: relative; }
.md-hs__thumb { position: absolute; top: 2px; bottom: 2px; left: 0; background: var(--md-scroll); }
.md-hs__thumb--trips { width: 30%; }
.md-hs__thumb--calls { width: 63%; }
.md-pager { display: flex; justify-content: center; align-items: center; gap: 2px; height: 24px; font-family: var(--md-font-ms); }
.md-pager__label { width: 74px; text-align: center; }
.md-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 19px; padding: 0 10px;
  background: var(--md-btn); border: 1px solid var(--md-btn-line); font: 11px/1 var(--md-font-ms); white-space: nowrap;
}
.md-btn--pg { width: 29px; padding: 0; }
.md-btn--bold { font-weight: 700; }
.md-btnrow { display: flex; }

/* driver status boxes (StatusBox2): the drivers who accepted the selected trip */
.md-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.md-box {
  display: grid; grid-template-rows: 24fr 19fr 19fr 19fr 19fr; gap: 2px; padding: 2px; min-width: 0;
  background: var(--md-face); font: 10px/1.2 var(--md-font-ms);
}
.md-box__head { display: grid; grid-template-columns: minmax(0, 77fr) minmax(0, 23fr); gap: 3px; }
.md-box__id { display: flex; align-items: center; padding: 0 4px; background: var(--md-green); font-size: 15px; font-weight: 700; overflow: hidden; }
.md-box__z, .md-box__btn {
  display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 2px; overflow: hidden; white-space: nowrap;
  background: var(--md-btn); border: 1px solid var(--md-btn-line);
}
.md-box__btn--call { background: var(--md-orange); }
.md-box__btn--loc { background: var(--md-lemon); }
.md-box--idle { color: var(--md-text-off); }
.md-box--idle .md-box__id { font-size: 12px; }

/* right side: small map, assignment box, Drivers Request */
.md-maptabs { padding-left: 2px; }
.md-map { position: relative; flex: 1 1 auto; min-height: 120px; border: 1px solid var(--md-tab-line); background: var(--md-white); }
.md-map__art { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.md-map__land { fill: var(--md-map-land); }
.md-map__blocks { fill: var(--md-map-block); }
.md-map__park { fill: var(--md-map-park); }
.md-map__water { fill: var(--md-map-water); }
.md-map__edge, .md-map__road, .md-map__mainedge, .md-map__main { fill: none; }
.md-map__edge { stroke: var(--md-map-road-edge); stroke-width: 9; }
.md-map__road { stroke: var(--md-white); stroke-width: 7; }
.md-map__mainedge { stroke: var(--md-map-main-edge); stroke-width: 11; }
.md-map__main { stroke: var(--md-map-main); stroke-width: 9; }
.md-map__car { fill: var(--md-map-car); stroke: var(--md-white); stroke-width: 1.5; }
.md-map__carglyph { fill: var(--md-white); }
.md-map__pin { fill: var(--md-map-pin); stroke: var(--md-map-pin-dark); stroke-width: 1; }
.md-map__pindot { fill: var(--md-map-pin-dark); }
.md-zoom {
  position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column;
  background: var(--md-white); border-radius: 2px; box-shadow: var(--md-map-shadow);
}
.md-zoom__btn { width: 18px; height: 18px; display: grid; place-items: center; color: var(--md-map-ink); font: 700 14px/1 var(--md-font-ui); }
.md-zoom__btn + .md-zoom__btn { border-top: 1px solid var(--md-map-road-edge); }
.md-group { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px 5px 5px; border: 1px solid var(--md-group-line); }
.md-group--req { padding-top: 10px; }
.md-group__cap { position: absolute; top: -7px; left: 6px; padding: 0 2px; background: var(--md-white); font: 11px/13px var(--md-font-ms); }
.md-group__foot { display: flex; justify-content: flex-end; }

/* status bar */
.md-status { display: flex; align-items: center; gap: 5px; height: 21px; padding: 0 6px; white-space: nowrap; overflow: hidden; }
