/* Vienna Airport Cab — booking app. Loads after style.css and reuses its tokens. */

.app-page { background: var(--mist); }
.app-page .site-footer { display: none; }

/* App bar */
.appbar { position: sticky; top: 0; z-index: 30; background: var(--navy-deep); color: #fff; }
.appbar__in { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; height: 3.5rem; padding: 0 0.25rem; max-width: 72rem; margin: 0 auto; }
.icon-btn { width: 3rem; height: 3rem; display: grid; place-items: center; border: 0; background: none; color: #fff; border-radius: 50%; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.icon-btn svg { width: 1.375rem; height: 1.375rem; }
.appbar__title { text-align: center; font-weight: 600; font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__logo { display: none; }
.appbar__meta { display: none; }
.progress { list-style: none; margin: 0; padding: 0 1rem 0.625rem; display: flex; gap: 4px; max-width: 72rem; margin-inline: auto; }
.progress:empty { display: none; }
.progress li { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); transition: background-color .25s; }
.progress li.on { background: var(--sign); }

/* Shell */
.shell { max-width: 72rem; margin: 0 auto; }
.app-card { min-height: calc(100dvh - 3.5rem); display: flex; flex-direction: column; }
.steps-wrap { flex: 1; padding: 1.25rem 1rem 1.5rem; }
.live { display: none; }

/* Steps */
.step h1 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; outline: none; }
.step .sub { color: var(--muted); margin-top: 0.375rem; }
.step > * + * { margin-top: 1rem; }
.step .h1-block + * { margin-top: 1.5rem; }
.enter-fwd { animation: in-fwd .22s ease-out; }
.enter-back { animation: in-back .22s ease-out; }
@keyframes in-fwd { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.group-label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.err { color: var(--error); font-size: 0.875rem; font-weight: 500; margin-top: 0.375rem; }
.err[hidden] { display: none; }

/* Choice cards (trip type) */
.choices { display: grid; gap: 0.75rem; }
.choice { display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1rem 1.125rem; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .1s; }
.choice:hover { border-color: var(--navy-soft); }
.choice:active { transform: scale(.99); }
.choice[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice__icon { width: 3.25rem; height: 3.25rem; border-radius: 14px; display: grid; place-items: center; background: var(--sign-soft); color: var(--navy); }
.choice__icon svg { width: 1.625rem; height: 1.625rem; }
.choice b { display: block; font-size: 1.125rem; }
.choice span.sm { display: block; color: var(--muted); font-size: 0.9375rem; margin-top: 0.125rem; }
.choice__go { color: var(--muted); }
.choice__go svg { width: 1.25rem; height: 1.25rem; }
.choice--primary .choice__icon { background: var(--sign); }
.choice__price { font-weight: 700; color: var(--navy); font-size: 0.9375rem; white-space: nowrap; }

.quick { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.quick a { flex: 1 1 9rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.quick svg { width: 1.125rem; height: 1.125rem; color: var(--navy); }
.trust-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.875rem; }
.trust-row img { width: 40px; height: auto; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.trust-row b { color: var(--ink); }

/* Rides */
.rides { margin-top: 1.75rem; }
.rides[hidden] { display: none; }
.rides ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.ride { display: grid; grid-template-columns: 1fr auto; gap: 0.125rem 1rem; padding: 0.875rem 1rem; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.ride__route { font-size: 1rem; }
.ride__when { grid-column: 1; color: var(--muted); font-size: 0.875rem; }
.ride__status { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 999px; background: var(--sign-soft); color: #7a5a00; }
.ride__status.ok { background: #e6f3ec; color: var(--ok); }

/* Route card */
.route { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0.5rem 1rem; position: relative; }
.route__row { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; padding: 0.75rem 0; }
.route__row + .route__row { border-top: 1px solid var(--line); }
.route__mark { display: grid; justify-items: center; padding-top: 0.25rem; }
.route__mark i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--navy); background: #fff; }
.route__mark i.pin { border-radius: 3px; background: var(--navy); }
.route::before { content: ""; position: absolute; left: calc(1rem + 0.75rem - 1px); top: 2.6rem; bottom: 2.6rem; border-left: 2px dotted var(--line); }
.route__label { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.route__fixed b { display: block; font-size: 1.0625rem; }
.route__fixed span { color: var(--muted); font-size: 0.875rem; }
.route__fixed { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.swap { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); flex: none; }
.swap:hover { background: var(--mist); }
.swap svg { width: 1.25rem; height: 1.25rem; }
.field-in { display: grid; gap: 0.5rem; margin-top: 0.375rem; }
.app input[type="text"], .app input[type="tel"], .app input[type="email"], .app input:not([type]), .app textarea, .app select, .app input[type="time"], .app input[type="date"] {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.9rem; font: 400 1.0625rem/1.3 var(--font); color: var(--ink);
  background: var(--mist); border: 1.5px solid transparent; border-radius: 12px; appearance: none; -webkit-appearance: none;
}
.app textarea { min-height: 6rem; resize: vertical; }
.app input:focus, .app textarea:focus, .app select:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22,51,107,.12); }
.app [aria-invalid="true"] { border-color: var(--error) !important; background: #fdf1f0; }
.plz-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem; }
.plz-chip { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; margin-top: 0.25rem; padding: 0.625rem 0.875rem; border-radius: 12px; font-size: 0.9375rem; }
.plz-chip[hidden] { display: none; }
.plz-chip.ok { background: #e6f3ec; color: var(--ok); }
.plz-chip.ok b { color: var(--ink); font-weight: 600; }
.plz-chip.ok span { font-weight: 700; color: var(--ok); white-space: nowrap; }
.plz-chip.ask { background: var(--sign-soft); color: #6b4f00; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.toggle b { display: block; font-weight: 600; }
.toggle span.sm { color: var(--muted); font-size: 0.875rem; }
.toggle input { appearance: none; -webkit-appearance: none; flex: none; width: 3rem; height: 1.75rem; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.75rem - 6px); height: calc(1.75rem - 6px); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.toggle input:checked { background: var(--navy); }
.toggle input:checked::after { transform: translateX(1.25rem); }
.toggle input:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
.toggles { display: grid; gap: 0.5rem; }
.reveal { margin-top: 0.5rem; }
.reveal[hidden] { display: none; }

/* Dates */
.days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.25rem 0 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -1rem; padding-inline: 1rem; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; scroll-snap-align: start; width: 4.5rem; padding: 0.625rem 0.25rem; display: grid; justify-items: center; gap: 0.125rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; }
.day span { font-size: 0.8125rem; color: var(--muted); }
.day b { font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day[aria-pressed="true"] span { color: #c9d4e8; }
.day--pick { width: auto; min-width: 6.5rem; padding-inline: 0.75rem; }
.day--pick svg { width: 1.375rem; height: 1.375rem; color: var(--navy); }
.day--pick[aria-pressed="true"] svg { color: var(--sign); }
.date-hidden { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.time-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.5rem 0.5rem 0.5rem 1rem; }
.time-card svg { width: 1.5rem; height: 1.5rem; color: var(--navy); flex: none; }
.app .time-card input[type="time"] { background: transparent; font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 3.5rem; padding: 0.25rem 0.5rem; }
.app .time-card input[type="time"]:focus { box-shadow: none; border-color: transparent; background: var(--mist); }
.notice { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; padding: 0.875rem 1rem; border-radius: 14px; background: var(--sign-soft); font-size: 0.9375rem; }
.notice[hidden] { display: none; }
.notice svg { width: 1.375rem; height: 1.375rem; color: #8a6400; }
.notice a { font-weight: 700; }
.flight-row { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.app input.flight { text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.hint { color: var(--muted); font-size: 0.875rem; }

/* Steppers */
.counters { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 1rem; }
.counter { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 0.75rem; padding: 0.875rem 0; }
.counter + .counter { border-top: 1px solid var(--line); }
.counter > svg { width: 1.5rem; height: 1.5rem; color: var(--navy); justify-self: center; }
.counter b { display: block; font-weight: 600; }
.counter span.sm { color: var(--muted); font-size: 0.8125rem; }
.stepper { display: flex; align-items: center; gap: 0.25rem; }
.stepper button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1.375rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover:not(:disabled) { border-color: var(--navy); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2.25rem; text-align: center; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Cars */
.cars { display: grid; gap: 0.5rem; }
.car { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 0.25rem 0.875rem; padding: 0.875rem 1rem; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); transition: opacity .2s, border-color .2s; }
.car svg { grid-row: span 2; width: 4rem; height: auto; color: var(--navy); }
.car b { font-weight: 600; }
.car__cap { grid-column: 2; color: var(--muted); font-size: 0.8125rem; }
.car__side { grid-row: 1 / span 2; grid-column: 3; text-align: right; display: grid; gap: 0.25rem; justify-items: end; }
.car__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.car__tag { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--mist); color: var(--muted); }
.car.is-mine { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.car.is-mine .car__tag { background: var(--sign); color: var(--navy-deep); }
.car.is-off { opacity: .55; }
.car.is-off svg { color: var(--muted); }
.callout { padding: 0.875rem 1rem; border-radius: 14px; background: #fdf1f0; color: var(--error); font-weight: 500; font-size: 0.9375rem; }
.callout[hidden] { display: none; }
.callout a { color: inherit; font-weight: 700; }

/* Segmented */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.seg button { min-height: 3rem; border: 0; border-radius: 10px; background: none; font: 600 0.9375rem/1.2 var(--font); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.seg button svg { width: 1.125rem; height: 1.125rem; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Contact */
.phone-in { display: grid; grid-template-columns: 7rem 1fr; gap: 0.5rem; }
.app select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 0.95rem center, right 0.65rem center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.75rem; }
.fields { display: grid; gap: 1rem; }
.fields label.lbl { font-weight: 600; font-size: 0.9375rem; display: block; margin-bottom: 0.375rem; }
.check-row { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.check-row input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--navy); flex: none; }
.privacy-note { display: flex; gap: 0.5rem; color: var(--muted); font-size: 0.8125rem; }
.privacy-note svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.15rem; }

/* Ride pass */
.pass { background: var(--navy-deep); color: #fff; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 18px 40px -20px rgba(12,33,73,.55); }
.pass__top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem 0; font-size: 0.8125rem; }
.pass__brand { font-weight: 700; letter-spacing: .02em; }
.pass__kind { background: var(--sign); color: var(--navy-deep); font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; }
.pass__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem 1.25rem; }
.pass__end b { display: block; font-size: 2.25rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pass__end span { display: block; color: #c9d4e8; font-size: 0.8125rem; margin-top: 0.375rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pass__end--r { text-align: right; }
.pass__line { color: var(--sign); display: flex; align-items: center; gap: 0.25rem; }
.pass__line::before, .pass__line::after { content: ""; width: 1.25rem; border-top: 2px dotted rgba(255,255,255,.35); }
.pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem 1rem; margin: 0; padding: 0 1.25rem 1.25rem; }
.pass__cell dt { font-size: 0.75rem; color: #9fb0cf; }
.pass__cell dd { margin: 0.125rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pass__cell .muted { color: #7f91b3; font-weight: 400; }
.pass__cell.wide { grid-column: 1 / -1; }
.pass__tear { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.2); margin: 0 1.25rem 1.25rem; }
.pass__tear::before, .pass__tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); }
.pass__tear::before { left: calc(-1.25rem - 12px); }
.pass__tear::after { right: calc(-1.25rem - 12px); }
.pass__cell--price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.25rem; }
.pass__cell--price dd { font-size: 1.75rem; color: var(--sign); font-weight: 800; }
.edits { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0.5rem; }
.edits button { display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 500 0.9375rem/1.2 var(--font); color: var(--ink); cursor: pointer; }
.edits svg { width: 1rem; height: 1rem; color: var(--navy); }
.terms { padding: 0.875rem 1rem; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.facts-list li { display: flex; gap: 0.625rem; }
.facts-list svg { width: 1.125rem; height: 1.125rem; color: var(--ok); flex: none; margin-top: 0.15rem; }

/* Done */
.done-head { text-align: center; padding-top: 0.5rem; }
.done-icon { width: 4rem; height: 4rem; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: #e6f3ec; color: var(--ok); animation: pop .4s ease-out; }
.done-icon svg { width: 2rem; height: 2rem; }
.done-icon--wait { background: var(--sign-soft); color: #8a6400; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done-head .sub { max-width: 26rem; margin-inline: auto; }
.timeline { list-style: none; margin: 0; padding: 1rem; background: #fff; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.75rem; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(0.875rem - 1px); top: 1.85rem; bottom: -0.9rem; border-left: 2px solid var(--line); }
.timeline i { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--muted); font-style: normal; font-weight: 700; font-size: 0.8125rem; }
.timeline li.ok i { background: var(--ok); color: #fff; }
.timeline li.now i { background: var(--sign); color: var(--navy-deep); }
.timeline i svg { width: 1rem; height: 1rem; }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: 0.875rem; }
.done-actions { display: grid; gap: 0.5rem; }
.done-actions .btn { min-height: 3.25rem; border-radius: 14px; }
.btn--white { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--white:hover { background: var(--mist); color: var(--ink); border-color: var(--line); }
.btn--wa { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.btn--wa:hover { background: #18623e; border-color: #18623e; color: #fff; }

/* Bottom bar */
.bottombar { position: sticky; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(12,33,73,.35); padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
.price__label { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.price__value { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price__value.is-text { font-size: 1.0625rem; font-weight: 700; }
#cta { min-height: 3.375rem; min-width: 9.5rem; border-radius: 14px; font-size: 1.0625rem; padding-inline: 1.5rem; }
#cta:disabled { opacity: .7; cursor: progress; }
.app[data-current="trip"] .bottombar, .app[data-current="done"] .bottombar { display: none; }

/* Tab bar (start screen, mobile) */
.tabbar { display: none; }
.app[data-current="trip"] .tabbar { display: grid; position: sticky; bottom: 0; z-index: 20; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 0.375rem 0.5rem calc(0.375rem + env(safe-area-inset-bottom)); }
.tabbar a { display: grid; justify-items: center; gap: 0.15rem; padding: 0.375rem; text-decoration: none; color: var(--muted); font-size: 0.75rem; font-weight: 600; border-radius: 10px; }
.tabbar a svg { width: 1.375rem; height: 1.375rem; }
.tabbar a[aria-current="page"] { color: var(--navy); }
.tabbar a[aria-current="page"] svg { color: var(--navy); }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 6.5rem; z-index: 50; display: flex; align-items: center; gap: 1rem; background: var(--ink); color: #fff; padding: 0.75rem 0.75rem 0.75rem 1rem; border-radius: 14px; font-size: 0.9375rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); width: max-content; max-width: calc(100vw - 2rem); animation: pop .25s ease-out; }
.toast[hidden] { display: none; }
.toast button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 10px; padding: 0.5rem 0.75rem; font: 600 0.875rem/1 var(--font); cursor: pointer; white-space: nowrap; }

/* Below the app: SEO content */
.app-info { padding: 3rem 0; background: #fff; }
.app-info .faq { padding: 0; }
.mini-footer { background: var(--navy-deep); color: #c9d4e8; padding: 1.5rem 0 2rem; font-size: 0.875rem; }
.mini-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.mini-footer a { color: #fff; text-decoration: none; }
.mini-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Desktop */
@media (min-width: 960px) {
  .appbar__in { grid-template-columns: auto 1fr auto; gap: 1.5rem; height: 4.25rem; padding: 0 var(--gutter); }
  .appbar__logo { display: block; }
  .appbar__logo img { width: 177px; height: 44px; }
  #appbar-back { display: none; }
  .appbar__title { text-align: left; font-size: 1rem; color: #c9d4e8; font-weight: 500; }
  .appbar__meta { display: flex; align-items: center; gap: 1rem; }
  .appbar__meta a.ph { color: #fff; font-weight: 600; text-decoration: none; }
  .appbar__meta .lang { margin: 0; }
  .appbar__call { display: none; }
  .progress { padding: 0 var(--gutter) 0.75rem; }
  .shell { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); gap: 2.5rem; padding: 2rem var(--gutter) 3rem; align-items: start; }
  .app-card { min-height: 0; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(15,30,54,.06), 0 24px 48px -24px rgba(15,30,54,.25); overflow: clip; }
  .steps-wrap { padding: 2rem 2rem 2rem; min-height: 34rem; }
  .app input[type="text"], .app input[type="tel"], .app input[type="email"], .app textarea, .app select, .app input[type="date"] { background: var(--mist); }
  .days { margin: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .bottombar { border-radius: 0 0 24px 24px; padding: 1rem 2rem; }
  .app[data-current="trip"] .tabbar { display: none; }
  .live { display: block; position: sticky; top: 6.5rem; }
  .live h2 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 0.75rem; }
  .live .pass__tear::before, .live .pass__tear::after { background: var(--mist); }
  .live__trust { margin-top: 1.5rem; display: grid; gap: 1rem; }
  .live__badges { display: flex; gap: 0.5rem; }
  .live__badges img { width: 64px; height: auto; border-radius: 6px; border: 1px solid var(--line); background: #fff; padding: 2px; }
  .live__pe { color: var(--muted); font-size: 0.9375rem; }
  .live__pe b { color: var(--ink); }
  .app-card .pass__tear::before, .app-card .pass__tear::after { background: #fff; }
  .toast { bottom: 2rem; }
}
@media (max-width: 959px) {
  .appbar__title { font-size: 1rem; }
}
@media (max-width: 380px) {
  .step h1 { font-size: 1.5rem; }
  #cta { min-width: 8rem; padding-inline: 1rem; }
  .pass__end b { font-size: 1.875rem; }
}

/* fixes after first review */
.app [hidden] { display: none !important; }
.app input[type="text"], .app input[type="tel"], .app input[type="email"], .app input:not([type]), .app textarea, .app select { background-color: #fff; border-color: var(--line); }
.app .route input { background-color: var(--mist); border-color: transparent; }
.app .route input:focus { background-color: #fff; border-color: var(--navy); }
#cta-back { display: none; }
@media (min-width: 960px) {
  .bottombar { grid-template-columns: 1fr auto auto; }
  #cta-back { display: inline-flex; min-height: 3.375rem; border-radius: 14px; border-color: var(--line); }
  .app[data-current="route"] #cta-back { display: inline-flex; }
}

/* ---- cancel ---- */
.bottombar { grid-template-columns: 1fr auto auto; gap: 0.625rem; }
.cancel-x { width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.cancel-x:hover { color: var(--error); border-color: var(--error); background: #fdf1f0; }
.cancel-x svg { width: 1.125rem; height: 1.125rem; }
.no-scroll { overflow: hidden; }
.confirm { position: fixed; inset: 0; z-index: 60; background: rgba(6,13,31,.55); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease-out; }
.confirm[hidden] { display: none !important; }
.confirm__panel { width: 100%; max-width: 28rem; background: #fff; border-radius: 24px 24px 0 0; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); animation: sheet-up .22s ease-out; }
.confirm__panel h2 { font-size: 1.25rem; }
.confirm__panel p { color: var(--muted); margin-top: 0.375rem; }
.confirm__actions { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.confirm__actions .btn { min-height: 3.25rem; border-radius: 14px; }
.confirm__yes { color: var(--error); border-color: var(--line); }
.confirm__yes:hover { background: #fdf1f0; color: var(--error); border-color: var(--error); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 960px) {
  .bottombar { grid-template-columns: 1fr auto auto auto; }
  .confirm { align-items: center; }
  .confirm__panel { border-radius: 24px; padding: 1.75rem; }
  .confirm__actions { grid-template-columns: 1fr 1fr; }
}

/* ---- selectable cars ---- */
button.car { width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
button.car:hover:not(:disabled) { border-color: var(--navy-soft); }
button.car:disabled { cursor: not-allowed; }
button.car:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
.car.is-off { opacity: .5; }
.car:not(.is-mine):not(.is-off) { opacity: 1; }
.car:not(.is-mine):not(.is-off) svg { color: var(--navy); }
.car__tag.is-sel { background: var(--sign); color: var(--navy-deep); }
.car__tag.is-no { background: #fdf1f0; color: var(--error); }

/* ---- tighter type on phones ---- */
@media (max-width: 959px) {
  .steps-wrap { padding-top: 1rem; }
  .step h1 { font-size: 1.4375rem; }
  .step .sub { font-size: 0.9375rem; }
  .step > * + * { margin-top: 0.875rem; }
  .group-label { font-size: 0.875rem; margin-top: 1.25rem; }
  .choice { padding: 0.875rem 1rem; gap: 0.875rem; grid-template-columns: 2.75rem 1fr auto; }
  .choice__icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; }
  .choice__icon svg { width: 1.375rem; height: 1.375rem; }
  .choice b { font-size: 1rem; }
  .choice span.sm, .choice__price { font-size: 0.8125rem; }
  .app input[type="text"], .app input[type="tel"], .app input[type="email"], .app input:not([type]), .app textarea, .app select { font-size: 1rem; min-height: 3rem; }
  .route__fixed b { font-size: 1rem; }
  .toggle b, .counter b, .car b { font-size: 0.9375rem; }
  .toggle span.sm, .counter span.sm, .car__cap, .hint { font-size: 0.8125rem; }
  .car { grid-template-columns: 3.25rem 1fr auto; padding: 0.75rem 0.875rem; gap: 0.125rem 0.75rem; }
  .car svg { width: 3.25rem; }
  .car__price { font-size: 0.9375rem; }
  .stepper button { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
  .stepper output { font-size: 1.125rem; min-width: 2rem; }
  .day { width: 4rem; padding: 0.5rem 0.25rem; }
  .day b { font-size: 1.1875rem; }
  .app .time-card input[type="time"] { font-size: 1.5rem; min-height: 3rem; }
  .seg button { font-size: 0.875rem; min-height: 2.75rem; }
  .pass__end b { font-size: 1.875rem; }
  .pass__cell dd { font-size: 0.9375rem; }
  .pass__cell--price dd { font-size: 1.5rem; }
  .price__value { font-size: 1.3125rem; }
  .price__value.is-text { font-size: 0.9375rem; }
  #cta { min-height: 3rem; min-width: 8.5rem; font-size: 1rem; padding-inline: 1.25rem; }
  .bottombar { padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom)); }
  .appbar__title { font-size: 0.9375rem; }
}
@media (max-width: 380px) { #cta { min-width: 7rem; padding-inline: 0.875rem; } .cancel-x { width: 2.75rem; height: 2.75rem; } }
