/* Signature Concierge demo · Owlake
   Every colour on the page comes from the tokens below. */
:root {
  --navy: #09225F;
  --navy-950: #041333;
  --navy-900: #061a4a;
  --navy-800: #0d2a6e;
  --navy-600: #2c4686;
  --navy-300: #9aa8c8;
  --navy-100: #e5e9f2;
  --navy-50: #f2f4f9;
  --gold: #E5AF3A;
  --gold-700: #8a6414;
  --gold-200: #f4d99c;
  --gold-100: #fbf1db;

  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --white: #ffffff;
  --ink: #0e1a36;
  --ink-2: #44506b;
  --ink-3: #626c83;
  --line: #e3ddcf;
  --line-2: #d3ccbb;
  --on-navy: #d3dbeb;
  --on-navy-2: #a3b0cd;
  --hair-on-navy: rgba(255, 255, 255, .14);
  --scrim: rgba(4, 19, 51, .55);
  --scrim-strong: rgba(4, 19, 51, .78);
  --scrim-soft: rgba(4, 19, 51, 0);

  --ok: #1d6b45;
  --ok-bg: #e2f1e8;
  --trip: #0d2a6e;
  --trip-bg: #e5e9f2;
  --warn: #7c5308;
  --warn-bg: #fcefd2;
  --muted: #555e72;
  --muted-bg: #eceae4;
  --field-line: #7d8598;
  --focus: #09225F;
  --focus-on-dark: #E5AF3A;
  --shadow-bar: 0 -8px 24px -16px rgba(9, 34, 95, .35);
  --press: .97;
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --t-press: 100ms;
  --t-exit: 180ms;
  --wa: #25D366;
  --wa-ink: #06341b;
  --wa-head: #075e54;
  --wa-bg: #ece5dd;
  --wa-bubble: #ffffff;
  --wa-text: #111b21;
  --wa-time: #667781;
  --danger: #b3261e;
  --danger-bg: #fbe9e7;
  --gold-glow: rgba(229, 175, 58, .6);
  --gold-clear: rgba(229, 175, 58, 0);
  --shadow-knob: 0 1px 2px rgba(4, 19, 51, .3);
  --mtn: #ffcc00;
  --mtn-ink: #111111;
  --telecel: #e30613;
  --at: #0033a1;
  --shadow-bubble: 0 1px 1px rgba(0, 0, 0, .08);
  --target: 44px;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-card: 0 1px 2px rgba(9, 34, 95, .06), 0 8px 24px -12px rgba(9, 34, 95, .18);
  --shadow-float: 0 24px 48px -20px rgba(4, 19, 51, .45);

  --display: "Marcellus", "Optima", "Candara", serif;
  --sans: "Public Sans", "Segoe UI", sans-serif;

  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 450ms;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 72rem;
  --gutter: 1rem;
}
@media (min-width: 768px) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  font-feature-settings: "lnum" 1;
  font-optical-sizing: auto;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { letter-spacing: -.02em; line-height: 1.05; }
h2 { letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; }
#app:focus { outline: none; }
.num, .price { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.on-navy :focus-visible, .hero :focus-visible, .portal-head :focus-visible, .foot :focus-visible, .payout :focus-visible, .earn__card :focus-visible, .owners-hero :focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- Buttons, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-sm); touch-action: manipulation;
  border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: background var(--t-fast), transform var(--t-press) var(--ease-out), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
/* Press feedback on pointer-down, fast [apple-design §1] */
.btn:active, .chip:active, .seg button:active, .menu-btn:active, .stepper button:active, .pay-opt:active, .addon:active, .portal-tabs a:active { transform: scale(var(--press)); transition-duration: var(--t-press); }
.card:active { transform: scale(.99); transition-duration: var(--t-press); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-200); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); }
.btn--ghost { background: transparent; border-color: var(--field-line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: transparent; border-color: var(--hair-on-navy); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--gold); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn--block { width: 100%; }
.btn--sm { min-height: var(--target); padding: 0 var(--s4); font-size: .95rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: not-allowed; transform: none; }

.field { display: grid; gap: 6px; min-width: 0; }
.search > *, .search__dates > *, .form-grid > * { min-width: 0; }
.field label, .label {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.input, .select {
  width: 100%; min-height: 48px; padding: 0 var(--s3);
  border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--white);
  font-size: 1rem; appearance: none; -webkit-appearance: none; min-width: 0; max-width: 100%;
}
input[type=date].input { display: block; line-height: 46px; }
.select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.input:focus, .select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-100); }
textarea.input { padding: var(--s3); min-height: 96px; resize: vertical; }

/* Segmented control (self-drive / chauffeur) */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-50); border: 1px solid var(--field-line); border-radius: var(--r-sm); padding: 3px; }
.seg button {
  min-height: var(--target); border: 0; background: transparent; border-radius: 4px; cursor: pointer;
  font-weight: 600; font-size: .92rem; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-press) var(--ease-out);
}
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.seg button[disabled] { color: var(--ink-3); opacity: .55; cursor: not-allowed; }

/* ---------- Crescent (the recurring brand shape) ---------- */
.crescent { width: 72px; height: 14px; fill: var(--gold); }
.eyebrow { display: grid; gap: var(--s2); justify-items: start; margin-bottom: var(--s4); }
.eyebrow span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.on-navy .eyebrow span { color: var(--gold); }
.section-title { font-size: clamp(1.75rem, 5vw, 2.6rem); color: var(--navy); }
.on-navy .section-title { color: var(--white); }
.lede { color: var(--ink-2); font-size: 1.05rem; max-width: 36rem; margin-top: var(--s3); }
.on-navy .lede { color: var(--on-navy); }

/* ---------- Site header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--s4); }
.brand-link { display: flex; align-items: center; min-height: var(--target); flex: none; }
.brand-link img { height: 34px; width: auto; }
.site-nav { display: none; gap: var(--s5); align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.site-nav a:hover { color: var(--navy); }
.head-actions { display: flex; align-items: center; gap: var(--s2); }
.menu-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); box-shadow: 0 -6px 0 var(--navy), 0 6px 0 var(--navy); }
.site-head { position: sticky; }
.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: var(--shadow-card); transform-origin: top right;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity var(--t-exit) var(--ease-in), transform var(--t-exit) var(--ease-in), visibility 0s linear var(--t-exit);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s; }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; padding-inline: var(--gutter); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .menu-btn { display: none; }
  .brand-link img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; }
.hero__photo { position: relative; height: 240px; overflow: hidden; background: var(--navy); }
@media (min-width: 560px) { .hero__photo { height: 380px; } }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; }
.hero__curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; }
.hero__curve .fill { fill: var(--navy); }
.hero__curve .edge { fill: var(--gold); }
.hero__body { padding: var(--s5) 0 var(--s7); position: relative; }
.hero h1 { font-size: clamp(2.1rem, 8.4vw, 4rem); line-height: 1.04; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub { color: var(--on-navy); margin-top: var(--s3); max-width: 32rem; font-size: 1.05rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: .88rem; color: var(--on-navy); }
.hero__facts b { color: var(--white); font-weight: 600; }

.search {
  margin-top: var(--s5); background: var(--white); color: var(--ink); border-radius: var(--r-md);
  padding: var(--s4); display: grid; gap: var(--s3); box-shadow: var(--shadow-float);
}
.search__dates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 900px) {
  .hero { min-height: 640px; display: flex; align-items: flex-end; }
  .hero__photo { position: absolute; inset: 0; height: auto; max-height: none; }
  .hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim-strong) 0%, var(--scrim) 36%, var(--scrim-soft) 64%); }
  .hero h1 { max-width: 11ch; }
  .hero__sub { max-width: 28rem; }
  .hero__curve { height: 70px; z-index: 1; }
  .hero__body { padding: var(--s9) 0 var(--s6); z-index: 2; width: 100%; }
  .search { grid-template-columns: 1.3fr 1.6fr 1.3fr auto; align-items: end; padding: var(--s4) var(--s5); margin-bottom: -5.5rem; }
  .search .btn { min-width: 150px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
.section--tight { padding: var(--s7) 0; }
.section--fleet { padding-top: var(--s7); }
@media (min-width: 900px) { .section { padding: var(--s9) 0; } .section--fleet { padding-top: calc(var(--s9) + 3rem); } }
.on-navy { background: var(--navy); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }

/* Filters */
.filters { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: var(--target); padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--field-line);
  background: var(--white); cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-press) var(--ease-out);
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-row { display: grid; gap: var(--s3); }
@media (min-width: 560px) { .filter-row { grid-template-columns: 1fr 1.3fr; } }
.result-count { font-size: .9rem; color: var(--ink-3); }
@media (min-width: 900px) {
  .filters { grid-template-columns: 1fr auto; align-items: center; }
  .chips { margin: 0; padding: 0; }
  .filter-row { grid-template-columns: 200px 280px; }
}

/* Fleet grid (the shop) */
.grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } .card--feature { grid-column: span 2; } .card--feature .card__img { aspect-ratio: 16 / 8.2; } }
.card {
  background: var(--white); border-radius: var(--r-md); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-3px); }
