:root {
  --red: #f43b30;
  --red-dark: #d92a20;
  --ink: #11100e;
  --ivory: #f4f0e8;
  --paper: #fffdf8;
  --muted: #716c64;
  --line: #ded8ce;
  --soft: #ebe6dc;
  --success: #1f9a60;
  --warning: #d88700;
  --danger: #c92d25;
  --blue: #2f77c7;
  --shadow: 0 22px 55px rgba(31, 25, 20, .11);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ivory); }
body { min-height: 100vh; margin: 0; overflow-x: clip; color: var(--ink); background: var(--ivory); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.danger-text { color: var(--danger); }
.success-text { color: var(--success); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 900; letter-spacing: -1.3px; text-decoration: none; }
.brand-image { display: block; width: 112px; height: 58px; object-fit: contain; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--red); box-shadow: 0 8px 18px rgba(244,59,48,.25); transform: rotate(-5deg); }
.brand-mark svg { width: 25px; fill: currentColor; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-story { position: relative; padding: 48px clamp(32px, 6vw, 92px); color: white; background: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.auth-story .brand { color: white; }
.auth-story-copy { margin: auto 0; position: relative; z-index: 2; }
.auth-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 850; letter-spacing: 2.2px; text-transform: uppercase; color: #ff8a83; }
.auth-kicker::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.auth-story h1 { max-width: 680px; margin: 20px 0; font-family: Georgia, serif; font-size: clamp(60px, 7.2vw, 110px); line-height: .88; letter-spacing: -5px; font-weight: 400; }
.auth-story h1 em { color: var(--red); font-weight: 400; }
.auth-story p { color: #aaa69f; max-width: 540px; font-size: 17px; line-height: 1.7; }
.auth-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.auth-services span { border: 1px solid #383531; padding: 8px 12px; border-radius: 999px; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.auth-orbit { position: absolute; width: 520px; height: 520px; border: 1px solid #34312e; border-radius: 50%; right: -250px; bottom: -280px; box-shadow: 0 0 0 90px rgba(244,59,48,.03), 0 0 0 180px rgba(244,59,48,.025); }
.auth-panel { position: relative; padding: 48px clamp(24px, 6vw, 90px); display: grid; align-items: center; background: var(--paper); }
.auth-card { width: min(100%, 470px); margin: auto; }
.auth-card h2 { margin: 18px 0 8px; font-family: Georgia, serif; font-size: 46px; font-weight: 400; letter-spacing: -2px; }
.auth-card > p { color: var(--muted); line-height: 1.6; margin: 0 0 30px; }
.api-chip { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: var(--muted); font-size: 10px; background: white; }
.api-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.api-chip code { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-language-floating { position: absolute; z-index: 3; top: 22px; right: 24px; }
.language-button { min-width: 68px; height: 42px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); cursor: pointer; box-shadow: 0 6px 18px rgba(17,16,14,.05); transition: border-color .18s, box-shadow .18s, transform .18s; }
.language-button span { color: var(--red); font-size: 17px; line-height: 1; }
.language-button strong { min-width: 20px; font-size: 11px; letter-spacing: .45px; }
.language-button:hover { transform: translateY(-1px); border-color: var(--ink); box-shadow: 0 9px 22px rgba(17,16,14,.09); }
.language-button:focus-visible, .topbar-wallet:focus-visible, .metric-button:focus-visible, .account-quick-card:focus-visible, .payment-method:focus-visible, .language-option:focus-visible { outline: 3px solid rgba(244,59,48,.22); outline-offset: 2px; }
.auth-language-button { background: rgba(255,253,248,.9); backdrop-filter: blur(10px); }
.language-picker-copy { margin: 0 0 17px; line-height: 1.55; }
.language-picker { display: grid; gap: 10px; }
.language-option { width: 100%; min-height: 70px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--paper); text-align: left; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.language-option:hover { transform: translateY(-1px); border-color: var(--ink); box-shadow: 0 10px 25px rgba(17,16,14,.07); }
.language-option.active { border-color: var(--red); background: #fff4f1; box-shadow: 0 0 0 2px rgba(244,59,48,.1); }
.language-option span, .language-option strong, .language-option small { display: block; }
.language-option strong { font-size: 14px; }
.language-option small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.language-option i { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--soft); font-style: normal; }
.language-option.active i { color: white; background: var(--red); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; position: relative; }
.field > label, .field-label { color: #5f5a53; font-size: 10px; font-weight: 850; letter-spacing: 1.25px; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; color: var(--ink); background: white; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,16,14,.07); }
.field-hint { font-size: 10px; color: var(--muted); line-height: 1.45; }
.place-field { position: relative; }
.place-input-row { display: flex; gap: 7px; }
.place-input-row input { flex: 1; }
.location-button { flex: 0 0 49px; height: 49px; border: 1px solid var(--line); background: white; border-radius: 13px; cursor: pointer; }
.place-results { display: none; position: absolute; z-index: 25; top: calc(100% + 5px); left: 0; right: 0; max-height: 240px; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.place-results.open { display: block; }
.place-result { display: block; width: 100%; padding: 12px 13px; border: 0; border-bottom: 1px solid #eee9e1; background: white; text-align: left; cursor: pointer; }
.place-result strong, .place-result small { display: block; }
.place-result small { color: var(--muted); margin-top: 3px; }

.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #4f4b45; }
.check-row input { width: 18px; height: 18px; accent-color: var(--red); }
.button { border: 0; border-radius: 999px; min-height: 50px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 13px; cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .18s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button-dark { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(17,16,14,.17); }
.button-red { background: var(--red); color: white; box-shadow: 0 10px 24px rgba(244,59,48,.2); }
.button-light { background: white; color: var(--ink); border: 1px solid var(--line); }
.button-danger { background: #ffebe9; color: var(--danger); }
.button-block { width: 100%; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 11px; }
.button-link { min-height: 0; padding: 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.auth-form .button { margin-top: 10px; }
.auth-phone-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.auth-phone-row > input { min-width: 0; }
.country-picker-button { min-width: 108px; height: 49px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; cursor: pointer; }
.country-picker-button span { font-size: 20px; }.country-picker-button strong { font-size: 12px; }.country-picker-button i { margin-left: auto; color: var(--muted); font-style: normal; }
.country-picker-button:hover, .country-picker-button:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,16,14,.07); outline: none; }
.country-picker-search { height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.country-picker-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.country-picker-option { width: 100%; min-height: 62px; margin-top: 12px; padding: 10px 13px; display: grid; grid-template-columns: 34px 1fr auto 24px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; text-align: left; cursor: pointer; }
.country-picker-option > span { font-size: 24px; }.country-picker-option > strong { font-size: 13px; }.country-picker-option > small { color: var(--muted); }.country-picker-option > i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: 11px; font-style: normal; }
.country-picker-note { margin: 14px 2px 0; }
.otp-box { font-size: 24px; letter-spacing: 12px; text-align: center; font-weight: 850; }
.dev-otp { margin: 14px 0; padding: 12px; border-radius: 12px; background: #fff2cf; color: #745100; font-size: 12px; }
.inline-error { padding: 11px 13px; border-radius: 12px; background: #ffebe9; color: var(--danger); font-size: 12px; line-height: 1.5; }
.inline-success { padding: 16px; border-radius: 15px; background: #e8f8ef; color: #176a45; font-size: 12px; line-height: 1.5; }
.inline-notice { margin-bottom: 16px; padding: 12px 14px; display: grid; gap: 3px; border: 1px solid #f2c9c4; border-radius: 13px; color: #6b2d27; background: #fff1ef; font-size: 11px; line-height: 1.45; }
.inline-notice strong { font-size: 12px; }
.inline-notice.warning { border-color: #edd49c; color: #745100; background: #fff7e3; }
.secret-code { display: block; margin-top: 12px; padding: 12px; border-radius: 10px; overflow-wrap: anywhere; color: var(--ink); background: white; border: 1px solid #b9ddc9; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 15px; color: var(--red); background: #ffebe8; font-weight: 900; }

.embedded-auth-logo { display: grid; place-items: center; margin: 0 auto 18px; }
.embedded-auth-logo img { width: 122px; height: 82px; object-fit: contain; }
.embedded-app .auth-page { min-height: 100dvh; grid-template-columns: 1fr; }
.embedded-app .auth-story { display: none; }
.embedded-app .auth-panel { min-height: 100dvh; padding: 38px 24px; background: radial-gradient(circle at 50% 6%, rgba(244,59,48,.09), transparent 28%), linear-gradient(145deg,#f5f0e7,#fffdf8 65%); }
.embedded-app .auth-card { width: min(100%, 520px); padding: 36px; border: 1px solid rgba(17,16,14,.08); border-radius: 30px; background: rgba(255,253,248,.94); box-shadow: 0 28px 75px -48px rgba(17,16,14,.6), inset 0 1px 0 rgba(255,255,255,.9); }
.embedded-app .auth-card > h2, .embedded-app .auth-card > p { text-align: center; }
.embedded-app .auth-card > h2 { margin-top: 4px; }
.embedded-app .auth-card > p { max-width: 390px; margin-inline: auto; }
.embedded-app .auth-form { margin-top: 4px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px 20px; color: white; background: var(--ink); display: flex; flex-direction: column; overflow-y: auto; }
.sidebar .brand { padding: 0 8px; color: white; }
.side-profile { margin: 30px 0 18px; padding: 16px; display: flex; align-items: center; gap: 11px; border-radius: 18px; background: #201f1c; }
.profile-avatar { width: 41px; height: 41px; flex: 0 0 41px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; color: white; background: var(--red); font-weight: 850; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-profile div { min-width: 0; }
.side-profile strong, .side-profile span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-profile strong { font-size: 12px; }.side-profile span { color: #8c8983; font-size: 10px; margin-top: 3px; }
.nav-group-label { margin: 15px 10px 7px; color: #696661; font-size: 8px; letter-spacing: 1.6px; font-weight: 900; }
.side-nav { display: grid; gap: 4px; }
.side-nav button { width: 100%; border: 0; border-radius: 13px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; color: #b9b5ae; background: transparent; text-align: left; font-size: 12px; font-weight: 700; cursor: pointer; }
.side-nav button:hover, .side-nav button.active { color: white; background: #2b2926; }
.side-nav button.active { box-shadow: inset 3px 0 var(--red); }
.side-nav .nav-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: #35322e; font-size: 13px; }
.sidebar-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.sidebar-foot button, .sidebar-foot a { border: 0; background: transparent; color: #7f7b75; padding: 7px 10px; text-align: left; font-size: 10px; cursor: pointer; text-decoration: none; }
.app-main { min-width: 0; }
.topbar { position: sticky; z-index: 30; top: 0; height: 74px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; background: rgba(244,240,232,.89); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(17,16,14,.08); }
.topbar-title small, .page-heading small { display: block; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.topbar-title strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-wallet { min-width: 94px; height: 42px; padding: 0 13px 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); cursor: pointer; }
.topbar-wallet span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: 13px; }
.topbar-wallet strong { font-size: 11px; white-space: nowrap; }
.topbar-wallet:hover { border-color: var(--ink); }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--paper); cursor: pointer; }
.theme-toggle { color: var(--ink); }
.menu-toggle { display: none; }
.app-content { width: min(100%, 1320px); margin: auto; padding: 36px 36px 70px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.page-heading h1 { margin: 7px 0 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(38px, 4vw, 58px); letter-spacing: -2.5px; }
.page-heading p { max-width: 470px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.hero-card { position: relative; min-height: 270px; padding: 40px; border-radius: 30px; overflow: hidden; background: var(--red); color: white; display: grid; grid-template-columns: 1fr .8fr; align-items: center; }
.hero-card::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.025); }
.hero-card h2 { margin: 8px 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 68px); font-weight: 400; letter-spacing: -3px; line-height: .96; }
.hero-card p { max-width: 540px; color: rgba(255,255,255,.76); line-height: 1.55; }
.hero-card .button { width: max-content; margin-top: 12px; }
.hero-map { position: relative; z-index: 2; height: 190px; border-radius: 26px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); overflow: hidden; }
.hero-map::before, .hero-map::after { content: ""; position: absolute; background: rgba(255,255,255,.32); }
.hero-map::before { width: 130%; height: 20px; left: -10%; top: 48%; transform: rotate(-8deg); }
.hero-map::after { width: 20px; height: 130%; left: 53%; top: -10%; transform: rotate(16deg); }
.route-dash { position: absolute; z-index: 2; left: 16%; right: 18%; top: 52%; border-top: 4px dashed white; transform: rotate(-9deg); }
.route-pin { position: absolute; z-index: 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); font-size: 11px; }
.route-pin.one { left: 13%; top: 59%; }.route-pin.two { right: 15%; top: 29%; background: white; color: var(--red); }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.quick-card { min-height: 148px; padding: 20px; border: 1px solid rgba(17,16,14,.06); border-radius: 22px; background: var(--paper); cursor: pointer; text-align: left; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); font-size: 20px; }
.quick-card h3 { margin: 18px 0 4px; font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.quick-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.section-title { margin: 34px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title h2 { margin: 0; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.section-title p { margin: 0; color: var(--muted); font-size: 11px; }
.panel { border: 1px solid rgba(17,16,14,.07); border-radius: 24px; background: var(--paper); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.panel-title h2, .panel-title h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.panel-title p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-dark { background: var(--ink); color: white; }
.split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 18px; align-items: start; }
.split.equal { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sticky-panel { position: sticky; top: 92px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.data-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.data-card h3 { font-size: 14px; margin: 0 0 7px; }
.data-card p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; }
.data-card .big { display: block; margin: 9px 0; font-family: Georgia, serif; font-size: 30px; }
.data-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { padding: 18px; border-radius: 18px; background: var(--soft); }
.metric span { display: block; color: var(--muted); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.metric strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.metric-button { position: relative; width: 100%; border: 0; color: inherit; text-align: left; cursor: pointer; }
.metric-button i { position: absolute; top: 15px; right: 16px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--red); background: var(--paper); font-style: normal; transition: transform .18s; }
.metric-button:hover i { transform: translate(2px,-2px); }
.status { display: inline-flex; align-items: center; gap: 6px; width: max-content; border-radius: 999px; padding: 6px 9px; background: #ece9e2; color: #55514b; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .6px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8d8981; }
.status.live, .status.completed, .status.verified, .status.paid, .status.approved { color: #19754b; background: #e5f5ec; }
.status.live::before, .status.completed::before, .status.verified::before, .status.paid::before, .status.approved::before { background: var(--success); }
.status.pending, .status.searching, .status.requested, .status.booked, .status.assigned { color: #8a5d00; background: #fff3d8; }
.status.pending::before, .status.searching::before, .status.requested::before, .status.booked::before, .status.assigned::before { background: var(--warning); }
.status.cancelled, .status.declined, .status.failed, .status.rejected { color: #9c2924; background: #ffe9e7; }
.status.cancelled::before, .status.declined::before, .status.failed::before, .status.rejected::before { background: var(--danger); }

.service-picker { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; margin: 18px 0; }
.service-option { position: relative; border: 1px solid var(--line); border-radius: 17px; padding: 15px 8px; background: white; text-align: center; cursor: pointer; }
.service-option.active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(244,59,48,.12); }
.service-option:disabled { opacity: .42; cursor: not-allowed; }
.service-option b { display: block; font-size: 22px; }.service-option strong { display: block; margin-top: 8px; font-size: 11px; }.service-option small { display: block; color: var(--muted); margin-top: 4px; font-size: 9px; }
.quote-list { display: grid; gap: 10px; }
.quote-card { width: 100%; border: 1px solid var(--line); border-radius: 17px; padding: 15px; background: white; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.quote-card:hover { border-color: var(--ink); }.quote-card:disabled, .quote-card[aria-disabled="true"] { opacity: .52; }
.quote-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff0e9; font-size: 23px; }
.quote-card strong, .quote-card small { display: block; }.quote-card small { color: var(--muted); margin-top: 4px; }
.quote-price { text-align: right; }.quote-price b { display: block; font-family: Georgia, serif; font-size: 21px; }.quote-price span { color: var(--muted); font-size: 9px; }
.ride-stops-head { margin-top: 18px; padding: 14px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.ride-stops-head strong, .ride-stops-head span { display: block; }.ride-stops-head strong { font-size: 12px; }.ride-stops-head span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.ride-stops { display: grid; gap: 10px; }
.ride-stop-row { padding: 12px; display: grid; grid-template-columns: 30px minmax(0,1fr) 34px; align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 17px; background: var(--soft); }
.ride-stop-order { width: 28px; height: 28px; margin-top: 23px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 10px; font-weight: 900; }
.ride-stop-field { min-width: 0; }.ride-stop-field .field { width: 100%; }.ride-stop-field .field input { background: var(--paper); }
.ride-stop-remove { width: 32px; height: 32px; margin-top: 21px; border: 1px solid var(--line); border-radius: 50%; color: var(--danger); background: var(--paper); font-size: 20px; line-height: 1; cursor: pointer; }
.ride-stop-remove:hover { color: white; border-color: var(--danger); background: var(--danger); }
.ride-wait-hint { margin: 10px 2px 0; line-height: 1.5; }
.stop-policy-notice { margin-top: 14px; }
.hire-progress { margin: -8px 0 24px; padding: 14px 18px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.hire-progress span { position: relative; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .8px; }
.hire-progress span:not(:last-child)::after { content: ""; position: absolute; left: 39px; right: 12px; top: 14px; height: 1px; background: var(--line); }
.hire-progress i { position: relative; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-style: normal; }
.hire-progress span.active { color: var(--ink); }.hire-progress span.active i { border-color: var(--red); color: white; background: var(--red); }
.hire-layout { align-items: stretch; }
.hire-map { position: relative; min-height: 520px; overflow: hidden; border-radius: 25px; background: #dcd8cf; box-shadow: var(--shadow); }
.hire-map iframe { width: 100%; height: 520px; border: 0; display: block; filter: saturate(.72) contrast(1.04); }
.hire-map-empty { display: grid; place-content: center; gap: 9px; padding: 40px; text-align: center; background: radial-gradient(circle at 20% 15%, rgba(244,59,48,.16), transparent 24%), repeating-linear-gradient(35deg, transparent 0 42px, rgba(17,16,14,.045) 43px 45px), var(--soft); }
.hire-map-empty span { color: var(--red); font-size: 48px; }.hire-map-empty strong { font: 400 28px Georgia,serif; }.hire-map-empty small { color: var(--muted); }
.hire-location-chip { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; background: rgba(255,253,248,.94); box-shadow: 0 13px 35px rgba(17,16,14,.2); backdrop-filter: blur(12px); }
.hire-location-chip > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--red); }.hire-location-chip small, .hire-location-chip strong { display: block; }.hire-location-chip small { color: var(--muted); font-size: 8px; letter-spacing: 1.2px; }.hire-location-chip strong { margin-top: 4px; font-size: 11px; }
.hire-current { margin-top: 12px; }.hire-privacy { margin: 15px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.hire-package-grid, .hire-driver-list { display: grid; gap: 11px; }
.hire-package-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hire-package-card, .hire-driver-card { position: relative; border: 1px solid var(--line); border-radius: 18px; background: white; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.hire-package-card { min-height: 205px; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; }
.hire-package-card:hover, .hire-driver-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17,16,14,.08); }
.hire-package-card input, .hire-driver-card input { position: absolute; opacity: 0; pointer-events: none; }
.hire-package-card:has(input:checked), .hire-driver-card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px rgba(244,59,48,.12); }
.hire-card-check { position: absolute; right: 13px; top: 13px; width: 22px; height: 22px; display: none; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: 11px; }.hire-package-card:has(input:checked) .hire-card-check, .hire-driver-card:has(input:checked) .hire-card-check { display: grid; }
.hire-package-card > strong { margin-top: 14px; font-size: 13px; }.hire-package-card > b { margin-top: 7px; font: 400 27px Georgia,serif; }.hire-package-card > b small { font: 700 9px Inter,sans-serif; color: var(--muted); }.hire-package-card p { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }.hire-package-card > small { margin-top: auto; color: var(--muted); font-size: 8px; }
.hire-driver-card { min-height: 84px; padding: 14px 48px 14px 14px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; }
.hire-driver-card .hire-card-check { right: 10px; top: 9px; }.hire-driver-card .status { margin-right: 2px; }
.hire-driver-avatar { width: 48px; height: 48px; overflow: hidden; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-weight: 900; }.hire-driver-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hire-driver-card strong, .hire-driver-card p, .hire-driver-card small, .hire-confirm-driver strong, .hire-confirm-driver small { display: block; }.hire-driver-card strong { font-size: 12px; }.hire-driver-card p { margin: 4px 0; color: var(--muted); font-size: 10px; }.hire-driver-card small, .hire-confirm-driver small { color: var(--muted); font-size: 9px; }
.hire-total { font: 400 30px Georgia,serif; white-space: nowrap; }
.hire-summary { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; }.hire-summary > div { padding: 12px 14px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }.hire-summary > div:last-child { border: 0; }.hire-summary span { color: var(--muted); font-size: 10px; }.hire-summary strong { text-align: right; font-size: 11px; }.hire-summary .hire-summary-total { color: white; background: var(--ink); }.hire-summary .hire-summary-total span { color: #aaa49a; }.hire-summary .hire-summary-total strong { font-size: 14px; }
.hire-confirm-driver { margin-bottom: 16px; padding: 14px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; }.hire-confirm-driver strong { font-size: 13px; }.hire-confirm-driver small { margin-top: 4px; }
.hire-payment-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.hire-payment-row label { position: relative; cursor: pointer; }.hire-payment-row input { position: absolute; opacity: 0; pointer-events: none; }.hire-payment-row span { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: white; font-size: 11px; font-weight: 800; }.hire-payment-row input:checked + span { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 2px rgba(244,59,48,.11); }
.tab-row { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 18px; }
.tab-row button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: white; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.tab-row button.active { background: var(--ink); color: white; border-color: var(--ink); }
.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 18px; }
.empty-state span { font-size: 34px; }.empty-state h3 { margin: 13px 0 6px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }.empty-state p { margin: 0 auto; max-width: 440px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.timeline { position: relative; display: grid; gap: 0; margin: 22px 0; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 10px 0 10px 38px; }
.timeline-item::before { content: ""; position: absolute; left: 6px; top: 15px; width: 12px; height: 12px; border: 3px solid var(--paper); border-radius: 50%; background: #bdb7ae; box-shadow: 0 0 0 1px var(--line); }
.timeline-item.done::before { background: var(--success); }.timeline-item.active::before { background: var(--red); box-shadow: 0 0 0 5px rgba(244,59,48,.12); }
.timeline-item strong, .timeline-item span { display: block; }.timeline-item strong { font-size: 12px; }.timeline-item span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.route-card { padding: 18px; border-radius: 18px; background: var(--soft); }
.route-point { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.route-point + .route-point { margin-top: 18px; }
.route-point i { width: 10px; height: 10px; margin-top: 4px; border: 2px solid white; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.route-point:last-child i { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.route-point strong, .route-point span { display: block; }.route-point strong { font-size: 11px; }.route-point span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.otp-pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff2d4; color: #805900; font-size: 11px; }.otp-pill strong { letter-spacing: 3px; font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid #eee9e1; font-size: 11px; }
th { color: var(--muted); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; background: #f8f5ef; }
tr:last-child td { border-bottom: 0; }
.wallet-hero { border-radius: 27px; padding: 30px; color: white; background: var(--ink); display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.wallet-hero small { color: #8f8b84; font-size: 9px; letter-spacing: 1.2px; }.wallet-hero strong { display: block; margin-top: 8px; font-family: Georgia, serif; font-size: 46px; font-weight: 400; }
.payment-method-list { padding-top: 8px; padding-bottom: 8px; }
.payment-method { width: 100%; min-height: 68px; padding: 12px 3px; display: grid; grid-template-columns: 44px minmax(0,1fr) 30px; align-items: center; gap: 13px; border: 0; border-bottom: 1px solid #eee9e1; color: var(--ink); background: transparent; text-align: left; }
.payment-method:last-child { border-bottom: 0; }
.payment-method-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--red-dark); background: #ffe7e3; font-size: 11px; font-weight: 900; }
.payment-method strong, .payment-method small { display: block; }
.payment-method strong { font-size: 12px; }
.payment-method small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.payment-method > i { width: 27px; height: 27px; display: grid; place-items: center; justify-self: end; border-radius: 50%; color: white; background: var(--success); font-size: 11px; font-style: normal; }
.add-payment-method { cursor: pointer; }
.add-payment-method .payment-method-icon { color: var(--ink); background: var(--soft); font-size: 18px; }
.add-payment-method > i { color: var(--muted); background: var(--soft); }
.add-payment-method:hover strong { color: var(--red); }
.account-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.account-quick-card { min-height: 112px; padding: 18px; display: grid; grid-template-columns: 48px minmax(0,1fr) 32px; align-items: center; gap: 14px; border: 1px solid rgba(17,16,14,.08); border-radius: 22px; color: var(--ink); background: var(--paper); text-align: left; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s; }
.account-quick-card:hover { transform: translateY(-2px); border-color: rgba(17,16,14,.2); box-shadow: var(--shadow); }
.account-quick-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--red); font: 700 19px Georgia,serif; }
.account-quick-card strong, .account-quick-card small, .account-quick-card b { display: block; }
.account-quick-card strong { font-size: 13px; }
.account-quick-card small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.account-quick-card b { margin-top: 7px; font-size: 11px; }
.account-quick-card > i { width: 30px; height: 30px; display: grid; place-items: center; justify-self: end; border-radius: 50%; color: var(--red); background: var(--soft); font-style: normal; }
.transaction { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eee9e1; }
.transaction:last-child { border: 0; }.transaction-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); }.transaction strong, .transaction small { display: block; }.transaction small { color: var(--muted); margin-top: 3px; font-size: 9px; }.transaction-amount { text-align: right; }
.contact-card { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; }.contact-card + .contact-card { margin-top: 8px; }
.contact-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #ffdcd7; color: var(--red-dark); font-weight: 900; }
.contact-card strong, .contact-card small { display: block; }.contact-card small { color: var(--muted); margin-top: 3px; }
.sos-card { padding: 30px; border-radius: 24px; color: white; background: var(--red); }.sos-card h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }.sos-card p { color: rgba(255,255,255,.75); line-height: 1.55; font-size: 12px; }.sos-button { width: 96px; height: 96px; border: 6px solid rgba(255,255,255,.22); border-radius: 50%; background: white; color: var(--red); font-size: 20px; font-weight: 950; cursor: pointer; box-shadow: 0 14px 28px rgba(130,20,15,.28); }
.settings-list { display: grid; gap: 8px; }
.setting-row { padding: 14px 0; border-bottom: 1px solid #eee9e1; display: flex; justify-content: space-between; align-items: center; gap: 20px; }.setting-row:last-child { border: 0; }.setting-row strong, .setting-row small { display: block; }.setting-row small { color: var(--muted); margin-top: 4px; }

.loading-screen { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.spinner { width: 42px; height: 42px; border: 4px solid #ddd7ce; border-top-color: var(--red); border-radius: 50%; animation: spin .75s linear infinite; margin: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { min-height: 120px; border-radius: 20px; background: linear-gradient(90deg, #e9e4db 25%, #f5f1ea 45%, #e9e4db 65%); background-size: 300% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.app-toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; max-width: min(520px, calc(100% - 32px)); transform: translate(-50%, 120px); padding: 13px 18px; border-radius: 999px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 12px; transition: transform .3s; }
.app-toast.show { transform: translate(-50%,0); }
.app-toast.error { background: var(--danger); }

html[data-theme="dark"] { --ivory:#171614; --paper:#211f1c; --muted:#aaa49a; --line:#403b35; --soft:#2c2925; --shadow:0 22px 55px rgba(0,0,0,.28); }
html[data-theme="dark"] body, html[data-theme="dark"] .app-main, html[data-theme="dark"] .driver-page { color:#f7f2e9; background:var(--ivory); }
html[data-theme="dark"] .topbar { background:rgba(23,22,20,.91); border-color:var(--line); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea, html[data-theme="dark"] .place-results, html[data-theme="dark"] .place-result, html[data-theme="dark"] .api-chip, html[data-theme="dark"] .chat-message, html[data-theme="dark"] .chat-bubble, html[data-theme="dark"] .country-picker-button, html[data-theme="dark"] .country-picker-option, html[data-theme="dark"] .language-button, html[data-theme="dark"] .language-option, html[data-theme="dark"] .topbar-wallet, html[data-theme="dark"] .account-quick-card { color:#f7f2e9; background:#292622; }
html[data-theme="dark"] .language-option.active { background:#3a2421; }
html[data-theme="dark"] .country-picker-search input { color:#f7f2e9; }
html[data-theme="dark"] .field > label, html[data-theme="dark"] .field-label, html[data-theme="dark"] .check-row { color:#c7c0b6; }
html[data-theme="dark"] .button-light, html[data-theme="dark"] .icon-button, html[data-theme="dark"] .modal-close { color:#f7f2e9; background:#302c27; }
html[data-theme="dark"] .modal-head { background:rgba(33,31,28,.96); }
html[data-theme="dark"] .mobile-bottom { background:rgba(33,31,28,.96); }
html[data-theme="dark"] th { background:#292622; }
html[data-theme="dark"] th, html[data-theme="dark"] td, html[data-theme="dark"] .transaction, html[data-theme="dark"] .setting-row, html[data-theme="dark"] .payment-method { border-color:var(--line); }
html[data-theme="dark"] .choice span, html[data-theme="dark"] .city-results button { color:#ddd6cc; background:#292622; }
html[data-theme="dark"] .hire-package-card, html[data-theme="dark"] .hire-driver-card, html[data-theme="dark"] .hire-payment-row span, html[data-theme="dark"] .hire-location-chip { color:#f7f2e9; background:#292622; }
html[data-theme="dark"] .ride-stop-field .field input, html[data-theme="dark"] .ride-stop-remove { color:#f7f2e9; background:#292622; }
.modal-backdrop { position: fixed; z-index: 150; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(17,16,14,.6); backdrop-filter: blur(6px); }
.modal { width: min(100%, 620px); max-height: calc(100vh - 48px); overflow: auto; border-radius: 25px; background: var(--paper); box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.modal-head { position: sticky; z-index: 2; top: 0; padding: 21px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.96); backdrop-filter: blur(12px); }
.modal-head h2 { margin: 0; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }.modal-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
.modal-body { padding: 24px; }
.chat-thread, .chat-messages { min-height: 300px; max-height: 430px; overflow-y: auto; padding: 15px; border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 9px; }
.chat-message, .chat-bubble { max-width: 78%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: white; font-size: 12px; line-height: 1.45; }.chat-message.mine, .chat-bubble.mine { align-self: flex-end; color: white; background: var(--ink); border-radius: 14px 14px 4px 14px; }.chat-message p, .chat-bubble p { margin: 4px 0; }.chat-message small, .chat-bubble small { display: block; margin-top: 5px; opacity: .55; font-size: 8px; }
.chat-send, .chat-compose { display: flex; gap: 8px; margin-top: 12px; }.chat-send input, .chat-compose input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0 15px; }
.voice-call { padding: 26px 8px 18px; text-align:center; }.voice-avatar { width:100px; height:100px; margin:0 auto 24px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--red); font:400 36px Georgia,serif; box-shadow:0 0 0 14px rgba(244,59,48,.1); }.voice-call h3 { margin:13px 0 6px; font:400 38px Georgia,serif; }.voice-call > strong { font-size:22px; letter-spacing:2px; }.voice-call p { color:var(--muted); }.voice-controls { display:flex; justify-content:center; gap:10px; margin-top:25px; }

.mobile-bottom { display: none; }
.side-overlay { display: none; }

@media (max-width: 1100px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-picker { grid-template-columns: repeat(3, 1fr); }
  .field-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .auth-page { grid-template-columns: 1fr; }.auth-story { min-height: 430px; padding: 28px 24px 55px; }.auth-panel { padding: 50px 24px; }.auth-story h1 { font-size: 64px; }
  .app-shell { display: block; padding-bottom: 67px; }
  .sidebar { position: fixed; z-index: 100; left: 0; top: 0; width: 270px; transform: translateX(-102%); transition: transform .25s; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  .sidebar.open { transform: none; }.side-overlay.open { display: block; position: fixed; z-index: 90; inset: 0; background: rgba(0,0,0,.45); }
  .topbar { height: 66px; padding: 0 16px; }.menu-toggle { display: grid; }.topbar-title strong { font-size: 18px; }
  .topbar-wallet { min-width: 84px; }
  .app-content { padding: 24px 16px 55px; }
  .page-heading { display: block; }.page-heading p { margin-bottom: 0; }
  .split, .split.equal { grid-template-columns: 1fr; }.sticky-panel { position: static; }
  .hero-card { grid-template-columns: 1fr; padding: 28px; }.hero-map { display: none; }
  .hire-map, .hire-map iframe { min-height: 360px; height: 360px; }
  .mobile-bottom { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 67px; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,253,248,.96); backdrop-filter: blur(15px); border-top: 1px solid var(--line); }
  .mobile-bottom button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #827d75; font-size: 8px; font-weight: 750; }.mobile-bottom button span { font-size: 18px; }.mobile-bottom button.active { color: var(--red); }
}

@media (max-width: 560px) {
  .auth-story h1 { font-size: 52px; letter-spacing: -3px; }.auth-story { min-height: 390px; }.auth-card h2 { font-size: 38px; }
  .field-grid, .field-grid.three, .card-grid, .card-grid.two, .metric-row { grid-template-columns: 1fr; }
  .quick-grid { gap: 9px; }.quick-card { min-height: 135px; padding: 16px; }
  .page-heading h1 { font-size: 42px; }.panel { padding: 18px; border-radius: 20px; }
  .service-picker { grid-template-columns: repeat(2,1fr); }
  .hire-progress { padding: 11px 9px; }.hire-progress span { justify-content: center; font-size: 0; }.hire-progress span:not(:last-child)::after { left: 65%; right: -35%; }.hire-package-grid { grid-template-columns: 1fr; }.hire-driver-card { grid-template-columns: 44px 1fr; padding-right: 42px; }.hire-driver-card .status { display: none; }
  .wallet-hero { display: block; }.wallet-hero .button { margin-top: 20px; }
  .account-quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .account-quick-card { min-height: 100px; padding: 15px; }
  .secondary-topbar-action { display: none; }
  .topbar { padding-inline: 10px; }
  .topbar-actions { gap: 5px; }
  .topbar-title small { display: none; }
  .topbar-title strong { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
  .topbar-wallet { min-width: 42px; width: 42px; padding: 0; border-radius: 50%; }
  .topbar-wallet span { width: 28px; height: 28px; }
  .topbar-wallet strong { display: none; }
  .language-button { min-width: 56px; height: 42px; padding-inline: 9px; gap: 5px; }
  .auth-language-floating { top: 13px; right: 14px; }
  .auth-language-button { min-width: 62px; }
  .payment-method { grid-template-columns: 42px minmax(0,1fr) 28px; gap: 10px; }
  .modal-backdrop { padding: 10px; align-items: end; }.modal { max-height: 92vh; border-radius: 24px 24px 0 0; }
  .embedded-app .auth-panel { padding: 22px 16px; }
  .embedded-app .auth-card { padding: 28px 20px; border-radius: 26px; }
  .embedded-auth-logo { margin-bottom: 12px; }
  .embedded-auth-logo img { width: 112px; height: 74px; }
  .embedded-app .auth-card h2 { font-size: 40px; }
  .ride-stops-head { align-items: flex-start; }.ride-stops-head .button { padding-inline: 12px; }
  .ride-stop-row { grid-template-columns: 27px minmax(0,1fr) 30px; padding: 10px 8px; gap: 7px; }
  .ride-stop-order { width: 25px; height: 25px; }.ride-stop-remove { width: 29px; height: 29px; }
}

@media (max-width: 390px) {
  .topbar-title strong { max-width: 58px; }
  .menu-toggle, .icon-button, .language-button, .topbar-wallet { width: 40px; height: 40px; }
  .language-button { min-width: 50px; }
  .language-button span { font-size: 15px; }
  .language-button strong { font-size: 10px; }
  .account-quick-card { grid-template-columns: 44px minmax(0,1fr) 28px; gap: 11px; }
  .account-quick-icon { width: 44px; height: 44px; }
}

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