/* GoSEQ design system, 27 Oct 2026 (update 211 revamp). ONE token set for Home, the trip screens and trip selection.
   Loaded last (after navy.css). Colour roles come from the look (--bg --surface --text --muted --line --accent --hot --ok --warn --bad);
   everything below is the shared scale. Navy is the default look. See DESIGN-SYSTEM.md. */
:root {
  /* spacing 4 / 8 / 12 / 16 / 24 / 32 (nothing else is used for padding, gaps or margins in the revamp files) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  /* radius: chip (pill), control 16, card 20, sheet 28 */
  --rv-r-chip: 999px; --rv-r-ctl: 16px; --rv-r-card: 20px; --rv-r-sheet: 28px;
  /* type: five sizes, three weights. micro = caps labels, small = secondary, body = default, title = card/line titles, hero = the one big number */
  --rv-t-micro: 12px; --rv-t-small: 14px; --rv-t-body: 16px; --rv-t-title: 20px; --rv-t-hero: 72px; --rv-t-hero-m: 44px;
  --rv-w-reg: 500; --rv-w-strong: 700; --rv-w-heavy: 800;
  --rv-num: var(--nl-number, 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif);
  /* colour roles (fallbacks for looks that do not define them) */
  --rv-accent: var(--accent); --rv-on-accent: var(--on-accent);
  --rv-hot: var(--hot, var(--accent));             /* orange: ONLY "time to leave", the now-marker, the countdown colon, Get off */
  --rv-ok: var(--ok, #4BD58B); --rv-warn: var(--warn, #F2B35C); --rv-bad: var(--bad, #FF8A80);
  --rv-ink: color-mix(in srgb, var(--text) 9%, transparent);        /* quiet fill: inactive chips, icon tiles, secondary buttons */
  --rv-glass: color-mix(in srgb, var(--surface) 92%, transparent);  /* map overlays */
  --rv-shadow: 0 4px 14px rgba(0, 0, 0, .18); --rv-shadow-up: 0 -10px 34px rgba(0, 0, 0, .35);
  --rv-ctl-h: 48px; --rv-btn-h: 54px; --rv-chip-h: 36px;
}
:root[data-theme='light'] { --rv-shadow-up: 0 -8px 30px rgba(11, 20, 48, .16); --rv-shadow: 0 4px 14px rgba(11, 20, 48, .12); }

/* ONE card: surface, 1px line, 20px radius, 16px padding. ONE elevated card (a hero or the chosen option): the hero fill + hot edge. Never outlined+filled+dashed on one screen. */
.rv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--rv-r-card); padding: var(--s4); }
.rv-card.hero { background: var(--hero-bg, var(--surface-2)); color: var(--hero-text, #F3F6FF); border: 2px solid var(--rv-hot); box-shadow: 5px 5px 0 var(--rv-hot); }
.rv-card.sel { border: 2px solid var(--rv-accent); padding: calc(var(--s4) - 1px); box-shadow: 0 0 0 5px color-mix(in srgb, var(--rv-accent) 18%, transparent); }
/* ONE chip: 36px pill. .on = inverted. Icon chips use an 18px icon. */
.rv-chip { display: inline-flex; align-items: center; gap: var(--s2); height: var(--rv-chip-h); padding: 0 var(--s3); border-radius: var(--rv-r-chip); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font: var(--rv-w-strong) var(--rv-t-small)/1 var(--font); white-space: nowrap; flex: none; }
.rv-chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.rv-chip .i { width: 18px; height: 18px; }
/* status tag: 22px, tinted by meaning only (late = warn, live/on time = ok, scheduled = neutral) */
.rv-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 var(--s2); border-radius: var(--rv-r-chip); font: var(--rv-w-heavy) var(--rv-t-micro)/1 var(--font); letter-spacing: .02em; white-space: nowrap; flex: none; background: var(--rv-ink); color: var(--muted); }
.rv-tag.late { background: color-mix(in srgb, var(--rv-warn) 20%, transparent); color: var(--rv-warn); }
.rv-tag.ok { background: color-mix(in srgb, var(--rv-ok) 18%, transparent); color: var(--rv-ok); }
/* buttons: primary 54px (one per state), secondary 48px quiet */
.rv-btn { display: flex; align-items: center; justify-content: center; gap: var(--s2); height: var(--rv-ctl-h); padding: 0 var(--s4); border-radius: var(--rv-r-ctl); background: var(--rv-ink); color: var(--text); font: var(--rv-w-strong) var(--rv-t-body)/1 var(--font); white-space: nowrap; border: 0; }
.rv-btn.primary { height: var(--rv-btn-h); border-radius: 18px; background: var(--rv-accent); color: var(--rv-on-accent); font-weight: var(--rv-w-heavy); }
/* kicker: the one caps label style */
.rv-kick { font: var(--rv-w-heavy) var(--rv-t-micro)/1.2 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
/* the big number: display face, tabular, orange colon */
.rv-num { font-family: var(--rv-num); font-weight: var(--rv-w-heavy); letter-spacing: -.05em; line-height: .88; font-variant-numeric: tabular-nums; }
.rv-num .colon, .rv-colon { color: var(--rv-hot); }
/* sheet + grabber + sticky bar */
.rv-sheet { background: var(--surface); border-radius: var(--rv-r-sheet) var(--rv-r-sheet) 0 0; box-shadow: var(--rv-shadow-up); padding: var(--s2) var(--s4) var(--s5); }
.rv-grab { display: block; width: 38px; height: 4px; border-radius: 9px; margin: 0 auto var(--s3); background: color-mix(in srgb, var(--text) 24%, transparent); }
.rv-sbar { position: sticky; bottom: 0; display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom, 0px)); background: var(--rv-glass); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
/* timeline (the expanded sheet and an opened option): icon dot, title line + one muted line, time on the right */
.rv-steps { list-style: none; margin: 0; padding: 0; }
.rv-steps li { display: flex; gap: var(--s3); position: relative; padding-bottom: var(--s4); }
.rv-steps li:last-child { padding-bottom: 0; }
.rv-steps li::before { content: ''; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.rv-steps li:last-child::before { display: none; }
.rv-steps .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--rv-ink); color: var(--muted); flex: none; position: relative; z-index: 1; }
.rv-steps .ic .i { width: 15px; height: 15px; }
.rv-steps .ic.now { background: var(--rv-hot); color: #2a0b05; }
.rv-steps .ic.route { background: var(--route, #F062B4); color: #1a0510; }
.rv-steps .ic.off { opacity: .55; }
.rv-steps b { display: block; font-size: var(--rv-t-body); font-weight: var(--rv-w-strong); line-height: 1.25; }
.rv-steps span { font-size: var(--rv-t-small); color: var(--muted); }
.rv-steps time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--rv-w-strong); font-size: var(--rv-t-small); }
/* no underlined text links inside cards: a link is a quiet chip or a chevron row */