.card__img { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .03em;
}
.tag--gold { background: var(--gold); color: var(--navy); }
.tag--navy { background: var(--navy); color: var(--white); }
.tag--light { background: var(--white); color: var(--navy); }
.card__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__body { padding: var(--s4); display: grid; gap: var(--s2); flex: 1; }
.card__kicker { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font-family: var(--display); font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.card__specs { font-size: .88rem; color: var(--ink-2); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.card__price { font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.card__price small { font-weight: 500; font-size: .8rem; color: var(--ink-3); }
.card__note { font-size: .8rem; color: var(--warn); font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.rating svg { width: 14px; height: 14px; fill: var(--gold); }
.card--muted .card__img img { filter: saturate(.75); }
.empty { padding: var(--s7) var(--s4); text-align: center; color: var(--ink-3); background: var(--white); border-radius: var(--r-md); border: 1px dashed var(--line-2); }

/* Airport route */
.airport { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .airport { grid-template-columns: 1fr 1.1fr; gap: var(--s8); } }
.route { position: relative; background: var(--navy-900); border: 1px solid var(--hair-on-navy); border-radius: var(--r-lg); padding: var(--s5) var(--s4) var(--s4); }
.route svg.route__map { width: 100%; height: auto; overflow: visible; }
.route__path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; opacity: .75; }
.route__orbit { fill: var(--gold); opacity: .9; }
.route__pin { fill: var(--gold); }
.route__pin--home { fill: var(--white); }
.route__label { fill: var(--white); font: 600 17px var(--sans); }
.route__small { fill: var(--on-navy-2); font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.route__car { fill: var(--white); }
.route__legend { display: flex; justify-content: space-between; gap: var(--s3); font-size: .85rem; color: var(--on-navy); border-top: 1px solid var(--hair-on-navy); padding-top: var(--s3); margin-top: var(--s3); }
.route__legend b { color: var(--white); white-space: nowrap; }
@media (max-width: 480px) { .route__legend { flex-direction: column; gap: 4px; } }
.steps-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 0; }
.steps-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--hair-on-navy); }
.steps-list time { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; font-size: .9rem; }
.steps-list p { color: var(--on-navy); }
.steps-list b { color: var(--white); font-weight: 600; display: block; }

/* How it works */
.how { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1.5fr; gap: var(--s8); align-items: start; } }
.how__steps { position: relative; display: grid; gap: var(--s6); }
.how__step { display: grid; grid-template-columns: 3.4rem 1fr; gap: var(--s4); align-items: start; }
.how__num { font-family: var(--sans); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--gold-700); font-variant-numeric: lining-nums tabular-nums; }
.how__step h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.how__step p { color: var(--ink-2); }
.how__step .small { font-size: .88rem; color: var(--ink-3); margin-top: 6px; }

/* Owner teaser */
.teaser { display: grid; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.teaser__img { aspect-ratio: 16 / 10; overflow: hidden; }
.teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.teaser__body { padding: var(--s5); display: grid; gap: var(--s4); align-content: center; }
.teaser__calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: var(--s4); background: var(--gold-100); border-radius: var(--r-md); color: var(--ink-2); font-size: 1rem; }
.teaser__calc strong { font-size: 1.6rem; color: var(--navy); font-weight: 700; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1fr 1fr; } .teaser__img { aspect-ratio: auto; } .teaser__body { padding: var(--s7); } }

/* Footer */
.foot { background: var(--navy-950); color: var(--on-navy); padding: var(--s8) 0 var(--s5); }
.foot__grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot__logo { width: 170px; }
.foot h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: var(--s3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot a { color: var(--on-navy); text-decoration: none; }
.foot li > a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--target); }
.foot ul { gap: 0; }
.foot a:hover { color: var(--white); }
.foot__demo { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--hair-on-navy); font-size: .8rem; color: var(--on-navy-2); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; }
.placeholder { font-size: .75rem; color: var(--on-navy-2); }

/* ---------- Car detail ---------- */
.crumbs { font-size: .88rem; color: var(--ink-3); padding: var(--s4) 0; }
.crumbs a { color: var(--navy); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: var(--target); }
.crumbs { padding: var(--s2) 0; }
.detail { display: grid; gap: var(--s6); padding-bottom: 7rem; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s7); padding-bottom: var(--s9); align-items: start; } }
.detail__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
@media (min-width: 640px) { .detail__photo { margin-inline: 0; border-radius: var(--r-lg); } }
.detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.detail__head { display: grid; gap: var(--s2); margin-top: var(--s5); }
.detail__head h1 { font-size: clamp(2rem, 6vw, 2.8rem); color: var(--navy); }
.detail__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; font-size: .92rem; color: var(--ink-2); }
.detail__blurb { font-size: 1.1rem; color: var(--ink-2); margin-top: var(--s2); max-width: 38rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: var(--s6) 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs div { padding: var(--s4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.specs dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.block { margin-top: var(--s6); }
.block h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: var(--s4); }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2) var(--s5); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { display: flex; gap: var(--s2); align-items: center; }
.features svg { width: 18px; height: 18px; fill: var(--gold-700); flex: none; }
.terms { display: grid; gap: 0; margin: 0; }
.terms div { display: grid; gap: 4px; padding: var(--s4) 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .terms div { grid-template-columns: 12rem 1fr; gap: var(--s5); } }
.terms dt { font-weight: 600; color: var(--navy); }
.terms dd { margin: 0; color: var(--ink-2); }
.managed { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); background: var(--navy-50); border-radius: var(--r-md); margin-top: var(--s6); font-size: 1rem; color: var(--ink-2); }
.managed img { width: 36px; height: 36px; flex: none; }

/* Booking panel: the crescent sits on its top edge */
.panel { position: relative; background: var(--white); border-radius: var(--r-lg); padding: var(--s6) var(--s5) var(--s5); box-shadow: var(--shadow-card); }
.panel__crescent { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 64%; height: 18px; fill: var(--gold); }
@media (min-width: 1000px) { .panel--sticky { position: sticky; top: 84px; } }
.panel__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: var(--s4); }
.panel__price strong { font-size: 1.8rem; color: var(--navy); font-weight: 700; }
.panel__price span { color: var(--ink-3); }
.panel__price { flex-wrap: wrap; }
.panel__price strong { white-space: nowrap; }
.panel__group { margin-top: var(--s4); }
.addons { display: grid; gap: var(--s2); margin-top: var(--s2); }
.addon { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s3); align-items: start; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.addon:has(input:checked) { border-color: var(--navy); background: var(--navy-50); }
.addon input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.addon b { font-weight: 600; display: block; font-size: .95rem; }
.addon small { color: var(--ink-3); font-size: .82rem; }
.addon .price { font-size: .88rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.stepper button { width: var(--target); height: var(--target); border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.stepper output { min-width: 3.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.breakdown { margin: var(--s4) 0; display: grid; gap: 8px; font-size: .95rem; }
.breakdown .row { display: flex; justify-content: space-between; gap: var(--s3); color: var(--ink-2); }
.breakdown .row span:last-child { font-variant-numeric: tabular-nums; }
.breakdown .total { border-top: 1px solid var(--line); padding-top: var(--s3); margin-top: 4px; color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.deposit { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3); border-radius: var(--r-sm); background: var(--gold-100); font-size: .9rem; color: var(--ink-2); margin-bottom: var(--s4); }
.deposit b { color: var(--navy); font-variant-numeric: tabular-nums; }
.fineprint { font-size: .8rem; color: var(--ink-3); margin-top: var(--s3); text-align: center; }

.sticky-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  box-shadow: var(--shadow-bar);
}
.sticky-book .btn { white-space: nowrap; flex: none; }
.sticky-book .total { font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.sticky-book small { display: block; color: var(--ink-3); font-size: .78rem; }
@media (min-width: 1000px) { .sticky-book { display: none; } }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: var(--s6); padding: var(--s5) 0 var(--s9); }
@media (min-width: 1000px) { .checkout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; } }
.progress { display: flex; gap: var(--s2); list-style: none; margin: 0 0 var(--s5); padding: 0; font-size: .82rem; color: var(--ink-3); }
.progress li { display: flex; align-items: center; gap: 6px; }
.progress li + li::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.progress .on { color: var(--navy); font-weight: 600; }
.progress .done { color: var(--ok); font-weight: 600; }
.progress .done::after { content: " ✓"; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-card); }
.form-card + .form-card { margin-top: var(--s5); }
.form-card h2 { font-size: 1.35rem; color: var(--navy); margin-bottom: var(--s2); }
.form-card .hint { font-size: 1rem; color: var(--ink-3); margin-bottom: var(--s4); }
.form-grid { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.phone { display: grid; grid-template-columns: auto 1fr; }
.phone span { display: grid; place-items: center; padding: 0 var(--s3); border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--paper); font-weight: 600; font-size: .95rem; }
.phone .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.upload { position: relative; display: grid; gap: var(--s2); padding: var(--s4); border: 1px dashed var(--field-line); border-radius: var(--r-md); background: var(--paper); }
.upload__row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }
.upload b { font-weight: 600; color: var(--navy); }
.upload small { color: var(--ink-3); font-size: .82rem; }
.upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload input[type=file]:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.upload[data-invalid] { border-color: var(--danger); border-style: solid; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: .85rem; font-weight: 600; max-width: 100%; }
.file-chip svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.file-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-options { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.pay-opt { display: flex; align-items: center; gap: var(--s3); min-height: 60px; padding: 0 var(--s3); border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; background: var(--white); }
.pay-opt:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.pay-opt input { accent-color: var(--navy); width: 18px; height: 18px; }
.pay-opt b { font-weight: 600; }
.pay-opt small { display: block; color: var(--ink-3); font-size: .8rem; }
.pay-badge { margin-left: auto; width: 38px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: .62rem; font-weight: 700; letter-spacing: .02em; }
.pay-badge--mtn { background: var(--mtn); color: var(--mtn-ink); }
.pay-badge--telecel { background: var(--telecel); color: var(--white); }
.pay-badge--at { background: var(--at); color: var(--white); }
.pay-badge--card { background: var(--navy-100); color: var(--navy); }
.summary { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); order: -1; }
@media (max-width: 999px) { .summary__img { aspect-ratio: 16 / 7; } }
@media (min-width: 1000px) { .summary { position: sticky; top: 84px; order: 0; } }
.summary__img { aspect-ratio: 16 / 9; overflow: hidden; }
.summary__img img { width: 100%; height: 100%; object-fit: cover; }
.summary__body { padding: var(--s5); }
.summary h3 { font-size: 1.3rem; color: var(--navy); }
.summary .meta { font-size: .88rem; color: var(--ink-3); margin-top: 4px; }
.err { color: var(--danger); font-size: .85rem; font-weight: 600; margin: var(--s4) 0 var(--s3); }
.err:empty { margin: var(--s3) 0 0; }

