/* Phone preview of a Liberty Mobile app (sign-up wizard and look update page).
   The screen is the apps' own: 393 × 852 pt (iPhone 17, safe areas 59 / 34), drawn at 1 px = 1 pt in .ph-canvas and
   scaled to the mock-up's width (--wn, in px). Sizes, radii, fonts and shadows are the iOS client's (mys-ios:
   USLoginViewController / USLoginLayout for the six login layouts, SAMTheme for the tokens, the 4.0.0 booking screens).
   Colours: neutral tokens here (light, dark), brand tokens (--c-brand …) set per phone by signup.js from
   LMPhone.palette (signup-phone.js). A CA shadow (opacity o, radius r, offset y) reads 0 y 2r rgba(0,0,0,.16 × o). */

.phone-sim {
  --wn: 250; --w: calc(var(--wn) * 1px); --title: inherit;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  /* the app's body text: the system font, or the chosen font when the apps use it on all text (signup.js sets it from
     LMPhone.fontAllText); titles and buttons always use --title */
  --body: var(--sf);
  --c-text: #1f2024; --c-text2: #5d5e66; --c-text3: #8a8b93; --c-grouped: #f2f2f7; --c-card: #fff; --c-fill: #f1f1f4; --c-sep: #e4e4e8;
  --c-brand: #0e7c7b; --c-brand-ink: #0e7c7b; --c-on-brand: #fff; --c-brand-tint: #dbebeb; --c-cta: #1f2024; --c-on-cta: #fff;
  --c-pickup: #137a64; --c-ok: #1e7b3a; --c-ok-tint: #e5f3e9;
  --m-land: #f6f5f0; --m-block: #f8f1df; --m-road: #fff; --m-case: #e3e0d7; --m-park: #cfe8c6; --m-water: #a8d5f3; --m-lbl: #76767c; --m-halo: #fff;
  width: var(--w); padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .16); background: #1c1f27; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 30px 60px -30px rgba(0,0,0,.9), 0 20px 50px -24px rgba(107,24,102,.55);
}
.phone-sim.ph-dark {
  --c-text: #f2f2f7; --c-text2: #aeaeb2; --c-text3: #7c7c83; --c-grouped: #000; --c-card: #1c1c1e; --c-fill: #2c2c2e; --c-sep: #38383a;
  --m-land: #1c2538; --m-block: #222d44; --m-road: #313d58; --m-case: #161d2d; --m-park: #1d4536; --m-water: #18275f; --m-lbl: #99a2b4; --m-halo: #1c2538;
}
.ph-screen { position: relative; width: 100%; aspect-ratio: 393 / 852; border-radius: calc(var(--w) * .13); overflow: hidden; background: #000; }
.ph-canvas { --w: 418px; position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform-origin: 0 0; transform: scale(calc(var(--wn) * .94 / 393)); color: var(--c-text); font: 400 15px/1.3 var(--sf); -webkit-font-smoothing: antialiased; }
.ph-view { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.ph-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ph-i { display: block; flex: none; width: 22px; height: 22px; }
.ph-canvas p, .ph-canvas ul { margin: 0; padding: 0; list-style: none; }
.ph-canvas i { font-style: normal; }

/* status bar, Dynamic Island, home indicator: dark on a light screen, light on a dark one (sb-light, set by signup.js:
   over the picture it follows the picture's top, elsewhere the appearance) */
.ph-status { position: absolute; left: 0; right: 0; top: 0; height: 54px; color: #000; z-index: 9; pointer-events: none; }
.ph-status span { position: absolute; left: 0; width: 134px; top: 19px; text-align: center; font: 600 17px/22px var(--sf); letter-spacing: -.2px; }
.ph-status svg { position: absolute; right: 27px; top: 23px; width: 78px; height: 14px; }
.ph-island { position: absolute; left: 50%; top: 11px; width: 126px; height: 37px; margin-left: -63px; border-radius: 19px; background: #000; z-index: 10; }
.ph-bar { position: absolute; left: 50%; bottom: 8px; width: 139px; height: 5px; margin-left: -69.5px; border-radius: 3px; background: #000; z-index: 9; }
.sb-light .ph-status { color: #fff; }
.bar-light .ph-bar { background: #fff; }

/* buttons: 50 pt capsules, title in the brand font */
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 25px; font: 600 17px/1 var(--title); white-space: nowrap; }
.ph-btn .ph-i { width: 20px; height: 20px; }
.ph-cta { background: var(--c-cta); color: var(--c-on-cta); }
.ph-2nd { background: var(--c-fill); color: var(--c-text); }
.ph-brand { background: var(--c-brand); color: var(--c-on-brand); }

/* ---------- login ---------- */
.ph-login, .ph-bk { font-family: var(--body); }
.ph-login { background: var(--c-grouped); }
.ph-backdrop { position: absolute; left: 0; top: 0; width: 393px; height: 852px; overflow: hidden; background: var(--c-cta); }
.ph-photo { position: absolute; inset: 0; background: #39404e linear-gradient(160deg, #6d7b93, #2b303b) center / cover no-repeat; }
.ph-photo.has { background-image: var(--photo); background-size: auto 852px; background-position: var(--photo-x, 50%) var(--photo-y, 0px); }
.ph-map { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: none; background: var(--m-land); }
.style-trip .ph-photo { display: none; }
.style-trip .ph-map { display: block; }
/* a map is washed out under the status bar */
.style-trip .ph-backdrop::before, .ph-bk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); }
.ph-dark .style-trip .ph-backdrop::before, .ph-dark .ph-bk::before { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
.ph-fade { position: absolute; left: 0; width: 393px; display: none; pointer-events: none; }
.ph-surface { position: absolute; display: none; background: var(--c-card); }
/* the logo's tile; the logo itself fits a 200 × 80 box (signup.js sizes .ph-logo-fit and the picture for a wide logo) */
.ph-logo { position: absolute; left: 50%; transform: translateX(-50%); width: 232px; height: 104px; border-radius: 24px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.12); display: grid; place-items: center; z-index: 2; }
.ph-logo-fit { position: relative; width: 80px; height: 80px; overflow: hidden; }
.ph-logo img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; max-width: none; object-fit: contain; }
.ph-logo img:not([src]) { visibility: hidden; }
.logo-none .ph-logo { background: none !important; box-shadow: none; }
.ph-logo.blend-multiply { mix-blend-mode: multiply; }
.ph-logo.blend-screen { mix-blend-mode: screen; }
.ph-fields { position: absolute; left: 20px; width: 353px; border-radius: 22px; background: var(--c-card); overflow: hidden; z-index: 1; }
.ph-row { position: relative; display: flex; align-items: center; height: 54px; padding-left: 16px; color: var(--c-text3); font: 400 17px/22px var(--body); }
.ph-row .ph-i { margin-right: 12px; color: var(--c-text2); }
.ph-row .ph-i-eye { width: 28px; height: 28px; margin: 0 14px 0 auto; }
.ph-row + .ph-row::before { content: ""; position: absolute; left: 50px; right: 0; top: 0; height: 1px; background: var(--c-sep); }
.ph-signin { position: absolute; left: 20px; width: 353px; box-shadow: 0 4px 14px rgba(0,0,0,.16); z-index: 1; }
.ph-forgot { position: absolute; left: 20px; width: 353px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--c-brand-ink); font: 600 15px/20px var(--body); z-index: 1; }
/* foot, stacked (band, hero): the question over a grey button */
.ph-foot { position: absolute; left: 20px; width: 353px; bottom: 34px; display: grid; gap: 8px; text-align: center; z-index: 1; }
.ph-q { color: var(--c-text2); font: 400 15px/18px var(--body); }
.ph-signup { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 25px; background: var(--c-fill); color: var(--c-text); font: 600 17px/1 var(--title); }
/* foot on one line (sheet, glass, extend), under a hairline on the sheet and the card */
.lay-sheet .ph-foot, .lay-glass .ph-foot, .lay-extend .ph-foot { bottom: auto; height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; border-top: 1px solid var(--c-sep); }
.lay-sheet .ph-signup, .lay-glass .ph-signup, .lay-extend .ph-signup { height: auto; background: none; font: 600 15px/18px var(--body); }
.ph-welcome { position: absolute; left: 32px; width: 329px; top: 688px; display: none; gap: 10px; z-index: 2; }

/* band (default): the picture or the ride in a 400 pt band fading into the page, the tile over it */
.lay-band .ph-backdrop { height: 400px; }
.lay-band .ph-fade { display: block; top: 200px; height: 201px; background: linear-gradient(rgba(242,242,247,0), var(--c-grouped)); }
.lay-band .ph-logo { top: 196px; width: 313px; height: 124px; border-radius: 28px; padding: 24px 0 20px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.lay-band .ph-fields, .lay-band .ph-signin, .lay-band .ph-forgot, .lay-band .ph-foot { left: 16px; width: 361px; }
.lay-band .ph-fields { top: 356px; }
.lay-band .ph-signin { top: 481px; }
.lay-band .ph-forgot { top: 547px; }

/* sheet (A): the picture full width, the form on a bottom sheet the tile overlaps by 50 pt */
.lay-sheet .ph-login { background: var(--c-card); }
.lay-sheet .ph-backdrop { height: 504px; }
.lay-sheet .ph-surface { display: block; left: 0; right: 0; top: 472px; bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -6px 32px rgba(0,0,0,.16); }
.lay-sheet .ph-logo { top: 422px; }
.lay-sheet .ph-fields { top: 540px; background: var(--c-fill); }
.lay-sheet .ph-signin { top: 660px; }
.lay-sheet .ph-forgot { top: 722px; }
.lay-sheet .ph-foot { top: 770px; }
/* the logo alone sits wholly on the sheet */
.lay-sheet.logo-none .ph-backdrop { height: 444px; }
.lay-sheet.logo-none .ph-surface { top: 412px; }

/* welcome (B): the picture full screen, the tile at the top, a card with the two ways in */
.lay-welcome .ph-surface { display: block; left: 16px; width: 361px; top: 672px; height: 142px; border-radius: 28px; box-shadow: 0 8px 32px rgba(0,0,0,.16); }
.lay-welcome .ph-logo { top: 107px; width: 236px; height: 108px; }
.lay-welcome .ph-welcome { display: grid; }
.lay-welcome .ph-fields, .lay-welcome .ph-signin, .lay-welcome .ph-forgot, .lay-welcome .ph-foot { display: none; }

/* hero (C): a tall picture fading into the page, the tile and the form on its foot */
.lay-hero .ph-backdrop { height: 529px; }
.lay-hero .ph-fade { display: block; top: 238px; height: 292px; background: linear-gradient(rgba(242,242,247,0), var(--c-grouped) 92%); }
.lay-hero .ph-logo { top: 204px; width: 248px; height: 108px; }
.lay-hero .ph-fields { top: 344px; }
.lay-hero .ph-signin { top: 469px; }
.lay-hero .ph-forgot { top: 535px; }

/* glass (D): the picture blurred and dimmed full screen, the logo and the form on a frosted card */
.lay-glass .ph-login { background: #000; }
.lay-glass .ph-photo { inset: -24px; filter: blur(12px); }
.lay-glass .ph-photo.has { background-size: cover; background-position: var(--photo-x, 50%) 50%; }
.lay-glass .ph-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.lay-glass .ph-surface { display: block; left: 16px; width: 361px; top: 218px; height: 416px; border-radius: 30px; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 14px 48px rgba(0,0,0,.16); }
.ph-dark .lay-glass .ph-surface { background: rgba(28,28,30,.94); }
.lay-glass .ph-logo { top: 240px; width: 220px; height: 96px; background: none !important; box-shadow: none; }
.lay-glass .ph-fields, .lay-glass .ph-signin, .lay-glass .ph-forgot, .lay-glass .ph-foot { left: 34px; width: 325px; }
.lay-glass .ph-fields { top: 350px; }
.lay-glass .ph-signin { top: 473px; }
.lay-glass .ph-forgot { top: 537px; }
.lay-glass .ph-foot { top: 585px; }

/* extend (E): the picture at the top, continued by its own bottom colour (--edge), the form on a card */
.lay-extend .ph-login { background: var(--edge, var(--c-grouped)); }
.lay-extend .ph-backdrop { height: 545px; }
.lay-extend .ph-fade { display: block; top: 327px; height: 219px; background: linear-gradient(var(--edge-0, rgba(242,242,247,0)), var(--edge, var(--c-grouped))); }
.lay-extend .ph-surface { display: block; left: 16px; width: 361px; top: 520px; height: 246px; border-radius: 28px; box-shadow: 0 10px 40px rgba(0,0,0,.16); }
.lay-extend .ph-logo { top: 102px; width: 228px; }
.lay-extend .ph-fields, .lay-extend .ph-signin, .lay-extend .ph-forgot { left: 32px; width: 329px; }
.lay-extend .ph-fields { top: 536px; background: var(--c-fill); }
.lay-extend .ph-signin { top: 656px; }
.lay-extend .ph-forgot { top: 718px; }
.lay-extend .ph-foot { top: 772px; left: 16px; width: 361px; border-top: 0; }
.lay-extend .ph-foot.on-edge .ph-q, .lay-extend .ph-foot.on-edge .ph-signup { color: var(--on-edge); }
.lay-extend .ph-foot.on-edge .ph-signup { text-decoration: underline; }

/* dark page under the fades */
.ph-dark .lay-band .ph-fade { background: linear-gradient(rgba(0,0,0,0), #000); }
.ph-dark .lay-hero .ph-fade { background: linear-gradient(rgba(0,0,0,0), #000 92%); }

/* launch picture: the photo alone (played over the login by signup.js, then faded out as in the app) */
.ph-launch { background: #000; transition: opacity .4s ease; }
.ph-launch.out { opacity: 0; }
.ph-launch .ph-photo.has { background-size: cover; background-position: var(--photo-x, 50%) 50%; }

/* ---------- ride and map drawings (signup-phone.js) ---------- */
.m-land { fill: var(--m-land); }
.m-block { fill: var(--m-block); }
.m-park { fill: var(--m-park); stroke: var(--m-park); stroke-linejoin: round; }
.m-water { fill: none; stroke: var(--m-water); stroke-linecap: round; stroke-linejoin: round; }
.m-case { fill: none; stroke: var(--m-case); }
.m-road { fill: none; stroke: var(--m-road); }
.m-lbl { fill: var(--m-lbl); font: 600 9px var(--sf); letter-spacing: .6px; paint-order: stroke; stroke: var(--m-halo); stroke-width: 2.5px; stroke-linejoin: round; }
.m-lbl.area { font-size: 11px; letter-spacing: .4px; }
.m-eta { font: 600 13px var(--sf); }
.ph-map image { opacity: .92; }

/* ---------- icon on the home screen, store page ---------- */
.ph-home { background: linear-gradient(170deg, #2f3e63, #6b1866 60%, #e2865f); }
.ph-apps { position: absolute; top: 12%; left: 7%; right: 7%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 9%; row-gap: 29px; }
.ph-apps > i { aspect-ratio: 1; border-radius: 23%; background: rgba(255,255,255,.22); }
.ph-app { display: grid; gap: 6px; justify-items: center; min-width: 0; }
.ph-icon { width: 100%; aspect-ratio: 1; border-radius: 23%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.ph-icon img { width: 100%; height: 100%; object-fit: contain; }
.ph-icon.bg-black { background: #000; }
.ph-app-name { color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 130%; text-align: center; }
.ph-dock { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 16px; border-radius: 36px; background: rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8%; }
.ph-dock i { aspect-ratio: 1; border-radius: 23%; background: rgba(255,255,255,.35); }
.ph-store { background: #fff; color: #111; padding: 84px 22px 0; display: grid; align-content: start; gap: 22px; }
.ph-store-h { display: flex; gap: 16px; align-items: center; }
.ph-store-h .ph-icon { width: 30%; flex: 0 0 30%; box-shadow: 0 0 0 1px #e3e5ea; }
.ph-store-h > span:last-child { display: grid; gap: 4px; min-width: 0; }
.ph-store-h b { font-size: 20px; font-weight: 600; font-family: var(--title); overflow-wrap: anywhere; line-height: 1.15; }
.ph-store-h small { color: #6a7080; font-size: 13px; }
.ph-get { justify-self: start; margin-top: 4px; background: #0a84ff; color: #fff; font-weight: 700; padding: 4px 16px; border-radius: 999px; font-size: 14px; }
.ph-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ph-shots i { aspect-ratio: 9 / 19; border-radius: 10%; background: linear-gradient(170deg, var(--c-brand), #1c1f27); opacity: .85; }
.ph-desc { color: #333; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.ph-dark .ph-store { background: #000; color: #f2f2f7; }
.ph-dark .ph-store-h small { color: #8e8e93; }
.ph-dark .ph-store-h .ph-icon { box-shadow: 0 0 0 1px #2c2c2e; }
.ph-dark .ph-desc { color: #d1d1d6; }

/* ---------- « Réservation »: the booking screens of the 4.0.0 client ---------- */
.ph-bk { background: var(--m-land); }
.bk-map { position: absolute; left: 0; top: 0; width: 393px; height: 852px; }
.bk-round { position: absolute; left: 16px; top: 67px; width: 46px; height: 46px; border-radius: 50%; background: var(--c-card); color: var(--c-text); display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.16); font: 600 16px/1 var(--body); }
.bk-avatar { color: var(--c-text2); }
.bk-locate { left: auto; right: 16px; top: 338px; }
.bk-locate .ph-i { width: 20px; height: 20px; }
.bk-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px 0; background: var(--c-card); border-radius: 28px 28px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,.16); }
.bk-grab { position: absolute; left: 50%; top: 8px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--c-sep); }
.bk-title { font: 600 22px/28px var(--title); color: var(--c-text); }
.bk-sub { margin-top: 2px !important; font: 400 15px/20px var(--body); color: var(--c-text2); }
.bk-link { color: var(--c-brand-ink); font-weight: 600; }
.bk-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-pickup); }
.bk-sq { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--c-brand); }
.bk-dots { flex: none; width: 2px; height: 14px; background: radial-gradient(circle, var(--c-text3) 1px, transparent 1.2px) center / 2px 4.6px repeat-y; }
.bk-stops { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 14px; }

/* 1 · home */
.bk-home .bk-sheet { height: 456px; }
.bk-search { margin-top: 14px !important; height: 52px; border-radius: 26px; background: var(--c-fill); display: flex; align-items: center; gap: 12px; padding: 0 18px !important; font: 600 19px/24px var(--body); }
.bk-search .ph-i { width: 20px; height: 20px; }
.bk-pickup { margin-top: 8px !important; height: 44px; display: flex; align-items: center; gap: 8px; font: 400 15px/20px var(--body); color: var(--c-text2); white-space: nowrap; }
.bk-pickup span:nth-of-type(1) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bk-pickup b { color: var(--c-text); font-weight: 600; }
.bk-places li { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; }
.bk-places li + li::before { content: ""; position: absolute; left: 44px; right: 0; top: 0; height: 1px; background: var(--c-sep); }
.bk-tile { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--c-fill); color: var(--c-text2); display: grid; place-items: center; }
.bk-tile .ph-i { width: 19px; height: 19px; }
.bk-places b { display: block; font: 400 17px/22px var(--body); white-space: nowrap; }
.bk-places small { display: block; font: 400 13px/18px var(--body); color: var(--c-text2); white-space: nowrap; }
.bk-tabs { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 31px; background: color-mix(in srgb, var(--c-card) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 6px 24px rgba(0,0,0,.14), 0 0 0 1px rgba(128,128,128,.14); }
.bk-tabs span { width: 98px; height: 54px; border-radius: 27px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 600 10px/12px var(--body); color: var(--c-text); }
.bk-tabs .on { background: rgba(120,120,128,.16); color: var(--c-brand-ink); }
.bk-tabs .ph-i { width: 26px; height: 26px; }

/* 2 · vehicle and price */
.bk-route { position: absolute; left: 16px; right: 16px; top: 67px; height: 88px; border-radius: 18px; background: var(--c-card); box-shadow: 0 4px 24px rgba(0,0,0,.16); display: flex; align-items: center; }
.bk-route .ph-i-back { margin: 0 12px 0 11px; }
.bk-route .ph-i-swap { width: 20px; height: 20px; margin: 0 14px; }
.bk-ab { flex: 1; min-width: 0; display: grid; margin-left: 12px; font: 400 15px/20px var(--body); }
.bk-ab > * { height: 44px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.bk-ab b { font-weight: 600; }
.bk-route .bk-ab > * + * { border-top: 1px solid var(--c-sep); }
.bk-float { left: 8px; right: 8px; bottom: 8px; border-radius: 38px; }
.bk-order .bk-sheet:not(.bk-booked) { padding: 24px 20px 36px; background: var(--c-grouped); }
.bk-date { height: 44px; border-radius: 22px; background: var(--c-card); display: flex; align-items: center; gap: 10px; padding: 0 16px !important; font: 400 17px/22px var(--body); }
.bk-eta { margin: 12px 0 0 4px !important; display: flex; align-items: center; gap: 6px; font: 400 13px/18px var(--body); color: var(--c-text2); }
.bk-eta .ph-i { width: 15px; height: 15px; }
.bk-cars { margin-top: 10px !important; display: grid; gap: 8px; }
.bk-cars li { height: 62px; border-radius: 14px; background: var(--c-card); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.bk-cars li.on { background: var(--c-brand-tint); }
.bk-car { flex: none; width: 52px; height: 40px; border-radius: 12px; background: var(--c-fill); color: color-mix(in srgb, var(--c-text) 55%, transparent); display: grid; place-items: center; }
.bk-cars li:nth-child(2) .bk-car { color: var(--c-text); }
.bk-car .ph-i { width: 34px; height: 24px; }
.bk-car-t { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.bk-car-t b { font: 600 17px/22px var(--body); }
.bk-car-t i { display: inline-flex; align-items: center; gap: 2px; font: 400 13px/18px var(--body); color: var(--c-text2); }
.bk-car-t i .ph-i { width: 12px; height: 12px; }
.bk-car-t small { grid-column: 1 / -1; font: 400 13px/18px var(--body); color: var(--c-text2); white-space: nowrap; }
.bk-price { font: 700 17px/22px var(--body); font-variant-numeric: tabular-nums; }
.bk-check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-brand); color: var(--c-brand-tint); display: grid; place-items: center; }
.bk-check .ph-i { width: 14px; height: 14px; }
.bk-options { margin-top: 12px !important; height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 4px; font: 600 15px/20px var(--body); }
.bk-options .ph-i { width: 16px; height: 16px; color: var(--c-brand-ink); }
.bk-order .bk-sheet > .ph-cta { margin: 8px -12px 0; }

/* 3 · booked: the confirmation sheet over the dimmed order screen */
.bk-dim { position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.ph-dark .bk-dim { background: rgba(0,0,0,.48); }
.bk-booked { padding: 30px 20px 30px; }
.bk-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--c-ok-tint); color: var(--c-ok); display: grid; place-items: center; margin-bottom: 14px; }
.bk-ok .ph-i { width: 30px; height: 30px; }
.bk-recap { margin-top: 16px; border-radius: 14px; background: var(--c-fill); padding: 6px 14px; display: grid; grid-template-columns: 14px 1fr; }
.bk-recap .bk-ab > * { height: 30px; }
.bk-recap .bk-ab b { font-weight: 600; }
.bk-wait { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; height: 28px; font: 600 13px/18px var(--body); }
.bk-wait .ph-i { width: 14px; height: 14px; }
.bk-wait b { margin-left: 14px; }
.bk-booked .ph-btn { margin-top: 16px; }
.bk-booked .ph-btn + .ph-btn { margin-top: 10px; }
.v-bk2 .bk-dim, .v-bk2 .bk-booked, .v-bk3 .bk-sheet:not(.bk-booked) { display: none; }

/* 4 · the driver on the way */
.bk-trip .bk-sheet { padding: 24px 16px 34px; }
.bk-status { font: 600 15px/20px var(--body); color: var(--c-pickup); }
.bk-driver { margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.bk-face { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--c-fill); color: var(--c-text2); display: grid; place-items: center; font: 600 17px/1 var(--body); }
.bk-driver b { display: block; font: 600 17px/22px var(--body); }
.bk-driver small { display: flex; align-items: center; gap: 7px; font: 400 15px/20px var(--body); color: var(--c-text2); }
.bk-plate { display: inline-flex; align-items: center; height: 19px; padding-right: 5px; border: 1.5px solid #15161a; border-radius: 4px; background: #fff; color: #15161a; font: 700 12px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow: hidden; }
.bk-plate i { align-self: stretch; width: 11px; margin-right: 5px; background: #1b3e9c; color: #fff; display: grid; place-items: center; font: 700 8px/1 var(--sf); }
.bk-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-trip .bk-recap { margin-top: 14px; }
.bk-pay { margin-top: 12px !important; height: 26px; border-radius: 13px; background: var(--c-brand-tint); display: flex; align-items: center; justify-content: center; gap: 5px; font: 600 13px/18px var(--body); }
.bk-pay .ph-i { width: 14px; height: 14px; }

/* the preview's tabs fit the aside (280 px) on one line */
/* ---------- booking site: <flavor>.libertyorder.fr in Safari, Liberty Order 4.0 below 768 px (mys-angular lo-v4.scss,
   lo-layout-v4): neutral tokens fixed (light only), brand roles = the apps' light ones (color-roles.ts ports SAMPalette).
   Titles, buttons, card titles: the brand font; body: the system font unless it is a text font (same rule as the apps) */
.ph-web { background: var(--m-land); font-family: var(--body); }
.ph-web::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); }
.ph-web .bk-map { position: absolute; left: 0; top: 0; width: 393px; height: 852px; }
.web-login { position: absolute; right: 16px; top: 62px; z-index: 2; height: 40px; padding: 0 18px; border-radius: 20px; display: flex; align-items: center; background: #fff; color: var(--c-text); font: 600 15px/1 var(--title); box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.web-sheet { position: absolute; left: 0; right: 0; top: 229px; bottom: 0; padding: 66px 16px 0; background: var(--c-grouped); border-radius: 28px 28px 0 0; }
.web-logo { position: absolute; left: 50%; top: -35px; width: 256px; height: 80px; margin-left: -128px; border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.web-logo img { height: 80px; width: 80px; object-fit: contain; }
.web-logo img:not([src]) { visibility: hidden; }
.web-h { font: 500 24px/1.2 var(--title); letter-spacing: -.3px; }
.web-sub { margin-top: 4px !important; font-size: 13.5px; color: var(--c-text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-route { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 18px; height: 118px; border-radius: 18px; background: var(--c-card); }
.web-route .bk-dot { width: 12px; height: 12px; box-shadow: 0 0 0 3px #e3f1ee; }
.web-route .bk-sq { width: 12px; height: 12px; border-radius: 3px; box-shadow: 0 0 0 3px var(--c-brand-tint); }
.web-route .bk-stops { gap: 6px; }
.web-bar { width: 2px; height: 22px; background: linear-gradient(var(--c-pickup), var(--c-brand)); }
.web-ab { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.web-ab > span { display: flex; flex-direction: column; justify-content: center; height: 56px; min-width: 0; }
.web-ab > span + span { border-top: 1px solid var(--c-sep); }
.web-ab small { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--c-text3); }
.web-ab b { font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-locate { align-self: flex-start; margin-top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--c-brand-ink); box-sizing: border-box; position: relative; flex: none; }
.web-locate::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c-brand-ink); }
.web-days { margin-top: 14px !important; display: flex; gap: 6px; }
.web-days span { height: 32px; padding: 0 11px; border-radius: 16px; display: flex; align-items: center; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-sep) inset; font-size: 14px; white-space: nowrap; }
.web-days .on { background: var(--c-brand); color: var(--c-on-brand); box-shadow: none; font-weight: 600; }
.web-days .web-time { margin-left: auto; font-weight: 600; }
.web-h2 { margin-top: 20px !important; font: 500 17px/1.2 var(--title); }
.web-cars { margin-top: 10px !important; display: grid; gap: 9px; }
.web-cars li { height: 76px; padding: 0 16px 0 12px; border-radius: 18px; background: var(--c-card); box-shadow: 0 0 0 1px var(--c-sep) inset; display: flex; align-items: center; gap: 12px; }
.web-cars li.on { background: var(--c-brand-tint); box-shadow: 0 0 0 2px var(--c-brand) inset; }
.web-cars .ph-i { width: 58px; height: 40px; color: #a3a3aa; }
.web-cars li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.web-cars li > span b { font: 500 16px/1.2 var(--title); }
.web-cars small { font-size: 12.5px; color: var(--c-text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-price { font-size: 17px; font-weight: 500; }
.web-cta { position: absolute; left: 16px; right: 16px; bottom: 86px; height: 52px; padding: 0 22px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; background: var(--c-brand); color: var(--c-on-brand); font: 600 17px/1 var(--title); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.web-cta b { font-family: var(--body); font-weight: 600; }
/* Safari's address bar (iOS 26: a floating capsule at the bottom) */
.web-url { position: absolute; left: 0; right: 0; bottom: 0; height: 82px; padding: 10px 16px 0; background: linear-gradient(rgba(242,242,247,0), rgba(242,242,247,.96) 30%); }
.web-url { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.web-url::before { content: ""; position: absolute; left: 16px; right: 16px; top: 10px; height: 46px; border-radius: 23px; background: rgba(255,255,255,.92); box-shadow: 0 2px 12px rgba(0,0,0,.14); }
.web-url .ph-i, .web-url span { position: relative; margin-top: 23px; }
.web-url .ph-i { width: 14px; height: 14px; margin-top: 24px; color: var(--c-text2); }
.web-url span { font: 400 15px/1 var(--sf); color: var(--c-text); line-height: 18px; margin-top: 22px; }

.seg-views, .seg-bk { gap: 2px; flex-wrap: nowrap; }
.seg-views button, .seg-bk button { padding: 0 7px; font-size: .76rem; white-space: nowrap; }
.seg-bk button { min-height: 30px; }

/* login banner (login.logoKind « banner »): 240 × 80 instead of the logo's 200 × 80, the tiles 40 pt wider, same
   height (USLoginLogoKind); its own colour on a card, the white card when its variant for what is behind is missing */
.banner .ph-logo { width: 272px; }
.banner.lay-band .ph-logo { width: 313px; }
.banner.lay-welcome .ph-logo { width: 276px; }
.banner.lay-hero .ph-logo { width: 288px; }
.banner.lay-glass .ph-logo { width: 260px; }
.banner.lay-extend .ph-logo { width: 268px; }
.banner .ph-logo-fit { width: 240px; height: 80px; }
.banner .ph-logo img { width: 240px; height: 80px; }
.ph-logo.ph-bcard { background: var(--bcard) !important; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.banner.logo-none .ph-logo:not(.ph-bcard), .banner.lay-glass .ph-logo:not(.ph-bcard) { background: none !important; box-shadow: none; }

/* ---------- booking site on a computer (« Site » view, above the phone): a browser window, its 1000 × 625 px page
   scaled to the preview's width (signup.js renderDesk). Liberty Order 4.0 from 768 px: lo-layout-v4 top bar (logo,
   « Se connecter » pill in the brand tint), the form panel on the left, the map on the right */
.web-desk {
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; --title: inherit; --body: var(--sf);
  --c-text: #1f2024; --c-text2: #5d5e66; --c-text3: #8a8b93; --c-grouped: #f2f2f7; --c-card: #fff; --c-fill: #f1f1f4; --c-sep: #e4e4e8;
  --c-brand: #0e7c7b; --c-brand-ink: #0e7c7b; --c-on-brand: #fff; --c-brand-tint: #dbebeb; --c-cta: #1f2024; --c-on-cta: #fff; --c-pickup: #137a64;
  --m-land: #f6f5f0; --m-block: #f8f1df; --m-road: #fff; --m-case: #e3e0d7; --m-park: #cfe8c6; --m-water: #a8d5f3; --m-lbl: #76767c; --m-halo: #fff;
  width: 100%; border-radius: 10px; overflow: hidden; background: #2a2d36; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 20px 40px -24px rgba(0,0,0,.9);
}
.wd-bar { height: 18px; display: flex; align-items: center; gap: 4px; padding: 0 7px; }
.wd-bar > i { width: 6px; height: 6px; border-radius: 50%; background: #5b5f6b; }
.wd-url { flex: 1; margin: 0 22px 0 14px; height: 11px; border-radius: 6px; background: #3a3e4a; color: #c9ccd4; display: flex; align-items: center; justify-content: center; gap: 3px; font: 500 7px/1 var(--sf); white-space: nowrap; overflow: hidden; }
.wd-url .ph-i { width: 6px; height: 6px; }
.wd-view { position: relative; overflow: hidden; background: var(--c-grouped); }
.wd-canvas { position: absolute; left: 0; top: 0; width: 1000px; height: 625px; transform-origin: 0 0; color: var(--c-text); font: 400 15px/1.3 var(--body); -webkit-font-smoothing: antialiased; }
.wd-canvas p, .wd-canvas ul { margin: 0; padding: 0; list-style: none; }
.wd-canvas i { font-style: normal; }
.wd-canvas .ph-i { display: block; flex: none; }
.wd-nav { position: absolute; left: 0; right: 0; top: 0; height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: var(--c-card); border-bottom: 1px solid var(--c-sep); }
.wd-logo img { display: block; width: 60px; height: 60px; object-fit: contain; }
.wd-logo img:not([src]) { visibility: hidden; }
.wd-login { height: 40px; padding: 0 18px; border-radius: 20px; display: flex; align-items: center; background: var(--c-brand-tint); color: var(--c-brand-ink); font: 600 15px/1 var(--title); }
.wd-panel { position: absolute; left: 0; top: 72px; bottom: 0; width: 380px; padding: 22px 22px 0; background: var(--c-grouped); border-right: 1px solid var(--c-sep); overflow: hidden; }
.wd-panel .web-route { height: 108px; }
.wd-panel .web-ab > span { height: 52px; }
.wd-panel .web-cars li { height: 66px; }
.wd-panel .web-cta { left: 22px; right: 22px; bottom: 18px; }
.wd-map { position: absolute; left: 380px; top: 72px; width: 620px; height: 553px; }
.wz-aside.view-web .phone-sim[data-phone="main"] { --wn: 200; justify-self: center; }
