:root {
  --bg: #f5f6f2;
  --bg-soft: #eef1e9;
  --bg-card: #fff;
  --line: #e2e6de;
  --line-strong: #cfd6ca;
  --text: #1e2822;
  --text-soft: #556159;
  --text-mute: #79827b;
  --primary: #00D94F;
  --primary-strong: #007A2D;
  --primary-soft: #E4FFEA;
  --accent: #00D94F;
  --accent-soft: #E4FFEA;
  --success: #007A2D;
  --success-soft: #E4FFEA;
  --danger: #c34f46;
  --danger-soft: #fcecea;
  --warn: #9a6a12;
  --shadow-sm: 0 2px 8px rgba(23, 43, 31, .045);
  --shadow-md: 0 14px 38px rgba(23, 43, 31, .09);
  --shadow-lg: 0 26px 72px rgba(23, 43, 31, .14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

html { background: var(--bg); color: var(--text); }
body { background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; letter-spacing: -.012em; }
a { color: inherit; }
a:hover { color: var(--primary); }
button, input, select, textarea { font: inherit; }
input, select, textarea {
  border-color: var(--line-strong);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(20, 40, 28, .025);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 217, 79, .16);
}
input::placeholder, textarea::placeholder { color: #9aa39b; }
label { color: #36443a; font-size: 12.5px; font-weight: 700; }
.field { margin-bottom: 15px; }
.muted, .text-mute { color: var(--text-mute); }

/* Shared page frame */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.app-header {
  position: sticky; top: 0; z-index: 50;
  grid-area: auto;
  padding: 0 28px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(218, 225, 216, .85);
  box-shadow: 0 3px 16px rgba(34, 51, 39, .035);
  backdrop-filter: blur(18px) saturate(135%);
}
.app-header__inner {
  max-width: 1380px; min-height: 78px; margin: 0 auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(20px, 3vw, 54px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; min-width: max-content; }
.brand__logo {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--primary); color: #fff; box-shadow: none;
  font-size: 18px; font-weight: 900;
}
.brand__title { color: var(--text); font-size: 17px; font-weight: 850; letter-spacing: -.055em; }
.brand__subtitle { color: #879189; font-size: 10.5px; margin-top: 1px; letter-spacing: -.025em; }
.nav { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; margin: 0; min-width: 0; }
.nav__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 13px; border-radius: 11px;
  color: #667168; font-size: 13px; font-weight: 650; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav__item:hover { background: #f3f6f1; color: var(--primary-strong); }
.nav__item--active { color: var(--primary-strong); background: var(--primary-soft); box-shadow: none; font-weight: 800; }
.nav__icon { width: 16px; height: 16px; opacity: .88; font-size: 15px; display: inline-grid; place-items: center; }
.app-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.app-auth-actions, .app-account { display: flex; align-items: center; gap: 8px; }
.app-account__identity { display: inline-flex; align-items: center; gap: 8px; padding: 4px 9px 4px 4px; border-radius: 999px; color: var(--text-soft); }
.app-account__identity:hover { background: #f3f6f1; }
.app-account__avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--primary-strong); font-size: 12px; font-weight: 850; }
.app-account__email { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
.app-main { grid-area: auto; flex: 1; min-width: 0; padding: 44px 32px 76px; background: radial-gradient(880px 420px at 50% -250px, rgba(0, 217, 79, .10), transparent 80%), var(--bg); overflow-x: clip; }
.container { width: min(100%, 1240px); margin: 0 auto; }
.app-footer { margin-top: auto; background: #fff; border-top: 1px solid var(--line); }
.app-footer__inner { width: min(100% - 64px, 1240px); min-height: 84px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.app-footer__brand { color: var(--primary-strong); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.app-footer__copy { color: #879189; font-size: 11px; }
.app-footer__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.app-footer__links a { color: #68736a; font-size: 11px; font-weight: 600; }

/* Shared screen components */
.page-title { align-items: center; margin-bottom: 24px; }
.page-title h1 { font-size: clamp(25px, 3vw, 32px); letter-spacing: -.045em; }
.page-title p { max-width: 680px; color: var(--text-mute); line-height: 1.65; }
.h1 { font-size: clamp(28px, 4vw, 42px); }
.h2 { font-size: 24px; }
.h3 { font-size: 18px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 24px; box-shadow: var(--shadow-sm); }
.card--soft { background: #fafbf8; }
.card__title { color: var(--text); font-size: 16px; letter-spacing: -.035em; margin-bottom: 10px; }
.card__sub { margin-top: -3px; margin-bottom: 20px; color: var(--text-mute); line-height: 1.65; }
.btn { min-height: 42px; padding: 10px 16px; border-radius: 11px; font-size: 13px; font-weight: 750; box-shadow: none; }
.btn--primary { color: #073216; background: var(--primary); box-shadow: 0 5px 13px rgba(0, 160, 58, .2); }
.btn--primary:hover { color: #fff; background: var(--primary-strong); }
.btn--accent { background: var(--accent); color: #203126; box-shadow: none; }
.btn--accent:hover { background: #cddd4d; color: #1b2a20; }
.btn--outline { background: #fff; border-color: var(--line-strong); }
.btn--outline:hover { background: #f7f9f5; color: var(--primary-strong); border-color: #9fbaa9; }
.btn--ghost { color: #526056; }
.btn--ghost:hover { color: var(--primary-strong); background: #f1f5ef; }
.btn--danger { color: #fff; background: var(--danger); }
.btn--sm { min-height: 35px; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
.btn--lg { min-height: 48px; padding: 13px 18px; border-radius: 12px; }
.tabs { background: #f0f3ed; border-color: #e6ebe2; border-radius: 12px; }
.tab { border-radius: 9px; }
.tab.is-active { color: var(--primary-strong); }
.seg { gap: 3px; border: 0; border-radius: 11px; background: #f0f3ed; padding: 4px; }
.seg__btn { min-width: 72px; padding: 8px 14px; color: #707b72; border-radius: 8px; }
.seg__btn.is-active { color: var(--primary-strong); background: #fff; box-shadow: 0 1px 4px rgba(25, 51, 33, .09); }
.badge { border: 0; background: #eff2ec; color: #637065; }
.badge--primary { background: var(--primary-soft); color: var(--primary-strong); }
.badge--accent { background: var(--accent-soft); color: #526016; }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.table { min-width: 620px; }
.table th, .table td { padding: 13px 15px; }
.table thead th { color: #748078; background: #f7f9f5; border-bottom-color: var(--line); text-transform: none; letter-spacing: 0; font-size: 12px; }
.table tbody tr:hover { background: #f8faf6; }
.kpi { padding: 20px; border-radius: 17px; }
.kpi__label { color: #7d887f; }
.kpi__value { color: var(--text); font-size: 25px; letter-spacing: -.04em; }
.driver-card { border-color: var(--line); border-radius: 16px; padding: 18px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.driver-card:hover { border-color: #a8c3b2; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.driver-avatar { border-radius: 15px; background: #eff3ec; color: var(--primary); }
.driver-profile-link { color: inherit; text-decoration: none; }
.driver-profile-link:hover .driver-name { color: var(--primary-strong); text-decoration: underline; }
.driver-profile-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.driver-price { color: var(--primary-strong); }
.chat-wrap { gap: 14px; }
.chat-side, .chat-main { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.chat-input { background: #fafbf8; border-top-color: var(--line); }
.chat-bubble--me { background: var(--primary); }
.chat-bubble--them { background: #f0f3ed; border-color: transparent; }
.cal { border-color: var(--line); border-radius: 18px; padding: 20px; }
.cal-cell { border-color: #e8ece5; background: #fafbf8; }
.cal-cell.is-today { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.cal-dot { background: var(--primary); }
.auth-shell { background: radial-gradient(620px 360px at 15% 10%, rgba(0, 217, 79, .15), transparent 72%), radial-gradient(560px 360px at 85% 95%, rgba(0, 122, 45, .09), transparent 70%), var(--bg); }
.auth-card { max-width: 480px; padding: 34px; border-color: var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.auth-card .brand { margin-bottom: 8px; }
.empty { padding: 58px 18px; }
.empty__title { color: var(--text); }
.modal { border: 1px solid var(--line); border-radius: 22px; }
.modal-backdrop { backdrop-filter: blur(3px); }
#toast-root { right: 24px; bottom: 24px; }
.toast { border-radius: 12px; }

/* Customer landing page */
.home-page { display: flex; flex-direction: column; gap: 74px; }
.home-hero { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(500px, 1.18fr); align-items: center; gap: clamp(34px, 5vw, 72px); }
.home-hero__copy { position: relative; padding: 24px 0 30px; }
.home-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary-strong); font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.home-hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.home-hero__title { margin: 23px 0 16px; max-width: 560px; color: #1e2d24; font-size: clamp(42px, 5vw, 63px); line-height: 1.12; letter-spacing: -.075em; font-weight: 850; white-space: pre-line; }
.home-hero__sub { max-width: 510px; margin: 0; color: #68746a; font-size: 15px; line-height: 1.85; word-break: keep-all; }
.home-hero__promises { display: grid; gap: 12px; margin-top: 27px; }
.home-promise { display: flex; align-items: center; gap: 11px; color: #435047; font-size: 13px; font-weight: 650; }
.home-promise__icon { width: 25px; height: 25px; border-radius: 9px; display: grid; place-items: center; color: var(--primary-strong); background: var(--primary-soft); font-size: 9px; font-weight: 900; letter-spacing: -.04em; }
.home-route-art { position: relative; width: min(100%, 370px); height: 80px; margin-top: 31px; color: var(--primary); }
.home-route-art__line { position: absolute; left: 20px; right: 16px; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, #aac6b4 0 7px, transparent 7px 14px); }
.home-route-art__pin { position: absolute; top: 24px; z-index: 1; padding: 5px 9px; border: 1px solid #dce7dd; border-radius: 9px; background: #fff; color: #4e5c52; font-size: 10px; font-weight: 750; }
.home-route-art__pin--start { left: 0; }
.home-route-art__pin--end { right: 0; }
.home-route-art__bus { position: absolute; top: 14px; left: 50%; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; transform: translateX(-50%); border: 4px solid #f5f6f2; border-radius: 14px; background: var(--accent); color: #284031; font-size: 13px; font-weight: 900; box-shadow: 0 4px 12px rgba(22, 54, 34, .1); }
.home-hero__form { padding: 25px 28px 27px; border: 1px solid #e4e9df; border-radius: 24px; background: #fff; box-shadow: 0 18px 54px rgba(30, 55, 37, .09); }
.home-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 1px 18px; }
.home-form-heading__eyebrow { display: block; margin-bottom: 5px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .025em; }
.home-form-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.05em; }
.home-form-heading__step { padding: 7px 10px; border-radius: 999px; background: #f2f5ef; color: #708075; font-size: 10px; font-weight: 750; white-space: nowrap; }
.home-quote-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.home-quote-card .card__title, .home-quote-card .card__sub { display: none; }
.home-quote-card .field { margin-bottom: 14px; }
.home-quote-card .field > label { margin-bottom: 7px; }
.home-quote-card .row { gap: 12px; }
.home-quote-card input:not([type="checkbox"]), .home-quote-card select { min-height: 46px; }
.home-date-row { align-items: stretch; }
.home-date-field > label { display: block; margin-bottom: 7px; }
.home-date-trigger {
  width: 100%; min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--text); text-align: left;
  cursor: pointer; transition: border-color .16s, box-shadow .16s, background .16s;
}
.home-date-trigger:hover, .home-date-trigger:focus-visible { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 217, 79, .12); outline: none; }
.home-date-trigger.is-selected { background: #fbfefb; border-color: #b8d8c0; }
.home-date-trigger__icon, .home-date-picker__summary-icon, .home-date-time__icon {
  width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary-strong); font-size: 19px; font-weight: 800;
}
.home-date-trigger__copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.home-date-trigger__copy strong { overflow: hidden; color: #28362d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.home-date-trigger__copy small { color: var(--text-mute); font-size: 10px; line-height: 1.4; }
.home-date-trigger__chevron { color: #8a958d; font-size: 24px; line-height: 1; }
.home-date-picker-layer:empty { display: none; }
.home-date-picker-backdrop {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow-y: auto; padding: 20px;
  background: rgba(20, 31, 24, .48); backdrop-filter: blur(5px);
}
.home-date-picker {
  width: min(100%, 520px); max-height: min(760px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 23px; background: #fff; box-shadow: 0 24px 70px rgba(17, 32, 21, .25);
  animation: home-date-picker-in .18s ease-out;
}
@keyframes home-date-picker-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.home-date-picker__header { display: flex; justify-content: space-between; gap: 16px; padding: 23px 25px 17px; }
.home-date-picker__eyebrow { display: block; margin-bottom: 5px; color: var(--primary-strong); font-size: 10px; font-weight: 850; }
.home-date-picker__header h2 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: -.045em; }
.home-date-picker__header p { margin: 5px 0 0; color: var(--text-mute); font-size: 11px; }
.home-date-picker__close { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f2f5f1; color: #59665d; font-size: 22px; cursor: pointer; }
.home-date-picker__summary { display: flex; align-items: center; gap: 12px; margin: 0 24px 15px; padding: 12px 14px; border: 1px solid #dcefe0; border-radius: 15px; background: #f6fbf6; }
.home-date-picker__summary-icon { width: 35px; height: 35px; border-radius: 11px; font-size: 16px; }
.home-date-picker__summary span:last-child { display: grid; gap: 2px; }
.home-date-picker__summary small { color: var(--text-mute); font-size: 10px; }
.home-date-picker__summary strong { color: #2b3a30; font-size: 13px; }
.home-date-calendar { padding: 0 24px 16px; }
.home-date-calendar__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #29372e; }
.home-date-calendar__heading strong { font-size: 15px; }
.home-date-calendar__nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #415047; font-size: 23px; line-height: 1; cursor: pointer; }
.home-date-calendar__nav:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }
.home-date-calendar__nav:disabled { opacity: .35; cursor: default; }
.home-date-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; }
.home-date-calendar__weekdays { margin-bottom: 3px; color: #7d897f; font-size: 10px; font-weight: 750; }
.home-date-calendar__weekdays span { padding: 7px 0; }
.home-date-calendar__day, .home-date-calendar__blank { width: 42px; height: 42px; margin: 2px 0; }
.home-date-calendar__day { border: 1px solid transparent; border-radius: 50%; background: transparent; color: #344239; font-size: 12px; font-weight: 650; cursor: pointer; }
.home-date-calendar__day:hover:not(:disabled) { border-color: #b5d9be; background: #f0faf2; }
.home-date-calendar__day.is-today { color: var(--primary-strong); font-weight: 850; }
.home-date-calendar__day.is-selected { border-color: var(--primary); background: var(--primary); color: #073b1b; font-weight: 900; box-shadow: 0 3px 10px rgba(0, 160, 58, .18); }
.home-date-calendar__day:disabled { color: #c3c9c4; cursor: default; }
.home-date-picker__hint { margin: 10px 0 0; color: var(--text-mute); font-size: 10px; text-align: center; }
.home-date-picker__footer { display: flex; gap: 10px; justify-content: flex-end; padding: 15px 24px 21px; border-top: 1px solid #eff1ed; }
.home-date-picker__footer .btn { min-width: 130px; }
.home-date-time { padding: 12px 24px 20px; }
.home-date-time__intro { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.home-date-time__icon { width: 45px; height: 45px; font-size: 23px; }
.home-date-time__intro strong { color: #29372e; font-size: 14px; }
.home-date-time__intro p { margin: 3px 0 0; color: var(--text-mute); font-size: 10px; }
.home-date-time__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-date-time__controls label { display: grid; gap: 7px; color: #556159; font-size: 11px; }
.home-date-time__select { width: 100%; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 13px; background: #fff; color: #27352b; font-size: 15px; font-weight: 700; }
.home-date-time__range { margin: 13px 0 0; color: var(--text-mute); font-size: 10px; text-align: center; }
.home-quote-card .stops { margin-top: 8px; }
.home-quote-card .stop-row { grid-template-columns: minmax(0, 1fr) auto; }
.home-quote-card .btn--block { margin-top: 7px; }
.home-quote-card .flex.justify-between.items-center { gap: 10px; }
.home-shortcuts, .home-journey { width: 100%; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.home-section-heading__eyebrow { display: block; margin-bottom: 5px; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.home-section-heading h2 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.055em; }
.home-section-heading p { margin: 0 0 2px; color: var(--text-mute); font-size: 12px; }
.home-shortcuts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quicklink { min-height: 102px; align-items: flex-start; padding: 18px; border-color: #e3e8df; border-radius: 17px; box-shadow: 0 2px 8px rgba(23, 43, 31, .025); }
.quicklink:hover { transform: translateY(-2px); border-color: #a9c3b0; box-shadow: var(--shadow-sm); }
.quicklink__icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; background: var(--primary-soft); color: var(--primary-strong); font-size: 10px; }
.quicklink__title { color: #29382e; font-size: 13px; letter-spacing: -.03em; }
.quicklink__desc { margin-top: 4px; color: #7e887f; font-size: 11px; line-height: 1.5; word-break: keep-all; }
.home-journey__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.journey-step { position: relative; min-height: 160px; padding: 21px 22px; overflow: hidden; border: 1px solid #e2e8de; border-radius: 18px; background: linear-gradient(145deg, #fff 0%, #fafbf8 100%); }
.journey-step__number { display: inline-grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: var(--accent-soft); color: #526016; font-size: 10px; font-weight: 900; }
.journey-step h3 { margin: 16px 0 6px; color: #29382e; font-size: 15px; letter-spacing: -.04em; }
.journey-step p { max-width: 300px; margin: 0; color: #758078; font-size: 12px; line-height: 1.7; word-break: keep-all; }

/* Customer support tickets */
.support-page { max-width: 1120px; margin: 0 auto; }
.support-intro { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.support-eyebrow, .support-card__step { color: var(--primary-strong); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.support-intro h1 { margin: 8px 0 7px; color: #202c24; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.055em; }
.support-intro p { margin: 0; color: var(--text-mute); font-size: 13px; line-height: 1.7; }
.support-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: start; gap: 18px; }
.support-card { padding: 25px; border-radius: 20px; }
.support-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.support-card__heading h2, .support-history__heading h2 { margin: 5px 0 0; color: #26352b; font-size: 20px; letter-spacing: -.045em; }
.support-card__symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary-strong); font-size: 21px; font-weight: 700; }
.support-field { display: grid; gap: 7px; margin-bottom: 16px; }
.support-field__label { color: #34433a; font-size: 12px; font-weight: 750; }
.support-field input, .support-field select, .support-field textarea { width: 100%; min-width: 0; }
.support-field textarea { resize: vertical; min-height: 132px; line-height: 1.65; }
.support-field__hint { color: var(--text-mute); font-size: 10px; line-height: 1.5; }
.support-card__description { margin: -10px 0 18px; color: var(--text-mute); font-size: 12px; line-height: 1.65; }
.support-submit { width: 100%; margin-top: 3px; }
.support-lookup-button { width: 100%; }
.support-feedback { min-height: 0; margin: 0; color: transparent; font-size: 12px; }
.support-feedback:not(:empty) { margin: 14px 0 0; padding: 12px 15px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-strong); }
.support-feedback.is-error:not(:empty) { background: var(--danger-soft); color: var(--danger); }
.support-history { margin-top: 42px; }
.support-history__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.support-history__heading h2 { font-size: 22px; }
.support-empty { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255,255,255,.65); color: var(--text-mute); font-size: 12px; text-align: center; }
.support-inquiry { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.support-inquiry__top { display: flex; align-items: center; gap: 9px; }
.support-category { padding: 5px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-size: 10px; font-weight: 800; }
.support-status { margin-left: auto; color: #9a6a12; font-size: 11px; font-weight: 750; }
.support-status.is-answered { color: var(--success); }
.support-inquiry__message { margin: 14px 0 8px; color: #39473e; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-inquiry__date { display: block; color: var(--text-mute); font-size: 10px; }
.support-inquiry__answer { margin-top: 16px; padding: 15px; border-radius: 12px; background: #f5f8f4; }
.support-inquiry__answer strong { color: var(--primary-strong); font-size: 11px; }
.support-inquiry__answer p { margin: 7px 0 8px; color: #34433a; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Local reservation preview interactions */
.booking-preview-banner { margin-bottom: 16px; border-color: var(--primary); color: var(--primary-strong); }
.booking-preview-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); }
.booking-preview-kpi { margin-bottom: 13px; }
.booking-preview-driver { margin: 12px 0; color: var(--primary-strong); font-size: 12px; font-weight: 750; }
.booking-preview-bids { margin-top: 16px; }
.booking-preview-bid-list { display: grid; gap: 12px; }
.booking-preview-bid { grid-template-columns: 52px minmax(0, 1fr) auto; }
.booking-preview-bid-actions { display: grid; justify-items: end; gap: 9px; }
.booking-preview-chat { margin-top: 16px; }
.booking-preview-chat__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.booking-preview-chat__messages { display: grid; gap: 8px; min-height: 100px; max-height: 260px; overflow: auto; padding: 12px; border-radius: 12px; background: #f6f8f5; }
.booking-preview-chat__message { width: fit-content; max-width: 80%; padding: 9px 12px; border-radius: 12px 12px 12px 3px; background: #fff; color: #435047; font-size: 12px; }
.booking-preview-chat__message.is-mine { justify-self: end; border-radius: 12px 12px 3px 12px; background: var(--primary-soft); color: var(--primary-strong); }
.booking-preview-chat__composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }

@media (max-width: 760px) {
  .support-columns { grid-template-columns: 1fr; }
  .support-intro { margin-bottom: 23px; text-align: left; }
  .support-card { padding: 20px; }
  .support-history { margin-top: 32px; }
  .booking-preview-grid { grid-template-columns: 1fr; }
  .booking-preview-bid { grid-template-columns: 44px minmax(0, 1fr); }
  .booking-preview-bid-actions { grid-column: 2; justify-items: start; }
  .booking-preview-title { align-items: center; flex-direction: row; }
}

@media (max-width: 1120px) {
  .app-header__inner { gap: 16px; }
  .nav__item { padding: 9px 10px; font-size: 12px; }
  .app-header { padding: 0 20px; }
  .home-hero { grid-template-columns: minmax(260px, .75fr) minmax(460px, 1.25fr); gap: 28px; }
  .home-hero__title { font-size: clamp(39px, 4.6vw, 54px); }
  .home-shortcuts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-header__inner { min-height: 0; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; gap: 0 16px; padding-top: 13px; }
  .app-header .brand { grid-area: brand; }
  .app-header .nav { grid-area: nav; justify-content: flex-start; overflow-x: auto; margin: 9px -4px 0; padding: 0 4px 10px; scrollbar-width: none; }
  .app-header .nav::-webkit-scrollbar { display: none; }
  .app-header__right { grid-area: actions; }
  .app-main { padding: 30px 22px 58px; }
  .home-hero { grid-template-columns: 1fr; gap: 12px; }
  .home-hero__copy { padding: 15px 0 6px; }
  .home-hero__title { max-width: 680px; font-size: clamp(40px, 7vw, 58px); }
  .home-hero__promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .home-promise { align-items: flex-start; font-size: 11px; line-height: 1.5; }
  .home-route-art { display: none; }
  .home-hero__form { max-width: none; }
  .home-page { gap: 56px; }
}
@media (max-width: 640px) {
  body { font-size: 13.5px; }
  .app-header { padding: 0 15px; }
  .app-header__inner { padding-top: 11px; }
  .brand__logo { width: 36px; height: 36px; border-radius: 11px; }
  .brand__title { font-size: 16px; }
  .brand__subtitle { font-size: 9px; }
  .app-auth-actions { gap: 3px; }
  .app-auth-actions .btn { min-height: 33px; padding: 6px 8px; font-size: 10.5px; }
  .app-account__email { display: none; }
  .nav__item { gap: 6px; padding: 8px 9px; font-size: 11px; }
  .nav__icon { display: none; }
  .app-main { padding: 24px 15px 46px; }
  .page-title { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .page-title h1 { font-size: 25px; }
  .card { padding: 18px; border-radius: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .row { flex-direction: column; gap: 0; }
  .home-page { gap: 43px; }
  .home-hero__copy { padding-top: 4px; }
  .home-hero__title { margin: 16px 0 12px; font-size: clamp(36px, 10vw, 48px); }
  .home-hero__sub { font-size: 13px; }
  .home-hero__promises { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .home-promise { align-items: center; font-size: 12px; }
  .home-hero__form { padding: 19px 16px 17px; border-radius: 19px; }
  .home-form-heading h2 { font-size: 18px; }
  .home-form-heading__step { font-size: 9px; }
  .home-quote-card .row { gap: 0; }
  .home-quote-card .field { margin-bottom: 12px; }
  .home-date-picker-backdrop { align-items: end; padding: 0; }
  .home-date-picker { width: 100%; max-height: min(92vh, 780px); border-radius: 22px 22px 0 0; }
  .home-date-picker__header { padding: 20px 19px 14px; }
  .home-date-picker__summary { margin: 0 18px 13px; }
  .home-date-calendar { padding: 0 15px 14px; }
  .home-date-calendar__day, .home-date-calendar__blank { width: min(42px, 10vw); height: min(42px, 10vw); }
  .home-date-time { padding: 12px 19px 20px; }
  .home-date-picker__footer { padding: 13px 18px max(17px, env(safe-area-inset-bottom)); }
  .home-date-picker__footer .btn { min-width: 0; flex: 1; }
  .home-shortcuts__grid, .home-journey__grid { grid-template-columns: 1fr; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .home-section-heading h2 { font-size: 20px; }
  .home-section-heading p { font-size: 11px; }
  .quicklink { min-height: 84px; padding: 14px; }
  .journey-step { min-height: 0; padding: 17px; }
  .journey-step h3 { margin-top: 11px; }
  .app-footer__inner { width: calc(100% - 30px); min-height: 100px; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding: 18px 0; }
  .app-footer__links { width: 100%; order: 3; margin: 7px 0 0; justify-content: space-between; gap: 8px; }
  .app-footer__links a { font-size: 10px; }
  .auth-shell { padding: 16px; }
  .auth-card { padding: 25px 20px; border-radius: 20px; }
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
  .chat-side { display: none; }
  .chat-main { min-height: 66vh; }
  .driver-card { grid-template-columns: 48px minmax(0, 1fr); gap: 11px; }
  .driver-card > :last-child { grid-column: 2; }
  .driver-avatar { width: 48px; height: 48px; }
  #toast-root { right: 12px; bottom: 12px; left: 12px; }
  .toast { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
