/* CabSplit "easy" look for travellers: big text, big buttons, one clear action per screen.
   Loaded after app.css on traveller pages (html.easy); admin pages keep app.css only.
   Colours: taxi yellow for the main action, green for "yes / connected", plain ink for text. */
html.easy {
  --bg: #FFF9EC; --sf: #FFFFFF; --sf2: #FFF2D3; --bd: #EFE3C8;
  --ink: #1C2333; --ink2: #4F586B; --ink3: #7D8596;
  --tl: #1A8F5C; --onTl: #FFFFFF; --tlc: #DDF3E7; --onTlc: #0F5A39;
  --yl: #FFC933; --yl2: #F2B200; --onYl: #1C2333; --ylc: #FFF0C2;
  --bl: #2563EB;
  --am: #A35F00; --amc: #FFEBC7; --onAmc: #6B3E00;
  --rd: #C93636; --rdc: #FCE3E1;
  --nav: #FFFFFF; --scrim: rgba(20, 24, 36, .45);
  --shadow: 0 2px 0 rgba(28, 35, 51, .04), 0 10px 30px rgba(28, 35, 51, .07);
  --r-lg: 24px; --r-md: 18px; --r-sm: 14px;
  --serif: var(--sans);
}
html.easy body { font-size: 17px; line-height: 1.5; }
html.easy a { color: var(--bl); }

/* Type: one friendly sans, bold and large. */
html.easy .display { font: 700 32px/1.15 var(--sans); letter-spacing: -.02em; }
html.easy .title { font: 700 26px/1.2 var(--sans); letter-spacing: -.01em; }
html.easy .h2 { font: 700 20px/1.3 var(--sans); }
html.easy .h3 { font: 700 17px/1.3 var(--sans); }
html.easy .small { font-size: 15px; }
html.easy .tiny { font-size: 14px; }
html.easy .eyebrow { font: 700 13px/1.4 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--ink2); }

/* Buttons: tall, rounded, obvious. */
html.easy .btn { min-height: 52px; border-radius: 16px; font-weight: 700; font-size: 17px; padding: 0 20px; }
html.easy .btn.sm { min-height: 44px; font-size: 16px; padding: 0 16px; border-radius: 14px; }
html.easy .btn.primary { background: var(--yl); border-color: var(--yl); color: var(--onYl); box-shadow: 0 3px 0 var(--yl2); }
html.easy .btn.primary:active { box-shadow: none; transform: translateY(2px); }
html.easy .btn.go { background: var(--tl); border-color: var(--tl); color: #fff; box-shadow: 0 3px 0 #10683F; }
html.easy .btn.tonal { background: var(--ylc); border-color: var(--ylc); color: var(--onYl); }
html.easy .btn-lg { min-height: 60px; font-size: 19px; border-radius: 18px; }
html.easy .input { min-height: 54px; border-radius: 16px; font-size: 17px; border-width: 2px; }
html.easy .input:focus { border-color: var(--yl2); box-shadow: 0 0 0 4px var(--ylc); }
html.easy .input-lg { min-height: 62px; font-size: 19px; }
html.easy .chip { min-height: 44px; padding: 0 16px; border-radius: 99px; font-size: 16px; font-weight: 600; }
html.easy .chip.on, html.easy .chip-input input:checked + .chip { background: var(--ink); border-color: var(--ink); color: #fff; }
html.easy .card { border-radius: var(--r-lg); border: 0; }
html.easy .note { border-radius: 16px; font-size: 15px; }
html.easy .flash { border-radius: 16px; font-size: 16px; font-weight: 600; }

/* ---------- Layout: a top bar with the logo, and 3 big tabs at the bottom ---------- */
html.easy .main { padding: 0 16px 112px; }
html.easy .container { max-width: 560px; gap: 18px; }
.e-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 4px; }
.e-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--sans); color: var(--ink) !important; text-decoration: none !important; letter-spacing: -.02em; }
.e-logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--yl); display: grid; place-items: center; box-shadow: 0 3px 0 var(--yl2); }
.e-logo-mark .ms { font-size: 24px; color: var(--onYl); }
html.easy .sidenav { display: none !important; }
html.easy .bottomnav {
  display: grid !important; grid-template-columns: repeat(3, 1fr); max-width: 560px; margin: 0 auto;
  left: 0; right: 0; bottom: 0; border: 0; border-radius: 0; box-shadow: 0 -6px 24px rgba(28, 35, 51, .08);
  padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
}
@media (min-width: 600px) { html.easy .bottomnav { bottom: 14px; border-radius: 24px; } }
html.easy .navlink { font-size: 14px; font-weight: 700; color: var(--ink3); gap: 2px; }
html.easy .navlink .pill { width: 64px; height: 36px; }
html.easy .navlink .pill .ms { font-size: 27px; }
html.easy .navlink.active { color: var(--ink); }
html.easy .navlink.active .pill { background: var(--yl); }