/* Payment sheet */
.sheet-back { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: grid; align-items: end; justify-items: center; opacity: 0; transition: opacity var(--t-exit) var(--ease-in); }
.sheet-back.show { opacity: 1; transition: opacity var(--t-med) var(--ease-out); }
@media (min-width: 640px) { .sheet-back { align-items: center; } }
.sheet { width: 100%; max-width: 420px; background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s2) var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); transform: translateY(100%); will-change: transform; touch-action: none; }
.sheet__grab { display: grid; place-items: center; height: var(--target); margin: 0 calc(var(--s5) * -1); cursor: grab; }
.sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 999px; background: var(--line-2); }
.sheet__grab:active { cursor: grabbing; }
.sheet .phone-prompt, .sheet .phone-prompt * { touch-action: auto; }
@media (min-width: 640px) { .sheet { border-radius: var(--r-lg); } }
.sheet__top { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s5); }
.sheet__top b { color: var(--ink); }
.sheet__amount { font-size: 2rem; font-weight: 700; color: var(--navy); text-align: center; font-variant-numeric: tabular-nums; }
.sheet__to { text-align: center; color: var(--ink-3); font-size: 1rem; margin-bottom: var(--s5); }
.phone-prompt { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); text-align: center; display: grid; gap: var(--s3); justify-items: center; }
.phone-prompt h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.phone-prompt p { color: var(--ink-2); font-size: 1rem; }
.orbit-loader { width: 64px; height: 64px; position: relative; }
.bar { height: 4px; width: 100%; background: var(--navy-100); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.bar i.run { transform: scaleX(1); transition: transform var(--bar-time, 4s) linear; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Confirmation */
.confirm { padding: var(--s6) 0 var(--s9); display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .confirm { grid-template-columns: 1fr 400px; gap: var(--s8); align-items: start; } }
.confirm__head { display: grid; gap: var(--s3); }
.confirm__head h1 { font-size: clamp(2rem, 6vw, 2.8rem); color: var(--navy); }
.ref { display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: var(--navy); color: var(--white); border-radius: var(--r-md); justify-self: start; }
.ref small { color: var(--on-navy-2); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.ref b { font-size: 1.4rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.next-list { list-style: none; padding: 0; margin: 0; display: grid; }
.next-list li { padding: var(--s4) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2rem 1fr; gap: var(--s3); }
.next-list li span { color: var(--gold-700); font-weight: 600; font-size: 1.1rem; }
.phone-frame { background: var(--navy-950); border-radius: 28px; padding: 10px; box-shadow: var(--shadow-float); max-width: 380px; width: 100%; justify-self: center; }
.wa-top { display: flex; align-items: center; gap: var(--s3); padding: var(--s3); background: var(--wa-head); color: var(--white); border-radius: 20px 20px 0 0; }
.wa-top img { width: 34px; height: 34px; border-radius: 50%; background: var(--white); padding: 3px; }
.wa-top b { display: block; font-size: .95rem; }
.wa-top small { font-size: .75rem; opacity: .85; }
.wa-body { background: var(--wa-bg); padding: var(--s4) var(--s3); border-radius: 0 0 20px 20px; min-height: 300px; }
.bubble { background: var(--wa-bubble); color: var(--wa-text); border-radius: 0 10px 10px 10px; padding: 10px 12px 6px; font-size: .88rem; line-height: 1.45; max-width: 92%; white-space: pre-line; box-shadow: var(--shadow-bubble); }
.bubble time { display: block; text-align: right; font-size: .68rem; color: var(--wa-time); margin-top: 4px; }
.wa-caption { text-align: center; font-size: .8rem; color: var(--ink-3); margin-top: var(--s3); }

/* ---------- Owners page ---------- */
.owners-hero { background: var(--navy); color: var(--white); padding: var(--s7) 0 var(--s8); position: relative; overflow: hidden; }
.owners-hero h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); max-width: 16ch; }
.owners-hero .big-crescent { display: none; }
@media (min-width: 900px) { .owners-hero .big-crescent { display: block; position: absolute; right: -60px; top: 72px; width: 460px; height: 92px; fill: var(--gold); } }
.estimator { display: grid; gap: var(--s5); background: var(--white); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-float); margin-top: calc(var(--s7) * -1); position: relative; }
@media (min-width: 900px) { .estimator { grid-template-columns: 1fr 1fr; padding: var(--s6); gap: var(--s7); } }
.range { width: 100%; accent-color: var(--navy); height: var(--target); }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row output { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.payout { background: var(--navy); color: var(--white); border-radius: var(--r-md); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; position: relative; overflow: hidden; }
.payout .label { color: var(--on-navy-2); }
.payout__big { font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.05; }
.payout .row { display: flex; justify-content: space-between; color: var(--on-navy); font-size: .95rem; padding-top: var(--s2); border-top: 1px solid var(--hair-on-navy); }
.payout .row span:last-child { font-variant-numeric: tabular-nums; color: var(--white); }
.payout small { color: var(--on-navy-2); font-size: .8rem; }
.split { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; } }
.promise { list-style: none; margin: 0; padding: 0; }
.promise li { padding: var(--s4) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem 1fr; gap: var(--s3); }
.promise li:last-child { border-bottom: 1px solid var(--line); }
.promise span { font-weight: 600; font-size: 1rem; color: var(--gold-700); font-variant-numeric: lining-nums tabular-nums; padding-top: 2px; }
.promise b { color: var(--navy); display: block; font-weight: 600; margin-bottom: 2px; }
.promise p { color: var(--ink-2); font-size: 1rem; }
.success { display: grid; gap: var(--s3); justify-items: start; padding: var(--s5); background: var(--ok-bg); border-radius: var(--r-md); color: var(--ok); }
.success h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; }
.success p { color: var(--ink-2); }

