/* A ride app, not a website: phone-width shell, bottom tab bar, big tap
   targets, light by default and dark when the phone is. It must work
   one-handed on a dark platform at 01:20 on 3G (Handoff v4 §13), so the
   only download beyond this file is one self-hosted font. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/outfit-latin.fdf9c509a809.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.6a2414e384c3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --frame: #f1f2f4;
  --fill: #f2f3f5;
  --fill-2: #e7e9ed;
  --ink: #0b0c10;
  --ink-2: #4a4f5b;
  --ink-3: #868b97;
  --line: #eceef1;
  --cta: #0b0c10;
  --cta-ink: #ffffff;
  --brand: #10a36a;
  --brand-ink: #0a7a4e;
  --brand-soft: #e2f6ec;
  --pickup: #10a36a;
  --drop: #e5484d;
  --warn: #a8600a;
  --warn-soft: #fff3e0;
  --bad: #d0302f;
  --bad-soft: #fdecea;
  --shadow-sm: 0 1px 2px rgba(10, 12, 16, .06);
  --shadow: 0 2px 6px rgba(10, 12, 16, .05), 0 12px 32px -14px rgba(10, 12, 16, .22);
  --r: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --frame: #08090a; --fill: #1d1e22; --fill-2: #2a2b31;
    --ink: #f4f5f7; --ink-2: #b6b9c2; --ink-3: #848895; --line: #25262b;
    --cta: #f4f5f7; --cta-ink: #0b0c10;
    --brand: #2fcf8a; --brand-ink: #62e0a9; --brand-soft: #0f2a1e;
    --pickup: #2fcf8a; --drop: #ff6b6e;
    --warn: #f0b04f; --warn-soft: #2c2213; --bad: #ff6b6e; --bad-soft: #341818;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 14px 34px -14px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --frame: #08090a; --fill: #1d1e22; --fill-2: #2a2b31;
  --ink: #f4f5f7; --ink-2: #b6b9c2; --ink-3: #848895; --line: #25262b;
  --cta: #f4f5f7; --cta-ink: #0b0c10;
  --brand: #2fcf8a; --brand-ink: #62e0a9; --brand-soft: #0f2a1e;
  --pickup: #2fcf8a; --drop: #ff6b6e;
  --warn: #f0b04f; --warn-soft: #2c2213; --bad: #ff6b6e; --bad-soft: #341818;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--frame);
  color: var(--ink);
  font: 400 16px/1.45 "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Malayalam", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.ic { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }
.ic.lg { width: 26px; height: 26px; }

/* --- the phone-width shell --------------------------------------------- */
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg); position: relative; display: flow-root; }
@media (min-width: 520px) { .app { box-shadow: 0 0 0 1px var(--line); } }
.page { padding: 0 20px 32px; }
.page.with-tabs { padding-bottom: calc(104px + var(--safe-b)); }
.page.with-cta { padding-bottom: calc(112px + var(--safe-b)); }

.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  display: flex; align-items: center; gap: 6px; min-height: 60px; margin: 0 -20px; padding: 6px 12px;
}
.topbar h1 { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -.01em; flex: 1; }
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
}
.icon-btn:active { background: var(--fill); }
.icon-btn.filled { background: var(--fill); }
.dot-badge {
  position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg);
}

.page-title { font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 20px 0 16px; }
.lede { font-size: 17px; color: var(--ink-2); margin: 0 0 18px; }
h2.section { font-size: 21px; font-weight: 750; letter-spacing: -.02em; margin: 30px 0 12px; display: flex; align-items: center; justify-content: space-between; }
h2.section a { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.mono { font-variant-numeric: tabular-nums; }
.center { text-align: center; }

/* --- bottom tab bar (Uber's floating pill) ----------------------------- */
.tabbar {
  position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + var(--safe-b)); width: min(448px, calc(100% - 24px));
  height: 68px; padding: 6px; border-radius: 34px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; gap: 4px;
}
.tabbar a {
  flex: 1; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); position: relative;
}
.tabbar a[aria-current="page"] { background: var(--fill); color: var(--ink); font-weight: 700; }
.tabbar .dot-badge { top: 4px; right: calc(50% - 22px); }