/* ---------- Building blocks ---------- */
.e-hero { text-align: center; padding: 18px 4px 6px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.e-hero-icon { width: 92px; height: 92px; border-radius: 30px; background: var(--yl); display: grid; place-items: center; box-shadow: 0 5px 0 var(--yl2); }
.e-hero-icon .ms { font-size: 54px; color: var(--onYl); }
.e-hero p { color: var(--ink2); font-size: 18px; max-width: 420px; }
.e-q { font: 800 27px/1.2 var(--sans); letter-spacing: -.02em; margin: 6px 0 2px; }
.e-help { color: var(--ink2); font-size: 16px; margin-top: -8px; }

.e-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.e-step { min-width: 0; overflow: hidden; background: var(--sf); border-radius: 20px; padding: 14px 8px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; line-height: 1.25; }
.e-step .ms { font-size: 34px; color: var(--tl); }
.e-step .n { font-size: 12px; color: var(--ink3); font-weight: 700; }

.e-big {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px; border-radius: 22px; border: 0; cursor: pointer;
  background: var(--yl); color: var(--onYl); box-shadow: 0 4px 0 var(--yl2); text-align: left; text-decoration: none !important; font: inherit;
}
.e-big:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--yl2); }
.e-big .ic { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .55); display: grid; place-items: center; flex: none; }
.e-big .ic .ms { font-size: 34px; }
.e-big .t { font: 800 20px/1.2 var(--sans); display: block; }
.e-big .s { font-size: 15px; opacity: .8; display: block; margin-top: 2px; }
.e-big.white { background: var(--sf); box-shadow: var(--shadow); }
.e-big.white .ic { background: var(--ylc); }

.e-or { display: flex; align-items: center; gap: 12px; color: var(--ink3); font-weight: 700; font-size: 15px; }
.e-or::before, .e-or::after { content: ''; flex: 1; height: 2px; background: var(--bd); border-radius: 2px; }