/* ---------- Portal shell (owner + admin) ---------- */
.portal { background: var(--paper); min-height: 100vh; }
.portal-head { background: var(--navy); color: var(--white); }
.portal-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: var(--s3); }
.portal-brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.portal-brand img { height: 28px; width: auto; }
.portal-brand span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-left: 1px solid var(--hair-on-navy); padding-left: var(--s3); white-space: nowrap; }
.who { display: flex; align-items: center; gap: var(--s2); font-size: .88rem; color: var(--on-navy); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.who__name { display: none; }
@media (min-width: 640px) { .who__name { display: inline; } .portal-brand img { height: 32px; } }
.portal-title { padding: var(--s6) 0 var(--s5); display: grid; gap: var(--s2); }
.portal-title h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); color: var(--navy); }
.portal-title p { color: var(--ink-2); }
.portal-tabs { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: var(--s5); position: sticky; top: 0; background: var(--paper); z-index: 10; }
.portal-tabs::-webkit-scrollbar { display: none; }
.portal-tabs a { flex: none; text-decoration: none; padding: var(--s3) var(--s3); min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.portal-tabs a:hover { color: var(--navy); border-color: var(--gold); }
.pane { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s5); margin-bottom: var(--s5); scroll-margin-top: 60px; }
.pane__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.pane h2 { font-size: 1.35rem; color: var(--navy); }
.pane__head small { color: var(--ink-3); font-size: .85rem; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s5); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
.kpi { background: var(--white); border-radius: var(--r-md); padding: var(--s4); box-shadow: var(--shadow-card); display: grid; gap: 4px; }
.kpi--lead { background: var(--navy); color: var(--white); }
.kpi .label { font-size: .7rem; }
.kpi--lead .label { color: var(--on-navy-2); }
.kpi strong { font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi--lead strong { color: var(--gold); }
.kpi small { font-size: .8rem; color: var(--ink-3); }
.kpi--lead small { color: var(--on-navy); }
.meter { height: 6px; background: var(--navy-100); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

.status { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--confirmed { background: var(--ok-bg); color: var(--ok); }
.status--ontrip { background: var(--trip-bg); color: var(--trip); }
.status--awaiting { background: var(--warn-bg); color: var(--warn); }
.status--returned { background: var(--muted-bg); color: var(--muted); }
.status--available { background: var(--ok-bg); color: var(--ok); }

/* Responsive table: rows become cards under 760px */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 0 var(--s3) var(--s2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td.r, .table th.r { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.flash td { animation: flash 1.4s var(--ease); }
@keyframes flash { from { background: var(--gold-100); } to { background: transparent; } }
.cell-car { display: flex; align-items: center; gap: var(--s3); }
.cell-car img { width: 56px; height: 38px; object-fit: cover; border-radius: 4px; flex: none; }
.cell-car b { display: block; font-weight: 600; color: var(--navy); }
.cell-car small { color: var(--ink-3); font-size: .8rem; }
.muted { color: var(--ink-3); font-size: .85rem; }
@media (max-width: 759px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s3); }
  .table td { padding: 0; border: 0; }
  .table td[data-l]::before { content: attr(data-l); display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
  .table td.span { grid-column: 1 / -1; }
  .table td.r { text-align: left; }
  .table td.end { text-align: right; justify-self: end; }
}

/* Availability strip */
.avail { overflow-x: auto; margin-inline: calc(var(--s5) * -1); padding-inline: var(--s5); }
.avail__grid { display: grid; grid-template-columns: 7.5rem repeat(14, minmax(24px, 1fr)); gap: 3px; min-width: 560px; align-items: center; font-size: .8rem; }
.avail__day { text-align: center; color: var(--ink-3); font-size: .68rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.avail__day b { display: block; color: var(--ink); font-size: .8rem; }
.avail__day.today b { color: var(--gold-700); }
.avail__car { font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; }
.avail__cell { height: 26px; border-radius: 4px; background: var(--navy-50); border: 1px solid var(--navy-100); }
.avail__cell.on { background: var(--navy); border-color: var(--navy); }
.avail__cell.hold { background: var(--gold-200); border-color: var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s4); font-size: .8rem; color: var(--ink-3); margin-top: var(--s3); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--navy-100); background: var(--navy-50); }
.legend i.on { background: var(--navy); border-color: var(--navy); }
.legend i.hold { background: var(--gold-200); border-color: var(--gold); }

.two-col { display: grid; gap: var(--s5); }
.two-col { gap: 0; }

/* Owner portal */
.earn { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .earn { grid-template-columns: 1.1fr 1fr; } }
.earn__card { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: var(--s5); position: relative; overflow: hidden; display: grid; gap: var(--s3); }
.earn__card .crescent { position: absolute; right: -28px; top: 10px; width: 120px; height: 24px; }
.earn__card > .label { max-width: 70%; }
.earn__card .label { color: var(--on-navy-2); }
.earn__net { font-size: clamp(2.3rem, 10vw, 3.2rem); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.earn__rows { display: grid; gap: 8px; max-width: 22rem; position: relative; }
.earn__rows div { display: flex; justify-content: space-between; color: var(--on-navy); font-size: .95rem; }
.earn__rows div span:last-child { color: var(--white); font-variant-numeric: tabular-nums; }
.next-payout { display: grid; gap: var(--s2); align-content: start; }
.next-payout strong { font-size: 1.5rem; color: var(--navy); font-weight: 700; }
.my-cars { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .my-cars { grid-template-columns: 1fr 1fr; } }
.my-car { display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s2); }
.my-car img { width: 110px; height: 76px; object-fit: cover; border-radius: var(--r-sm); }
.my-car b { font-weight: 600; color: var(--navy); display: block; }
.my-car small { display: block; color: var(--ink-3); font-size: .82rem; margin: 2px 0 6px; }
.statements { list-style: none; margin: 0; padding: 0; }
.statements li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); align-items: center; }
.statements li:first-child { border-top: 0; }
.statements b { font-weight: 600; color: var(--navy); }
.statements .amt { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.statements small { color: var(--ink-3); font-size: .82rem; }
.btn-link { background: none; border: 0; padding: 0 var(--s1); color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .95rem; min-height: var(--target); min-width: var(--target); }

.portal-foot { padding: var(--s6) 0; font-size: .8rem; color: var(--ink-3); text-align: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--r-md); font-size: .92rem; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transition: opacity var(--t-exit) var(--ease-in), transform var(--t-exit) var(--ease-in); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.has-sticky .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- Motion ---------- */
.view-enter { animation: enter var(--t-med) var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view-enter { animation: fade var(--t-fast) linear; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  /* Reduced motion: cross-fades instead of movement [apple-design §14] */
  .card, .card__img img, .btn, .toast, .mobile-nav, .chip, .seg button { transition: opacity var(--t-fast); transform: none !important; }
  .sheet { transform: none !important; }
  .bar i.run { transition: none; transform: scaleX(1); }
  .table tr.flash td { animation: none; background: var(--gold-100); }
}

/* ---------- Small utility classes used by app.js ---------- */
.foot__tag { margin-top: var(--s4); max-width: 22rem; }
.foot__wa { margin-top: var(--s2); }
.card__year { color: var(--ink-3); font-family: var(--sans); font-weight: 400; font-size: .72em; letter-spacing: 0; }
.detail__head .card__year { font-size: .6em; }
.airport__cta { margin-top: var(--s5); display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.airport__cta span { color: var(--on-navy-2); font-size: .9rem; }
.section--flush { padding-top: 0; }
.teaser .eyebrow { margin-bottom: 0; }
.teaser .lede { margin: 0; }
.panel__note { font-size: .85rem; color: var(--ink-3); margin-top: var(--s2); }
.panel__dates { margin-top: var(--s3); }
.form-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.upload__btns { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.deposit--flush { margin: 0; }
.confirm__cta { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.next-list { margin-top: var(--s4); }
.estimator__form { display: grid; gap: var(--s4); align-content: start; }
.estimator__form .section-title { font-size: 1.6rem; }
.promise { margin-top: var(--s5); }
.orbit__track { fill: none; stroke: var(--navy-100); stroke-width: 3; }
.orbit__arc { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.orbit__plane { fill: var(--navy); }
.orbit__spin { transform-origin: 32px 32px; animation: spin 1.6s linear infinite; }
.orbit-loader--done { display: grid; place-items: center; }
.orbit-loader--done svg, .success svg { fill: var(--ok); }
.tag--xs { min-height: 20px; font-size: .66rem; padding: 0 8px; vertical-align: 1px; }
.owner-name { color: var(--navy); }
.pane__head--gap { margin-top: var(--s6); }
.earn { margin-bottom: var(--s5); scroll-margin-top: 60px; }
.earn .pane { margin: 0; }
@media (prefers-reduced-motion: reduce) { .orbit__spin { animation: none; } }

/* ---------- Audit fix pass (27 Sep 2026) ---------- */
/* Date field: native picker underneath, DD/MM/YYYY shown on top */
.datefield { position: relative; }
.datefield__show { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 48px; padding: 0 var(--s3); border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--white); font-variant-numeric: tabular-nums; pointer-events: none; }
.datefield__show svg { width: 18px; height: 18px; fill: var(--ink-3); flex: none; }
.datefield input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 1rem; }
.datefield input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.datefield:focus-within .datefield__show { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-100); outline: 2px solid var(--focus); outline-offset: 2px; }

/* Inline validation */
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.field-err { color: var(--danger); font-size: .9rem; font-weight: 600; }
.field-err:empty { display: none; }

/* Offline banner */
.offline { display: none; background: var(--warn-bg); color: var(--warn); font-weight: 600; font-size: .95rem; text-align: center; padding: var(--s2) var(--gutter); }
.is-offline .offline { display: block; }

/* Low-res placeholders while photos load */
.lqip { background-size: cover; background-position: center; }

/* Fleet note when chauffeur-only cars are hidden */
.fleet-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--ink-2); }

/* Admin: needs-action strip + filters */
.needs { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; padding: var(--s4); border-radius: var(--r-md); background: var(--warn-bg); color: var(--warn); margin-bottom: var(--s4); }
.needs b { color: var(--ink); }
.filter-chips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s3); }
.filter-chips::-webkit-scrollbar { display: none; }

/* MoMo states */
.momo-count { font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: .95rem; }
.momo-actions { display: grid; gap: var(--s2); width: 100%; }
.phone-prompt--timeout h3 { color: var(--warn); }

/* Data saver */
.data-saver .route__car animateMotion { display: none; }
.saver-toggle { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--target); background: none; border: 1px solid var(--hair-on-navy); border-radius: 999px; color: var(--on-navy); padding: 0 var(--s4); cursor: pointer; font: inherit; font-size: .9rem; }
.saver-toggle[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

.datefield, .datefield__show { min-width: 0; }
.datefield__show span { overflow: hidden; text-overflow: clip; white-space: nowrap; }
@media (max-width: 420px) { .datefield__show { padding: 0 var(--s2) 0 var(--s3); } .datefield__show svg { display: none; } .search__dates { gap: var(--s2); } }
/* Wide tables scroll inside their card rather than the page, e.g. at 200% text size */
.pane { overflow-x: auto; }
/* KPI tiles wrap instead of overflowing when text is enlarged */
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); } }
.kpi { min-width: 0; }
.kpi small, .kpi .label { overflow-wrap: anywhere; }
.kpi strong { white-space: nowrap; font-size: clamp(1.15rem, 5.2vw, 1.8rem); }
/* The payment sheet keeps one height across its states, so nothing jumps */
.sheet [data-stage] { min-height: 19rem; align-content: center; }
.crumbs a { min-width: var(--target); }
.portal-brand { min-height: var(--target); }
@media (min-width: 900px) { .search { grid-template-columns: 1.2fr 1.9fr 1.3fr auto; } .search .datefield__show svg { display: none; } }

.progress li:not(.on):not(.done) { color: var(--ink-3); }
.portal-tabs a[aria-current="true"] { color: var(--navy); border-color: var(--gold); font-weight: 600; }
/* Featured card spans two rows so the two cards beside it stack with no void */
@media (min-width: 1000px) { .card--feature { grid-row: span 2; } .card--feature .card__img { aspect-ratio: auto; flex: 1; min-height: 20rem; } }
@media (min-width: 1000px) { .card--feature { align-self: stretch; } .fleet-note { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; align-self: stretch; } }
@media (min-width: 640px) and (max-width: 999px) { .fleet-note { grid-column: auto; align-self: stretch; flex-direction: column; align-items: flex-start; justify-content: center; } }
@media (min-width: 1000px) { .card--feature .card__body { flex: none; } .card--feature .card__img img { position: absolute; inset: 0; } }

/* ---------- Spacious pass (1 Oct 2026): same v1 look and content, more room ---------- */
:root { --gutter: 1.25rem; }
@media (min-width: 768px) { :root { --gutter: 2.5rem; } }
body { line-height: 1.6; }
.section-title { font-size: clamp(2rem, 5.5vw, 2.9rem); line-height: 1.08; }
.lede { margin-top: var(--s4); }

/* Sections and headings breathe */
.section { padding: var(--s9) 0; }
.section--fleet { padding-top: var(--s8); }
@media (min-width: 900px) { .section { padding: 8rem 0; } .section--fleet { padding-top: 12rem; } }
.section-head { margin-bottom: var(--s7); gap: var(--s5); }
.eyebrow { margin-bottom: var(--s5); }
.filters { margin-bottom: var(--s7); gap: var(--s4); }