/* --- splash: the loading screen on app open ----------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  animation: splash-out .35s ease 1.5s forwards;
}
.splash .wordmark { font-size: 48px; }
.splash .loader { width: 64px; height: 4px; border-radius: 2px; background: var(--fill-2); overflow: hidden; }
.splash .loader::after {
  content: ""; display: block; height: 100%; width: 40%; border-radius: 2px; background: var(--brand);
  animation: loader 1s ease-in-out infinite;
}
.splash.done { animation: splash-out .3s ease forwards; }
html.splashed .splash { display: none; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@keyframes loader { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.wordmark { font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.wordmark i { font-style: normal; color: var(--brand); }

/* --- page-load progress bar, between screens --------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 900; opacity: 0; transition: width .25s ease, opacity .2s; }
.progress.run { opacity: 1; width: 80%; transition: width 6s cubic-bezier(.1, .7, .2, 1); }

/* --- searching overlay (Rapido's "finding your ride") ------------------- */
.searching {
  position: fixed; inset: 0; z-index: 800; background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center;
}
.searching.on { display: flex; }
.searching .radar { width: 120px; height: 120px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.searching .radar::before, .searching .radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); opacity: .18; animation: ping 1.6s ease-out infinite;
}
.searching .radar::after { animation-delay: .8s; }
.searching h2 { font-size: 22px; margin: 0; }
@keyframes ping { from { transform: scale(.4); opacity: .35; } to { transform: scale(1.4); opacity: 0; } }

/* --- toasts --------------------------------------------------------------- */
.toasts { position: fixed; z-index: 950; top: 10px; left: 50%; transform: translateX(-50%); width: min(456px, calc(100% - 24px)); display: grid; gap: 8px; }
.toast {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 16px;
  background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow); font-weight: 600; font-size: 15px;
  animation: toast-in .25s ease;
}
.toast.error { background: var(--bad); color: #fff; }
.toast .ic { margin-top: 1px; }
.toast.hide { animation: toast-out .25s ease forwards; }
@keyframes toast-in { from { transform: translateY(-12px); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(-12px); opacity: 0; } }

/* --- home ------------------------------------------------------------------- */
.home-head { display: flex; align-items: center; gap: 8px; padding: 14px 0 6px; }
.campus-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; max-width: 75%; }
.campus-chip .pin { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); flex: 0 0 auto; }
.campus-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-head .spacer { flex: 1; }
.hello { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 14px; line-height: 1.1; }

.search-pill {
  display: flex; align-items: center; gap: 12px; height: 62px; border-radius: 31px;
  background: var(--fill); padding: 0 8px 0 20px; font-size: 19px; font-weight: 600; color: var(--ink-2);
}
.search-pill .grow { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-pill .later {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 23px;
  background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: var(--shadow-sm);
}

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 7px; scroll-snap-align: start; text-align: center; }
.tile .face {
  width: 100%; aspect-ratio: 1; border-radius: 22px; background: var(--fill);
  display: flex; align-items: center; justify-content: center; font-size: 34px; position: relative;
}
.tile:active .face { transform: scale(.96); }
.tile .label { font-size: 13.5px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .face .tag { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--brand); color: #fff; white-space: nowrap; }

.banner {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r);
  background: var(--brand-soft); color: var(--ink); margin: 16px 0 0;
}
.banner .ic { color: var(--brand-ink); margin-top: 2px; }
.banner strong { display: block; font-size: 16px; }
.banner p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.banner.warn { background: var(--warn-soft); }
.banner.warn .ic { color: var(--warn); }

/* --- lists ---------------------------------------------------------------- */
.rows { margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 0; min-height: 64px; border-bottom: 1px solid var(--line); }
.rows > :last-child .row, .rows > .row:last-child { border-bottom: 0; }
.row .row-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--fill); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 20px; }
.row .row-main { flex: 1; min-width: 0; }
.row .row-title { font-size: 17px; font-weight: 600; line-height: 1.25; }
.row .row-sub { font-size: 14px; color: var(--ink-3); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; }
.row .row-end { color: var(--ink-3); display: flex; align-items: center; gap: 6px; font-size: 15px; }
.row .row-end .req { color: var(--warn); font-weight: 600; }
.row.danger .row-title, .row.danger .row-icon { color: var(--bad); }