/* Trip strip at the top of Home: flight, landing time, where to. */
.e-trip { background: var(--ink); color: #fff; border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.e-trip a { color: #FFD966; font-weight: 700; }
.e-trip-row { display: flex; align-items: center; gap: 12px; }
.e-trip-row .ms { font-size: 26px; color: var(--yl); }
.e-trip-main { font: 800 19px/1.25 var(--sans); }
.e-trip-sub { font-size: 15px; color: #C9CFDB; }
.e-trip-line { height: 1px; background: rgba(255, 255, 255, .14); }

/* The one thing to do now. */
.e-now { background: var(--sf); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.e-now-head { display: flex; gap: 14px; align-items: center; }
.e-now-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--ylc); }
.e-now-icon .ms { font-size: 32px; color: var(--onYl); }
.e-now.good .e-now-icon { background: var(--tlc); }
.e-now.good .e-now-icon .ms { color: var(--tl); }
.e-now-title { font: 800 21px/1.25 var(--sans); }
.e-now-text { color: var(--ink2); font-size: 16px; margin-top: 2px; }

/* People going your way. */
.e-list-title { font: 800 20px/1.3 var(--sans); margin: 4px 2px -6px; display: flex; align-items: center; gap: 8px; }
.e-list-title .count { background: var(--ink); color: #fff; border-radius: 99px; font-size: 14px; padding: 2px 10px; }
.e-person { background: var(--sf); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.e-person.asks { box-shadow: 0 0 0 3px var(--yl), var(--shadow); }
.e-person-top { display: flex; gap: 14px; align-items: center; background: none; border: 0; padding: 0; text-align: left; width: 100%; cursor: pointer; font: inherit; color: inherit; }
.e-person-name { font: 800 19px/1.25 var(--sans); }
.e-person-where { font-size: 16px; color: var(--ink2); margin-top: 2px; }
.e-person-where strong { color: var(--ink); }
.e-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.e-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 700; background: var(--sf2); color: var(--ink2); }
.e-tag.green { background: var(--tlc); color: var(--onTlc); }
.e-tag.yellow { background: var(--ylc); color: #7A5600; }
.e-tag .ms { font-size: 16px; }
.e-person .actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.e-person .actions.two { grid-template-columns: 1fr 2fr; }
.e-person .actions form, .e-person .actions .btn { width: 100%; }
.e-person .actions form .btn { width: 100%; }
.e-wait { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; background: var(--sf2); color: var(--ink2); font-weight: 700; }

.e-empty { text-align: center; padding: 26px 18px; background: var(--sf); border-radius: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.e-empty .ms { font-size: 48px; color: var(--ink3); }
.e-empty p { color: var(--ink2); max-width: 360px; }

.e-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.e-links a { color: var(--ink2); }
.e-fine { color: var(--ink3); font-size: 13px; text-align: center; }

/* Me page rows. */
.e-menu { background: var(--sf); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.e-menu > a, .e-menu > form > button, .e-menu > button, .e-menu > details > summary {
  display: flex; align-items: center; gap: 14px; padding: 18px; width: 100%; border: 0; background: none; font: inherit; font-weight: 700;
  color: var(--ink) !important; text-decoration: none !important; cursor: pointer; text-align: left; list-style: none;
}
.e-menu > * + * { border-top: 1px solid var(--bd); }
.e-menu .ms { font-size: 26px; color: var(--ink2); }
.e-menu .chev { margin-left: auto; color: var(--ink3); }
.e-menu details > div { padding: 0 18px 18px; }
.e-menu summary::-webkit-details-marker { display: none; }
.e-menu .danger { color: var(--rd) !important; }
.e-menu .danger .ms { color: var(--rd); }

/* Flight search results: big rows. */
html.easy .result { border-radius: 20px; padding: 16px; min-height: 76px; border-width: 2px; }
html.easy .result .h3 { font-size: 18px; }
html.easy .result-cta { background: var(--yl); color: var(--onYl); border-radius: 12px; padding: 8px 14px; font-weight: 800; }
html.easy .finder { padding: 0; background: none; box-shadow: none; border: 0; gap: 14px; }

/* Chat: keep the chat page, just friendlier. */
html.easy .chat-header .n { font-size: 18px; font-weight: 800; }
html.easy .msg .bubble { font-size: 17px; border-radius: 20px; }
html.easy .composer textarea { font-size: 17px; }

/* Welcome page wrapper (plain layout). */
html.easy .plain-inner { max-width: 520px; gap: 20px; }
html.easy .date-input { width: auto; min-height: 44px; border-radius: 99px; font-size: 15px; padding: 0 14px; border-width: 2px; }
html.easy .e-menu .switch { margin-left: auto; }
html.easy .hint { color: var(--ink3); font-size: 14px; }
html.easy .backlink { font-weight: 700; color: var(--ink2); }

/* ---------- Phones first ---------- */
.e-intro { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.e-intro p { color: var(--ink2); font-size: 17px; }
html.easy .finder .e-q { margin-top: 0; }
/* Scan button is the second choice now: a little calmer than the search. */
html.easy .finder ~ .e-big { padding: 14px 16px; }
html.easy .finder ~ .e-big .ic { width: 48px; height: 48px; border-radius: 14px; }
html.easy .finder ~ .e-big .t { font-size: 18px; }
@media (max-width: 420px) {
  html.easy .display { font-size: 27px; }
  .e-q { font-size: 23px; }
  html.easy .main { padding-left: 14px; padding-right: 14px; }
  html.easy .container, html.easy .plain-inner { gap: 14px; }
  .e-top { padding-top: 10px; }
  .e-step { font-size: 14px; padding: 12px 6px; }
}
/* Results open right below the box; keep them easy to tap. */
html.easy .results-panel:empty { display: none; }
@media (max-width: 420px) {
  html.easy [data-date-chips] { flex-wrap: nowrap; gap: 6px; }
  html.easy [data-date-chips] .chip { padding: 0 12px; font-size: 15px; flex: none; }
  html.easy [data-date-chips] .date-input { min-width: 0; width: 100%; flex: 1 1 auto; padding: 0 8px; font-size: 14px; }
}

/* Flight results grouped by time (today) */
html.easy .e-section { display: flex; align-items: center; gap: 6px; font: 800 15px/1.3 var(--sans); color: var(--ink2, var(--ink)); margin: 10px 4px 0; }
html.easy .e-section:first-child { margin-top: 0; }
html.easy .e-section .ms { font-size: 20px; }
html.easy .e-section.now { color: var(--ink); }
html.easy .e-section.now .ms { color: var(--tl); }
html.easy .e-more { display: flex; align-items: center; gap: 8px; }
html.easy .e-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--bd); border-top-color: var(--tl); animation: acSpin .8s linear infinite; flex: none; }