/* Fleet grid: fewer, larger cards with less on the face */
.grid { gap: var(--s7) var(--s6); }
.card__body { padding: var(--s5) var(--s5) var(--s6); gap: var(--s2); }
.card__title { font-size: 1.55rem; }
.card__drive { color: var(--ink-2); font-size: 1rem; }
.card__price { font-size: 1.3rem; margin-top: var(--s3); }
.card__price small { font-size: .95rem; }
.card:hover { box-shadow: var(--shadow-float); }

/* Hero and search: fields get room; stacked on phones */
.hero__body { padding: var(--s6) 0 var(--s8); }
.hero__sub { margin-top: var(--s4); }
.hero__facts { margin-top: var(--s6); gap: var(--s3) var(--s6); }
.search { margin-top: var(--s7); padding: var(--s5); gap: var(--s5); }
.search__places { display: grid; gap: var(--s5); }
.search__dates { grid-template-columns: 1fr; gap: var(--s5); }
.dropoff-same { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; padding: 0 var(--s2) 0 var(--s3); border: 1px dashed var(--field-line); border-radius: var(--r-sm); background: var(--paper); }
.dropoff-same span { color: var(--ink-2); }
.seg button { padding: 6px var(--s2); line-height: 1.2; }
.seg__note { font-weight: 500; }
@media (min-width: 560px) { .search__places, .search__dates { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .hero { min-height: 700px; }
  .hero__body { padding: var(--s9) 0 var(--s7); }
  .search { grid-template-columns: 1fr 1fr; align-items: end; padding: var(--s6); gap: var(--s5) var(--s6); margin-bottom: -9rem; }
  .search__places, .search__dates { grid-template-columns: 1fr 1fr; }
  .search .btn { min-width: 0; }
}
@media (min-width: 1100px) { .search { grid-template-columns: 1.2fr 1fr; } }

/* Car page: calm blocks; long text sits in expanders */
.detail { gap: var(--s7); }
.detail__head { margin-top: var(--s6); gap: var(--s3); }
.specs { margin: var(--s7) 0 var(--s6); }
.specs div { padding: var(--s5); }
.expanders { border-top: 1px solid var(--line); margin-top: var(--s6); }
.expanders details { border-bottom: 1px solid var(--line); }
.expanders summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 64px; cursor: pointer; font-family: var(--display); font-size: 1.4rem; color: var(--navy); }
.expanders summary::-webkit-details-marker { display: none; }
.expanders summary svg { width: 24px; height: 24px; fill: var(--ink-3); transition: transform var(--t-med) var(--ease); flex: none; }
.expanders details[open] summary svg { transform: rotate(180deg); }
.expanders .body { padding: var(--s2) 0 var(--s6); color: var(--ink-2); }
.expanders .features { gap: var(--s3) var(--s6); }
.managed { margin-top: var(--s7); padding: var(--s5); }
.panel { padding: var(--s7) var(--s6) var(--s6); }
.panel__price { margin-bottom: var(--s5); }
.panel__dates { margin-top: var(--s4); }
.panel__group { margin-top: var(--s6); }
.addons { gap: var(--s3); margin-top: var(--s3); }
.addon { padding: var(--s4); }
.breakdown { margin: var(--s5) 0; gap: 10px; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s8); } }

/* Checkout */
.form-card { padding: var(--s6); }
.form-card + .form-card { margin-top: var(--s6); }
.form-card .hint { margin-bottom: var(--s5); }
.form-grid { gap: var(--s5); }
.summary__body { padding: var(--s6); }

/* Owner and admin: clear section breaks, roomier rows */
.portal-title { padding: var(--s7) 0 var(--s6); gap: var(--s3); }
.portal-tabs { margin-bottom: var(--s6); }
.pane { padding: var(--s6) var(--s5); margin-bottom: var(--s6); }
@media (min-width: 768px) { .pane { padding: var(--s7); } }
.pane__head { margin-bottom: var(--s5); }
.kpis { gap: var(--s4); margin-bottom: var(--s6); }
.kpi { padding: var(--s5); gap: var(--s2); }
@media (min-width: 760px) { .table td { padding: var(--s4) var(--s3); } }
.cell-car small { display: block; }
@media (max-width: 759px) { .table tr { padding: var(--s5) 0; gap: 10px var(--s4); } }
.two-col .pane + .pane { margin-top: 0; }
.earn { gap: var(--s5); margin-bottom: var(--s6); }
.my-cars { gap: var(--s5); }
.my-car { padding: var(--s3); gap: var(--s4); }
.statements li { padding: var(--s4) 0; }
.foot { padding: var(--s9) 0 var(--s6); }
@media (min-width: 900px) { .filter-row { grid-template-columns: 200px 360px; } }
/* Body-like notes at 16px; nav links and fields get full targets and rings */
.how__step .small, .panel__note, .summary .meta, .estimator__form .muted, .next-payout .muted, .portal-foot, .result-count { font-size: 1rem; }
.site-nav a:not(.btn) { min-height: var(--target); display: inline-flex; align-items: center; }
.input:focus-visible, .select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-nav a:not(.btn) { min-width: var(--target); justify-content: center; } .progress { font-size: .9rem; }
.my-cars, .my-car > div { min-width: 0; }
.my-car small { overflow-wrap: anywhere; }
.table .btn { white-space: nowrap; }

/* Review fixes (1 Oct): phones spacious, not sparse; no wrapping controls */
@media (max-width: 559px) {
  .section { padding: 4.5rem 0; }
  .section--fleet { padding-top: 4.5rem; }
  .section-head { margin-bottom: var(--s6); }
  .search { margin-top: var(--s6); padding: var(--s4); gap: var(--s4); }
  .search__places { gap: var(--s4); }
  .search__dates { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .hero__facts { margin-top: var(--s5); gap: var(--s2) var(--s4); }
  .hero__body { padding-bottom: var(--s7); }
  .panel { padding: var(--s7) var(--s4) var(--s5); }
  .breakdown .row.total { font-size: 1.05rem; }
}
.seg button { white-space: nowrap; }
.seg__note { display: block; font-size: .78rem; font-weight: 500; opacity: .85; }
.breakdown .row span:first-child { min-width: 0; }
.breakdown .row.total span:last-child { white-space: nowrap; }
.breakdown .row.total span:first-child { overflow-wrap: anywhere; }
.addon small { line-height: 1.4; }
.depart { margin-top: var(--s3); }
.depart .hint { font-size: 1rem; color: var(--ink-2); }
.depart .hint b { color: var(--navy); }
.confirm__head .status { justify-self: start; }

/* Home trim (1 Oct): hero, four featured cars, one airport strip */
.section--featured { padding-top: var(--s8); }
@media (min-width: 900px) { .section--featured { padding-top: 11rem; } }
@media (min-width: 1100px) { .grid--featured { grid-template-columns: repeat(4, 1fr); gap: var(--s6) var(--s5); } }
.grid--featured .card__title { font-size: 1.4rem; }
.featured__more { display: flex; justify-content: center; margin-top: var(--s7); }
.strip { background: var(--navy); color: var(--white); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding-top: var(--s7); padding-bottom: var(--s7); }
.strip__inner p { color: var(--on-navy); font-size: 1.1rem; max-width: 40rem; }
.strip__inner b { color: var(--white); font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
main > .wrap:first-child .crumbs { padding-top: var(--s4); }
main > .wrap:first-child + .section, main > .wrap:first-child + .section--fleet { padding-top: var(--s6); }
main > .wrap:first-child + .section.on-navy { margin-top: var(--s2); padding-top: var(--s8); }
.grid--featured { align-items: stretch; }
.card__unit { color: var(--ink-3); font-size: 1rem; margin-top: -4px; }
.mobile-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); }
#how.section { padding-bottom: var(--s7); }
@media (max-width: 559px) { .chips { -webkit-mask-image: linear-gradient(to right, var(--navy) 85%, transparent); mask-image: linear-gradient(to right, var(--navy) 85%, transparent); } }

/* =====================================================================
   Accounts (7 Oct 2026): sign-in, account area, portals for every role,
   inbox, trips, help and policies. Tokens only; same look as the rest.
   ===================================================================== */

/* Header account controls */
.head-actions { gap: var(--s2); }
.acct-ctl { display: flex; align-items: center; gap: var(--s1); }
.icon-btn { position: relative; display: grid; place-items: center; width: var(--target); height: var(--target); border-radius: 50%; color: var(--navy); text-decoration: none; transition: background var(--t-fast), transform var(--t-press) var(--ease-out); }
.icon-btn:hover { background: var(--navy-50); }
.icon-btn:active, .avatar-btn:active, .row-link:active, .drive-row:active, .trip-card:active, .contact-card:active, .join-links a:active { transform: scale(var(--press)); transition-duration: var(--t-press); }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--white); }
.avatar-btn { display: grid; place-items: center; width: var(--target); height: var(--target); border: 0; background: none; border-radius: 50%; cursor: pointer; padding: 0; transition: transform var(--t-press) var(--ease-out); }
.avatar-btn .avatar { width: 36px; height: 36px; }
.avatar-btn[aria-expanded="true"] .avatar { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold); }
.acct-signin svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 380px) { .acct-signin { padding: 0 var(--s3); } .acct-signin svg { display: none; } }
.portal-head .icon-btn { color: var(--white); }
.portal-head .icon-btn:hover { background: var(--hair-on-navy); }
.portal-head .icon-btn .count { box-shadow: 0 0 0 2px var(--navy); }
.portal-head .who { gap: var(--s2); }
.site-nav .btn--wa .wa-short { display: none; }
@media (min-width: 900px) and (max-width: 1139px) { .site-nav { gap: var(--s4); } .site-nav .btn--wa { padding: 0 var(--s3); } .site-nav .btn--wa .wa-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Popover menu: grows from its trigger, leaves faster than it arrives [apple-design §7] */
.pop-wrap { position: relative; }
.pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(18rem, calc(100vw - 2rem));
  background: var(--white); color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: var(--s2);
  transform-origin: top right; opacity: 0; visibility: hidden; transform: scale(.96) translateY(-4px);
  transition: opacity var(--t-exit) var(--ease-in), transform var(--t-exit) var(--ease-in), visibility 0s linear var(--t-exit);
}
.pop.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s; }
.pop__who { padding: var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s1); }
.pop__who b { display: block; color: var(--navy); }
.pop__who small { color: var(--ink-3); font-size: .85rem; }
.pop a, .pop button { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: var(--target); padding: 0 var(--s3); border: 0; background: none; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-size: .95rem; cursor: pointer; text-align: left; }
.pop a:hover, .pop button:hover { background: var(--navy-50); }
.pop svg { width: 20px; height: 20px; fill: var(--ink-3); flex: none; }
.pill { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }

/* Mobile menu: the account block sits at the bottom */
.mobile-nav__me { border-top: 4px solid var(--paper-2); }
.mobile-nav__me a, .mobile-nav__me button { display: flex; align-items: center; width: 100%; min-height: 52px; padding-inline: var(--gutter); border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-weight: 500; color: var(--navy); text-decoration: none; text-align: left; cursor: pointer; }
.mobile-nav__who { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-nav__who b { display: block; color: var(--navy); }
.mobile-nav__who small { color: var(--ink-3); font-size: .85rem; }
.mobile-nav { max-height: calc(100vh - 64px); overflow-y: auto; }

/* Avatars carry the role colour */
.avatar--customer { background: var(--navy); color: var(--white); }
.avatar--owner { background: var(--gold); color: var(--navy); }
.avatar--chauffeur { background: var(--navy-800); color: var(--gold); }
.avatar--admin { background: var(--ink); color: var(--white); }
.avatar--lg { width: 56px; height: 56px; font-size: 1.1rem; }

/* Footer: five columns on wide screens */
@media (min-width: 640px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.foot__tools { display: inline-flex; flex-wrap: wrap; gap: var(--s2); }
.portal-foot { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: center; align-items: center; }
.portal-foot .foot__tools { gap: var(--s4); align-items: center; }
.portal-foot a { color: var(--navy); font-weight: 600; min-height: var(--target); display: inline-flex; align-items: center; }

/* ---------- Sign in ---------- */
.auth { display: grid; gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s9); align-items: start; }
@media (min-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s8); padding-top: var(--s8); } }
.auth__card { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s7) var(--s5) var(--s6); max-width: 34rem; width: 100%; justify-self: center; }
@media (min-width: 640px) { .auth__card { padding: var(--s7) var(--s7) var(--s6); } }
.auth__form { display: grid; gap: var(--s4); }
.auth__form h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); color: var(--navy); }
.auth__form .hint { color: var(--ink-2); }
.auth__now { font-size: .95rem; color: var(--ink-2); background: var(--navy-50); border-radius: var(--r-sm); padding: var(--s3); margin-bottom: var(--s4); }
.code-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 600; padding-left: .5em; }
.demo-note { font-size: .9rem; color: var(--gold-700); background: var(--gold-100); border-radius: var(--r-sm); padding: var(--s2) var(--s3); }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1rem; color: var(--ink-2); cursor: pointer; min-height: var(--target); padding-top: 10px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.auth__side h2 { font-size: 1.4rem; color: var(--navy); }
.auth__side .hint { color: var(--ink-3); margin: var(--s2) 0 var(--s4); }
.auth__join-h { margin-top: var(--s7); margin-bottom: var(--s3); }
.join-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.join-links a { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 60px; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; text-align: left; text-decoration: none; color: var(--ink); transition: border-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.join-links a:hover { border-color: var(--navy); }
.join-links b { display: block; color: var(--navy); font-weight: 600; }
.join-links small { color: var(--ink-3); font-size: .85rem; }
.join-links a > span { flex: 1; min-width: 0; }
.join-links svg { width: 24px; height: 24px; fill: var(--gold-700); flex: none; }
.chev-r { width: 22px; height: 22px; fill: var(--ink-3); transform: rotate(-90deg); flex: none; }

/* Sign-in needed */
.gate { max-width: 28rem; margin: var(--s8) auto var(--s9); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s7) var(--s5) var(--s6); display: grid; gap: var(--s3); text-align: center; justify-items: center; }
.gate h1 { font-size: 2rem; color: var(--navy); }
.gate p { color: var(--ink-2); }
.gate__wrong { background: var(--warn-bg); color: var(--warn); border-radius: var(--r-sm); padding: var(--s3); font-size: .95rem; }
.gate__alt { margin-top: var(--s2); }
.gate__alt a { color: var(--navy); font-weight: 600; }

/* ---------- Account layout ---------- */
.acct { display: grid; gap: var(--s6); padding-top: var(--s5); padding-bottom: var(--s9); align-items: start; }
.acct-nav { display: none; }
@media (min-width: 900px) {
  .acct { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); padding-top: var(--s7); }
  .acct-nav { display: grid; gap: 2px; position: sticky; top: 84px; }
  .portal .acct-nav { top: var(--s5); }
  .acct .back-link { display: none; }
  .acct-menu-m { display: none; }
}
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: var(--s3); min-height: var(--target); padding: 0 var(--s3); border-radius: var(--r-sm); border: 0; background: none; font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; text-align: left; cursor: pointer; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--white); color: var(--navy); }
.acct-nav a[aria-current="page"] { background: var(--white); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.acct-nav svg { width: 20px; height: 20px; fill: currentColor; flex: none; opacity: .8; }
.acct-nav button { margin-top: var(--s3); border-top: 1px solid var(--line); border-radius: 0; padding-top: var(--s2); }
.acct-main { min-width: 0; display: grid; gap: var(--s5); }
.acct-head h1 { font-size: clamp(2rem, 6vw, 2.6rem); color: var(--navy); }
.acct-head .lede { margin-top: var(--s2); }
.back-link { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--target); color: var(--navy); font-weight: 600; text-decoration: none; justify-self: start; }
.back-link svg { width: 20px; height: 20px; fill: currentColor; }
.acct-main > .pane, .acct-main > .form-card, .acct-main .pane { margin: 0; }
.pane-title { font-size: 1.3rem; color: var(--navy); margin-bottom: var(--s3); }
.pane--rows { padding-top: var(--s5); padding-bottom: var(--s3); }
.row-link { display: flex; align-items: center; gap: var(--s4); width: 100%; min-height: 64px; padding: var(--s2) 0; border: 0; border-top: 1px solid var(--line); background: none; text-decoration: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: transform var(--t-press) var(--ease-out); }
.pane-title + .row-link, .pane--rows > .row-link:first-child { border-top: 0; }
.row-link:hover .row-link__text b { color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; }
.row-link__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; flex: none; }
.row-link__icon svg { width: 20px; height: 20px; fill: var(--navy); }
.row-link__text { flex: 1; min-width: 0; }
.row-link__text b { display: block; font-weight: 600; color: var(--navy); }
.row-link__text small { color: var(--ink-3); font-size: .9rem; }
.empty-pane { display: grid; gap: var(--s3); justify-items: start; }
.empty-pane h2 { font-size: 1.4rem; color: var(--navy); }
.empty__cta { margin-top: var(--s4); }
.fineprint--left { text-align: left; }

/* Next trip: the one card that leads the account */
.next-trip { position: relative; overflow: hidden; display: grid; gap: var(--s2); align-content: start; padding: var(--s5); padding-bottom: calc(var(--s5) + 140px); background: var(--navy); color: var(--white); border-radius: var(--r-lg); text-decoration: none; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.next-trip:hover { box-shadow: var(--shadow-float); }
.next-trip:active { transform: scale(.99); transition-duration: var(--t-press); }
.next-trip .crescent { position: absolute; right: -24px; top: 14px; width: 140px; height: 28px; }
.next-trip .label { color: var(--on-navy-2); }
.next-trip__when { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.05; color: var(--gold); }
.next-trip__car { font-weight: 600; font-size: 1.1rem; }
.next-trip__route, .next-trip__driver { color: var(--on-navy); }
.next-trip__driver { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.next-trip__driver .avatar { width: 30px; height: 30px; font-size: .72rem; }
.next-trip__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--gold); margin-top: var(--s2); }
.next-trip__cta .chev-r { fill: var(--gold); }
.next-trip img { position: absolute; right: 0; bottom: 0; width: 100%; height: 140px; object-fit: cover; mask-image: linear-gradient(to bottom, transparent, var(--navy) 45%); -webkit-mask-image: linear-gradient(to bottom, transparent, var(--navy) 45%); }
@media (min-width: 640px) { .next-trip { padding: var(--s6); padding-right: 46%; min-height: 15rem; } .next-trip img { width: 48%; height: 100%; mask-image: linear-gradient(to right, transparent, var(--navy) 45%); -webkit-mask-image: linear-gradient(to right, transparent, var(--navy) 45%); } }
.next-trip :focus-visible, .next-trip:focus-visible { outline-color: var(--focus-on-dark); }
.acct-grid { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .acct-grid { grid-template-columns: 1fr 1fr; } }
.mini-inbox { list-style: none; margin: 0; padding: 0; }
.mini-inbox li { border-top: 1px solid var(--line); }
.mini-inbox li:first-child { border-top: 0; }
.mini-inbox a { display: grid; gap: 2px; padding: var(--s3) 0 var(--s3) var(--s4); text-decoration: none; position: relative; min-height: var(--target); }
.mini-inbox b { font-weight: 500; color: var(--ink); }
.mini-inbox .is-new b { font-weight: 700; color: var(--navy); }
.mini-inbox .is-new a::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.mini-inbox small { color: var(--ink-3); font-size: .85rem; }
.glance { margin: 0; display: grid; }
.glance div { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.glance div:first-child { border-top: 0; }
.glance dt { color: var(--ink-3); font-size: .9rem; }
.glance dd { margin: 0; font-weight: 600; color: var(--navy); display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; justify-content: flex-end; text-align: right; }

/* Settings forms */
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s4); }
.hint--field { font-size: .9rem; color: var(--ink-3); }
.profile-head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s5); }
.profile-head b { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--navy); font-weight: 400; }
.profile-head small { color: var(--ink-3); }
.readonly { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; padding: 0 var(--s2) 0 var(--s3); border: 1px dashed var(--field-line); border-radius: var(--r-sm); background: var(--paper); }
.btn--danger { background: var(--danger); color: var(--white); }
.btn--danger:hover { background: var(--ink); }
.btn-link--danger { color: var(--danger); }
.pane--danger { box-shadow: inset 0 0 0 1px var(--danger-bg), var(--shadow-card); }
.pane--danger h2 { color: var(--danger); }
.pane--danger .muted { margin-bottom: var(--s4); }