/* --- cards ---------------------------------------------------------------- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 12px; }
.card.fill { background: var(--fill); border-color: transparent; box-shadow: none; }
.card h3 { font-size: 17px; margin: 0 0 4px; }
a.card { display: block; }
a.card:active { transform: scale(.995); }

/* the route: pickup ring, dashed line, drop square (Uber / Rapido) */
.route { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.route .mk { display: flex; flex-direction: column; align-items: center; }
.route .mk .dot { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--pickup); background: var(--bg); margin-top: 4px; }
.route .mk .sq { width: 13px; height: 13px; border-radius: 3px; background: var(--drop); margin-top: 4px; }
.route .mk .line { flex: 1; width: 0; border-left: 2px dashed var(--fill-2); margin: 4px 0; min-height: 18px; }
.route .stop { padding-bottom: 12px; }
.route .stop:last-child { padding-bottom: 0; }
.route .stop b { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; }
.route .stop span { font-size: 14px; color: var(--ink-3); }
.route.compact .stop b { font-size: 16px; }

.trip-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.trip-card .when { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.trip-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.trip-card .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trip-card .who .name { font-weight: 700; font-size: 15px; }
.trip-card .who .sub { font-size: 13px; color: var(--ink-3); }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 14px; font-size: 13px; font-weight: 650; background: var(--fill); color: var(--ink-2); white-space: nowrap; }
.chip .ic { width: 15px; height: 15px; }
.chip.brand { background: var(--brand-soft); color: var(--brand-ink); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.dark { background: var(--cta); color: var(--cta-ink); }

/* avatars */
.av { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: 0 0 auto; }
.av.lg { width: 64px; height: 64px; font-size: 26px; }
.av.xl { width: 88px; height: 88px; font-size: 34px; }
img.av.photo { object-fit: cover; background: var(--fill); }
.photo-edit { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; }
.photo-actions { flex: 1; min-width: 0; }
.photo-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photo-buttons form { margin: 0; }
.photo-actions label.btn { cursor: pointer; }
.av.sm { width: 30px; height: 30px; font-size: 13px; }
.av.t0 { background: #e0ecff; color: #1d4ed8; } .av.t1 { background: #e2f6ec; color: #0a7a4e; }
.av.t2 { background: #fdeadf; color: #b4470b; } .av.t3 { background: #f1e6ff; color: #7c3aed; }
.av.t4 { background: #fde6ef; color: #be185d; } .av.t5 { background: #fff4d6; color: #9a6700; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .av.t0 { background: #172a4d; color: #9cc0ff; } :root:not([data-theme="light"]) .av.t1 { background: #0f2a1e; color: #6fe0ae; }
  :root:not([data-theme="light"]) .av.t2 { background: #3a2012; color: #ffb48a; } :root:not([data-theme="light"]) .av.t3 { background: #2a1a45; color: #c9a7ff; }
  :root:not([data-theme="light"]) .av.t4 { background: #3d1525; color: #ff9cc3; } :root:not([data-theme="light"]) .av.t5 { background: #33270b; color: #ffd36b; }
}
.av-stack { display: flex; }
.av-stack .av { border: 2px solid var(--bg); }
.av-stack .av + .av { margin-left: -10px; }

/* --- people on a trip --------------------------------------------------- */
.person { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 2px; }
.person .who { flex: 1; min-width: 0; }
.person .name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.person .facts { font-size: 13.5px; color: var(--ink-3); }
.person .actions { display: flex; gap: 6px; }

/* --- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 20px; border-radius: 16px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 700; background: var(--fill); color: var(--ink); text-align: center;
}
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--cta); color: var(--cta-ink); }
.btn.brand { background: var(--brand); color: #fff; }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.ghost { background: transparent; }
.btn.outline { background: transparent; border: 1.5px solid var(--line); }
.btn.block { display: flex; width: 100%; }
.btn.sm { height: 42px; padding: 0 14px; border-radius: 12px; font-size: 15px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > * { flex: 1 1 0; }
form.inline { display: inline; }

.cta-bar {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); bottom: 0;
  width: min(480px, 100%); padding: 12px 20px calc(14px + var(--safe-b));
  background: var(--bg); border-top: 1px solid var(--line); display: grid; gap: 8px;
}
.cta-bar .hint { font-size: 13px; color: var(--ink-3); text-align: center; }

/* --- forms ------------------------------------------------------------------ */
.field { margin: 0 0 16px; }
.field > label, .field > .label { display: block; font-size: 14px; font-weight: 650; color: var(--ink-2); margin: 0 0 7px; }
.field .help { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.field .error, .form-error { color: var(--bad); font-size: 14.5px; font-weight: 600; margin-top: 6px; }
.form-error { background: var(--bad-soft); padding: 12px 14px; border-radius: 14px; margin: 0 0 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"],
input[type="time"], input[type="number"], select, textarea {
  width: 100%; height: 56px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--fill); border: 1.5px solid transparent; border-radius: 14px; outline: none;
  -webkit-appearance: none; appearance: none;
}
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% - 22px) 25px, calc(100% - 16px) 25px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { height: auto; min-height: 84px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); background: var(--bg); }
.with-icon { position: relative; }
.with-icon > .ic { position: absolute; left: 16px; top: 17px; color: var(--ink-3); pointer-events: none; }
.with-icon input, .with-icon select { padding-left: 50px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 15px; font-size: 17px; font-weight: 700; color: var(--ink-2); }
.input-prefix input { padding-left: 36px; }

/* radio options as cards / segments */
.options { display: grid; gap: 8px; }
.options.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--fill); border: 2px solid transparent; cursor: pointer; font-weight: 600; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--bg); }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.seg { display: flex; padding: 4px; border-radius: 16px; background: var(--fill); gap: 4px; }
.seg a, .seg label { flex: 1; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 650; color: var(--ink-2); cursor: pointer; position: relative; font-size: 15px; }
.seg input { position: absolute; opacity: 0; }
.seg a[aria-current="page"], .seg label:has(input:checked), .seg .seg-btn[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg .seg-btn { flex: 1; height: 44px; border-radius: 12px; border: 0; background: transparent; font-weight: 650; color: var(--ink-2); cursor: pointer; font-size: 15px; }

/* "choose your ride" */
.ride-opt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; border: 2px solid transparent; background: transparent; cursor: pointer; position: relative; }
.ride-opt + .ride-opt { margin-top: 4px; }
.ride-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ride-opt .em { width: 64px; height: 56px; border-radius: 16px; background: var(--fill); display: flex; align-items: center; justify-content: center; font-size: 34px; flex: 0 0 auto; }
.ride-opt .main { flex: 1; min-width: 0; }
.ride-opt .main b { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.ride-opt .main span { font-size: 14px; color: var(--ink-3); }
.ride-opt .cap { font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 3px; }
.ride-opt .each { font-size: 18px; font-weight: 800; text-align: right; white-space: nowrap; }
.ride-opt .each small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.ride-opt:has(input:checked) { border-color: var(--ink); background: var(--fill); }
.ride-opt:has(input:checked) .em { background: var(--bg); }

.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--fill); border-radius: 16px; padding: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.stepper button:disabled { opacity: .35; }
.stepper output { font-size: 20px; font-weight: 800; }
.stepper .lbl { font-size: 13px; color: var(--ink-3); font-weight: 600; display: block; text-align: center; }

.switch-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch-row:last-child { border-bottom: 0; }
.switch-row .main { flex: 1; }
.switch-row b { display: block; font-size: 16px; }
.switch-row span { font-size: 13.5px; color: var(--ink-3); }
.switch { position: relative; width: 52px; height: 32px; flex: 0 0 auto; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 16px; background: var(--fill-2); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + i { background: var(--brand); }
.switch input:checked + i::after { transform: translateX(20px); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); flex: 0 0 auto; }

/* --- the planner -------------------------------------------------------- */
/* Date, time and train: one look for all three, whatever is chosen. A chosen
   value reads in full weight; an empty one in the muted placeholder. */
.when-chips { display: flex; gap: 8px; margin: 4px 0 14px; }
.pill-input {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 0; min-width: 0; height: 48px; padding: 0 12px; border-radius: 14px;
  background: var(--fill); border: 1.5px solid transparent; font-weight: 650; font-size: 15px; white-space: nowrap;
}
.pill-input .val { overflow: hidden; text-overflow: ellipsis; }
.pill-input:not(.set) .val { color: var(--ink-3); font-weight: 550; }
.pill-input .ic { color: var(--ink-2); flex: 0 0 auto; }
.pill-input:focus-within { border-color: var(--ink); background: var(--bg); }
.pill-input input, .pill-input select { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; padding: 0; }

.od { display: grid; grid-template-columns: 22px 1fr 48px; column-gap: 12px; align-items: stretch; border: 2px solid var(--ink); border-radius: 20px; padding: 6px 8px 6px 14px; }
.od .mk { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.od .mk .dot { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--pickup); }
.od .mk .line { flex: 1; border-left: 2px dashed var(--fill-2); margin: 4px 0; }
.od .mk .sq { width: 13px; height: 13px; border-radius: 3px; background: var(--drop); }
/* Each end is a text box you type into, as in Uber: the label above, a clear
   button at the end once something is chosen. */
.od .slot { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 6px; min-height: 58px; padding: 6px 6px 6px 10px; border-radius: 12px; cursor: text; background: transparent; width: 100%; }
.od .slot + .slot { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.od .slot small { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.od .slot input {
  grid-column: 1; width: 100%; min-width: 0; height: auto; padding: 1px 0; margin: 0;
  border: 0; border-radius: 0; background: transparent; outline: none; box-shadow: none;
  font: inherit; font-size: 17px; font-weight: 650; color: var(--ink); text-overflow: ellipsis;
}
.od .slot input::placeholder { color: var(--ink-3); font-weight: 500; }
.od .slot input:focus { border: 0; background: transparent; }
.od .slot .clear { grid-column: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--fill-2); color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.od .slot .clear .ic { width: 16px; height: 16px; }
.od .slot.active { background: var(--fill); }
.od .slot.active .clear { background: var(--bg); }
.od .swap { grid-column: 3; grid-row: 1 / 3; align-self: center; }
.od [data-slot="origin"] { grid-column: 2; grid-row: 1; }
.od [data-slot="destination"] { grid-column: 2; grid-row: 2; }

.place-list .row { cursor: pointer; }
.place-list .row.is-from .row-icon { box-shadow: 0 0 0 2px var(--pickup); }
.place-list .row.is-to .row-icon { box-shadow: 0 0 0 2px var(--drop); }
.place-list h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 20px 0 2px; font-weight: 700; }

/* --- account (Rapido's profile) ------------------------------------------- */
.card.profile-card { display: flex; align-items: center; gap: 14px; padding: 18px; }
.profile-card .main { flex: 1; min-width: 0; }
.profile-card .name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.profile-card .sub { color: var(--ink-3); font-size: 15px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.quick a { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; border-radius: 18px; background: var(--fill); font-weight: 650; font-size: 16.5px; }

/* --- the big number ----------------------------------------------------- */
.split { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.split .big { font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.split .of { color: var(--ink-3); font-size: 15px; }

/* --- empty states -------------------------------------------------------- */
.empty { text-align: center; padding: 28px 12px 12px; }
.empty .art { font-size: 54px; line-height: 1; }
.empty h3 { font-size: 19px; margin: 14px 0 6px; }
.empty p { color: var(--ink-2); margin: 0 auto 16px; max-width: 30ch; }

/* --- landing ----------------------------------------------------------------- */
/* The first page is dark whatever the system theme: one striking screen, then
   the app proper in its usual colours. */
.dark-page {
  --bg: #0b0c10; --frame: #050608; --fill: #17191e; --fill-2: #262930;
  --ink: #f4f5f7; --ink-2: #b9bcc6; --ink-3: #8b8f9c; --line: #24262d;
  --brand: #2fcf8a; --brand-ink: #62e0a9; --brand-soft: #0f2a1e;
  --cta: #f4f5f7; --cta-ink: #0b0c10;
  background: var(--frame); color: var(--ink);
}
.landing { padding: 0 22px; }
.landing .first {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding: max(40px, env(safe-area-inset-top)) 0 calc(14px + var(--safe-b)); text-align: center;
}
.brand-lockup { display: grid; justify-items: center; gap: 8px; margin-top: 4vh; }
.brand-lockup .wordmark { font-size: 54px; }
.brand-lockup .tagline { font-size: 12.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); padding-left: .32em; }
.landing h1 { font-size: clamp(36px, 10.5vw, 46px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; margin: 7vh 0 12px; }
.landing h1 em { font-style: normal; color: var(--brand); }
.landing .lede { font-size: 17.5px; color: var(--ink-2); margin: 0 auto; max-width: 30ch; }

.route-art {
  margin: 5vh auto 0; width: 100%; max-width: 380px; padding: 18px 18px 14px; border-radius: 24px;
  background: var(--fill); border: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px;
}
.route-art .end { display: grid; justify-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.route-art .end .ic { width: 26px; height: 26px; color: var(--ink); }
.route-art .end:last-of-type .ic { color: var(--brand); }
.route-art .road { position: relative; height: 34px; border-top: 2px dashed var(--fill-2); margin-top: 20px; }
.route-art .ride { position: absolute; top: -32px; left: 0; width: 44px; height: 34px; animation: ride 5.5s ease-in-out infinite; }
.route-art .ride svg { display: block; }
.route-art .riders { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 8px; }
.route-art .riders .av { width: 30px; height: 30px; font-size: 13px; border: 2px solid var(--fill); animation: hop-in 5.5s ease-out infinite both; }
.route-art .riders .av + .av { margin-left: -8px; }
.route-art .riders .av:nth-child(2) { animation-delay: .25s; } .route-art .riders .av:nth-child(3) { animation-delay: .5s; } .route-art .riders .av:nth-child(4) { animation-delay: .75s; }
.route-art .riders b { margin-left: 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 650; }
@keyframes ride { 0%, 8% { left: 0; } 55%, 100% { left: calc(100% - 44px); } }
@keyframes hop-in { 0% { transform: scale(0); opacity: 0; } 10%, 100% { transform: scale(1); opacity: 1; } }

.perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.perks li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--fill); font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.perks .ic { color: var(--brand); width: 17px; height: 17px; }
.landing .grow { flex: 1; min-height: 22px; }
.btn.go { height: 60px; border-radius: 30px; font-size: 18.5px; font-weight: 750; background: var(--brand); color: #04120b; box-shadow: 0 10px 30px -10px rgba(47, 207, 138, .55); }
.btn.go .ic { transform: rotate(0deg); width: 20px; height: 20px; stroke-width: 2.6; }
.have-account { margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; }
.have-account a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.landing .more { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin: 18px auto 0; font-size: 13px; font-weight: 650; color: var(--ink-3); }

.landing .below { padding: 40px 0 calc(28px + var(--safe-b)); }
.landing .below h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 16px; }
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--fill); }
.steps .n { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #04120b; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.steps b { font-size: 16.5px; }
.steps span:last-child { font-size: 14.5px; color: var(--ink-2); }
.train-card p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.landing .story { margin: 28px 0 30px; }
.landing .story .section { font-size: 24px; }
.safety { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.safety li { display: flex; gap: 12px; align-items: flex-start; }
.safety .ic { color: var(--brand); margin-top: 2px; }
.safety b { display: block; font-size: 16px; }
.safety span { color: var(--ink-2); font-size: 14.5px; }
.landing .below .fine { margin: 14px 0 0; }
.scene { position: relative; border-radius: 26px; background: var(--fill); padding: 18px; margin: 4px 0 6px; overflow: hidden; }
.scene .train-row { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.scene .meet { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.fine { font-size: 13px; color: var(--ink-3); text-align: center; }
.fine a { text-decoration: underline; }

/* Bottom sheets (sign-in, "get verified"): raised from the bottom, closed by
   the ×, a tap outside, Escape or a swipe down. A sheet with an id opens on
   #id without JavaScript; the script adds .open and animates it. */
.sheet { position: fixed; inset: 0; z-index: 900; display: none; align-items: flex-end; justify-content: center; }
.sheet:target, .sheet.open { display: flex; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: fade-in .2s ease-out; }
.sheet-panel {
  position: relative; width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  display: grid; justify-items: center; gap: 12px; text-align: center; outline: none;
  padding: 10px 22px calc(22px + var(--safe-b)); border-radius: 26px 26px 0 0; background: var(--bg);
  box-shadow: 0 -10px 40px -12px rgba(0, 0, 0, .35); animation: sheet-up .28s ease-out;
}
.dark-page .sheet-panel { background: var(--fill); border-top: 1px solid var(--line); }
.sheet-panel .grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--fill-2); margin-bottom: 8px; touch-action: none; }
.sheet-panel .sheet-close { position: absolute; top: 8px; right: 8px; color: var(--ink-2); }
.sheet-panel h2 { font-size: 26px; letter-spacing: -.02em; margin: 0; }
.sheet-panel .sheet-lede { margin: 0 0 6px; color: var(--ink-2); font-size: 15.5px; max-width: 32ch; }
.sheet-panel .sheet-art { font-size: 44px; line-height: 1; margin-top: 4px; }
.sheet-panel .btn { margin: 0; }
.sheet-panel .fine { margin: 0; }
.sheet-panel .form-error { width: 100%; margin: 0; }
.sheet-panel .dev-signin { width: 100%; text-align: left; margin-top: 4px; }
.sheet-panel .or { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; }
.sheet-panel .or::before, .sheet-panel .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Google's own sign-in button (Google's terms ask for it), the same on every
   page: drawn by Identity Services into .gsi-slot as wide as the slot, up to
   Google's 400px limit, and centred. Until the script draws it, a pill of the
   same size holds its place. */
.gsi { width: 100%; display: grid; justify-items: center; gap: 8px; }
.gsi-slot { width: 100%; max-width: 400px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.gsi-slot:empty::before { content: ""; width: 100%; height: 40px; border-radius: 20px; background: var(--fill-2); }
.gsi .form-error { margin: 0; text-align: center; }
/* The other choices beside Google's button take its size and shape. */
.btn.pill { width: 100%; max-width: 400px; height: 44px; border-radius: 22px; font-size: 15.5px; font-weight: 650; }
.btn.pill.outline { border: 1px solid var(--fill-2); }
.btn.pill .ic { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .route-art .ride, .route-art .riders .av, .sheet-panel, .sheet-backdrop { animation: none; }
  .route-art .ride { left: calc(50% - 22px); }
}

/* --- prose (policies) --------------------------------------------------------- */
.prose { font-size: 16px; }
.prose h2 { font-size: 19px; margin: 26px 0 8px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }
.prose p, .prose ul { color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 13px; color: var(--ink-3); margin-top: 20px; }
.foot-links a { text-decoration: underline; }
.sos { color: var(--bad); font-weight: 700; }

.copy { word-break: break-all; font-size: 13.5px; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* With JavaScript the planner and stepper drive hidden real fields; without
   it, the real fields show and the page still works. */
html.js .js-hide { display: none !important; }
html:not(.js) .js-only { display: none !important; }

.prose h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 6px; }

/* --- the waived service fee (Uber's promo tags) -------------------------- */
.fee { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.fee s { text-decoration-thickness: 1.5px; }
.free { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 10px; background: #e5332a; color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.free .ic { width: 12px; height: 12px; }
.price-col { text-align: right; }
.breakdown { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--fill-2); display: grid; gap: 8px; font-size: 15px; }
.breakdown div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.breakdown .muted s { text-decoration-thickness: 1.5px; }
.promo { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 22px; background: var(--fill); }
.promo .main { flex: 1; min-width: 0; }
.promo h3 { font-size: 19px; margin: 0 0 4px; letter-spacing: -.01em; }
.promo p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.promo .art { font-size: 54px; line-height: 1; transform: rotate(-12deg); }
.promo .saved { display: inline-flex; margin-top: 10px; }

/* --- verification -------------------------------------------------------- */
.chip.unverified { background: var(--warn-soft); color: var(--warn); }
.verify-hero { text-align: center; padding: 18px 0 6px; }
.verify-hero .art { font-size: 56px; }
/* College picker: colleges not open yet show, greyed, as coming soon. */
.college-options li.soon { color: var(--ink-3); cursor: default; }
.college-options li.soon .nm { opacity: .75; }
.soon-tag { flex: 0 0 auto; margin-left: auto; padding: 2px 8px; border-radius: 10px; background: var(--fill); color: var(--ink-3); font-size: 12px; font-weight: 650; white-space: nowrap; }

/* After a trip: who came. One row per co-traveller, three answers. */
.att-row { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.att-row:last-of-type { border-bottom: 0; }
.att-row .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.att-row .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg.att label { height: 40px; font-size: 14px; }
.seg.att label.no_show:has(input:checked) { color: var(--bad); }
.seg.att label.late:has(input:checked) { color: var(--warn); }
.verdict { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 750; }
.verdict .ic { width: 22px; height: 22px; }
.verdict.good { color: var(--brand-ink); }
.verdict.bad { color: var(--bad); }
.under-way b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.route-card { scroll-margin-top: 72px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; border: 2px solid var(--line); }
.route-card .n { width: 44px; height: 44px; border-radius: 14px; background: var(--fill); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.route-card h3 { margin: 0 0 2px; font-size: 17px; }
.route-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.route-actions { flex: 1 1 100%; min-width: 0; display: grid; gap: 8px; }
input[type="file"] { width: 100%; padding: 14px; border-radius: 14px; background: var(--fill); border: 2px dashed var(--fill-2); font: inherit; font-size: 15px; }
.doc-preview { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 16px; background: var(--fill); }

/* --- the "why share" illustration at the end of home -------------------- */
.story { margin-top: 30px; }
.story svg { width: 100%; height: auto; display: block; border-radius: 22px; }
.story svg text { font-family: "Outfit", system-ui, sans-serif; }
.story .caption { text-align: center; margin: 10px 0 0; font-weight: 650; }

/* --- place search, my location, pin on the map (OpenStreetMap) ---------- */
.place-search { margin-top: 14px; }
.search-field { position: relative; display: block; }
.search-field > .ic { position: absolute; left: 16px; top: 17px; color: var(--ink-3); pointer-events: none; }
.search-field input {
  width: 100%; height: 54px; padding: 0 16px 0 46px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--fill); border: 1.5px solid transparent; border-radius: 14px; outline: none; -webkit-appearance: none; appearance: none;
}
.search-field input:focus { border-color: var(--ink); background: var(--bg); }
.place-tools { display: flex; gap: 8px; margin: 10px 0 4px; }
.place-tools .tool {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 12px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer;
}
.place-tools .tool:disabled { opacity: .55; }
.place-search .form-error { margin: 10px 0 0; }
[data-suggestions] .row { cursor: pointer; }
.attrib { margin: 6px 4px 0; text-align: right; font-size: 11.5px; color: var(--ink-3); }
.attrib a { color: inherit; text-decoration: underline; }
.trip-card .fit { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--brand-ink); }
.trip-card .fit .ic { color: var(--brand); }

.map-sheet { position: fixed; inset: 0; z-index: 850; background: var(--fill); }
.map-sheet[hidden] { display: none; }
.map-canvas { position: absolute; inset: 0; z-index: 0; } /* keeps Leaflet's layers under the pin and card */
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--drop); pointer-events: none; z-index: 2; }
.map-pin .ic { width: 44px; height: 44px; fill: var(--bg); stroke-width: 2.2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.map-close { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; z-index: 3; box-shadow: var(--shadow); background: var(--bg); }
.map-card {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0 auto; max-width: 480px; display: grid; gap: 6px;
  padding: 18px 16px max(16px, env(safe-area-inset-bottom)); background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--shadow);
}
.map-card small { font-size: 12.5px; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.map-card b { font-size: 17px; font-weight: 650; min-height: 2.6em; }
body.no-scroll { overflow: hidden; }

/* --- the college picker ---------------------------------------------------- */
.college-picker { position: relative; }
.college-options {
  list-style: none; margin: 6px 0 0; padding: 6px; max-height: 320px; overflow-y: auto;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow);
}
.college-options li { display: flex; align-items: baseline; gap: 8px; padding: 10px 10px; border-radius: 10px; cursor: pointer; }
.college-options li.on, .college-options li[role="option"]:hover { background: var(--fill); }
.college-options .nm { flex: 1; min-width: 0; font-weight: 600; }
.college-options .dt { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.college-options .star { color: #e8a317; }
.college-options .head { cursor: default; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 4px; }
.college-options .hint { cursor: default; font-size: 13.5px; color: var(--ink-3); }
.college-options .other { font-weight: 700; color: var(--brand-ink); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.college-other { margin-top: 10px; display: grid; gap: 6px; }
.college-other label { font-size: 14px; font-weight: 600; }

/* --- seats for you and friends, on the join bar ------------------------------ */
.cta-bar .seats-seg { margin-bottom: 10px; }
.cta-bar .seats-seg label { height: 40px; font-size: 14.5px; }

/* --- WhatsApp number verification ------------------------------------------- */
.steps-list { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.steps-list b { color: var(--ink); }
.wait { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; padding: 12px 14px; border-radius: 14px; background: var(--fill); font-weight: 600; }
.wait.done { background: var(--brand-soft); color: var(--brand-ink); }