.doc-list { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.doc__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.doc h2 { font-size: 1.25rem; color: var(--navy); }
.doc__meta { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; font-size: .9rem; color: var(--ink-2); }
.doc input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.doc input[type=file]:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

.place-list, .wallet-list, .devices { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.place, .wallet { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: var(--s4); }
.place > div:nth-child(2), .wallet > div { flex: 1; min-width: 12rem; display: grid; gap: 2px; }
.place b, .wallet b { color: var(--navy); font-weight: 600; }
.place span, .place small { color: var(--ink-2); }
.place small { font-size: .88rem; color: var(--ink-3); }
.place__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-100); display: grid; place-items: center; flex: none; }
.place__icon svg { width: 22px; height: 22px; fill: var(--gold-700); }
.place__btns { display: flex; gap: var(--s2); }
.wallet small { color: var(--ink-3); font-size: .88rem; }
.wallet .pay-badge { margin: 0; width: 44px; height: 30px; flex: none; }
.payout-now .wallet { box-shadow: none; padding: var(--s3) 0 0; }

/* Notification switches */
.prefs { width: 100%; border-collapse: collapse; }
.prefs th, .prefs td { padding: var(--s3) var(--s2); border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.prefs thead th { border-top: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.prefs th[scope="row"], .prefs thead th:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.prefs th[scope="row"] small { display: block; font-weight: 400; color: var(--ink-3); font-size: .85rem; margin-top: 2px; }
@media (max-width: 559px) { .prefs thead { display: none; } .prefs tr { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding: var(--s3) 0; } .prefs th[scope="row"] { grid-column: 1 / -1; border: 0; padding: 0 0 var(--s2); } .prefs td { border: 0; padding: 0; display: grid; justify-items: center; gap: 2px; } .prefs td::before { content: attr(data-l); } }
.switch { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: var(--target); min-height: var(--target); cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch__track { width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background var(--t-fast); flex: none; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-knob); transition: transform var(--t-med) var(--ease); }
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { opacity: .55; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 3px; }
.switch--row { justify-content: space-between; gap: var(--s4); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: var(--s3) var(--s4); margin-top: var(--s3); max-width: 28rem; text-align: left; }
.switch--row b { display: block; color: var(--navy); }
.switch--row small { color: var(--ink-3); font-size: .9rem; }
.devices li { display: flex; flex-wrap: wrap; gap: 2px var(--s3); align-items: center; padding: var(--s3) 0; border-top: 1px solid var(--line); }
.devices li:first-child { border-top: 0; }
.devices b { flex: 1 1 100%; color: var(--navy); font-weight: 600; }
.devices small { color: var(--ink-3); flex: 1; }
.devices { margin-bottom: var(--s4); gap: 0; }

/* ---------- Trips ---------- */
.trip-list { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .trip-list { grid-template-columns: 1fr 1fr; } }
.trip-card { display: grid; grid-template-columns: 112px 1fr; gap: var(--s4); align-items: start; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: var(--s3); text-decoration: none; color: var(--ink); transition: box-shadow var(--t-med) var(--ease), transform var(--t-press) var(--ease-out); }
.trip-card:hover { box-shadow: var(--shadow-float); }
.trip-card img { width: 112px; height: 84px; object-fit: cover; border-radius: var(--r-sm); }
.trip-card__body { display: grid; gap: 4px; min-width: 0; font-size: .95rem; }
.trip-card__top { display: flex; justify-content: space-between; gap: var(--s2); align-items: flex-start; flex-wrap: wrap; }
.trip-card__top b { color: var(--navy); font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.trip-card__foot { display: flex; justify-content: space-between; gap: var(--s2); color: var(--ink-3); font-size: .88rem; margin-top: 2px; }
.trip-card__foot b { color: var(--navy); font-size: 1rem; }
.status--cancelled { background: var(--danger-bg); color: var(--danger); }
.trip-top { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.ref--sm { padding: var(--s1) var(--s3); gap: var(--s2); }
.ref--sm b { font-size: 1rem; }
.notice { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); justify-content: space-between; align-items: center; padding: var(--s4); border-radius: var(--r-md); background: var(--warn-bg); color: var(--ink-2); }
.notice b { color: var(--warn); }
.notice--muted { background: var(--muted-bg); }
.notice--muted b { color: var(--ink); }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: var(--s4); border-radius: var(--r-md); background: var(--navy); color: var(--white); }
.live b { font-weight: 600; }
.live span:last-child { color: var(--on-navy); font-size: .95rem; }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: livePulse 2s var(--ease) infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 var(--gold-glow); } 70% { box-shadow: 0 0 0 10px var(--gold-clear); } 100% { box-shadow: 0 0 0 0 var(--gold-clear); } }
.data-saver .live__dot { animation: none; }
.trip-grid { display: grid; gap: var(--s5); align-items: start; }
.trip-grid > div, .trip-side { display: grid; gap: var(--s5); min-width: 0; }
@media (min-width: 1000px) { .trip-grid { grid-template-columns: minmax(0, 1fr) 340px; } .trip-side { position: sticky; top: 84px; } .portal .trip-side { top: var(--s5); } }
.trip-grid .pane { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 var(--s4) var(--s6); min-height: 44px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--white); box-sizing: border-box; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; min-height: 0; }
.timeline li:last-child::after { display: none; }
.timeline b { font-weight: 600; color: var(--ink-3); }
.timeline small { color: var(--ink-3); font-size: .9rem; }
.timeline .done::before { background: var(--ok); border-color: var(--ok); }
.timeline .done::after { background: var(--ok); }
.timeline .done b { color: var(--ink); }
.timeline .on::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px var(--gold-100); }
.timeline .on b { color: var(--navy); }
.timeline .on small { color: var(--ink-2); }
.chauffeur-card { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.chauffeur-card h2 { font-size: 1.5rem; color: var(--navy); margin: 2px 0 var(--s2); }
.chauffeur-card .muted { font-size: .95rem; }
.chauffeur-card__btns { grid-column: 1 / -1; display: flex; gap: var(--s2); flex-wrap: wrap; }
.chauffeur-card__btns svg { width: 18px; height: 18px; fill: currentColor; }
.terms--tight div { padding: var(--s3) 0; }
.terms--tight div:first-child { border-top: 0; }
@media (min-width: 640px) { .terms--tight div { grid-template-columns: 7.5rem 1fr; } }
.trip-actions { display: grid; gap: var(--s2); justify-items: stretch; }
.trip-actions .btn-link { justify-self: start; }
.trip-actions .fineprint { text-align: left; margin-top: 0; }
.pay-via { margin: var(--s3) 0; }
.trip-side .btn svg { width: 18px; height: 18px; fill: currentColor; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0 0 var(--s3); }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { width: var(--target); height: var(--target); display: grid; place-items: center; cursor: pointer; }
.stars label svg { width: 32px; height: 32px; fill: var(--line-2); transition: fill var(--t-fast), transform var(--t-press) var(--ease-out); }
.stars label:active svg { transform: scale(.9); }
.stars input:checked ~ label svg, .stars label:hover svg, .stars label:hover ~ label svg { fill: var(--gold); }
.stars input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
.stars-show { display: flex; gap: 2px; }
.stars-show svg { width: 24px; height: 24px; fill: var(--line-2); }
.stars-show svg.on { fill: var(--gold); }
.quote { margin-top: var(--s3); padding-left: var(--s4); border-left: 3px solid var(--gold); color: var(--ink-2); font-style: italic; }

/* Dialog content (cancel, change, confirm) */
.sheet__title { font-size: 1.6rem; color: var(--navy); margin-bottom: var(--s2); }
.sheet__lede { color: var(--ink-2); margin-bottom: var(--s4); }
.sheet__form { display: grid; gap: var(--s4); }
.sheet .breakdown { margin-top: 0; }
.sheet .hint { color: var(--ink-3); font-size: .95rem; margin: var(--s4) 0; }
.radio-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--field-line); background: var(--white); font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast); }
.chip-radio input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Receipt and invoice ---------- */
.doc-page { padding-bottom: var(--s9); }
.doc-tools { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-top: var(--s4); padding-bottom: var(--s4); flex-wrap: wrap; }
.doc-tools svg { width: 18px; height: 18px; fill: currentColor; }
.paper { background: var(--white); max-width: 46rem; margin: 0 auto; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: var(--s6) var(--s5); display: grid; gap: var(--s5); }
@media (min-width: 640px) { .paper { padding: var(--s7); } }
.paper__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); flex-wrap: wrap; padding-bottom: var(--s4); border-bottom: 2px solid var(--navy); }
.paper__head h1 { font-size: 2rem; color: var(--navy); text-align: right; }
.paper__head p { text-align: right; color: var(--ink-3); }
.paper__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: 0; }
@media (min-width: 640px) { .paper__meta { grid-template-columns: repeat(4, 1fr); } }
.paper__meta dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.paper__meta dd { margin: 4px 0 0; color: var(--ink); font-size: .95rem; }
.paper__trip { color: var(--ink-2); }
.paper__trip b { color: var(--navy); }
.paper__lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
.paper__lines th, .paper__lines td { text-align: left; padding: var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.paper__lines td + td, .paper__lines th + th { padding-left: var(--s3); }
.paper__lines thead th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.paper__lines .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper__lines tfoot th, .paper__lines tfoot td { font-weight: 700; color: var(--navy); border-bottom: 0; }
.paper__lines small { color: var(--ink-3); }
.paper__note { font-size: .9rem; color: var(--ink-3); }
.paper__foot { font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: var(--s4); }
@media print {
  .doc-tools, .offline, .toast, .site-head, .foot, .portal-head, .portal-foot { display: none !important; }
  body, .portal { background: var(--white); }
  .paper { box-shadow: none; padding: 0; max-width: none; }
  .doc-page { padding: 0; }
}

/* ---------- Inbox ---------- */
.inbox-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.inbox-bar .filter-chips { margin: 0; }
.inbox-group { display: grid; gap: var(--s2); }
.inbox { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.note + .note { border-top: 1px solid var(--line); }
.note a { display: grid; grid-template-columns: 40px 1fr; gap: 4px var(--s3); padding: var(--s4); text-decoration: none; color: var(--ink); transition: background var(--t-fast); position: relative; }
@media (min-width: 640px) { .note a { grid-template-columns: 40px 1fr auto; } }
.note a:hover { background: var(--navy-50); }
.note__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; grid-row: span 2; }
.note__icon svg { width: 20px; height: 20px; fill: var(--navy); }
.note__text { display: grid; gap: 2px; min-width: 0; }
.note__text b { font-weight: 500; color: var(--ink); }
.note__text span { color: var(--ink-2); font-size: .95rem; }
.note time { font-size: .85rem; color: var(--ink-3); white-space: nowrap; grid-column: 2; }
@media (min-width: 640px) { .note time { grid-column: 3; grid-row: 1; } }
.note.is-new a { background: var(--gold-100); }
.note.is-new a:hover { background: var(--gold-200); }
.note.is-new .note__icon { background: var(--gold); }
.note.is-new .note__text b { font-weight: 700; color: var(--navy); }

/* ---------- Chauffeur ---------- */
.portal-title .switch--row { margin-top: var(--s4); }
.drive-list { display: grid; }
.drive-row { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform var(--t-press) var(--ease-out); }
.drive-list .drive-row:first-child { border-top: 0; }
.drive-row b { display: block; color: var(--navy); font-weight: 600; }
.drive-row small { display: block; color: var(--ink-3); font-size: .88rem; }
.drive-row__what { min-width: 0; }
.drive-row:hover .drive-row__what b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { .drive-row { grid-template-columns: 1fr auto; } .drive-row__when { grid-column: 1 / -1; display: flex; gap: var(--s2); align-items: baseline; } }
.today { display: grid; gap: var(--s4); }
.today .drive-row { border: 0; padding-top: 0; }
@media (min-width: 900px) { .today { grid-template-columns: 1fr 1fr; align-items: start; } }
.runsheet { display: grid; gap: var(--s4); }
.runsheet--compact .timeline li { padding-bottom: var(--s3); min-height: 36px; }
.vetting { list-style: none; margin: 0; padding: 0; }
.vetting li { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.vetting li:first-child { border-top: 0; }
.vetting b { display: block; color: var(--navy); font-weight: 600; }
.vetting small { color: var(--ink-3); font-size: .9rem; }
.nameboard { display: inline-block; margin: 4px 0; padding: var(--s2) var(--s4); background: var(--white); border: 2px solid var(--navy); border-radius: var(--r-sm); font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.drive-car { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); margin-bottom: var(--s3); }
.dw-note { margin-top: var(--s5); }
.langs { border: 0; padding: 0; margin: 0; }
.langs legend { margin-bottom: var(--s2); }
.langs .chip-radio span { min-height: 40px; }
.section--tight .split { padding-top: var(--s2); }

/* ---------- Portal panes ---------- */
.pane__btns { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.pane__btns svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Owner ---------- */
.my-car--pending { background: var(--paper); border-style: dashed; }
.my-car__ph { width: 110px; height: 76px; border-radius: var(--r-sm); background: var(--navy-50); display: grid; place-items: center; }
.my-car__ph svg { width: 40px; height: 40px; fill: var(--navy-300); }
.earn-empty { display: grid; gap: var(--s2); }
.earn-empty strong { font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.narrow { max-width: 48rem; }
.portal .back-link { margin-top: var(--s4); }

/* ---------- Checkout with an account ---------- */
.booking-as { font-size: .95rem; color: var(--ink-2); }
.booking-as b { color: var(--navy); }
.form-card__links { display: flex; gap: var(--s2); }
.onfile { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r-md); background: var(--ok-bg); }
.onfile svg { width: 24px; height: 24px; fill: var(--ok); flex: none; }
.onfile b { display: block; color: var(--ok); }
.onfile small { color: var(--ink-2); font-size: .95rem; }
.keep { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: var(--s5); border-radius: var(--r-lg); background: var(--gold-100); margin-top: var(--s3); }
.keep > div { flex: 1 1 18rem; }
.keep h2 { font-size: 1.35rem; color: var(--navy); margin-bottom: var(--s2); }
.keep p { color: var(--ink-2); }

/* ---------- Help centre and policies ---------- */
.help-hero { background: var(--navy-50); padding: var(--s7) 0 var(--s6); }
.help-hero h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); color: var(--navy); }
.help-hero .lede { margin-top: var(--s3); }
.help-search { margin-top: var(--s5); max-width: 36rem; }
.help-search .input { min-height: 56px; font-size: 1.05rem; padding-inline: var(--s4); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.help-chips { margin-top: var(--s4); }
.help-chips .chip { display: inline-flex; align-items: center; text-decoration: none; }
.help { display: grid; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s9); align-items: start; }
@media (min-width: 1000px) { .help { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s8); } .help__side { position: sticky; top: 84px; } }
.help__faq { display: grid; gap: var(--s7); }
.faq-group { scroll-margin-top: 84px; }
.faq-group h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: var(--s2); }
.faq-group .expanders { margin-top: 0; }
.faq-group .expanders summary { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; min-height: 60px; }
.help__side { display: grid; gap: var(--s5); }
.help__side .pane { margin: 0; }
.contact-cards { display: grid; gap: var(--s3); }
.contact-card { display: grid; grid-template-columns: 44px 1fr; gap: 2px var(--s3); align-items: center; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.contact-card:hover { border-color: var(--navy); }
.contact-card b { color: var(--navy); font-weight: 600; }
.contact-card small { grid-column: 2; color: var(--ink-3); font-size: .9rem; }
.contact-card__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; fill: var(--navy); }
.contact-card__icon--wa { background: var(--wa); }
.contact-card__icon--wa svg { fill: var(--wa-ink); }
.placeholder-ink { color: var(--ink-3); font-size: .8rem; }
.contact { padding-top: var(--s6); padding-bottom: var(--s9); display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contact > .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact__grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: repeat(3, 1fr); } }
.contact__grid .pane { margin: 0; display: grid; gap: var(--s3); align-content: start; }
.contact__grid a { color: var(--navy); font-weight: 600; }

.policy { padding-bottom: var(--s9); }
.draft-note { margin: var(--s2) 0 var(--s5); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--warn-bg); color: var(--ink-2); font-size: .95rem; }
.draft-note b { color: var(--warn); }
.policy__grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .policy__grid { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s8); } .policy__toc { position: sticky; top: 84px; } }
.policy__toc { display: grid; gap: 2px; padding: var(--s4); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.policy__toc .label { margin-bottom: var(--s2); }
.policy__toc a { display: flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; font-size: .95rem; border-left: 2px solid var(--line); padding-left: var(--s3); }
.policy__toc a:hover { color: var(--navy); border-color: var(--gold); }
@media (max-width: 999px) { .policy__toc { display: none; } }
.policy__body { max-width: 68ch; }
.policy__body h1 { font-size: clamp(2.2rem, 7vw, 3rem); color: var(--navy); }
.policy__body > .muted { margin-top: var(--s3); }
.policy__body section { padding-top: var(--s6); scroll-margin-top: 84px; }
.policy__body h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: var(--s3); }
.policy__body p { color: var(--ink-2); }
.policy__body p + p { margin-top: var(--s3); }
.policy__body a { color: var(--navy); font-weight: 600; }
.policy-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); }
.policy-table th, .policy-table td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table thead th { background: var(--navy); color: var(--white); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.policy-table td:first-child { font-weight: 600; color: var(--navy); }
.policy-table tr:last-child td { border-bottom: 0; }
.policy__help { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); }
.about-side { display: grid; gap: var(--s5); align-content: start; }
.about-links { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s2) var(--s5); }
.about-links .row-link:first-child { border-top: 0; }

/* ---------- Operations: people and accounts ---------- */
.acc-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .acc-grid { grid-template-columns: 1fr 1fr; } }
.acc-grid h3 { margin-bottom: var(--s2); }
.acc-grid .statements li { gap: var(--s2) var(--s3); }
.table .avatar { width: 38px; height: 38px; }

@media (prefers-reduced-motion: reduce) {
  .pop, .pop.open { transition: opacity var(--t-fast); transform: none; }
  .live__dot { animation: none; }
  .switch__track::after { transition: none; }
  .icon-btn, .avatar-btn, .row-link, .drive-row, .trip-card, .contact-card, .join-links a { transform: none !important; }
}
