:root{
  --navy:#0A0A0A; --ink:#151517; --card:#1C1C1E; --card2:#121214;
  --gold:#C8A96A; --gold-lt:#C8A96A; --text:#F5F5F7; --muted:#A3A3A3;
  --line:#2B2B2F; --red:#c0392b; --red-bg:#3a1410; --green:#2e9e63;
  --white:#F5F5F7;
  --gold-o:#C8A96A; --gold-b:#E5C158; --gold-d:#C8A96A; --ink-gold:#0A0A0A;
}
*{box-sizing:border-box}
html,body{height:100%}
html{overscroll-behavior:none;overflow-x:hidden;overflow-x:clip}
body{margin:0;background:var(--navy);color:var(--text);font-family:Manrope,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;display:flex;flex-direction:column;height:100dvh;overflow:hidden}
h1,h2,.serif{font-family:"Playfair Display",serif}
a{color:var(--gold-lt)}
button{font:inherit;cursor:pointer}
img{display:block}

/* Fixed-sheet architecture: header band pinned, each page is a sheet below it
   that scrolls internally; the window itself never scrolls. */
#topbar{flex:0 0 auto;z-index:50;display:flex;align-items:center;justify-content:space-between;
  padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:rgba(6,6,6,.97);border-bottom:1px solid var(--line)}
/* Topbar left cluster: the icon-only account button (owner order
   2026-11-14 22:30 — «ضف الحساب هنا بالواجه فوق بشعار الاكاونت بدون
   اسم») sits beside the brand, same .icon-btn family as the hero ☰. */
.tb-left{display:flex;align-items:center;gap:10px}
.brand{display:flex;gap:10px;align-items:center;background:none;border:0;color:var(--text);text-align:start;padding:0}
.brand img{border-radius:9px}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-size:19px;letter-spacing:.4px}
.brand-text small{color:var(--muted);font-size:11px;letter-spacing:1.2px;text-transform:uppercase}
/* Canonical one-line wordmark (logo renewal 2026-11-14): geometric "312" in
   matte gold + "BLACK" in Playfair white — same treatment as the apply page. */
.lk-n{font-family:Manrope,system-ui,sans-serif;font-weight:900;color:var(--gold);letter-spacing:0;font-variant-numeric:lining-nums}
.lk-w{font-family:"Playfair Display",serif;font-weight:700;color:#fff;letter-spacing:.05em}
#langPicker{background:var(--ink);color:var(--gold-lt);border:1px solid var(--gold);border-radius:9px;padding:6px 8px;max-width:38vw}
#view{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  width:100%;max-width:620px;margin:0 auto;padding:0 14px calc(75px + env(safe-area-inset-bottom));scrollbar-width:thin}
/* Bottom tab bar — PINNED to the visual viewport (owner bug report
   2026-11-14 15:07, annotated Home screenshot: «هاذا يختفي ليش» — the
   bar was GONE and the page ran to the very bottom edge). Root cause:
   the bar was the last IN-FLOW child of a height:100dvh, overflow:
   hidden flex column, so its on-screen presence depended entirely on
   the layout viewport measuring exactly the visible WebView area.
   Whenever 100dvh over-measured the visible area (TWA/WebView
   viewport-unit and system-bar states), the whole excess landed on
   the last in-flow box: #view flexed to fill the screen and the bar
   sat below the visible edge, with no scroll able to recover it —
   while other moments/screens measured correctly and showed it.
   Fixed at bottom:0 the bar is anchored to the visible viewport and
   body height no longer matters for it. #view reserves its space as
   bottom padding: the calc above is the bar's CSS height (54px of
   button + 1px border + safe-area) + the shell's original 20px
   bottom breathing room, and app.js syncTabbarPad() refines it to
   the bar's measured height at runtime. Overlays that intentionally
   cover the bar keep working unchanged — planner .tp-root z-80,
   toast z-99, drawer z-95, nav frame z-300, intro z-5000 all sit
   above z-50, and navlayer's body.nav-open rule still hides it
   while trip navigation is genuinely full-screen. */
/* v281 (owner order 2026-11-27): the bottom bar is a FLOATING ISLAND —
   a rounded pill detached from every edge (side + bottom margins),
   compact, floating over the page. Same tabs, same order, same
   destinations; each mode keeps its own palette (the day layer below
   re-skins the background). Fully opaque, so nothing ghosts through. */
/* v291 (owner order 2026-11-27: «صغر هاذا الحزيره كمان»): the
   floating island is SMALLER — slimmer insets, less padding,
   smaller icons and labels, ~20% shorter. Same 4 tabs, same tap
   behaviour; day mode inherits the sizing (its overrides are
   colour/shadow only). syncTabbarPad measures the bar live, so
   page bottom padding follows automatically. */
/* v302 (owner order 2026-11-28: «الجزيره هاذي خليها شفاف شوي جرب
   75%»): the island background sits at 75% opacity with a backdrop
   blur, so the page shows through slightly; icons/text stay at full
   opacity (they are children, unaffected by the background alpha). */
#tabbar{position:fixed;left:34px;right:34px;bottom:calc(8px + env(safe-area-inset-bottom));display:flex;background:rgba(6,6,6,.75);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 24px rgba(0,0,0,.5);z-index:50;padding:3px 5px}
#tabbar button{flex:1;background:none;border:0;color:var(--muted);padding:3px 2px;font-weight:600;font-size:.72rem;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:2.1rem}
#tabbar button svg{width:17px;height:17px}
/* Tab labels (owner 2026-11-15): the Map tab is now "Map Library" —
   longer in every language. Labels get a slightly smaller size,
   centred wrap, and anywhere-breaking as a last resort so no label
   (e.g. de "Kartenbibliothek") can overflow its fifth of the bar on
   narrow phones; icons, padding and colours are untouched. */
#tabbar button span{font-size:.62rem;line-height:1.1;text-align:center;overflow-wrap:anywhere}
body.no-topbar #topbar{display:none}
#tabbar button.active{color:var(--gold-lt)}

.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;margin:12px 0}
.btn{display:inline-block;background:var(--gold);color:#0A0A0A;border:0;border-radius:11px;
  padding:12px 18px;font-weight:800;text-align:center;width:100%;text-decoration:none}
.btn.secondary{background:transparent;color:var(--gold-lt);border:1.5px solid var(--gold)}
.btn.small{width:auto;padding:8px 14px}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.gonow{font-size:17px;padding:14px 18px;box-shadow:0 4px 18px rgba(200,169,106,.35)}
input,select,textarea{width:100%;background:var(--ink);border:1px solid var(--line);border-radius:11px;
  color:var(--text);padding:6px 11px;margin:4px 0 8px;font:inherit}
input[type=file]{padding:6px}
/* (v210, audit ج-21: bare file inputs aligned to the compact
   6px field padding like every other field.) */
/* Textareas stay multi-line but compact: about two rows minimum
   (global compact-fields pass, owner order 2026-11-17 ~11:33). */
textarea{min-height:3.2rem}
label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;font-weight:700}
.row{display:flex;gap:9px}.row>*{flex:1}
.muted{color:var(--muted)} .small{font-size:13px}
.pill{display:inline-block;border:1px solid var(--gold);color:var(--gold-lt);border-radius:999px;
  padding:3px 10px;font-size:12px;font-weight:700}
.pill.red{border-color:var(--red);color:#ff9a8a}
.pill.green{border-color:var(--green);color:#8fe0b6}
.pill.solid{background:var(--gold);color:#0A0A0A;border-color:var(--gold)}
.price-box{border:1.5px solid var(--gold);border-radius:14px;padding:13px;background:var(--card2)}
.price-line{display:flex;justify-content:space-between;padding:3px 0;gap:10px}
.price-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);
  margin-top:8px;padding-top:9px;font-size:18px;color:var(--gold-lt);font-weight:800}
details{border:1px solid var(--line);border-radius:14px;padding:10px 13px;margin:9px 0;background:var(--ink)}
summary{cursor:pointer;font-weight:700;color:var(--gold-lt)}
#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:92px;background:var(--gold);color:#0A0A0A;
  padding:10px 16px;border-radius:999px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .25s;z-index:99;max-width:92vw;text-align:center}
#toast.show{opacity:1}

/* ---------------------------------- home ----------------------------------
   Copy-paste parity with the original app (theme.css values): hero frame
   1078/594 with the fixed lockup as markup over the owner cover photo,
   white booking card with underlined fields, trust badges with dividers,
   wide story cards, media slot, confidence tiles, how-it-works, join card. */
.hero{position:relative;margin:0 -14px;overflow:visible;z-index:30;padding:10px 16px 12px;
  aspect-ratio:1078/594;display:flex;flex-direction:column;background:#000000}
.hero img.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.hero .hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.12) 30%,rgba(0,0,0,.04) 58%,rgba(0,0,0,.35) 84%,#000000 100%)}
/* v295 (owner order 2026-11-28): the menu button sits on the RIGHT —
   the hero top bar's only group is pushed to the physical right. */
.hero-top{position:relative;z-index:60;display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;direction:ltr}
.hero-top-l{display:flex;gap:8px;align-items:flex-start}
.icon-btn{width:38px;height:38px;display:grid;place-items:center;background:rgba(6,6,6,.55);
  border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#fff;backdrop-filter:blur(4px)}
.icon-btn svg{width:22px;height:22px}
/* Pull-to-refresh indicator (owner correction 2026-11-13 ~15:55: the
   header refresh button is REMOVED — a long pull down from the very top
   of the page refreshes instead, like every website). A 38px gold
   circular-arrow in the app's navy-glass chrome: it follows the pull,
   rotates as it travels, and spins while the page refetches in place. */
.ptr-ind{position:fixed;top:calc(4px + env(safe-area-inset-top));left:50%;z-index:200;
  width:38px;height:38px;display:grid;place-items:center;border-radius:50%;
  background:rgba(6,6,6,.85);border:1px solid rgba(200,169,106,.55);color:var(--gold);
  backdrop-filter:blur(4px);opacity:0;pointer-events:none;transform:translate(-50%,-64px)}
.ptr-ind.on{opacity:1}
.ptr-ind.anim{transition:transform .25s ease,opacity .25s ease}
.ptr-ind svg{width:19px;height:19px}
.ptr-ind.spin svg{animation:refspin .8s linear infinite}
@keyframes refspin{to{transform:rotate(360deg)}}
.lang-pill{position:relative;display:flex;align-items:center;gap:6px;background:rgba(6,6,6,.55);
  border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:5px 12px;backdrop-filter:blur(4px);
  color:#fff;font-size:.9rem;font-weight:700;min-height:2.35rem;direction:ltr}
.lang-pill svg.globe{width:17px;height:17px;flex:none}
.lang-pill svg.chev-d{width:13px;height:13px;color:var(--gold);flex:none}
/* Home HERO language pill, shrunk a bit (owner order 2026-11-14 ~01:35,
   given while viewing the two-tone hero — the brand lockup itself is
   accepted as-is): same pill, same top-right spot in .hero-top, just
   smaller — tighter padding, smaller font/icons, ~34-36px tall, still
   comfortably tappable. Scoped to the hero; page-head pills elsewhere
   keep the standard size. */
.hero-top .lang-pill{gap:4px;padding:3px 9px;font-size:.8rem;min-height:2.15rem}
.hero-top .lang-pill svg.globe{width:15px;height:15px}
.hero-top .lang-pill svg.chev-d{width:11px;height:11px}
/* The small «انطلق» depart box (owner flow rebuild 2026-11-14 ~01:29):
   ONE word on a compact gold pill in the booking card's go slot at the
   leave moment — replaces the old full-width "Time to leave" banner +
   "Go now" button. Tapping it opens the map; the commit happens on
   the «انطلق» tap inside the map. */
.depart-box{display:inline-block;margin:2px 0 4px;padding:7px 18px;border:0;border-radius:999px;
  background:#C8A96A;color:#0A0A0A;font-size:.95rem;font-weight:900;
  cursor:pointer;box-shadow:0 6px 16px rgba(200,169,106,.3)}
.depart-box:active{transform:scale(.98)}
/* Stage 1 (owner spec restated 2026-11-16): the NEXT booking's
   depart box is the gold «جاهز للانطلاق» banner — full width,
   the app's gold gradient, one clear call to depart. */
.depart-box.ready-go{display:block;width:100%;margin:4px 0 6px;padding:12px 18px;border-radius:14px;
  background:linear-gradient(180deg,#E3C888,#C8A96A);font-size:1.08rem;box-shadow:0 8px 20px rgba(200,169,106,.35)}
.lang-pill select{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;border:0;cursor:pointer}
/* v277 (owner order 2026-11-24 «رجع الشعار القديم» + «ورجع الديكور
   حق الي كان قبل التعديل الحالي»): the hero brand block is the OLD
   pre-v274 HTML text lockup again — restored verbatim from v273:
   position:absolute at the top of the hero, so the booking card's
   -52px overlap (which touches only the hero's bottom edge) can
   never cover it — the v274 flaw cannot return. The v274/v275 hero
   images (disc img, then the full-lockup img) are gone from the
   hero; the .lockup-* typeset rules below are the original ones. */
.hero-lockup{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:40;pointer-events:none;
  display:flex;flex-direction:column;align-items:center;text-align:center;width:max-content;max-width:calc(100% - 24px)}
.lockup-name{margin-top:0;font-family:Manrope,system-ui,sans-serif;font-size:3.6rem;font-weight:900;
  letter-spacing:.01em;font-variant-numeric:lining-nums;line-height:.8;color:var(--gold);
  text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.55);white-space:nowrap}
.lockup-rule{width:6.04rem;height:1px;margin:1px 0 0;
  background:linear-gradient(90deg,transparent,var(--gold-o) 22%,var(--gold-o) 78%,transparent)}
.lockup-word{font-family:"Playfair Display",serif;font-size:1.3rem;font-weight:700;letter-spacing:.31em;
  text-indent:.31em;line-height:.8;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.55);white-space:nowrap}
.lockup-sub{margin-top:5px;font-family:Manrope,system-ui,sans-serif;font-size:.58rem;font-weight:700;letter-spacing:.3em;
  text-indent:.3em;line-height:1.2;color:var(--gold-lt);text-shadow:0 1px 3px rgba(0,0,0,.85);white-space:nowrap}
.lockup-stars{margin-top:1px;display:flex;gap:3px;color:var(--gold-o)}
.lockup-stars svg{width:11px;height:11px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.8))}
.lockup-en{margin-top:3px;font-size:.62rem;font-weight:600;letter-spacing:.05em;line-height:1.25;
  color:rgba(255,255,255,.92);text-shadow:0 1px 3px rgba(0,0,0,.9);white-space:nowrap}
/* ===== Intro — 2s logo animation on app open (owner 2026-11-14;
   shortened from 4s to 2s by owner 2026-11-18, every step halved) =====
   Full-screen jet-black overlay in index.html carrying the SAME typeset
   lockup as the hero (.lockup-name/-rule/-word/-sub), choreographed over
   exactly 2.0s, then fading out over the already-rendered Home:
     0.0–0.2 black · 0.2–0.7 "312" rises in, gold glow blooms and settles ·
     0.6–1.0 rule draws out from centre · 0.9–1.4 "BLACK" fades in as its
     letterspacing eases .62em → the lockup's .31em · 1.3–1.6 tagline
     fades in · 1.7–2.0 whole intro fades out (visibility:hidden at 100%
     releases taps even before the boot script removes the node at 2.0s;
     its 2.2s timer is the hard fail-safe). Transform/opacity only, apart
     from the word's letterspacing ease the choreography calls for.
   Reduced motion: static lockup, out by ~0.7s (.intro-rm is set by the
   boot script; the media query below is the pure-CSS guarantee). */
#intro{position:fixed;inset:0;z-index:5000;background:#0A0A0A;display:flex;
  align-items:center;justify-content:center;animation:introOut .3s ease 1.7s forwards}
.intro-lockup{display:flex;flex-direction:column;align-items:center;text-align:center}
.intro-name{position:relative;opacity:0;animation:introName .5s ease-out .2s forwards}
.intro-name::before{content:"312";position:absolute;inset:0;color:var(--gold);opacity:0;
  filter:blur(16px);pointer-events:none;animation:introGlow .85s ease-out .2s forwards}
.intro-rule{transform:scaleX(0);animation:introRule .4s cubic-bezier(.22,.8,.32,1) .6s forwards}
.intro-word{opacity:0;animation:introWord .5s ease-out .9s forwards}
.intro-sub{opacity:0;animation:introSub .3s ease-out 1.3s forwards}
@keyframes introName{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes introGlow{0%{opacity:0}30%{opacity:.5}100%{opacity:0}}
@keyframes introRule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes introWord{from{opacity:0;letter-spacing:.62em;text-indent:.62em}
  to{opacity:1;letter-spacing:.31em;text-indent:.31em}}
@keyframes introSub{from{opacity:0}to{opacity:1}}
@keyframes introOut{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}
#intro.intro-rm{animation:introOut .25s ease .45s forwards}
#intro.intro-rm .intro-name,#intro.intro-rm .intro-rule,
#intro.intro-rm .intro-word,#intro.intro-rm .intro-sub{animation:none;opacity:1;transform:none}
#intro.intro-rm .intro-name::before{display:none}
@media (prefers-reduced-motion: reduce){
  #intro{animation:introOut .25s ease .45s forwards}
  #intro .intro-name,#intro .intro-rule,#intro .intro-word,#intro .intro-sub{
    animation:none;opacity:1;transform:none}
  #intro .intro-name::before{display:none}
}
.home-book{position:relative;z-index:45;width:94%;margin:-52px auto 0;background:#3A3A3E;color:#F5F5F7;
  border-radius:16px;padding:11px 14px 12px;box-shadow:0 18px 36px rgba(0,0,0,.35)}
.hb-seg{display:flex;width:56%;margin:0 auto 9px;padding:2px;border-radius:999px;background:#2C2C2F;border:1px solid #55555A}
.hb-seg button{flex:1 1 0;border:0;border-radius:999px;background:transparent;color:#A3A3A3;
  font-size:.74rem;font-weight:700;line-height:1.15;padding:4px 3px;white-space:nowrap}
.hb-seg button.on{background:var(--gold);color:var(--ink-gold);box-shadow:0 4px 12px rgba(200,169,106,.35)}
.hb-field{margin-bottom:8px;min-width:0}
.hb-field label{display:block;font-size:.71rem;font-weight:700;color:#A3A3A3;margin-bottom:1px;text-transform:none;letter-spacing:0}
.hb-input{width:100%;max-width:100%;min-width:0;height:31px;border:0;border-bottom:1.5px solid #55555A;border-radius:0;
  background:transparent;color:#F5F5F7;color-scheme:dark;font-size:.93rem;padding:4px 2px 6px;margin:0}
.hb-input:focus{outline:none;border-bottom-color:var(--gold-o)}
.hb-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hb-grid2 .hb-field{margin-bottom:9px}
.home-book-btn{width:100%;border:0;border-radius:999px;margin-top:2px;
  background:var(--gold);color:var(--ink-gold);
  padding:9px 16px;display:flex;align-items:center;justify-content:center;gap:10px;
  font-size:.97rem;font-weight:800;box-shadow:0 12px 30px rgba(200,169,106,.3)}
.home-book-btn .cal{display:grid;width:20px;height:20px;flex:none}
.home-book-btn .cal svg{width:100%;height:100%}
.home-book-btn .chev{display:grid;width:17px;height:17px;flex:none}
.home-book-btn .chev svg{width:100%;height:100%}
[dir="rtl"] .home-book-btn .chev{transform:scaleX(-1)}
.badges{margin-top:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.badge{text-align:center;padding:2px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.badge + .badge{border-inline-start:1px solid rgba(163,163,163,.22)}
.badge svg{width:22px;height:22px;color:var(--gold-o);margin-bottom:2px}
.badge .m{font-size:.7rem;font-weight:700;line-height:1.3;color:var(--text)}
button.badge{background:none;border:none;font:inherit;color:inherit;cursor:pointer}
/* v199: the HOME Help entry — a black+gold band under the trust
   badges, visible to everyone (guests included); the footer legal
   links keep their place untouched below. */
.home-help{margin-top:14px;width:100%;display:flex;align-items:center;gap:12px;text-align:start;
  background:linear-gradient(180deg,#17171B,#101013);border:1px solid rgba(200,169,106,.45);
  border-radius:14px;padding:12px 14px;cursor:pointer;color:var(--text)}
.home-help .hh-ic{font-size:1.35rem;line-height:1;background:rgba(200,169,106,.14);
  border:1px solid rgba(200,169,106,.4);border-radius:10px;padding:8px}
.home-help .hh-tx{display:flex;flex-direction:column;gap:1px;flex:1}
.home-help .hh-t{font-weight:800;font-size:1rem}
.home-help .hh-s{font-size:.8rem;color:var(--gold);font-weight:700}
.home-help .hh-chev{color:var(--gold);display:flex}
.home-help .hh-chev svg{width:18px;height:18px}
/* v199: the green resolved banner on the owner support thread page. */
.sup-resolved{margin:0 0 12px;text-align:center;color:#7BD88F;font-weight:800;font-size:.92rem;
  padding:9px;border:1px solid rgba(94,200,120,.45);border-radius:10px;background:rgba(46,120,64,.14)}
.home-story{margin-top:30px}
.story-title{font-family:"Playfair Display",serif;font-size:clamp(1.7rem,8vw,2.2rem);font-weight:700;
  line-height:1.15;color:var(--gold);margin:0 2px 6px}
.story-sub{margin:0 2px 14px;font-size:.9rem;line-height:1.45;color:var(--muted)}
/* v295 (owner-approved design 2026-11-28): services GRID, all items
   visible at once (7 since v299 removed the Convoy card), no
   swipe/dots/arrows; the whole card is the tap target.
   v300 (owner order 2026-11-28, Blacklane «Journey types»): SQUARE
   photo tiles, 2 columns — the photo fills the tile and the service
   name sits in white at the bottom-start over a soft dark gradient
   shade. Same items, order, photos and tap behaviour. */
/* v301 (owner verdict 2026-11-28: «تمام بس مربعات اصغر شويه»): the
   tiles shrink ~17% — the grid column is 84% wide, centred — so the
   section no longer eats a whole page; still square, still 2-up,
   gap a touch wider.
   v303 (owner update 2026-11-28: «ثلاث بالسطر الواحد») SUPERSEDES
   the 2-column shrink: THREE squares per row, full width — rows of
   3+3+1 for the 7 items. Labels step down a size and may wrap to
   two lines so long names stay readable at 3-across. */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.svc-card{position:relative;border-radius:18px;overflow:hidden;cursor:pointer;box-shadow:0 10px 22px rgba(0,0,0,.28)}
html[data-theme="day"] .svc-card{box-shadow:0 10px 20px rgba(41,39,36,.12)}
.svc-card.selected{box-shadow:0 0 0 2px var(--gold)}
.svc-card::after{content:'';position:absolute;left:0;right:0;bottom:0;height:58%;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0));pointer-events:none}
.svc-photo{display:block}
.svc-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.svc-name{position:absolute;inset-inline-start:8px;bottom:7px;z-index:2;max-width:calc(100% - 16px);font-size:.72rem;font-weight:600;color:#fff;line-height:1.2;text-align:start}
/* v304 (owner order 2026-11-28): the Map Library tile spans the
   FULL row width as a rectangle (the other 6 stay squares), with a
   Chicago map cover — street grid, river, lake, gold stop pins. */
.svc-card-lib{grid-column:1/-1}
/* v305 (owner verdict 2026-11-28): the rectangle was too tall —
   proper wide banner proportions ~2.2:1, and the cover is now the
   dark black/gold Chicago map (richer contrast, gold stop pins). */
.svc-card-lib .svc-photo img{aspect-ratio:2.2/1}
.svc-card-lib .svc-name{font-size:.85rem;inset-inline-start:12px;bottom:10px}
.story-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.story-track::-webkit-scrollbar{display:none}
.story-card{flex:0 0 84%;max-width:340px;scroll-snap-align:start;padding:0;text-align:start;color:#fff;
  background:linear-gradient(180deg,#17171A 0%,#070707 70%,#060606 100%);
  border:1px solid rgba(200,169,106,.4);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 6px 18px rgba(0,0,0,.35)}
.story-card.selected{border:2px solid var(--gold-o);
  box-shadow:0 6px 18px rgba(0,0,0,.45),0 12px 24px -4px rgba(200,169,106,.75),inset 0 -12px 16px -10px rgba(200,169,106,.65)}
.story-photo{position:relative;display:block;aspect-ratio:3/2;overflow:hidden;flex:none}
.story-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 68%}
.story-photo::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(0deg,rgba(3,3,3,.55) 0%,rgba(3,3,3,0) 38%)}
.story-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.story-h{display:block;margin:0 0 5px;font-size:1.12rem;font-weight:800;line-height:1.25;color:#fff}
.story-p{display:block;margin:0;font-size:.88rem;line-height:1.5;color:var(--muted);flex:1}
.story-book{margin-top:12px;width:100%;border:0;border-radius:999px;padding:11px 16px;font-size:.98rem;
  font-weight:800;text-align:center;color:var(--ink-gold);
  background:var(--gold);box-shadow:0 8px 20px rgba(200,169,106,.3)}
/* Map Library intro card (owner 2026-11-15): the full how-it-works text
   collapses behind the Read more toggle — .story-p sets display:block,
   which would defeat the hidden attribute, so the collapsed state is
   re-asserted here. */
.story-more[hidden]{display:none}
.story-more-btn{margin-top:8px;align-self:flex-start;background:none;border:0;padding:2px 0;
  color:var(--gold);font-family:inherit;font-size:.86rem;font-weight:700;cursor:pointer}
.story-nav{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.story-arrow{width:38px;height:38px;border-radius:50%;border:1px solid rgba(200,169,106,.5);
  background:rgba(255,255,255,.07);color:var(--gold);display:grid;place-items:center}
.story-arrow svg{width:18px;height:18px}
.story-arrow:disabled{opacity:.35}
[dir="rtl"] .story-arrow svg{transform:scaleX(-1)}
.story-dots{display:flex;align-items:center;gap:8px}
.story-dot{width:9px;height:40px;border-radius:999px;border:0;padding:0;background:#414147;cursor:pointer;transition:width .2s,background .2s}
.story-dot.active{width:24px;background:var(--gold-o)}
.home-media{margin-top:30px;position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;
  border:1px solid rgba(200,169,106,.4);background:#060606;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.home-media video,.home-media img{width:100%;height:100%;object-fit:cover}
.home-media-sound{position:absolute;inset-inline-end:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;
  gap:7px;min-height:40px;padding:8px 13px;border-radius:999px;background:rgba(10,10,10,.74);color:#fff;
  border:1px solid rgba(200,169,106,.65);font-size:.78rem;font-weight:800;line-height:1;backdrop-filter:blur(4px)}
.home-media-sound svg{width:19px;height:19px;color:var(--gold)}
.home-media-sound.on{padding:8px 10px}
@media (prefers-reduced-motion:no-preference){
.home-media-sound:not(.on){animation:hms-pulse 2.2s ease-in-out infinite}
@keyframes hms-pulse{0%,100%{box-shadow:0 0 0 0 rgba(200,169,106,.45)}50%{box-shadow:0 0 0 7px rgba(200,169,106,0)}}
}
.home-corp-btn{margin-top:30px;position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;
  border:1px solid rgba(200,169,106,.4);background:#060606;box-shadow:0 6px 18px rgba(0,0,0,.35);
  display:block;cursor:pointer;padding:0;-webkit-appearance:none;appearance:none}
/* v236 (Stage 5, final form — owner-approved mockup): the owner's
   own picture fills the whole button; the section title in the
   serif display face (Playfair Display; Arabic falls back to the
   app's Cairo) sits white over a dark bottom gradient in the
   lower-middle, and a small gold pill with the CTA sits beneath
   it. The whole box stays the tap target. Same photo both modes. */
.hcb-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hcb-shade{position:absolute;left:0;right:0;bottom:0;height:64%;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,0));pointer-events:none}
.hcb-cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;gap:9px;padding:0 14px 13px}
.hcb-tx{font-family:"Playfair Display","Cairo",serif;font-size:1.5rem;font-weight:700;line-height:1.15;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.hcb-pill{background:linear-gradient(180deg,#E7CD8D,#C6A15B);color:#1d1a14;font-weight:800;font-size:.86rem;line-height:1;border-radius:999px;padding:8px 20px;min-width:34%;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.35)}
/* v230: the gold call-to-action face the corporate pages already
   referenced (.cta-gold — the dashboard «احجز مشواراً» button and
   the terms page's «موافق»): the app's established gold pill, same
   face in both modes (gold is the day palette's accent too). */
.cta-gold{width:100%;border:0;border-radius:999px;margin-top:12px;background:var(--gold);color:var(--ink-gold);
  padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:1rem;font-weight:800;font-family:inherit;box-shadow:0 12px 30px rgba(200,169,106,.3);cursor:pointer}
.cta-gold:disabled{opacity:.45;cursor:default;box-shadow:none}
/* v231 (Stage-2 amendment, owner-approved design): the two chooser
   boxes carry a REAL photograph at the top of the box, label +
   sublabel under it — same photo in day and night modes. */
.corp-photo{display:block;width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;border:1px solid rgba(200,169,106,.35)}
.corp-photo img{width:100%;height:100%;object-fit:cover;display:block}
/* v233 (Stage 3): the corporate header card at the top of the
   booking form + the locked company-card row in the payment area.
   Gold-tinted card face — reads on both the night and day palettes. */
/* v234 (Stage-2 amendment B): the chooser's section-name heading +
   the «Learn more» sector list (gold underlined lead-in, gold
   diamond markers; funeral homes excluded by owner order). */
/* v235 (Stage 4): the «دليل الاستخدام بالصور» outline button on the
   corporate terms pages, opening the matching Arabic guide PDF. */
.corp-guide-btn{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--gold);color:var(--gold);border-radius:999px;padding:11px 16px;margin-top:14px;font-weight:800;text-decoration:none}
.corp-sec-title{margin:14px 0 2px;font-size:1.35rem;font-weight:800}
.corp-more{text-align:center;margin:22px 0 4px;color:var(--gold);font-weight:800;text-decoration:underline;text-underline-offset:6px}
.corp-serve-h{text-align:center;margin:14px 0 12px;font-size:1.05rem;font-weight:800}
.corp-serve{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.corp-serve li{display:flex;gap:9px;align-items:center}
.cs-dia{color:var(--gold);font-size:.62rem}
.corp-head-card{border:1px solid rgba(200,169,106,.45);background:rgba(200,169,106,.08);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.chc-name{font-weight:800;font-size:1.05rem}
.chc-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
.chc-booker{font-size:.85rem;opacity:.85}
.corp-card-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:.92rem;font-weight:700}
.ccr-lock{opacity:.75;font-size:.8rem;font-weight:400}
.home-conf{margin-top:30px}
.home-sec-title{margin:0 2px 12px;font-size:1.25rem;font-weight:800;color:var(--text);font-family:Manrope,system-ui,sans-serif}
.conf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.conf-tile{background:rgba(255,255,255,.07);border:1px solid rgba(200,169,106,.28);border-radius:16px;
  padding:14px 9px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px}
.conf-ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:rgba(200,169,106,.13);border:1px solid rgba(200,169,106,.45);color:var(--gold);margin-bottom:2px}
.conf-ic svg{width:21px;height:21px}
.conf-t{font-size:.8rem;font-weight:800;line-height:1.25;color:#fff}
.conf-s{font-size:.69rem;line-height:1.35;color:var(--muted)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.how-step{display:flex;align-items:flex-start;gap:9px;background:#070707;border:1px solid rgba(200,169,106,.28);border-radius:14px;padding:12px}
.how-num{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;
  background:#C8A96A;color:#0A0A0A;font-weight:800;font-size:.85rem}
.how-txt{font-size:.82rem;font-weight:700;line-height:1.35;color:var(--text)}
.home-about{margin-top:30px;padding-bottom:6px}
.about-lockup{display:flex;align-items:center;gap:9px}
.about-lockup img{border-radius:9px}
.about-lockup .dn{font-size:1.15rem;font-variant-numeric:lining-nums}
.about-intro{color:var(--muted);font-size:.92rem;line-height:1.6;margin:10px 2px 0}
.join-card{margin:26px 0 0;padding:20px 18px;border-radius:18px;border:1.5px solid rgba(200,169,106,.6);
  background:linear-gradient(165deg,#17171A,#060606 75%);text-align:center}
.join-card-title{margin:0 0 8px;font-size:1.15rem;color:var(--gold);font-family:Manrope,system-ui,sans-serif}
.join-card-body{margin:0 0 14px;font-size:.9rem;line-height:1.6;color:#D0D0D5}
.join-card-btn{border:0;border-radius:999px;padding:12px 26px;font-size:.95rem;font-weight:800;color:var(--ink-gold);
  background:var(--gold);box-shadow:0 8px 20px rgba(200,169,106,.3)}
/* v222: social icon row — platform LOGOS ONLY (no names, no text),
   compact gold-on-black identity circles; sits between the join
   card and the footer logo/links on Home. */
.social-row{display:flex;justify-content:center;gap:10px;margin-top:26px}
.social-row a{width:40px;height:40px;border-radius:50%;background:#141414;border:1.5px solid rgba(200,169,106,.5);display:grid;place-items:center;color:var(--gold)}
.social-row a svg{width:20px;height:20px;display:block}
.home-foot{margin-top:30px;padding-bottom:8px;text-align:center}
.home-foot .brand-inline{display:inline-flex;align-items:center;gap:9px}
.home-foot .brand-inline img{border-radius:9px}
.home-foot .dn{font-size:1.05rem}
.home-foot .fine{color:var(--muted);font-size:12px;margin-top:8px}
.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:90}
.drawer{position:fixed;top:0;bottom:0;left:0;width:min(300px,84vw);background:#0A0A0A;
  border-right:1px solid rgba(200,169,106,.35);z-index:95;padding:16px 14px calc(16px + env(safe-area-inset-bottom));
  overflow-y:auto;box-shadow:0 0 60px rgba(0,0,0,.6)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.drawer-head .dn{font-size:1.25rem}
.drawer-item{display:flex;align-items:center;gap:12px;width:100%;text-align:start;background:transparent;border:0;
  border-bottom:1px solid rgba(163,163,163,.14);color:var(--text);font-size:1rem;font-weight:700;
  padding:14px 6px;min-height:3.2rem;cursor:pointer}
.drawer-item svg{width:21px;height:21px;color:var(--gold-o);flex:none}
.drawer-item .chev{margin-inline-start:auto;width:17px;height:17px;display:grid}
.drawer-item .chev svg{width:17px;height:17px}

/* ------------------------------ services grid ------------------------------ */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.svc{border:1.5px solid var(--line);background:var(--ink);border-radius:14px;padding:13px 6px;text-align:center;
  color:var(--text);font-weight:700;font-size:13.5px;min-height:64px}
.svc.selected{border-color:var(--gold);color:var(--gold-lt);background:#212124}
.pkg-row{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:4px 0 8px}
.pkg-row .svc{min-height:0;padding:7px 2px;font-size:12px;border-radius:10px}
.stepper{display:flex;align-items:center;gap:8px}
.stepper button{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--gold);background:transparent;color:var(--gold-lt);font-size:18px;font-weight:800}
.stepper output{font-weight:800;min-width:86px;text-align:center}

/* --------------------------------- drivers --------------------------------- */
.driver-card{display:flex;gap:12px;align-items:center}
.driver-card img{width:62px;height:62px;border-radius:50%;object-fit:cover;border:2px solid var(--gold);flex:0 0 auto}

/* --------------------------------- profile ---------------------------------
   Copy-paste parity with the original (theme.css .pf-* / .al-root values):
   page head band, tall cover with the identity block seated inside it,
   trips badge, feature + trust pill rows, and the white Book Your Ride
   card overlapping the cover tail (book-zone -104px). */
.profile-wrap{margin:0 -14px}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px 0}
.page-head .ph-title{font-size:1.12rem;font-weight:800;color:var(--text)}
.back-btn{width:38px;height:38px;display:grid;place-items:center;background:rgba(6,6,6,.55);
  border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#fff;flex:none}
.back-btn svg{width:22px;height:22px}
[dir="rtl"] .back-btn svg{transform:scaleX(-1)}
.pf-head{position:relative;margin:14px -14px 0}
.pf-cover{position:relative;height:clamp(430px,118vw,580px);display:flex;flex-direction:column;overflow:hidden;
  background-color:#0A0A0A;box-shadow:0 14px 34px rgba(0,0,0,.35)}
.pf-cover img.pf-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pf-cover-shade{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(6,6,6,.97) 0%,rgba(6,6,6,.93) 34%,rgba(6,6,6,.72) 52%,rgba(6,6,6,.38) 68%,rgba(6,6,6,.12) 82%,rgba(6,6,6,0) 100%)}
.pf-trips{position:absolute;z-index:3;top:12px;inset-inline-end:16px;background:var(--gold-o);color:#0A0A0A;
  font-weight:800;font-size:12.5px;line-height:1;border-radius:999px;padding:7px 13px;
  box-shadow:0 6px 16px rgba(0,0,0,.4);white-space:nowrap}
.pf-id{position:relative;z-index:2;margin-top:auto;width:100%;display:flex;flex-direction:column;
  align-items:center;text-align:center;padding:44px 16px 118px}
.pf-avatar{position:relative;width:124px;height:124px;flex:none;border-radius:50%;border:4px solid var(--gold-o);
  background:#0A0A0A;overflow:hidden;display:grid;place-items:center;box-shadow:0 12px 28px rgba(0,0,0,.5)}
.pf-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.pf-namerow{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:11px}
/* Profile favourite toggle — the original's .fav-btn in the name row:
   a 34px circle, gold-ring border, 18px heart (outline / filled when on).
   (The plain ★ text button that lived here was a rebuild invention.) */
.pf-namerow .fav-btn{display:inline-grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;
  border:1.5px solid rgba(200,169,106,.45);background:transparent;color:var(--gold);cursor:pointer;padding:0;align-self:center}
.pf-namerow .fav-btn.on{border-color:var(--gold-o);background:rgba(200,169,106,.16);color:var(--gold-o)}
.pf-namerow .fav-btn svg{width:18px;height:18px}
.pf-name{font-size:27px;font-weight:700;color:#fff;line-height:1.1;margin:0;text-shadow:0 2px 10px rgba(0,0,0,.55)}
.pf-rating{display:flex;align-items:center;gap:5px;font-size:14.5px;font-weight:800;color:#fff;white-space:nowrap;text-shadow:0 2px 10px rgba(0,0,0,.55)}
.pf-rating svg{width:15px;height:15px;color:var(--gold-o)}
.pf-role{font-size:12px;font-weight:700;color:var(--gold-lt);margin:4px 0 0;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.pf-car{font-size:12.5px;color:#DBDBE0;margin:6px 0 0;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.pf-car b,.pf-plate b{color:#fff;font-weight:800}
.pf-plate{font-size:12.5px;color:#DBDBE0;margin:3px 0 0;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.pf-feat{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:3px;max-width:100%}
.pf-feat li{display:flex;align-items:center;gap:3px;font-size:9px;font-weight:700;line-height:1.15;color:#E7E7EA;
  background:rgba(6,6,6,.55);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:2px 6px;white-space:nowrap}
.pf-feat svg{width:10px;height:10px;flex:none;color:var(--gold-o)}
.pf-trust{list-style:none;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;align-items:stretch}
.pf-trust li{display:flex;align-items:center;justify-content:center;gap:3px;font-size:8.5px;font-weight:700;line-height:1.15;
  text-align:center;text-wrap:balance;overflow-wrap:break-word;color:#E7E7EA;
  background:rgba(6,6,6,.55);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:2px 5px}
.pf-trust svg{width:9px;height:9px;flex:none;color:var(--gold-o)}
.book-zone{position:relative;z-index:5;margin-top:-104px;padding:0 14px}
.book-card-w{background:#3A3A3E;color:#F5F5F7;border-radius:22px;box-shadow:0 30px 60px rgba(0,0,0,.45);padding:30px 18px 20px;margin:0 auto}
.book-card-w h2{font-family:Manrope,system-ui,sans-serif;font-size:29px;font-weight:800;letter-spacing:-.01em;color:#F5F5F7;margin:0}
.book-card-w .lede{color:#A3A3A3;font-size:15.5px;margin:6px 0 20px}
.svc-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:8px;margin-bottom:12px}
.svc-mini{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  border:1.5px solid #55555A;background:#2C2C2F;border-radius:11px;padding:6px 4px 5px;color:#F5F5F7;
  text-align:center;height:100%;transition:border-color .15s,background .15s,box-shadow .15s}
.svc-mini .ic{display:grid;place-items:center;width:20px;height:20px;flex:none;color:var(--gold-d)}
.svc-mini .ic svg{width:20px;height:20px}
.svc-mini .lbl-s{font-size:.66rem;font-weight:800;line-height:1.12;overflow-wrap:break-word}
.svc-mini .check{position:absolute;top:5px;inset-inline-end:5px;width:17px;height:17px;border-radius:50%;
  background:var(--gold-o);color:#0A0A0A;display:none;place-items:center}
.svc-mini .check svg{width:11px;height:11px}
.svc-mini.sel{background:#1F1F22;border-color:var(--gold-o);box-shadow:0 0 0 1px var(--gold-o)}
.svc-mini.sel .check{display:grid}
.fld{display:flex;flex-direction:column;gap:4px;margin-bottom:9px;min-width:0}
.fld > label{font-size:12.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#A3A3A3;display:block;margin:0}
.inp{font-size:16px;color:#F5F5F7;background:#2C2C2F;border:1.5px solid #55555A;border-radius:11px;
  padding:7px 11px;width:100%;max-width:100%;min-width:0;color-scheme:dark;margin:0}
.inp:focus{outline:none;border-color:var(--gold-o);background:#2C2C2F}
select.inp{appearance:auto}
.grid2w{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid3w{display:grid;grid-template-columns:1.18fr 1fr .82fr;gap:8px}
.grid2w > *,.grid3w > *{min-width:0}
.seg-w{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.seg-w button{font-size:14.5px;font-weight:700;padding:11px;border-radius:11px;border:1.5px solid #55555A;
  background:#2C2C2F;color:#A3A3A3;min-height:2.9rem}
.seg-w button.on{background:#141416;color:#F5F5F7;border-color:#141416}
.meet-line{margin:2px 0 12px;font-size:.85rem;font-weight:700;color:#C8A96A}
.fold-w{border:1.5px solid #55555A;border-radius:14px;margin-top:14px;background:#2C2C2F;padding:0}
.fold-w > summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:15px 16px;border-radius:14px;min-height:3rem;color:#F5F5F7}
.fold-w > summary::-webkit-details-marker{display:none}
.fold-w .ttl{font-size:16px;font-weight:800;color:#F5F5F7;display:block}
.fold-w .opt{display:block;font-size:12.5px;font-weight:600;color:#A3A3A3;margin-top:2px}
.fold-w .chev{flex:0 0 auto;color:var(--gold-o);width:20px;height:20px;transition:transform .2s;display:grid;place-items:center}
.fold-w .chev svg{width:100%;height:100%}
.fold-w[open] > summary .chev{transform:rotate(180deg)}
.fold-body{border-top:1px dashed #55555A;padding:12px 14px 14px}
.fold-body .fld{margin-bottom:8px;gap:3px}
.fold-body .fld > label{font-size:11px;letter-spacing:.03em}
.fold-body .inp{padding:7px 10px;font-size:15px;border-radius:9px}
.fold-body input[type="date"].inp,.fold-body input[type="time"].inp{padding:7px 4px;font-size:12.5px}
.td-open{border:1.5px solid #55555A;border-radius:14px;margin-top:14px;background:#2C2C2F}
.td-open .td-head{padding:11px 14px 0}
.td-open .td-head .ttl{font-size:16px;font-weight:800;color:#F5F5F7;display:block}
.td-open .td-head .opt{display:block;font-size:12.5px;font-weight:600;color:#A3A3A3;margin-top:2px}
.td-open .fold-body{border-top:0;padding-top:8px}
/* v221 — TRIP DETAILS FOLD HEADER, GOLD FACE (owner queue stage 4):
   colour ONLY — shape/size/content unchanged; the OPEN fold's body
   keeps its current colours; no other fold is touched. Same gold
   treatment as a selected tile: gold face, dark ink on top. */
.fold-w.td-fold{border-color:var(--gold)}
.fold-w.td-fold>summary{background:var(--gold)}
.fold-w.td-fold>summary .ttl{color:var(--ink-gold)}
.fold-w.td-fold>summary .opt{color:var(--ink-gold);opacity:.72}
.fold-w.td-fold>summary .chev{color:var(--ink-gold)}
/* v220: airport section choice (Arrivals/Departures) — a compact row
   under an airport address field, in the form's own seg styling. */
.apt-sec{display:flex;gap:6px;margin-top:6px}
.apt-sec button{flex:1;padding:6px 8px;border-radius:9px;border:1.5px solid #55555A;background:#2C2C2F;color:#A3A3A3;font-size:12.5px;font-weight:700;cursor:pointer}
.apt-sec button.on{background:var(--gold);border-color:var(--gold);color:var(--ink-gold)}
.pkg-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:4px 0 10px}
.pkg-strip > *{min-width:0}
.pkg-b{border:1.5px solid #55555A;background:#2C2C2F;border-radius:8px;padding:6px 1px 5px;text-align:center;color:#F5F5F7}
.pkg-b b{display:block;font-size:12.5px;font-weight:800}
.pkg-b span{display:block;font-size:10.5px;font-weight:700;color:#A3A3A3;margin-top:1px}
.pkg-b.sel{background:#1F1F22;border-color:var(--gold-o)}
/* Date/time inputs: LTR + bidi-isolated everywhere (owner defect
   2026-11-13 22:34: on his Arabic-locale device the native controls
   scrambled the digit order inside the EN UI — "11202€", "112026/11/",
   "1:34 م"). Same bidi family as the vault date inputs' dir="ltr";
   this rule also covers inputs rendered without the attribute. */
input[type="date"],input[type="time"]{direction:ltr;unicode-bidi:isolate}
.stepper-w{display:flex;align-items:stretch;gap:8px}
.stepper-w button{width:52px;border-radius:11px;border:1.5px solid #55555A;background:#2C2C2F;font-size:22px;font-weight:800;color:#F5F5F7;min-height:2.9rem}
.stepper-w output{flex:1;display:flex;align-items:center;justify-content:center;background:#2C2C2F;
  border:1.5px solid #55555A;border-radius:11px;font-size:17px;font-weight:800;padding:11px;color:#F5F5F7}
.get-price-btn{width:100%;border:0;border-radius:999px;padding:12px 16px;margin-top:6px;font-size:1rem;font-weight:800;
  color:var(--ink-gold);background:var(--gold);box-shadow:0 10px 24px rgba(200,169,106,.3)}
.book-card-w .price-box{margin-top:20px;border:1.5px solid var(--gold-o);border-radius:14px;background:#2C2C2F;padding:18px 18px 14px}
.book-card-w .price-line{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px dashed #55555A;font-size:14.5px;color:#F5F5F7}
.book-card-w .price-total{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:12px 0 2px;
  font-size:16px;font-weight:800;color:#F5F5F7;border-top:0;margin-top:0}
.book-card-w .price-total span:last-child{font-family:"Playfair Display",serif;font-size:30px}
.book-card-w label{color:#A3A3A3}
.book-card-w .muted{color:#A3A3A3}
.reviews-card{background:#fff;color:#151517;border-radius:22px;box-shadow:0 30px 60px rgba(0,0,0,.45);
  padding:26px 20px 10px;margin:16px auto 30px}
.reviews-card h3{font-family:Manrope,system-ui,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.01em;color:#151517;margin:0 0 4px}
.pf-review{padding:15px 0 17px}
.pf-review + .pf-review{border-top:1px solid #E8E8EB}
.pf-review .r-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pf-review .r-name{font-size:16.5px;font-weight:800;color:#151517}
.pf-review .r-stars{color:var(--gold-o);letter-spacing:2px}
.pf-review .r-comment{margin:7px 0 0;font-size:14.5px;line-height:1.55;color:#404046}
.off-banner{margin:0 0 12px;background:var(--red-bg);border:1px solid var(--red);color:#ff9a8a;
  border-radius:12px;padding:10px 13px;font-weight:700;font-size:13.5px;text-align:center}
.book-card-w label{text-transform:none;letter-spacing:0;font-size:13.5px}
.book-card-w .fld > label{font-size:12.5px;letter-spacing:.04em;text-transform:uppercase}
.book-card-w .fold-body .fld > label{font-size:11px;letter-spacing:.03em}
.book-card-w h4{color:#F5F5F7;margin:16px 0 8px}
.book-card-w select#tipSel{background:#2C2C2F;border:1.5px solid #55555A;color:#F5F5F7;color-scheme:dark;border-radius:11px;width:100%;padding:7px 12px;margin:4px 0 8px}
.book-card-w input[type="radio"]{accent-color:var(--gold-d);width:auto}
.book-card-w .inp::placeholder,.home-book .hb-input::placeholder,.bk-white .booking-item textarea::placeholder{color:#A3A3A3}
.book-card-w .btn{background:var(--gold);color:var(--ink-gold);border-radius:999px}

/* Booking-card parity with the original app (owner's side-by-side screenshots,
   2026-11-13): the light pill One way / By the hour toggle (.tt-row reusing
   .hb-seg) with the Cars pill beside it on Occasions/Events, the multi-car
   driver pickers, the automatic price box (car + route + Total only), the
   payment step, the trip-at-a-glance box and the gold Confirm button the
   card ends with. Values copied from the original's theme.css. */
.tt-row{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
.tt-row .hb-seg{width:auto;flex:0 1 auto;min-width:0;margin:0;height:40px;align-items:stretch;padding:3px}
.tt-row .hb-seg button{display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;padding:4px 11px}
.tt-row .hb-seg button.on{box-shadow:inset 0 1px 3px rgba(0,0,0,.28)}
.cars-pill-wrap{position:relative;display:inline-flex;flex:0 0 auto}
.cars-pill{display:inline-flex;align-items:center;gap:5px;height:40px;padding:0 15px;border-radius:999px;
  border:1px solid #55555A;background:#2C2C2F;color:#A3A3A3;font-size:.85rem;font-weight:800;line-height:1;
  cursor:pointer;white-space:nowrap}
.cars-pill:focus-visible{outline:2px solid var(--gold-o);outline-offset:2px}
.cars-pill-ic{display:inline-flex;width:18px;height:18px;color:#C8A96A}
.cars-pill-ic svg{width:100%;height:100%}
.cars-pop{position:absolute;top:calc(100% + 6px);inset-inline-end:0;display:flex;flex-direction:column;
  align-items:stretch;gap:6px;padding:8px;background:#3A3A3E;border:1px solid #55555A;border-radius:12px;
  box-shadow:0 12px 28px rgba(21,21,23,.18);z-index:40}
.cars-pop-title{display:block;font-size:.8rem;font-weight:800;color:#F5F5F7;text-align:center;white-space:nowrap;padding:1px 4px 0}
.cars-pop-nums{display:flex;gap:5px;justify-content:center}
.cars-pop-num{width:34px;height:30px;padding:0;border-radius:8px;border:1.5px solid #55555A;background:#2C2C2F;
  color:#A3A3A3;font-size:.9rem;font-weight:800;cursor:pointer}
.cars-pop-num.sel{border-color:var(--gold-o);background:rgba(200,169,106,.16);color:#C8A96A}
.multi-block{margin-top:4px;margin-bottom:12px}
.multi-heading{margin:0 0 8px;font-size:.95rem;font-weight:800;color:#F5F5F7}
.multi-line{display:flex;justify-content:space-between;gap:10px;margin:0 0 10px;font-size:.88rem;color:#A3A3A3}
.multi-line b{color:#F5F5F7}
.al-price-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.al-price-head .ttl{font-size:18px;font-weight:800;color:#F5F5F7;margin:0}
.al-price-head .veh-name{font-size:13px;font-weight:700;color:#A3A3A3}
.al-route-meta{margin:6px 0 0;font-size:14px;font-weight:700;color:#F5F5F7}
.al-bd-total{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:12px 0 2px;
  font-size:16px;font-weight:800;color:#F5F5F7}
.al-bd-total span:last-child{font-family:"Playfair Display",Georgia,serif;font-size:30px}
.final-price-line{margin:6px 0 0;font-size:.78rem;color:#A3A3A3;text-align:center}
.al-bd-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px dashed #55555A;
  font-size:14.5px;color:#F5F5F7}
.al-bd-row span:last-child{font-weight:700;white-space:nowrap}
.pay-box{margin-top:16px;border-top:1px dashed #55555A;padding-top:14px}
.pay-title{font-weight:800;font-size:1.02rem;margin:0 0 10px;color:#F5F5F7}
.pay-opts{display:grid;gap:9px}
.pay-opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:start;
  border:1.5px solid #55555A;background:#2C2C2F;border-radius:11px;padding:12px 14px;cursor:pointer;
  min-height:3.4rem;transition:border-color .15s,background .15s;color:#F5F5F7}
.pay-opt .pay-opt-txt{display:grid;gap:2px;min-width:0}
.pay-opt .pay-opt-txt b{font-size:15.5px;font-weight:800;color:#F5F5F7}
.pay-opt .pay-opt-txt span{font-size:13px;color:#A3A3A3}
.pay-opt .pay-opt-amt{font-size:16px;font-weight:800;color:#F5F5F7;white-space:nowrap}
.pay-opt.sel{background:#1F1F22;border-color:var(--gold-o)}
.pay-opt:disabled{opacity:.5;cursor:not-allowed}
/* v345: the Confirm payment sheet is a smaller centered box with
   two option rows (selection circle at the right) and a gold Done. */
.sheet-overlay.sheet-center .sheet-panel{bottom:auto;top:50%;transform:translateY(-50%);width:min(86vw,350px);margin-inline:auto;border:1px solid var(--line);border-radius:20px;padding:16px 16px 18px;max-height:86vh}
.pay-opt-dot{flex:none;width:25px;height:25px;border-radius:50%;border:2px solid #55555A;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:transparent}
.pay-opt.sel .pay-opt-dot{background:var(--gold);border-color:var(--gold);color:#141414}
.fc-pay-done{width:100%;margin-top:14px;padding:13px 14px;border:0;border-radius:12px;background:var(--gold);color:#141414;font-weight:800;font-size:15.5px;cursor:pointer}
.fc-pay-done:disabled{opacity:.45;cursor:not-allowed}
html[data-theme="day"] .pay-opt-dot{border-color:#D9D0C2}
html[data-theme="day"] .pay-opt.sel .pay-opt-dot{background:#C6A15B;border-color:#C6A15B;color:#292724}
.pay-note{margin:10px 0 0;font-size:13.5px;line-height:1.45;color:#C8A96A;background:#2C2C2F;
  border:1px solid rgba(200,169,106,.45);border-radius:10px;padding:9px 11px}
/* v362: the customer's Zelle payment view + the driver's QR preview
   in Settings. Both modes via the theme variables. */
.zelle-box{margin-top:10px;border:1px solid rgba(200,169,106,.55);border-radius:14px;padding:12px;background:rgba(200,169,106,.06)}
.zelle-title{margin:0 0 8px;font-weight:800;font-size:.95rem;color:var(--ink,#F5F5F7)}
.zelle-row{display:flex;align-items:center;gap:8px;width:100%;text-align:start;background:none;border:0;border-bottom:1px solid rgba(200,169,106,.25);padding:8px 0;cursor:pointer;color:inherit;font:inherit}
.zelle-lbl{font-size:.78rem;color:#A3A3A3;flex:0 0 34%}
.zelle-val{font-weight:700;font-size:.9rem;flex:1;overflow-wrap:anywhere}
.zelle-copy{font-size:.7rem;color:var(--gold);white-space:nowrap}
.zelle-qr{display:block;width:min(230px,72vw);height:auto;margin:12px auto;border-radius:12px;background:#fff;padding:8px}
.zelle-amt{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:.92rem}
.zelle-amt b{color:var(--gold);font-size:1.05rem}
.zelle-memo{margin:8px 0 0;font-size:.82rem;color:#A3A3A3}
.pm-qr-prev{display:block;width:120px;height:120px;object-fit:contain;border-radius:10px;background:#fff;padding:6px;margin:0 0 8px}
.pm-qr-up{display:inline-block;cursor:pointer}
.pay-tips{display:flex;gap:8px;flex-wrap:wrap}
.pay-chip{border:1.5px solid #55555A;background:#2C2C2F;color:#F5F5F7;border-radius:999px;padding:9px 16px;
  font-size:14.5px;font-weight:800;cursor:pointer;min-height:2.7rem;transition:border-color .15s,background .15s}
.pay-chip.sel{background:#1F1F22;border-color:var(--gold-o)}
.trip-glance{margin:14px 0 4px;padding:12px 14px;border:1px solid #55555A;border-radius:14px;background:rgba(200,169,106,.06)}
.tg-line{font-size:.85rem;color:#A3A3A3;line-height:1.5}
.tg-main{color:#F5F5F7;font-weight:800;font-size:.92rem}
.tg-foot{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
.tg-total{color:#C8A96A;font-weight:800}
.cta-book-ol{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-size:17.5px;
  font-weight:800;color:#0A0A0A;background:#C8A96A;border:none;border-radius:14px;
  padding:15px 13px;cursor:pointer;box-shadow:0 12px 26px rgba(200,169,106,.38);min-height:3.5rem;margin-top:14px}
.cta-book-ol:active{transform:translateY(1px)}
.cta-book-ol:disabled{opacity:.65;cursor:default}
.cta-book-ol .ck{display:grid;width:21px;height:21px;flex:none}
.cta-book-ol .ck svg{width:100%;height:100%}

/* --------------------------------- bookings -------------------------------- */
.booking{border:1px solid var(--line);border-radius:14px;padding:12px;margin:9px 0;background:var(--ink)}
.booking.next{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.count-strip{margin-top:8px;border-top:1px dashed var(--line);padding-top:8px;font-weight:800;color:var(--gold-lt);font-size:13.5px}
.count-strip.alert{color:#ffb59d}
.leave-line{font-size:12.5px;color:var(--muted);font-weight:700;margin-top:3px}
.status-pills{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.status-pills button{flex:1;border:1.5px solid var(--line);background:var(--ink);color:var(--muted);
  border-radius:999px;padding:8px 4px;font-weight:700;font-size:13px}
.status-pills button.on{border-color:var(--gold);color:var(--gold-lt)}

/* --------------------------------- calendar -------------------------------- */
.cal-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 8px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-grid .dow{text-align:center;font-size:11px;color:var(--muted);font-weight:800;padding:3px 0}
/* Day detail under the grid — the original's .cal-day is a plain section
   (margin + hairline top border + padding), NOT a bordered box. The boxed
   min-height:40px rule that lived here was the old Stage-A cell design;
   no markup uses those cell classes any more. */
.cal-day{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}

/* --------------------------------- tracking -------------------------------- */
.track-top{position:relative;z-index:3;margin:10px 0}
.track-map{height:46dvh;border-radius:18px;overflow:hidden;background:#141415;border:1px solid var(--line);position:relative}
.track-map .nomap{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted)}
.track-map .pulse{width:18px;height:18px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 0 rgba(200,169,106,.6);animation:pulse 1.6s infinite}
@keyframes pulse{to{box-shadow:0 0 0 22px rgba(200,169,106,0)}}
.eta-strip{display:flex;justify-content:center;gap:8px;background:var(--card2);border:1px solid var(--gold);
  border-radius:999px;padding:8px 12px;font-weight:800;color:var(--gold-lt);margin:10px 0}
.track-driver{display:flex;gap:12px;align-items:center}
.track-driver img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2.5px solid var(--gold)}

/* Drivers list parity (original theme.css values): the whole card is the
   tap target (no Book button), translucent card with gold-tinted border,
   solid-gold "Available today" pill, rating · trips meta line, gold
   chevron, and the "Available on" date/time filter row. */
.driver-card{width:100%;display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.07);
  border:1px solid rgba(200,169,106,.28);border-radius:18px;padding:14px;color:var(--text);
  text-align:start;font:inherit;cursor:pointer}
.driver-card img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:2px solid var(--gold-o);flex:none}
.driver-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
/* Bookings Archive entry card: its title and subtitle spans (.dc-*)
   carry no styles of their own, so the two lines rendered run
   together in BOTH modes — stack them like every other card's main
   block. Separation only; wording, sizes and the card are unchanged. */
#dashArchive .dc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;text-align:start}
.driver-name{font-size:1.08rem;font-weight:800;line-height:1.3}
/* Stability fix (audit ب-25): person-name containers resolve their
   own direction (the dir="auto" behaviour, CSS form) — an Arabic
   name inside an LTR page (or a Latin name in RTL) no longer
   tangles with what follows it. Chat bubbles, booking route lines
   and the nav address sheet carry the dir="auto" attribute itself.
   Display only. */
.driver-name,.inbox-name{unicode-bidi:plaintext}
.driver-car{font-size:.84rem;color:#A3A3A3;line-height:1.3}
.driver-meta{display:flex;align-items:center;gap:6px;font-size:.8rem;color:#A3A3A3;margin-top:2px;flex-wrap:wrap}
.rating{display:inline-flex;align-items:center;gap:4px;color:var(--gold);font-weight:800}
.rating svg{width:14px;height:14px}
.driver-card .chev{width:20px;height:20px;color:var(--gold-o);flex:none;display:grid}
.driver-card .chev svg{width:100%;height:100%}
[dir="rtl"] .driver-card .chev{transform:scaleX(-1)}
.status-pill{font-size:.64rem;font-weight:800;color:#C8A96A;background:rgba(200,169,106,.14);
  border:1px solid rgba(200,169,106,.28);border-radius:999px;padding:1px 7px;flex:none}
.status-pill.unavail{color:#ffb3b3;background:rgba(176,42,42,.18);border-color:#d66}
.status-pill.cancelled{color:#ffb3b3;background:rgba(176,42,42,.18);border-color:#d66}
.status-pill.avail{color:#0A0A0A;background:#C8A96A;border-color:#C8A96A}
.fav-mark{display:inline-flex;align-items:center;gap:4px;color:var(--gold-o);font-weight:700}
.fav-mark svg{width:100%;height:100%}
.page-sub{margin:0 0 14px;font-size:.85rem;color:#A3A3A3}
/* "Available on" filter row — small + slim controls (owner order 2026-11-13
   ~19:41: «صعرهم وخليهم صغار ونحاف»): compact heights/widths, label flex:none
   and both inputs min-width:0 so the label never clips in LTR or RTL. */
.drivers-filter{display:flex;align-items:center;gap:7px;margin:4px 0 12px;max-width:100%}
.drivers-filter label{font-size:.82rem;font-weight:700;white-space:nowrap;flex:none;color:var(--text);text-transform:none;letter-spacing:0}
.drivers-filter input{flex:0 1 140px;min-width:0;width:auto;margin:0;background:rgba(6,6,6,.65);
  border:1px solid rgba(163,163,163,.35);border-radius:10px;padding:5px 9px;font-size:.82rem;
  min-height:2.1rem;color-scheme:dark}
.drivers-filter input[type=time]{flex-basis:106px}
.drivers-filter input:focus{outline:2px solid var(--gold-o);outline-offset:1px;border-color:var(--gold-o)}
.drivers-filter .df-clear{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;padding:0}
.drivers-filter-note{font-size:.85rem;color:#A3A3A3;margin:-4px 0 12px}

/* v373 (owner design picture 2026-12-02 14:05; cards only per his
   14:06 decision — the bottom bar is untouched): the standalone
   drivers list. Cover banner = the app cover with the brand lockup
   and a thin gold curve along its bottom; title + subtitle with
   the chauffeur medallion; filters row (gold sliders button + two
   white-pill dropdowns); cards with a rounded portrait, verified
   name, brand-logo car line, star rating / road trips meta, an
   availability pill and a gold circular arrow. Day = the app day
   spec (ivory ground, white cards, champagne/deep gold); night =
   jet black + matte gold. Same layout in both modes. */
.dl-cover{position:relative;margin:0 -14px;height:150px;overflow:hidden;background:#0A0A0A}
.dl-cover>img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
.dl-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,4,6,.30),rgba(4,4,6,0) 42%,rgba(4,4,6,.30));pointer-events:none}
.dl-cover::after{content:'';position:absolute;left:0;right:0;bottom:0;height:22px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23A7833F'/%3E%3Cstop offset='.5' stop-color='%23D9BC7A'/%3E%3Cstop offset='1' stop-color='%23B58A50'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M-2 16 C 110 21, 250 12, 392 4' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.dl-back{position:absolute;top:calc(10px + env(safe-area-inset-top));inset-inline-start:12px;z-index:2}
.dl-cover .back-btn,html[data-theme="day"] .dl-cover .back-btn{background:rgba(8,8,10,.48);border-color:rgba(255,255,255,.28);color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.dl-cover-lang{position:absolute;top:calc(10px + env(safe-area-inset-top));inset-inline-end:12px;z-index:2}
.dl-lockup{position:absolute;top:calc(14px + env(safe-area-inset-top));left:0;right:0;text-align:center;pointer-events:none;z-index:1}
.dl-lk{font-size:1.85rem;line-height:1;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.dl-lk-sub{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:5px;font-size:.58rem;font-weight:700;letter-spacing:.42em;color:#E7CD8F;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.dl-lk-sub::before,.dl-lk-sub::after{content:'';width:30px;height:1px;background:linear-gradient(90deg,transparent,#C6A15B)}
.dl-lk-sub::after{background:linear-gradient(90deg,#C6A15B,transparent)}
.dl-title-row{display:flex;align-items:center;gap:12px;padding:16px 0 0}
.dl-title-main{flex:1;min-width:0}
.dl-title{font-family:Manrope,system-ui,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.2;margin:0;color:var(--text)}
.dl-sub{margin:3px 0 0;color:var(--muted);font-size:.9rem;line-height:1.35}
.dl-medal{flex:none;width:52px;height:52px;border-radius:50%;background:#10151F;color:#C6A15B;display:grid;place-items:center;border:1px solid rgba(198,161,91,.55)}
.dl-medal svg{width:27px;height:27px}
.dl-filters{display:flex;gap:9px;margin:14px -6px}
.dl-fbtn{flex:none;width:44px;height:46px;border:0;border-radius:14px;background:linear-gradient(145deg,#DDBE7E,#B58A50);color:#17202A;display:grid;place-items:center;box-shadow:0 4px 10px rgba(0,0,0,.25);cursor:pointer}
.dl-fbtn svg{width:22px;height:22px}
.dl-sel{flex:1;min-width:0;display:flex;align-items:center;gap:5px;background:var(--ink);border:1px solid rgba(200,169,106,.38);border-radius:14px;padding:0 8px;height:46px;color:var(--gold-lt)}
.dl-sel-make{flex:.94}
.dl-sel-avail{flex:1.06}
html[data-theme="day"] .dl-sel{border-color:#D9D0C2;box-shadow:0 4px 12px rgba(41,39,36,.07)}
.dl-sel>svg{width:18px;height:18px;flex:none}
.dl-sel select{flex:1;min-width:0;appearance:none;-webkit-appearance:none;background:transparent;border:0;color:var(--text);font:inherit;font-weight:700;font-size:.72rem;letter-spacing:-.01em;height:100%;cursor:pointer;padding:0}
/* The narrowest phones: the pills' decorative leading marks step
   aside so the longest labels (German) still fit unclipped. */
@media (max-width:430px){.dl-photo{width:78px}.dl-rail{flex-basis:96px}}
@media (max-width:370px){.dl-sel-make>svg{display:none}.dl-sel-avail .dl-dot{display:none}.dl-sel{padding:0 6px}.dl-sel .chev-d{width:12px;height:12px}.dl-rail{flex-basis:86px}.dl-car .dl-carlogo{display:none}.dl-photo{width:72px}.dl-card{gap:10px}}
.dl-sel select:focus{outline:none}
.dl-sel .chev-d{width:14px;height:14px;color:var(--muted);flex:none}
.dl-dot{width:9px;height:9px;border-radius:50%;background:#2E9E63;flex:none}
.dl-dot.dim{background:#9A9A9A}
.dl-adv{margin-top:-2px}
.dl-card{width:100%;display:flex;gap:11px;align-items:stretch;background:var(--ink);border:1px solid rgba(200,169,106,.28);border-radius:20px;padding:11px;color:var(--text);text-align:start;font:inherit;cursor:pointer;margin-bottom:12px}
html[data-theme="day"] .dl-card{background:#FFFFFF;border-color:#D9D0C2;box-shadow:0 8px 20px rgba(41,39,36,.10)}
.dl-card.fav{border:1.5px solid var(--gold)}
html[data-theme="day"] .dl-card.fav{border-color:#C6A15B}
.dl-photo{flex:none;width:84px;min-height:112px;align-self:stretch;border-radius:15px;object-fit:cover;object-position:50% 18%;display:block}
.dl-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:2px 0}
.dl-name{display:flex;align-items:center;gap:7px;font-size:1.2rem;font-weight:800;line-height:1.25;color:var(--text)}
.dl-name-t{unicode-bidi:plaintext;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-verified{flex:none;display:grid}
.dl-verified svg{width:19px;height:19px}
.dl-car{display:block;font-size:.75rem;color:var(--muted);line-height:1.35}
.dl-car-t{white-space:normal}
.dl-carlogo{height:10px;width:auto;display:inline-block;vertical-align:-1px;margin-inline-end:4px}
.dl-favrow{margin-top:2px}
.dl-rail{flex:0 0 104px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.dl-carimg{width:100%;max-height:62px;object-fit:contain;display:block}
.dl-rail .dl-go{margin-top:auto}
.dl-meta{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted);margin-top:3px;flex-wrap:nowrap;white-space:nowrap}
.dl-sep{width:1px;height:14px;background:var(--line);flex:none}
.dl-trips{display:inline-flex;align-items:center;gap:5px}
.dl-trips svg{width:16px;height:16px;color:var(--gold-lt);flex:none}
.dl-pill{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:800;border-radius:999px;padding:3px 10px;margin-top:7px;align-self:flex-start;border:1px solid transparent;line-height:1.5;white-space:nowrap}
.dl-pill svg{width:12px;height:12px;flex:none}
.dl-pill .dl-dot{width:8px;height:8px}
.dl-pill.ok{background:rgba(46,158,99,.16);color:#3FBF7F;border-color:rgba(46,158,99,.45)}
html[data-theme="day"] .dl-pill.ok{background:#E3F3E7;color:#146C2E;border-color:rgba(20,108,46,.35)}
.dl-pill.later{background:rgba(163,163,163,.13);color:var(--muted);border-color:var(--line)}
.dl-pill.off{background:rgba(176,42,42,.15);color:#FF9D9D;border-color:rgba(214,102,102,.5)}
html[data-theme="day"] .dl-pill.off{color:#B02A2A}
.dl-go{flex:none;align-self:flex-end;width:40px;height:40px;border-radius:50%;background:linear-gradient(145deg,#DDBE7E,#B58A50);color:#17202A;display:grid;place-items:center;box-shadow:0 4px 10px rgba(0,0,0,.25)}
.dl-go svg{width:20px;height:20px}
[dir="rtl"] .dl-go svg{transform:scaleX(-1)}
.small-btn{border:1px solid var(--gold-o);background:transparent;color:var(--gold);border-radius:999px;
  padding:5px 14px;font-size:.85rem;font-weight:800;min-height:2rem;cursor:pointer}
/* Gold text link — borderless secondary action (Forgot password, back to
   sign in), same family as .home-foot-links buttons but in gold. */
.text-link{background:none;border:0;color:var(--gold);font-weight:700;font-size:.9rem;cursor:pointer;
  padding:6px 4px;min-height:2.2rem;text-decoration:underline;text-underline-offset:3px}

/* Status banner + standalone booking page (original theme.css / Booking.tsx):
   ⛔ closed / ✈ traveling / 🏖 off-today banner, and the summary chip that
   heads the standalone booking card. */
.status-banner{margin-top:12px;border-radius:14px;padding:12px 14px;font-weight:800;font-size:.95rem;
  text-align:center;background:rgba(176,42,42,.16);border:1.5px solid #d66;color:#ffb3b3}
.status-banner.travel{background:rgba(200,169,106,.14);border-color:var(--gold-o);color:var(--gold)}
.book-zone .status-banner{margin:0 0 12px}
.book-card-w.standalone{padding:30px 30px 26px;max-width:880px;margin-top:12px}
.summary-chip{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.07);border:1px solid rgba(200,169,106,.28);
  border-radius:18px;padding:11px 13px;margin-bottom:12px;color:#151517}
.summary-chip img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:2px solid var(--gold-o);flex:none}
.summary-chip .sc-name{font-size:.98rem;font-weight:800;line-height:1.3}
.summary-chip .sc-sub{font-size:.8rem;color:#5D5D61;line-height:1.3}
/* Stability fix (audit أ-8, NIGHT only): the chip lives inside the
   dark .book-card-w (#3A3A3E) but its text was near-black (#151517 /
   #5D5D61) — the service/driver name was unreadable at night. Night
   takes the card's standard light text + its in-card secondary; the
   day layer's colours are untouched. */
html[data-theme="night"] .summary-chip{color:#F5F5F7}
html[data-theme="night"] .summary-chip .sc-sub{color:#A3A3A3}

/* Profile below-card sections (original theme.css .al-root values):
   About block, cancellation fold with the three policy cards, and the
   Recent Reviews white card (stars + name + date row). */
.block-ol{padding:46px 0 4px}
.block-ol h2{font-family:"Playfair Display",serif;font-size:clamp(25px,6.4vw,32px);font-weight:600;color:#fff;line-height:1.15;margin:0}
.about-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:18px;background:#141416;
  border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:18px 14px}
.about-txt h3{font-family:Manrope,system-ui,sans-serif;font-size:20px;color:#fff;font-weight:600;margin:0}
.about-txt p{color:#A3A3A3;line-height:1.7;font-size:13.5px;margin:8px 0 0}
.about-txt .about-lede{color:#E9E9EC;font-size:13.5px;font-weight:600;margin:7px 0 0}
.about-points{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.about-points li{border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 11px;font-size:12px;font-weight:700;color:#E0E0E4}
.more-ol>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;
  color:#C8A96A;font-weight:800;font-size:13.5px;margin-top:11px;min-height:2.2rem}
.more-ol>summary::-webkit-details-marker{display:none}
.more-ol>summary .chev{transition:transform .2s;width:18px;height:18px;display:grid}
.more-ol>summary .chev svg{width:100%;height:100%}
.more-ol[open]>summary .chev{transform:rotate(180deg)}
.fold-ol{border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#141416}
.fold-ol>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:20px 22px;border-radius:18px;min-height:3rem}
.fold-ol>summary::-webkit-details-marker{display:none}
.fold-title-ol{font-family:"Playfair Display",Georgia,serif;font-size:clamp(24px,4vw,30px);font-weight:600;color:#fff;display:block}
.fold-sub-ol{display:block;font-family:Manrope,sans-serif;font-size:13.5px;font-weight:600;color:#A3A3A3;margin-top:4px}
.fold-ol>summary .chev{flex:0 0 auto;color:var(--gold-o);transition:transform .2s;width:22px;height:22px;display:grid}
.fold-ol>summary .chev svg{width:100%;height:100%}
.fold-ol[open]>summary .chev{transform:rotate(180deg)}
.fold-body-ol{padding:2px 22px 22px}
.policy-grid{display:grid;grid-template-columns:1fr;gap:14px}
.policy{background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:22px 18px}
.policy .when{font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#C8A96A}
.policy .amt{font-family:"Playfair Display",Georgia,serif;font-size:31px;color:#fff;margin:9px 0 7px}
.policy p{color:#A3A3A3;font-size:14.5px;line-height:1.6;margin:0}
.policy-note{color:#A3A3A3;font-size:14px;margin-top:16px}
/* Latest-reviews card compacted (owner order 2026-11-13: «صغره خليه صغير
   ولطيف» — small and neat, ~75–80% of the previous visual weight). CSS-only:
   same reviews, stars, names, dates, texts, order. Profile page only —
   the .reviews-card block above is a different surface and is untouched. */
.pf-reviews-block{padding-bottom:24px}
.pf-reviews-card{background:#fff;color:#151517;border-radius:18px;box-shadow:0 30px 60px rgba(0,0,0,.45);
  padding:18px 20px 6px;max-width:880px;margin:0 auto}
.pf-reviews-card h2{font-family:Manrope,system-ui,sans-serif;font-size:20px;font-weight:800;letter-spacing:-.01em;color:#151517;margin:0 0 2px}
.pf-reviews-card .pf-review{padding:10px 0 11px}
.pf-reviews-card .pf-review + .pf-review{border-top:1px solid #E8E8EB}
.pf-review-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pf-rev-stars{display:inline-flex;gap:2px;color:var(--gold-o)}
.pf-rev-star{width:13px;height:13px;display:grid;place-items:center}
.pf-rev-star svg{width:13px;height:13px}
.pf-rev-star.off{color:#D9D9DE}
.pf-review-name{font-size:14px;font-weight:800;color:#151517}
.pf-review-date{margin-inline-start:auto;font-size:11.5px;font-weight:600;color:#949494;white-space:nowrap}
.pf-review-comment{margin:5px 0 0;font-size:13px;line-height:1.5;color:#404046}

/* My Bookings cards (original theme.css .booking-item values): compact
   translucent cards, head row (service · status pill · gold price),
   .76rem lines, 2-line route clamp that expands on tap, meeting-point
   card, inline star rating, tight .small-btn action row. */
.booking-item{background:rgba(255,255,255,.07);border:1px solid #A7833F;border-radius:18px;padding:8px 10px;margin-bottom:8px;box-shadow:0 8px 22px rgba(255,255,255,.10)}
.booking-item .b-head{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:2px}
.booking-item .b-service{font-weight:800;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.booking-item .b-line{font-size:.76rem;color:#A3A3A3;line-height:1.3}
.booking-item .b-route{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;cursor:pointer}
.booking-item .b-route.open{display:block;-webkit-line-clamp:unset;overflow:visible}
.booking-item .b-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px}
.booking-item .small-btn{padding:4px 11px;font-size:.76rem;min-height:1.9rem;text-decoration:none;display:inline-grid;place-items:center}
.booking-item .b-price{font-size:.92rem;font-weight:800;color:var(--gold)}
.booking-item .status-pill.confirmed{color:#146c2e;background:rgba(31,170,83,.15);border-color:rgba(31,170,83,.5)}
.booking-item .status-pill.cancelled{color:#ffb3b3;background:rgba(176,42,42,.18);border-color:#d66}
.booking-item .rated-stars{font-size:.82rem;letter-spacing:1px;color:var(--gold-o)}
.booking-item .stars-input{gap:3px;margin:5px 0}
.booking-item .stars-input button svg{width:22px;height:22px}
.stars-input{display:flex;gap:6px;margin:8px 0;direction:ltr}
.stars-input button{background:transparent;border:0;padding:2px;min-height:2rem;color:rgba(163,163,163,.5);cursor:pointer}
.stars-input button svg{width:30px;height:30px}
.stars-input button.on{color:var(--gold-o)}
.meet-card{margin-top:6px;padding:7px 10px;border:1.5px solid rgba(200,169,106,.6);border-radius:10px;background:rgba(200,169,106,.08)}
.meet-card-title{font-size:.72rem;font-weight:800;color:var(--gold);text-transform:uppercase;letter-spacing:.04em}
.meet-card-body{font-size:.85rem;font-weight:800;color:var(--text);margin-top:2px}
.meet-card-driver{font-size:.76rem;color:#A3A3A3;margin-top:1px}
.empty-box{text-align:center;color:#A3A3A3;padding:34px 16px;font-size:.92rem}
.empty-box svg{width:44px;height:44px;color:var(--gold-o);opacity:.7;margin-bottom:8px}
.brand-inline{display:flex;align-items:center;gap:8px}

/* FAQ + About (original theme.css values): accordion cards, rate-group
   panels, check lists, brand lockup. */
.faq-item{border:1px solid rgba(163,163,163,.35);border-radius:14px;background:rgba(6,6,6,.65);margin-bottom:10px;overflow:hidden}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:none;border:none;color:var(--text);font-size:.95rem;font-weight:800;text-align:start;cursor:pointer;min-height:3rem}
.faq-chev{display:grid;place-items:center;width:18px;height:18px;color:var(--gold-o);flex:none;transition:transform .2s}
.faq-chev.open{transform:rotate(180deg)}
.faq-chev svg{width:100%;height:100%}
.faq-a{margin:0;padding:0 16px 15px;font-size:.9rem;line-height:1.65;color:#C5C5CB}
.rate-group{background:rgba(255,255,255,.07);border:1px solid rgba(200,169,106,.28);border-radius:18px;padding:12px 14px;margin-bottom:10px}
.rate-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:6px 0;font-size:.88rem}
.rate-row + .rate-row{border-top:1px dashed rgba(163,163,163,.18)}
.terms-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.terms-list li{display:flex;gap:10px;font-size:.92rem;line-height:1.55;color:var(--text)}
.note-line{font-size:.8rem;color:#A3A3A3;margin-top:7px;line-height:1.45}
.info-section{margin-top:22px}
.info-section > h3{margin:0 0 10px;font-size:1.02rem;font-weight:800;color:var(--gold)}
.brand-lockup-wrap{display:flex;justify-content:center;margin:12px 0 2px}
.brand-lockup-text{display:inline-flex;align-items:center;gap:12px}
.brand-lockup-text-col{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.brand-lockup-text-name{font-family:Manrope,system-ui,sans-serif;font-size:1.85rem;font-weight:900;letter-spacing:.01em;line-height:.82;color:var(--gold);white-space:nowrap}
.brand-lockup-text-word{font-family:"Playfair Display",serif;font-size:1.05rem;font-weight:700;letter-spacing:.3em;line-height:.8;color:#fff;white-space:nowrap}
.brand-lockup-rule{display:block;width:100%;height:1px;margin:0;
  background:linear-gradient(90deg,rgba(200,169,106,.9),rgba(200,169,106,.3))}
.brand-lockup-text-sub{font-family:"Playfair Display",serif;font-size:.64rem;font-weight:600;letter-spacing:.26em;line-height:1.2;color:var(--gold-lt);white-space:nowrap}

/* Pass 8 — home footer links, Policies folds, white My-Bookings scope. */
.home-foot{margin-top:34px;padding:20px 4px 12px;border-top:1px solid rgba(200,169,106,.25);display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center}
.home-foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px}
.home-foot-links button{background:none;border:0;padding:6px 2px;font-size:.85rem;font-weight:700;color:#A3A3A3;cursor:pointer;min-height:2.2rem}
.home-foot-links a{display:inline-flex;align-items:center;padding:6px 2px;font-size:.85rem;font-weight:700;color:#A3A3A3;text-decoration:none;min-height:2.2rem}
.home-foot-links button:active{color:var(--gold-b)}
.rate-row .v{font-weight:800;color:var(--gold);white-space:nowrap}
.terms-list li.key-term{background:rgba(200,169,106,.14);border:1.5px solid var(--gold-o);border-radius:12px;padding:12px 13px;font-size:1rem;font-weight:800;color:#fff;align-items:flex-start}
.fold-p{background:rgba(255,255,255,.07);border:1px solid rgba(200,169,106,.28);border-radius:18px;margin-top:14px;margin-bottom:12px}
.fold-p summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;min-height:3rem;cursor:pointer}
.fold-p summary::-webkit-details-marker{display:none}
.fold-p .f-title{font-size:1rem;font-weight:800;color:var(--gold);line-height:1.3;display:block}
.fold-p .f-sub{font-size:.8rem;color:#A3A3A3;margin-top:1px;line-height:1.4;display:block}
.fold-p .f-chev{width:20px;height:20px;color:var(--gold-o);display:grid;flex:none;transition:transform .2s ease}
.fold-p[open ] .f-chev{transform:rotate(180deg)}
.fold-p-body{border-top:1px dashed rgba(163,163,163,.18);padding:12px 14px 14px}
.fold-p-body .rate-group{margin-bottom:0}
/* The original's customer bookings zone is WHITE cards (#viewAccount). */
.bk-white .booking-item{background:#3A3A3E;color:#F5F5F7;border:1px solid #A7833F;border-radius:14px;box-shadow:0 10px 22px rgba(0,0,0,.28);padding:9px 11px}
.bk-white .booking-item .b-line{color:#A3A3A3}
.bk-white .booking-item .b-price{color:#F5F5F7;font-family:"Playfair Display",serif;font-size:1rem}
.bk-white .booking-item .status-pill{color:#C8A96A;background:rgba(200,169,106,.16);border-color:rgba(200,169,106,.5)}
.bk-white .booking-item .status-pill.confirmed{color:#146c2e;background:rgba(31,170,83,.15);border-color:rgba(31,170,83,.5)}
.bk-white .booking-item .status-pill.cancelled{color:#ffb3b3;background:rgba(176,42,42,.18);border-color:#d66}
.bk-white .booking-item .small-btn{border-color:#C8A96A;color:#C8A96A}
.bk-white .meet-card-body{color:#F5F5F7}
.bk-white .meet-card-driver{color:#A3A3A3}
.bk-white .booking-item textarea{background:#2C2C2F;border-color:#55555A;color:#F5F5F7;color-scheme:dark}
.fav-btn{width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(200,169,106,.5);background:transparent;color:#C8A96A;display:grid;place-items:center;cursor:pointer;padding:0}
.fav-btn svg{width:18px;height:18px}
.fav-btn.on{color:#C8A96A}

/* Account (original CustomerAuth values): gold-label fields, dark
   inputs, tab pill active state, inline error line, identity card. */
/* GLOBAL compact fields (owner order 2026-11-17 ~11:33, standing rule:
   «خلي كل الخانات بكل الصفحات صغيره… مش ضروري ع كل بكس اقولك» — he must
   never have to ask per box again). The v188 verification-gate sizing is
   now the app-wide standard: inputs ~2.25rem tall (padding 6-7px), field
   rows tightened (9px gaps, label 3px), form-sized buttons ~2rem.
   SIZE ONLY — same colours, fonts, borders, radius, texts and flow;
   primary page buttons (.btn, .wide-save, trip-page controls) untouched. */
.field{margin-bottom:9px}
.field label{display:block;font-size:.82rem;font-weight:700;color:var(--gold);margin-bottom:3px}
.input{width:100%;background:rgba(6,6,6,.65);border:1px solid rgba(163,163,163,.35);border-radius:12px;padding:6px 11px;font-size:.95rem;min-height:2.25rem;color:var(--text);color-scheme:dark}
.input:focus{outline:2px solid var(--gold-o);outline-offset:1px}
/* Verification gate — compact sizing (owner order 2026-11-17 10:27:
   the two channel boxes filled the whole phone screen — «البكسات عن
   التوثيق صغيره مش تشل حجم الشاشه كامل»). SIZE ONLY: same colours,
   fonts, borders, radius, texts and flow — tighter padding, gaps,
   input height and button height, scoped to the gate screen alone so
   the email + phone sections fit one phone screen. */
.verify-gate .page-sub{margin-bottom:8px;font-size:.82rem;line-height:1.4}
.verify-gate .vg-row{padding:7px 10px;margin-bottom:9px}
.verify-gate .vg-label{font-size:.93rem}
.verify-gate .field{margin-bottom:6px}
.verify-gate .field label{font-size:.78rem;margin-bottom:3px}
.verify-gate .input{min-height:2.25rem;padding:6px 11px;font-size:.92rem}
.verify-gate .small-btn{min-height:1.95rem;padding:3px 14px;font-size:.8rem}
.verify-gate .note-line{margin-top:4px}
.acct-tab.on{background:var(--gold-o);border-color:var(--gold-o);color:#0A0A0A}
.route-status.err{color:#e88;font-size:.85rem;margin:0 0 8px}
.id-card{display:flex;align-items:center;gap:10px}
.ltr{direction:ltr;unicode-bidi:isolate}

/* ============================ driver dashboard ============================ */
/* The original's .dash-al scope: navy-2 panels, white pills/cards, gold
   accents — every value from Dashboard.tsx/theme.css via the diff. */
.dash{padding-bottom:8px}
.dash-top-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0 12px}
.dash-top-row .dn{font-size:1.05rem}
.dash-gear-btn{display:inline-flex;align-items:center;gap:7px;background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:8px 15px;min-height:2.6rem;font-size:14.5px;font-weight:800;color:#fff;cursor:pointer}
.dash-ico-btn{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;flex:none;background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:0;color:var(--gold);cursor:pointer}
.dash-ico-btn svg{width:20px;height:20px}
.dash-driver-card{display:flex;gap:14px;align-items:center;background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:24px 22px}
.dash-driver-card img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:3px solid var(--gold-o);flex:none}
.dash-driver-card .driver-name{font-size:1.08rem;font-weight:800;line-height:1.3}
.dash-driver-card .driver-car{font-size:.84rem;color:#A3A3A3}
.dash-driver-card .meta1{font-size:.8rem;color:#A3A3A3;margin-top:2px}
.dash-driver-card .meta1 .rating{color:var(--gold-lt);font-weight:800}
.dash-driver-card .meta1 .rating svg{width:14px;height:14px;vertical-align:-2px}
.dash-driver-card .meta2{font-size:.8rem;color:#A3A3A3;margin-top:2px}
.dash-status-pills{display:flex;gap:6px;margin-top:10px}
.dash-status-pills button{flex:1;border:1.5px solid #E4E4E7;background:#fff;color:#5D5D61;border-radius:999px;padding:4px 6px;font-size:11.5px;font-weight:700;min-height:1.65rem;cursor:pointer}
.dash-status-pills button.active{background:#141416;color:#fff;border-color:#141416}
.dash-status-pills button.active.off{background:#a12b2b;border-color:#a12b2b}
.dash-status-pills .dayoff-pill{border-style:dashed;background:transparent;color:#A3A3A3;border-color:rgba(163,163,163,.5)}
.dash-status-pills .dayoff-pill.open{background:rgba(200,169,106,.22);color:var(--gold-lt);border-color:var(--gold-o);border-style:solid}
.book-card-w{background:#3A3A3E;color:#F5F5F7;border-radius:22px;box-shadow:0 30px 60px rgba(0,0,0,.45);padding:22px 18px 18px}
/* The profile + standalone BOOKING cards keep the original .book-card
   padding (30px 30px 26px) — the 22/18/18 above serves the dashboard's
   white panels. The profile zone drops its second 14px gutter (the
   original's .wrap-ol.pf-book-zone zeroes it: the card's only side
   margin is the page's 14px), and the standalone card takes the
   original wrap's 14px as a side margin (page 14 + wrap 14 = the
   original's 28px card inset on the booking page). */
.book-zone .book-card-w,.book-card-w.standalone{padding:30px 30px 26px}
.book-zone.pf-book-zone{padding:0}
/* Owner order 2026-11-13 (~17:53): the driver profile's white sheet
   shrinks a bit from the screen edges — +10px side inset on the profile
   book-zone only. Scoped via #bookingCard (unique to renderProfile):
   the vault person page shares .pf-book-zone but holds .vault-doc
   boxes, so it keeps padding:0. */
.book-zone.pf-book-zone:has(> #bookingCard){padding:0 10px}
/* Booking-card SIZE parity with the original app (owner order 2026-11-13
   ~19:47: «خليه صغير مثل التطبيق حقك» — his side-by-side showed the
   rebuild's card roomier than the original's). Values copied from the
   original's theme.css, including its responsive cascade — base
   30px 30px 26px is already above; the original then steps the card
   down at 1020 / 860 / 640 and the title at 400:
     <=1020  padding 28px 24px 24px
     <=860   padding 24px 18px 20px, radius 18px, h2 25px, lede 14.5px
     <=640   padding 22px 16px 18px
     <=400   h2 23px
   The profile zone's owner-ordered +10px side inset (0b10cba, above)
   is a LATER owner order and stays untouched. */
@media (max-width:1020px){.book-zone .book-card-w,.book-card-w.standalone{padding:28px 24px 24px}}
@media (max-width:860px){.book-zone .book-card-w,.book-card-w.standalone{padding:24px 18px 20px;border-radius:18px}.book-card-w h2{font-size:25px}.book-card-w .lede{font-size:14.5px}}
@media (max-width:640px){.book-zone .book-card-w,.book-card-w.standalone{padding:22px 16px 18px}}
@media (max-width:400px){.book-card-w h2{font-size:23px}}
/* The original's in-card form fields sit in .addr-compact — the compact
   field set (input padding 7px 10px, font 15px, radius 9px; label 11px;
   field gap 3px / margin-bottom 8px; the airport direction seg at
   padding 7px 8px, font 13.5px, radius 9px, no min-height; the meeting
   line at .78rem). The rebuild's top-level booking fields are the direct
   children of #bfFields (the Trip Details fold body already carries the
   same compact values via .fold-body), so the compact set is scoped to
   exactly those children — nothing outside the booking form changes. */
#bfFields > .fld,#bfFields > .grid2w > .fld{gap:3px;margin-bottom:8px}
#bfFields > .fld > label,#bfFields > .grid2w > .fld > label{font-size:11px;letter-spacing:.03em}
#bfFields > .fld .inp,#bfFields > .grid2w > .fld .inp{padding:7px 10px;font-size:15px;border-radius:9px}
#bfFields > .grid2w{gap:8px}
#bfFields > .seg-w{margin-bottom:8px}
#bfFields > .seg-w button{padding:7px 8px;min-height:0;font-size:13.5px;border-radius:9px}
#bfFields > .meet-line{margin:1px 0 8px;font-size:.78rem;line-height:1.3}
/* v205: the add-stop block lives inside #bfFields in every booking
   form; its fields wear the same compact set as the form's own
   fields (the standing compact-fields rule), and its toggle is a
   small gold-outlined button in the app's existing style. */
#bfFields > #bkStops > .fld{gap:3px;margin-bottom:8px}
#bfFields > #bkStops > .fld > label{font-size:11px;letter-spacing:.03em}
#bfFields > #bkStops .inp{padding:7px 10px;font-size:15px;border-radius:9px}
.stop-row{display:flex;gap:8px;align-items:stretch}
/* v270 waypoint drag: the ⠿ handle at the row's start (gold,
   grab cursor, touch-action none so a touch drag reorders instead
   of scrolling) + the pickup «Fixed» pill in the label. */
.wp-drag{flex:0 0 auto;width:30px;border:0;background:transparent;color:var(--gold);font-size:1.05rem;line-height:1;cursor:grab;touch-action:none;padding:0;font-family:inherit}
.wp-drag:active{cursor:grabbing}
.wp-row.wp-dragging{position:relative;z-index:5;opacity:.9}
.wp-row.wp-dragging .stop-row{box-shadow:0 10px 24px rgba(0,0,0,.35);border-radius:12px}
.wp-fixed{display:inline-block;background:var(--gold);color:var(--ink-gold);border-radius:999px;padding:1px 9px;font-size:.72rem;font-weight:800;vertical-align:2px}
.stop-row .inp{flex:1;min-width:0}
.stop-x{flex:0 0 auto;width:34px;border:1.5px solid #55555A;background:#2C2C2F;color:#F5F5F7;border-radius:9px;font-size:14px;cursor:pointer;padding:0}
/* Stop reorder pair (owner order 2026-11-19 ~13:35): compact
   ↑ ↓ buttons in the ✕ button's own face (same dark face in
   both modes, like .stop-x), stacked in the row's height. */
.stop-mv-w{display:flex;flex-direction:column;gap:4px;flex:0 0 auto}
.stop-mv{flex:1 1 0;width:26px;border:1.5px solid #55555A;background:#2C2C2F;color:#F5F5F7;border-radius:7px;font-size:11px;line-height:1;cursor:pointer;padding:0}
.stop-mv:disabled{opacity:.35;cursor:default}
/* Stop deletion on the trip page (owner 2026-11-19): the compact
   round delete control on each upcoming stop's details-strip
   line — the same dark face as the form's stop buttons, so it
   reads identically in both modes. */
.tp-stop-del{margin-inline-start:8px;width:26px;height:26px;border-radius:50%;border:1.5px solid #55555A;background:#2C2C2F;color:#F5F5F7;font-size:.78rem;line-height:1;cursor:pointer;font-family:inherit;vertical-align:middle;padding:0}
.tp-stop-del.armed{width:auto;height:26px;border-radius:999px;padding:0 10px;font-size:.72rem;font-weight:700;color:#fff;background:#B3261E;border-color:#B3261E}
.stop-add{display:block;width:100%;margin:2px 0 8px;padding:7px 10px;border:1.5px dashed #C8A96A;background:rgba(200,169,106,.08);color:#C8A96A;border-radius:9px;font-size:13.5px;font-weight:700;cursor:pointer}
.book-card-w.standalone{margin:0 14px}
.book-card-w .small-btn{background:#2C2C2F;border:1.5px solid #55555A;color:#F5F5F7;border-radius:999px;padding:6px 13px;font-size:14px;min-height:2rem}
.book-card-w .small-btn.wide-save{width:100%;border-color:#F5F5F7;border-radius:14px;padding:13px;font-size:16px;min-height:3.2rem}
.book-card-w .input{background:#F5F5F7;border:1.5px solid #E4E4E7;color:#151517;color-scheme:light;border-radius:11px;padding:6px 11px;font-size:.95rem}
/* (v210, audit ج-21: padding/font aligned to the compact .input
   standard — this rule used to make booking-card fields ~40-42px
   tall against the app-wide ~36px.) */
.book-card-w .input:focus{border-color:var(--gold-o);background:#fff;outline:none}
.dayoff-panel{margin-top:10px}
.rate-group.light{background:#F5F5F7;border:1px solid #E4E4E7;border-radius:18px;padding:12px 14px}
.dayoff-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:.9rem}
.wd-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.wd-chip{padding:7px 11px;border-radius:999px;border:1.5px solid rgba(163,163,163,.35);background:#fff;font-size:.82rem;font-weight:700;cursor:pointer;color:#151517}
.wd-chip.sel{border-color:var(--gold-o);background:rgba(200,169,106,.14);color:#C8A96A}
.mini-switch{width:36px;height:21px;border-radius:999px;border:1.5px solid #C9C9CE;background:#E8E8EC;position:relative;cursor:pointer;flex:none;padding:0;transition:background .15s,border-color .15s}
.mini-knob{position:absolute;top:2px;inset-inline-start:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,15,17,.35);transition:transform .15s}
.mini-switch.on{background:#C8A96A;border-color:#C8A96A}
.mini-switch.on .mini-knob{transform:translateX(15px)}
/* Stability fix (audit أ-9): in RTL the knob starts at the RIGHT
   (inset-inline-start) and the +15px shift pushed it further right,
   overflowing the 36px track by ~13px over the neighbouring label.
   RTL flips the shift's sign; LTR is unchanged. */
html[dir="rtl"] .mini-switch.on .mini-knob{transform:translateX(-15px)}
.rate-group.dash-group{background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:24px 22px}
.info-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:.9rem}
.info-row + .info-row{border-top:1px dashed rgba(163,163,163,.18)}
.info-row .k{color:#A3A3A3}
.info-row .v{font-weight:700;color:#fff;min-width:0;overflow-wrap:anywhere}
/* (v210, audit ب-24: .v values are free data — full pickup
   addresses, "driver · car" lines — and nowrap used to push them
   past the card edge where #view's overflow-x:hidden clipped them
   silently. They wrap now.) */
.week-bar{height:9px;border-radius:999px;background:rgba(163,163,163,.25);margin:8px 0 4px;overflow:hidden}
.week-bar span{display:block;height:100%;background:#C8A96A;transition:width .3s}
.dash-nav{display:grid;gap:10px;margin-top:16px}
.dash-nav-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1.5px solid rgba(255,255,255,.14);background:#141416;border-radius:14px;padding:13px 15px;min-height:3.1rem;cursor:pointer;color:#fff;text-align:start;width:100%}
.dash-nav-btn.gold{border-color:rgba(200,169,106,.55);background:rgba(200,169,106,.08)}
.dash-nav-btn .df-title{font-size:18.5px;font-weight:800;color:#fff;display:flex;align-items:center;gap:9px}
.dash-nav-btn .df-title svg{width:20px;height:20px;color:var(--gold)}
.dash-nav-btn .df-chev{width:20px;height:20px;color:var(--gold-o);display:grid;flex:none}
.dash-fold{margin-top:34px}
.dash-fold summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 2px 12px;min-height:2.8rem;cursor:pointer}
.dash-fold summary::-webkit-details-marker{display:none}
.dash-fold .df-title{font-size:18.5px;font-weight:800;color:#fff}
.dash-fold .df-chev{width:20px;height:20px;color:var(--gold-o);display:grid;flex:none;transition:transform .2s}
.dash-fold[open ] .df-chev{transform:rotate(180deg)}
.logout-btn{margin-top:16px;width:100%;justify-content:center;background:#fff;border:1.5px solid #E4E4E7;color:#151517;border-radius:999px;padding:9px 15px;font-size:14px;min-height:2.4rem;display:flex}
/* dashboard booking cards */
.booking-item.dash-item{background:#141416;border:1px solid rgba(255,255,255,.12);padding:7px 10px;margin:6px 0 0}
.booking-item.dash-item .b-line{color:#A3A3A3}
.booking-item.dash-item .status-pill{color:#C8A96A;background:rgba(200,169,106,.14);border-color:rgba(200,169,106,.28)}
.booking-item.dash-item .status-pill.confirmed{color:#7be495;background:rgba(31,170,83,.18);border-color:rgba(31,170,83,.55)}
.booking-item.dash-item .status-pill.cancelled{color:#ffb3b3;background:rgba(176,42,42,.18);border-color:#d66}
.booking-item .status-pill.next-pill{background:#C8A96A;color:#0A0A0A;border-color:#C8A96A}
/* «New Trip» marker (owner order 2026-11-19 ~13:43): the pending
   request's pill stays in the status-pill family — the standing
   gold tint with a STRONGER gold outline and heavier type, so it
   reads as "needs approval" at a glance. Deliberately NOT a
   gold-filled box. The day twin below deepens it to Deep Gold. */
.booking-item .status-pill.new-trip-pill{border:1.5px solid rgba(200,169,106,.9);font-weight:900}
.b-countdown{display:flex;gap:6px;margin-top:7px;padding:5px 9px;border-radius:9px;background:rgba(200,169,106,.15);border:1px solid rgba(200,169,106,.5);color:var(--gold);font-size:.76rem;font-weight:800}
.b-countdown.urgent{background:rgba(224,82,82,.16);border-color:rgba(224,82,82,.65);color:#ff9c9c}
.b-leave-count{margin-top:4px;padding:0 2px;color:var(--gold);font-size:.74rem;font-weight:700}
.driver-arrived-line{color:var(--gold);font-weight:800;font-size:.8rem;margin-top:6px}
.leave-now-box{margin-bottom:8px}
.leave-now-lbl{font-size:.8rem;font-weight:800;color:#C8A96A;margin-bottom:6px}
.leave-go-btn{width:100%;min-height:3rem;border-radius:12px;border:0;background:#C8A96A;color:#0A0A0A;font-size:1.02rem;font-weight:900;letter-spacing:.01em;box-shadow:0 4px 14px rgba(200,169,106,.35);cursor:pointer}
.leave-go-btn.go-failed{background:linear-gradient(160deg,#a83a3a,#8c2b2b 55%,#6e1f1f);color:#fff;font-size:.86rem;box-shadow:0 4px 14px rgba(140,43,43,.4)}
.trip-share-line{font-size:.82rem;font-weight:700;margin:2px 0 4px;color:#A6A6A6}
.chat-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#c0392b;color:#fff;font-size:.72rem;font-weight:800}
.tab-badge{position:absolute;top:2px;inset-inline-end:calc(50% - 20px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#c0392b;color:#fff;font-size:.68rem;font-weight:800;display:flex;align-items:center;justify-content:center}
#tabbar button{position:relative}
/* Notifications bell tab (v192, owner order 2026-11-17 ~11:41): the
   unread badge rides the bell icon; the bar itself never flips (dir=ltr
   in the markup), so the offset is physical. */
#tabbar .tab-ic-wrap{position:relative;display:grid;place-items:center}
#tabbar .tab-badge{position:absolute;top:-4px;right:-10px}
.chat-slot{margin-top:6px}
/* Bookings face organization (2026-11-14): slim totals strip, day-filter
   chip, and the Archive month headers shared by both archive pages. */
.bk-totals{display:flex;align-items:center;gap:10px;margin-top:12px;padding:7px 12px;border:1px solid rgba(200,169,106,.28);border-radius:12px;background:rgba(255,255,255,.07);font-size:.84rem;color:#A3A3A3}
.bk-totals b{color:#fff;font-weight:800}
.bk-totals-sep{width:1px;align-self:stretch;background:rgba(163,163,163,.25)}
/* v322 REVISION: the owner «System» button row at the top of his
   driver-face notifications page — one compact button, end side. */
.sys-row{display:flex;justify-content:flex-end;gap:8px;margin:2px 0 8px}
/* v325: swipe-to-archive feedback — the row slides out and fades
   (both modes; colour-free motion only). */
.notif-row{transition:transform .18s ease,opacity .18s ease}
.notif-row.notif-archiving{transform:translateX(24px);opacity:0}
/* v322 offer card (owner-approved design 2026-11-28): a driver's NEW
   request as an offer-style card — gold pill + service chip, date ·
   time, flight row, dotted route points, the customer's note, and
   the price bar with the round gold arrow. Night face first; the
   day face follows the standing day palette (white card, charcoal
   ink, warm-grey bar) with the same gold. */
.offer-card{background:#17171A;border:1px solid rgba(200,169,106,.35);border-radius:18px;padding:14px;margin-bottom:12px;cursor:pointer;color:#F5F5F7;transition:transform .18s ease,opacity .18s ease}
.offer-card.notif-archiving{transform:translateX(24px);opacity:0}
.offer-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.offer-pill{background:linear-gradient(135deg,#C6A15B,#A7833F);color:#17130A;font-weight:800;font-size:.78rem;padding:5px 12px;border-radius:999px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.offer-chip{border:1px solid rgba(200,169,106,.6);color:#C6A15B;font-size:.78rem;font-weight:700;padding:4px 12px;border-radius:999px;white-space:nowrap;flex:0 0 auto}
.offer-when{font-size:1.12rem;font-weight:800;margin-bottom:6px}
.offer-flight{color:#C6A15B;font-weight:700;margin-bottom:6px}
.offer-flight .b-line{color:inherit}
.offer-route{margin:8px 0 4px}
.offer-pt{display:flex;gap:10px;align-items:flex-start;position:relative;padding-bottom:10px}
.offer-pt:last-child{padding-bottom:0}
.offer-pt::before{content:'';position:absolute;inset-inline-start:5px;top:17px;bottom:-1px;border-inline-start:2px dotted rgba(200,169,106,.55)}
.offer-pt:last-child::before{display:none}
.offer-dot{flex:0 0 auto;width:12px;height:12px;border-radius:50%;margin-top:3px}
.offer-dot.from{border:2px solid #C6A15B}
.offer-dot.to{background:#C6A15B}
.offer-addr{font-weight:600}
.offer-note{color:#A3A3A3;margin:6px 0 2px}
.offer-bar{display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.10);border-radius:999px;padding:6px 8px;padding-inline-end:18px;margin-top:12px}
.offer-price{font-size:1.25rem;font-weight:800}
.offer-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#C6A15B,#A7833F);color:#17130A;font-size:1.15rem;flex:0 0 auto}
html[dir="rtl"] .offer-arrow{transform:scaleX(-1)}
/* v354: the offer bar is a live slide-to-confirm track — the gold
   fill grows behind the dragged arrow (bindOfferSlide paints its
   width), the price stays above the fill, and touch drags on the
   bar never scroll the page. */
.offer-bar.offer-slide{position:relative;overflow:hidden;touch-action:none}
.offer-fill{position:absolute;top:0;bottom:0;inset-inline-start:0;width:0;background:rgba(198,161,91,.45);pointer-events:none}
.offer-slide .offer-arrow{position:relative;z-index:2}
.offer-slide .offer-price{position:relative;z-index:1}
/* v354-amend: the centred slide label — ENGLISH main line, small
   Arabic line under it (the End-trip confirmation pattern). It is
   centred over the whole bar, takes no pointer events, and
   bindOfferSlide fades it as the fill advances. */
.offer-slide-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.15;pointer-events:none;z-index:1}
.offer-slide-en{font-size:.9rem;font-weight:800}
.offer-slide-ar{font-size:.66rem;font-weight:700;opacity:.82}
html[data-theme="day"] .offer-card{background:#FFFFFF;color:#292724;border-color:rgba(167,131,63,.45)}
html[data-theme="day"] .offer-note{color:#77736B}
html[data-theme="day"] .offer-bar{background:#E8E0D2}
/* Slim monthly strip (owner order 2026-11-28): the bk-totals face,
   thinned to one calm line directly under the driver Bookings tabs. */
.bk-totals.monthly{margin:0 0 10px;padding:5px 11px;border-radius:10px;font-size:.78rem;white-space:nowrap;overflow:hidden}
.bk-filter-row{margin-top:10px}
.bk-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1.5px solid var(--gold-o);background:rgba(200,169,106,.14);color:var(--gold-lt);font-size:.82rem;font-weight:800;cursor:pointer}
.bk-chip-x{font-size:.78rem;color:#fff;background:rgba(176,42,42,.75);border-radius:50%;width:18px;height:18px;display:inline-grid;place-items:center}
.bk-month-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:16px 2px 8px;padding-bottom:6px;border-bottom:1px solid rgba(200,169,106,.25);font-weight:800;font-size:.95rem;color:var(--gold-lt)}
.bk-month-meta{font-size:.76rem;font-weight:700;color:#A3A3A3;white-space:nowrap}
.bk-white .bk-month-head{color:#C8A96A;border-bottom-color:rgba(200,169,106,.4)}
.bk-white .bk-month-meta{color:#A3A3A3}
.chat-box{margin-top:8px;border:1.5px solid rgba(200,169,106,.35);border-radius:14px;background:#090909;padding:10px}
.chat-head{display:flex;align-items:center;gap:8px;font-weight:800;color:#C8A96A;margin-bottom:8px}
.chat-head img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:1.5px solid #C8A96A}
.chat-avatar{width:30px;height:30px;border-radius:50%;background:#232327;color:#C8A96A;display:flex;align-items:center;justify-content:center;font-weight:900;border:1.5px solid #C8A96A}
.chat-thread{max-height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:2px}
.chat-row{display:flex}
.chat-row.mine{justify-content:flex-end}
.chat-bubble{max-width:78%;padding:8px 11px;border-radius:14px;background:#1A1A1D;color:#EFEFF2;font-size:.9rem;line-height:1.35;overflow-wrap:anywhere}
.chat-row.mine .chat-bubble{background:#C8A96A;color:#0A0A0A;font-weight:600}
/* Batch 2: translate affordance under a chat bubble + the family
   share box on the customer's booking card. */
.chat-tr-link{background:none;border:0;color:#C8A96A;font-size:.72rem;font-weight:700;cursor:pointer;padding:2px 5px;align-self:center;white-space:nowrap}
/* v197: a message that arrived through the masked SMS relay carries
   a small gold SMS tag beside its bubble (the thread is the record). */
.chat-via{align-self:center;font-size:.62rem;font-weight:800;letter-spacing:.06em;color:#C8A96A;border:1px solid rgba(200,169,106,.6);border-radius:6px;padding:1px 5px;white-space:nowrap}
.chat-bubble .chat-tr-link{padding:0 0 0 6px;text-decoration:underline}
.share-box{margin-top:8px;border:1.5px solid rgba(200,169,106,.35);border-radius:14px;background:#090909;padding:10px}
.chat-inputrow{display:flex;gap:8px;margin-top:8px}
.chat-inp{flex:1;min-width:0;border-radius:10px;border:1.5px solid #2E2E33;background:#131315;color:#fff;padding:7px 11px;font-size:.92rem}
/* Batch 1 (2026-11-17): driver quick-message chips above the chat
   input + the post-trip tip preset row — same palette/shapes as the
   chat box and booking cards they live inside. */
.chat-chips{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.chat-chip{border:1.5px solid #C8A96A;background:transparent;color:#C8A96A;border-radius:999px;padding:5px 12px;font-size:.85rem;font-weight:700;cursor:pointer}
.chat-chip:disabled{opacity:.5}
.tip-presets{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}
.chat-closed{margin-top:8px;text-align:center;color:#A6A6A6;font-weight:700;font-size:.88rem;padding:8px;border:1px dashed #2E2E33;border-radius:10px}
/* Standalone Messages inbox (owner refinement 2026-11-14 ~00:01): one
   white card per booking thread (same card family as .bk-white booking
   items); the row is a plain button, the thread opens beneath it via
   the shared chat module (.chat-box keeps its dark styling). */
.inbox-item{background:#fff;color:#151517;border-radius:14px;box-shadow:0 10px 22px rgba(0,0,0,.28);padding:10px 11px;margin:0 0 10px}
.inbox-row{display:flex;gap:10px;align-items:flex-start;width:100%;background:none;border:0;padding:0;cursor:pointer;color:inherit;font:inherit;text-align:start}
.inbox-ava{width:42px;height:42px;flex:none;font-size:1.05rem}
img.inbox-ava{border-radius:50%;object-fit:cover;border:1.5px solid #C8A96A}
.inbox-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.inbox-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.inbox-name{font-weight:800;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-time{color:#969696;font-size:.72rem;font-weight:700;flex:none}
.inbox-book{color:#5D5D61;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-prev{color:#5D5D61;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-closed{flex:none;align-self:center;color:#C8A96A;background:rgba(200,169,106,.16);border:1px dashed rgba(200,169,106,.6);border-radius:999px;padding:2px 8px;font-size:.68rem;font-weight:800}
.inbox-row-locked{cursor:default;opacity:.72}
.push-banner{margin:10px 2px}
.notif-head{font-weight:800;font-size:.95rem;margin:12px 2px 6px;display:flex;align-items:center;gap:7px}
.daily-tile{display:flex;align-items:center;gap:10px;width:100%;margin:12px 0 4px;padding:12px 14px;border-radius:14px;border:1px solid rgba(200,169,106,.45);background:rgba(200,169,106,.06);color:#F0F0F2;font:inherit;cursor:pointer;text-align:start}
.notif-row{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border-bottom:1px solid #EFEFF1;color:#151517}
.notif-row:last-child{border-bottom:0}
.notif-row.unread{background:rgba(200,169,106,.10)}
.notif-ic{font-size:1.05rem;flex:none;line-height:1.3}
.notif-tx{flex:1;min-width:0;font-size:.86rem;line-height:1.45;white-space:normal}
/* Daily Notifications readability (v202, owner phone verdict
   2026-11-17 ~14:46): .notif-row's ink (#151517) is made for the
   white inbox card, but the daily page's .bk-white wrapper is
   transparent over the black page — the rows rendered near-black
   on black, unreadable on the owner's phone. The daily list pins
   its rows to the app's standard readable ink (#F5F5F7, the same
   as the booking cards) and its times to the standard secondary
   (#A3A3A3). Presentation only — no layout or shape change. */
.daily-list .notif-row{color:#F5F5F7;border-bottom-color:rgba(245,245,247,.12)}
.daily-list .inbox-time{color:#A3A3A3}
/* Main Notifications list readability (v323, owner phone screenshot
   2026-11-28 ~09:59): the SAME bug as the daily list above, missed
   for the main list — paintNotifications wraps its rows in a plain
   .bk-white (transparent over the black page in night mode), so
   .notif-row's white-card ink (#151517) rendered near-black on
   black. Scope the same readable values to every .bk-white-wrapped
   notif row (the daily list is .bk-white.daily-list and keeps the
   identical rendered result). Presentation only. */
.bk-white .notif-row{color:#F5F5F7;border-bottom-color:rgba(245,245,247,.12)}
.bk-white .notif-row .inbox-time{color:#A3A3A3}
.leave-dismiss-btn{margin-top:6px;width:100%;min-height:2.1rem;border-radius:10px;background:transparent;color:#A3A3A3;border:1px solid rgba(163,163,163,.35);cursor:pointer;font-size:.8rem;font-weight:700}
.booking-item.leave-flash{border-color:var(--gold);animation:leavePulse 1.6s ease-in-out infinite}
@keyframes leavePulse{50%{box-shadow:0 0 0 4px rgba(200,169,106,.45)}}
@media (prefers-reduced-motion: reduce){.booking-item.leave-flash{animation:none;box-shadow:0 0 0 3px rgba(200,169,106,.55)}}
/* Leave-now ALARM highlight (Wave 3): the card the alarm auto-opened —
   a stronger, finite pulse than the latch's steady leave-flash. */
.booking-item.leave-alarm{border-color:#C8A96A;box-shadow:0 0 0 3px rgba(200,169,106,.75),0 0 26px rgba(200,169,106,.4);animation:leaveAlarmPulse .9s ease-in-out 4}
@keyframes leaveAlarmPulse{50%{box-shadow:0 0 0 6px rgba(200,169,106,.3),0 0 34px rgba(200,169,106,.55)}}
@media (prefers-reduced-motion: reduce){.booking-item.leave-alarm{animation:none}}
/* calendar (original CalendarBox values; compacted 2026-11-14 per the
   owner's «كلها زحمه» — the block keeps every state and control, at a
   smaller visual weight: tighter group padding, cells, and nav;
   v278: shrunk ~20–25% again per owner order «صغير التقويم كمان» —
   size only, colours/states/behaviour unchanged, both modes) */
.df-cal-head{font-size:15.5px;font-weight:800;color:#fff;margin:0 2px 8px}
.cal-group{padding:10px}
.cal-head-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;font-weight:800;font-size:.82rem;color:var(--gold-lt)}
.cal-nav-btn{width:1.55rem;height:1.55rem;border-radius:50%;border:1.5px solid var(--gold-o);background:rgba(200,169,106,.12);color:var(--gold);font-size:.9rem;display:grid;place-items:center;cursor:pointer}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-top:4px}
.cal-grid .cd{text-align:center;font-size:.70rem;line-height:1.3;padding:2px 0;border-radius:7px;color:#A3A3A3;background:transparent;border:0}
.cal-grid .cd.dow{font-weight:800;color:var(--gold-lt);font-size:.60rem;padding:1px 0}
.cal-grid .cd.day{background:rgba(255,255,255,.06);color:#F0F0F2;font-weight:600;cursor:pointer}
.cal-grid .cd.day.booked{background:var(--gold-o);color:#0A0A0A;font-weight:800}
.cal-grid .cd.day.pending{background:rgba(200,169,106,.16);color:var(--gold-lt);box-shadow:inset 0 0 0 1.5px var(--gold-o)}
.cal-grid .cd.day.off{background:rgba(176,42,42,.55);color:#ffd7d7;font-weight:800}
.cal-grid .cd.day.today{outline:1.5px solid var(--gold-o);outline-offset:-1.5px}
.cal-grid .cd.day.sel{outline:2px solid #fff;outline-offset:-2px}
.cal-legend{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:5px;font-size:.66rem;color:#A3A3A3;font-weight:600}
.cal-legend .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-inline-end:5px;vertical-align:0}
.cal-legend .dot-book{background:var(--gold-o)}
.cal-legend .dot-pend{background:transparent;border:2px solid var(--gold-o);width:5px;height:5px}
.cal-legend .dot-off{background:#d66}
.cal-day{margin-top:6px;border-top:1px solid rgba(255,255,255,.12);padding-top:6px}
.cal-day-head{font-weight:800;font-size:.85rem;color:var(--gold-lt);margin-bottom:3px}
.cal-day-off{display:inline-block;font-size:.74rem;font-weight:800;color:#ffd7d7;background:rgba(176,42,42,.35);border:1px solid #d66;border-radius:999px;padding:2px 9px;margin-top:3px}
/* settings page */
.df-subhead{font-size:16px;font-weight:800;color:#fff;margin:24px 0 10px}
.pf-edit-row{display:flex;align-items:center;gap:12px;padding:10px 0}
.pf-edit-row + .pf-edit-row{border-top:1px solid #E9E9ED}
.pf-edit-photo{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex:none}
.pf-edit-cover{width:96px;height:56px;border-radius:10px;border:1px solid #E4E4E7;object-fit:cover;flex:none}
.pf-edit-cover.empty{background:#F5F5F7}
.pf-edit-lbl{font-size:.95rem;font-weight:800;color:#151517;flex:1}
.pf-file-btn{position:relative;overflow:hidden;cursor:pointer}
.pf-file-input{position:absolute;width:1px;height:1px;opacity:0}
.car-slot-img{width:84px;height:58px;border-radius:10px;border:1px solid #E4E4E7;object-fit:cover;flex:none}
.car-slot-empty{width:84px;height:58px;border-radius:10px;border:1.5px dashed #C9C9CE;display:grid;place-items:center;font-size:1.2rem;flex:none}
.field-ol{display:flex;flex-direction:column;gap:4px;margin-bottom:9px}
.field-ol label{font-size:12.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#5D5D61}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.amen-toggle-row{display:flex;align-items:center;padding:7px 0;gap:10px}
.bfo-lbl{font-size:.86rem;font-weight:700;color:#151517}
.light-rows .rate-row{color:#F0F0F2}
/* share page */
.share-wrap{padding-top:20px;display:flex;flex-direction:column;align-items:center}
.share-card{width:100%;max-width:440px;background:linear-gradient(150deg,#17171A,#060606 78%);border:1.5px solid rgba(200,169,106,.7);border-radius:16px;padding:16px;box-shadow:0 14px 34px rgba(0,0,0,.4);text-align:center}
.share-photo{width:84px;height:84px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:2.5px solid var(--gold-o)}
.share-name{font-size:1.12rem;font-weight:800;margin-top:8px}
.share-car{font-size:.85rem;color:#A3A3A3}
.share-meta{font-size:.82rem;color:#A3A3A3;margin-top:3px}
.share-meta .rating{color:var(--gold-lt);font-weight:800}
.share-meta .rating svg{width:13px;height:13px;vertical-align:-1px}
.share-qr{background:#fff;border-radius:10px;padding:6px;width:162px;margin:14px auto 0}
.share-qr img{display:block}
.share-link-row{margin-top:12px;border-top:1px solid rgba(200,169,106,.3);padding-top:9px}
.share-link-url{font-size:.7rem;color:#D0D0D5;word-break:break-all}
.share-actions{display:flex;gap:8px;justify-content:center;margin-top:12px}
.share-actions .gold{background:#C8A96A;color:#0A0A0A;border-color:#C8A96A}
/* Back-to-Home on the share page: the original's is a plain .small-btn
   (transparent, gold outline) at .9rem, auto width — NOT a solid-gold bar. */
.share-home-btn{margin:16px auto 0;display:flex;width:fit-content;font-size:.9rem}

/* Owner tiles (original .acct-tiles): two-column fold tiles that span
   full width when open; the last tile always spans. */
.acct-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px}
.acct-tiles .dash-fold{margin-top:0;background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px;position:relative}
.acct-tiles .dash-fold summary{flex-direction:column;align-items:flex-start;gap:10px;padding:0;min-height:0}
.acct-tiles .dash-fold[open ]{grid-column:1 / -1}
.acct-tiles .dash-fold[open ] summary{flex-direction:row;align-items:center}
.acct-tiles .dash-fold:last-child{grid-column:1 / -1}
.acct-tiles .df-ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:var(--gold);background:rgba(200,169,106,.12);border:1px solid rgba(200,169,106,.4);flex:none}
.acct-tiles .df-ico svg{width:22px;height:22px}
.acct-tiles .df-title{font-size:15.5px;line-height:1.35}
.acct-tiles .dash-fold[open ] .df-title{font-size:17px}
.acct-tiles .df-chev{position:absolute;top:4px;inset-inline-end:2px;width:18px;height:18px}
.acct-tiles .dash-fold[open ] .df-chev{position:static;width:20px;height:20px}
.acct-tiles .tile-body{margin-top:12px}
/* Icon-tile navigation (owner order 2026-11-17 ~11:38, v191): account
   section lists are ICON TILES — gold icon box on top, label under it,
   in a 2-column grid — and every tile opens its OWN page. Same black +
   gold card language as .acct-tiles; presentation only. */
.icon-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.acct-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;background:#141416;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px;position:relative;text-align:start;cursor:pointer;font-family:inherit;color:#fff}
.acct-tile .df-ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px;color:var(--gold);background:rgba(200,169,106,.12);border:1px solid rgba(200,169,106,.4);flex:none}
.acct-tile .at-title{font-size:15.5px;font-weight:800;line-height:1.35;display:flex;align-items:center;gap:8px}
.acct-tile .at-sub{font-size:.8rem;color:var(--muted);line-height:1.4;overflow-wrap:break-word;max-width:100%}
/* v318 (owner order 2026-11-28 — «الاشعارات ماخذ زحمه»): the owner
   Notifications hub grid ONLY gets compact tiles — much shorter:
   small icon chip, smaller label, tight padding, minimal empty
   space. Scoped via .ctr-tiles so the shared .acct-tile component
   (account grids for every role, owner landing boxes, corporate
   chooser) keeps its standing geometry untouched — the base rule
   above stays byte-identical (tile-photos lock). Same destinations,
   badges and sub-lines; geometry only, both modes (no colour rules
   here, so the day layer's tile colours apply unchanged). */
.icon-tiles.ctr-tiles{gap:8px;margin-top:10px}
.ctr-tiles .acct-tile{gap:5px;border-radius:13px;padding:9px 10px}
.ctr-tiles .acct-tile .df-ico{width:28px;height:28px;border-radius:9px;font-size:15px}
.ctr-tiles .acct-tile .at-title{font-size:13px;gap:6px}
.ctr-tiles .acct-tile .at-sub{font-size:.72rem;line-height:1.3}
/* The existing door-row grids (owner control page, driver settings)
   become vertical icon tiles too — same buttons, same ids, layout
   only: icon on top, label under, no chevron, no full-width span. */
.acct-tiles.tiles-v > button.tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:start}
.acct-tiles.tiles-v > button.tile .df-chev{display:none}
.acct-tiles.tiles-v > button.tile:last-child{grid-column:auto}
.reset-form{display:flex;gap:8px;padding:8px 0 4px;flex-wrap:wrap}
.reset-form .light-input{flex:1 1 180px;background:#F5F5F7;border-color:#E4E4E7;color:#151517;color-scheme:light}
.owner-driver-row{align-items:center}
.pf-edit-media{width:96px;aspect-ratio:16/9;border-radius:10px;object-fit:cover;flex:none;background:#000}

/* Convoy (original .convoy-* values, verbatim) */
.convoy-card{padding:22px 16px 18px}
@media (min-width:861px){.convoy-card{padding:30px 30px 26px}}
.convoy-nums{display:flex;flex-wrap:wrap;gap:6px}
.convoy-num{appearance:none;min-width:40px;height:40px;padding:0 8px;border-radius:11px;border:1.5px solid #E4E4E7;background:#fff;color:#151517;font-family:inherit;font-size:.95rem;font-weight:800;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.convoy-num.sel{background:#F6EED8;border-color:#C8A96A;box-shadow:0 0 0 1px #C8A96A}
.convoy-driver{appearance:none;display:flex;align-items:center;gap:11px;width:100%;padding:9px 11px;border-radius:13px;border:1.5px solid #E4E4E7;background:#fff;color:#151517;font-family:inherit;text-align:start;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;margin-top:8px}
.convoy-driver.sel{background:#F6EED8;border-color:#C8A96A;box-shadow:0 0 0 1px #C8A96A}
.convoy-driver:disabled{opacity:.45;cursor:default}
.convoy-driver img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex:none}
.convoy-driver-info{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.convoy-driver-name{font-size:.95rem;font-weight:800;line-height:1.25}
.convoy-driver-car{font-size:.8rem;color:#5D5D61;line-height:1.3;overflow-wrap:break-word}
.convoy-driver-meta{font-size:.8rem}
.convoy-driver-meta .rating{color:#C8A96A;display:inline-flex;align-items:center;gap:3px}
.convoy-driver-meta .rating svg{width:13px;height:13px}
.convoy-check{flex:none;width:24px;height:24px;border-radius:50%;border:1.5px solid #E4E4E7;display:grid;place-items:center;color:#fff}
.convoy-check svg{width:14px;height:14px}
.convoy-check.on{background:#C8A96A;border-color:#C8A96A}
.convoy-note{margin:8px 0 0;font-size:.82rem;line-height:1.5;color:#5D5D61}
.convoy-empty{margin:0;font-size:.88rem;color:#5D5D61}

/* Profile amenity row + car gallery (owner order 2026-11-14 21:41: chips SMALLER, ONE single row) */
.amen-row{display:flex;flex-wrap:nowrap;gap:5px;padding:12px 2px 2px}
.amen-chip{display:inline-flex;flex:1 1 auto;min-width:0;align-items:center;justify-content:center;gap:3px;padding:4px 4px;border-radius:999px;border:1px solid rgba(200,169,106,.55);background:rgba(200,169,106,.10);color:#F0F0F2;font-size:.625rem;font-weight:700;line-height:1.15;text-align:center}
.amen-chip>span:last-child{min-width:0;overflow-wrap:break-word}
.amen-ic{display:grid;place-items:center;width:12px;height:12px;color:#C8A96A;flex:none}
.amen-ic svg{width:100%;height:100%}
.car-gallery{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 2px;scrollbar-width:none}
.car-gallery::-webkit-scrollbar{display:none}
.car-thumb{flex:none;width:108px;height:76px;border-radius:12px;overflow:hidden;border:1.5px solid rgba(200,169,106,.45);padding:0;background:#1C1C1E;cursor:pointer}
.car-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(12,12,14,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:calc(20px + env(safe-area-inset-top)) 20px 20px}
.lightbox img{max-width:100%;max-height:72vh;border-radius:14px;object-fit:contain}
.lightbox-bar{display:flex;align-items:center;gap:10px}
.lightbox-cap{color:#E8E8E4;font-weight:700;font-size:.95rem}

/* v177 in-app document viewer (signed agreements + vault files inside the
   app shell, whose WebView cannot open target=_blank or render PDFs). */
.docview{position:fixed;inset:0;z-index:210;background:#0B0B0D;display:flex;flex-direction:column}
.docview-bar{display:flex;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;border-bottom:1px solid rgba(200,169,106,.35)}
.docview-title{flex:1;font-weight:700;color:#C8A96A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.docview-pages{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:10px;align-items:center}
.docview-pages img{max-width:100%;background:#fff;border-radius:6px}
.docview-frame{flex:1;width:100%;min-height:0;border:0;background:#fff;border-radius:6px}
.docview-dl{display:flex}

/* Customer tracking map (original .trip-map-* values, verbatim) */
.trip-map-wrap{margin-top:8px}
.trip-map-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.78rem;font-weight:800;color:#C8A96A;margin-bottom:5px}
.trip-map-eta{color:#F0F0F2;font-weight:800;text-align:end}
.trip-map{width:100%;height:210px;border-radius:12px;border:1.5px solid rgba(200,169,106,.55);overflow:hidden;background:#19191C}
.trip-map-note{font-size:.76rem;color:#A3A3A3;margin-top:5px;line-height:1.45}
.trip-map-slot{margin-top:8px;padding:11px 12px;border:1.5px dashed rgba(200,169,106,.5);border-radius:12px;background:rgba(200,169,106,.05);color:#A3A3A3;font-size:.8rem;line-height:1.5;text-align:center}
/* Full-screen customer tracking (approved design 2026-11-14): the same
   map element, moved into a fixed navy overlay; top pill + bottom
   driver card float over a map that fills the screen. */
.trip-map-wrap.fs{position:fixed;inset:0;z-index:1200;background:#0A0A0A;display:flex;flex-direction:column;padding:calc(12px + env(safe-area-inset-top)) 12px 12px;margin-top:0;overflow:hidden}
.trip-map-wrap.fs .trip-map{flex:1;height:auto;min-height:0}
.trip-map-wrap.fs .trip-top-card{font-size:1rem;padding:10px 14px}
.trip-fs-close{position:absolute;top:calc(10px + env(safe-area-inset-top));inset-inline-end:10px;z-index:2;width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(200,169,106,.7);background:#19191C;color:#C8A96A;font-size:1rem;font-weight:800;cursor:pointer}
body.track-fs-open{overflow:hidden}
.trip-expand{white-space:nowrap}
/* In-thread system status lines: written by the server only, at a
   committed transition (src/lifecycle.js). */
.chat-sys{text-align:center;color:#A3A3A3;font-size:.76rem;font-weight:700;padding:3px 8px}
/* White-card scope: the original's own white zone darkens gold/cream
   text for legibility (#C8A96A convention); the map itself is unchanged. */
.bk-white .trip-map-head{color:#C8A96A}
.bk-white .trip-map-eta{color:#F5F5F7}
.bk-white .trip-map-note{color:#A3A3A3}
.bk-white .trip-map-slot{color:#A3A3A3}

/* The Vault (الخزنة, 2026-11-13): owner-tile badge, join-request status chips,
   per-document expiry chips, and the vault's person/document rows — all inside
   the dashboard's dark scope, navy/gold identity. */
.vault-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-inline-start:8px;border-radius:999px;background:#c0392b;color:#fff;font-size:.78rem;font-weight:800;vertical-align:middle}
.jr-chip{display:inline-block;padding:1px 8px;border-radius:999px;border:1px solid rgba(200,169,106,.55);color:#C8A96A;font-size:.72rem;font-weight:800;vertical-align:middle}
.jr-chip.ok{border-color:rgba(46,158,99,.7);color:#7bd6a4}
.jr-chip.bad{border-color:rgba(192,57,43,.7);color:#ef9a90}
.exp-chip{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.exp-chip.valid{border-color:rgba(46,158,99,.7);color:#7bd6a4}
.exp-chip.expiring{border-color:rgba(200,169,106,.8);color:#C8A96A}
.exp-chip.expired{border-color:rgba(192,57,43,.8);color:#ef9a90}
.vault-attn{border:1px solid rgba(200,169,106,.45);border-radius:14px;padding:10px 12px;margin-bottom:14px;background:rgba(200,169,106,.06)}
.vault-log-ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;border:1px solid rgba(200,169,106,.45);background:rgba(200,169,106,.06);font-size:26px;line-height:1;margin-bottom:14px;cursor:pointer;padding:0}
.vault-attn-t{font-weight:800;color:#C8A96A;margin-bottom:6px}
.vault-attn-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;background:none;border:0;border-top:1px solid rgba(163,163,163,.15);color:#F0F0F2;padding:8px 0;font:inherit;text-align:start;cursor:pointer}
.vault-sec-t{font-weight:800;margin:4px 0 6px}
.vault-person-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;background:#141416;border:1px solid rgba(255,255,255,.1);border-radius:13px;color:#F0F0F2;padding:10px 12px;margin-top:8px;font:inherit;text-align:start;cursor:pointer}
.vault-person-main{display:flex;flex-direction:column;gap:1px;min-width:0}
.vault-person-name{font-weight:800}
.vault-person-head{margin:12px 0 4px}
.vault-doc{border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:10px 12px;margin-top:10px;background:#141416}
/* Driver "My documents" frames (owner spec 2026-11-17): GREEN = valid
   and locked (the driver cannot touch it — change needs his request +
   the owner's approval); RED = expired or expiring within 20 days. */
.vault-doc.doc-frame-ok{border:2px solid rgba(46,158,99,.8)}
.vault-doc.doc-frame-bad{border:2px solid rgba(192,57,43,.85)}
.vault-doc-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:800}
/* Driver Agreement signing page (migration 0020): readable legal text. */
.agr-h{margin:16px 0 6px;font-size:1rem;font-weight:800;color:#F5F5F7}
.agr-p{margin:0 0 8px;font-size:.92rem;line-height:1.65;color:#E8E8EA}
.agr-clause{border-top:1px solid rgba(163,163,163,.15);padding-top:10px;margin-top:10px}
/* Driver Agreement page identity (owner order 2026-11-16 22:38:
   «هاذي الوان مزعجه سويها بهويتي» — the agreement's document +
   signing cards borrow the booking form's .book-card-w, whose
   scoped rule (.book-card-w .input) turns every input inside it
   WHITE with dark text, the field labels render dark grey, and the
   card itself is a mid grey — outside the app identity; owner
   photo 2026-11-16 22:38). COLOURS ONLY: the agreement cards
   become jet black with a matte-gold border, their headings take
   the identity gold, their inputs become the app's dark fields
   with gold borders + light text, and their field labels take the
   app's label grey. Agreement text, clauses, fields, the language
   selector and the signing flow are untouched, and the booking
   form's own .book-card-w keeps its design — this scope is the
   agreement cards (.agr-card) only. The customer policy panel
   never had the defect: it is not a .book-card-w and its inputs
   use the base dark .input. */
.book-card-w.agr-card{background:#141416;border:1px solid rgba(200,169,106,.45)}
.book-card-w.agr-card .agr-h{color:#C8A96A}
.book-card-w.agr-card .input{background:#2C2C2F;border:1.5px solid rgba(200,169,106,.6);color:#F5F5F7;color-scheme:dark}
.book-card-w.agr-card .field-ol label{color:#A3A3A3}
/* Customer Policy acceptance panel (signup gate + re-accept, 2026-11-14):
   one language at a time behind the 13-language switcher; the full policy
   scrolls inside the panel; the Create button stays disabled until the
   acceptance box is ticked. */
.policy-panel{border:1px solid rgba(200,169,106,.45);border-radius:14px;padding:12px;margin:4px 0 12px;background:rgba(200,169,106,.05)}
.policy-scroll{max-height:320px;overflow-y:auto;border-top:1px solid rgba(163,163,163,.15);padding-top:8px;margin-top:4px}
.pol-title{margin:4px 0 6px;font-size:1.05rem;font-weight:800;color:#C8A96A}
.pol-part{margin:12px 0 6px;font-size:.98rem;font-weight:800;color:#F5F5F7}
.pol-ul{margin:0 0 8px;padding-inline-start:20px;font-size:.92rem;line-height:1.65;color:#E8E8EA}
.pol-table{width:100%;border-collapse:collapse;margin:0 0 10px;font-size:.88rem;color:#E8E8EA}
.pol-table th,.pol-table td{border:1px solid rgba(163,163,163,.25);padding:5px 8px;text-align:start}
.pol-table th{color:#C8A96A;font-weight:800}
.policy-accept{display:flex;gap:10px;align-items:flex-start;margin-top:10px;border-top:1px solid rgba(163,163,163,.15);padding-top:10px;font-size:.95rem;line-height:1.5;color:#F5F5F7;cursor:pointer}
.policy-accept input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:#C8A96A}
#authSubmit:disabled,#polContinue:disabled{opacity:.45;pointer-events:none}
.vault-doc-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.vault-doc-edit,.vault-doc-up{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.vault-doc input[type=date]{background:#121214;border:1.5px solid var(--line);border-radius:10px;color:var(--text);padding:6px 10px;font:inherit;color-scheme:dark;flex:1;min-width:150px}
.exp-chip.missing{border-color:rgba(192,57,43,.8);color:#ef9a90}
.exp-chip.invalid{border-color:rgba(192,57,43,.8);color:#ef9a90;background:rgba(192,57,43,.12)}
.docs-banner{border-radius:14px;padding:12px 14px;margin-top:12px;font-size:.92rem;line-height:1.5}
.docs-banner.bad{border:1.5px solid rgba(192,57,43,.75);background:rgba(192,57,43,.10);color:#f3c1ba}
.docs-banner.warn{border:1.5px solid rgba(200,169,106,.6);background:rgba(200,169,106,.07);color:#C8A96A}
.docs-banner b{display:block;margin-bottom:2px}
.susp-line{font-size:.8rem;color:#ef9a90;padding:2px 0 6px}

/* Expiry countdown chip — sits directly ABOVE each document box (owner
   order 2026-11-13: «فوق الخانة فوق الـbox عدّ تنازلي»). Colour rule
   (owner 2026-11-13 ~19:16): GREEN while >15 days remain, RED at <=15
   days or expired; the same tiers drive the person page's icon status
   line (.vdoc-status). The .warn rules below are legacy — cdTier no
   longer emits that tier. */
.cd-chip { margin-top:12px; padding:6px 12px; border:1px solid rgba(200,169,106,.35); border-bottom:none; border-radius:12px 12px 0 0; background:rgba(200,169,106,.08); color:#C8A96A; font-weight:800; font-size:.85rem; text-align:center; }
.cd-chip.ok { border-color:rgba(46,158,99,.55); background:rgba(46,158,99,.10); color:#7bd6a4; }
.cd-chip.warn { border-color:rgba(255,182,72,.55); background:rgba(255,182,72,.10); color:#ffb648; }
.cd-chip.bad { border-color:rgba(255,107,107,.55); background:rgba(255,107,107,.10); color:#ff7a7a; }
.cd-chip.none { border-color:rgba(163,163,163,.30); border-style:dashed; background:transparent; color:var(--muted); font-weight:600; }
.cd-chip + .vault-doc { border-top-left-radius:0; border-top-right-radius:0; }
/* "Expiry was read off the document itself" marker (OCR, migration 0008). */
.ocr-note { color:#C8A96A; font-size:.78rem; margin-top:6px; }
/* The vault tile is a door to the vault pages now, not a fold. */
.vault-open-tile { width:100%; display:flex; align-items:center; gap:10px; cursor:pointer; text-align:start; font:inherit; color:inherit; }

/* Vault files list — manual add (owner order 2026-11-13 ~19:07): ONLY a
   small gold "+" stays visible; the name+phone form is folded away until
   the plus is tapped, then opens as one small navy window. */
.vault-add-row{margin-top:14px}
.vault-add-plus{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--gold-o);background:rgba(200,169,106,.08);color:var(--gold);font-size:1.5rem;font-weight:400;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
.vault-add-form{margin-top:10px;border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:12px;background:#141416;max-width:340px}
.vault-add-form .field{margin-bottom:10px}
.vault-add-form .small-btn{min-height:2rem}
/* Vault person page: the Other-document add wears the same small gold
   "+" as the files-list manual add (owner order 2026-11-13 ~19:27),
   with a small label beside it so he knows what the plus adds. */
.vother-head{display:flex;align-items:center;gap:10px}
.vault-add-label{color:var(--gold);font-size:.95rem;font-weight:600}

/* Owner tile pages: the content column under the page head. */
.ot-body { padding: 4px 16px 24px; }

/* Vault person page — documents as SMALL ICONS (owner correction
   2026-11-13 18:12: «ايقونات صغيرة ما تكون بباقات») + the <=15-day RED
   alert (18:15): an urgent document's icon turns red, and the person's
   photo ring (names list + person page) turns red with it. */
.vdoc-icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:16px 6px;padding:10px 2px 4px}
.vdoc-icon{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:none;padding:4px 2px;cursor:pointer;color:var(--gold-o);font:inherit}
.vdoc-icon .vdoc-emblem{display:flex;width:34px;height:34px}
.vdoc-icon .vdoc-emblem svg{width:100%;height:100%}
.vdoc-icon .vdoc-name{font-size:.68rem;font-weight:700;color:#E8E8E4;text-align:center;line-height:1.3}
.vdoc-icon .vdoc-status{font-size:.62rem;font-weight:700;color:var(--muted);text-align:center;line-height:1.25}
.vdoc-icon .vdoc-status.ok{color:#7bd6a4}
.vdoc-icon .vdoc-status.warn{color:#ffb648}
.vdoc-icon .vdoc-status.bad{color:#ff7a7a}
.vdoc-icon.empty{opacity:.55}
.vdoc-icon.urgent{color:#e5484d}
.vdoc-icon.urgent .vdoc-status{color:#ff7a7a}
.driver-card.urgent img{border-color:#e5484d}
.pf-avatar.urgent{border-color:#e5484d}

/* Parity tranche (0017): saved-address chips, booking extras, I'm here,
   tour choice, day-off conflict box, convoy confirmation. */
.addr-chips{margin:0 0 10px}
.addr-chips-lbl{display:block;font-size:.78rem;font-weight:700;color:#5D5D61;margin-bottom:6px}
.addr-chips-row{display:flex;flex-wrap:wrap;gap:6px}
.addr-chip{display:inline-flex;border:1.5px solid rgba(200,169,106,.55);border-radius:999px;overflow:hidden;background:rgba(200,169,106,.08)}
.addr-chip-main{border:0;background:transparent;padding:6px 10px;font-weight:700;font-size:.82rem;cursor:pointer;color:inherit}
.addr-chip-drop{border:0;border-inline-start:1px solid rgba(200,169,106,.4);background:transparent;padding:6px 8px;cursor:pointer;color:inherit}
.bk-extras{margin-top:14px;display:flex;flex-direction:column;gap:14px}
.bfo-row{display:flex;align-items:center;gap:10px}
.bfo-lbl{font-weight:700}
/* Booking-form toggle labels (book-for-someone-else, repeat weekly) sit on the
   dark form, not on the white .book-card-w cards: pearl white there.
   Owner 2026-11-14 21:27 — the dark #151517 base rule stays for the cards. */
.bk-extras .bfo-lbl{color:#F5F5F7}
.req-wrap{display:block}
.req-title{display:block;font-weight:700;margin-bottom:8px}
.req-chips{display:flex;flex-wrap:wrap;gap:6px}
/* Owner 2026-11-14 21:27: no white pills / no dark text in the booking form —
   request + tour chips take the booking surfaces' gold scheme (.pay-chip):
   unselected graphite #2C2C2F + pearl text, selected #1F1F22 + gold ring + gold text. */
.req-chip{padding:7px 11px;border-radius:999px;border:1.5px solid #55555A;background:#2C2C2F;font-size:.82rem;font-weight:700;cursor:pointer;color:#F5F5F7}
.req-temp-inp{max-width:180px}
.req-chip.sel{border-color:var(--gold-o,#C8A96A);background:#1F1F22;color:#C8A96A}
.tour-chips{display:flex;flex-wrap:wrap;gap:6px}
.tour-chip{padding:7px 11px;border-radius:999px;border:1.5px solid #55555A;background:#2C2C2F;font-size:.82rem;font-weight:700;cursor:pointer;color:#F5F5F7}
.tour-chip.sel{border-color:var(--gold-o,#C8A96A);background:#1F1F22;color:#C8A96A}
.repeat-block{border-top:1px dashed rgba(163,163,163,.35);padding-top:12px}
.repeat-guest-line{color:#5D5D61;font-size:.88rem}
.series-line{color:#C8A96A;font-weight:700}
.arrived-line{color:#2e7d32;font-weight:700}
.imhere-btn{display:inline-block;margin-top:8px;padding:10px 18px;border:0;border-radius:999px;background:#C8A96A;color:#0A0A0A;font-weight:800;font-size:.95rem;cursor:pointer}
.imhere-btn:disabled{opacity:.55}
.rated-stars{color:#C8A96A;letter-spacing:2px}
.off-conflict-box{margin-top:14px;border:1.5px solid var(--gold-o,#C8A96A);border-radius:12px;padding:12px 14px;background:rgba(200,169,106,.07)}
.convoy-confirm-card .info-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px dashed rgba(163,163,163,.25)}

/* ================= Tour Planner (2026-11-14) =================
   Selection-only map planner. Identity colours come from the :root
   vars (jet black / unified matte gold) — no new shades.
   FULL-SCREEN PAGE (owner verdict 2026-11-14 14:58: «الخريطة داخل بكس
   ما تصلح لازم تفتح الصفحة كاملة»): .tp-root is a fixed overlay that
   covers the ENTIRE screen — app header and bottom tab bar included,
   the way the trip nav layer covers it (navlayer frame, z-300; the
   planner sits at z-80: above the shell's z-50 chrome, below toast
   z-99 and the nav layer). The map fills the root edge-to-edge; the
   head, centre-on-me and geo note float over it; the place sheet
   is a bottom sheet over it, and v268's small bar (#tpBar) is
   pinned to its bottom edge. */
.tp-root{position:fixed;inset:0;z-index:80;background:#0A0A0A;overflow:hidden}
.tp-root .page-head{position:absolute;top:0;left:0;right:0;z-index:6;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:linear-gradient(180deg,rgba(6,6,6,.88),rgba(6,6,6,0));pointer-events:none}
.tp-root .page-head .back-btn,.tp-root .page-head .lang-pill{pointer-events:auto}
.tp-root .page-head .ph-title{text-shadow:0 1px 8px rgba(0,0,0,.85)}
/* v268 bottom bar (owner-approved design 2026-11-21): the old
   expandable «My plan» bottom sheet is GONE — its defect was that
   it never sat fully visible at the bottom. The map page now ends
   in ONE SMALL bar pinned to the very bottom, always fully visible,
   holding ONLY the stops count, the three category icons spread
   evenly, and the gold «Edit & complete» button (which opens the
   separate «My plan» page). Fixed compact height, no animation,
   nothing else in it. */
.tp-root #tpBar{position:absolute;left:0;right:0;bottom:0;z-index:6;display:flex;align-items:center;gap:8px;background:rgba(18,18,20,.97);border-top:1px solid var(--gold);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
.tp-bar-count{flex:0 0 auto;font-weight:800;color:var(--text);font-size:.95rem;white-space:nowrap}
.tp-bar-num{color:var(--gold)}
.tp-bar-cats{flex:1 1 auto;display:flex;justify-content:space-evenly;align-items:center}
.tp-bar-edit{flex:0 0 auto;background:var(--gold);color:var(--ink-gold);border:0;border-radius:11px;padding:9px 13px;font-weight:900;font-size:.9rem;cursor:pointer;font-family:inherit;white-space:nowrap}
.tp-bar-edit:active{background:var(--gold-b)}
@keyframes tpUp{from{transform:translateY(26px);opacity:.35}to{transform:translateY(0);opacity:1}}
/* Item 14: the missing-field flash — when «Choose your driver» is
   tapped with something missing, the exact field that needs
   attention gets a brief gold ring (the app's identity colour;
   no shape or layout change). */
.tp-flash{animation:tpFlash 1.3s ease}
@keyframes tpFlash{0%,55%{box-shadow:0 0 0 3px var(--gold)}100%{box-shadow:0 0 0 0 rgba(200,169,106,0)}}
.tp-open-btn{width:100%;margin-top:14px;padding:13px;border-radius:14px;border:1px solid var(--gold);background:rgba(200,169,106,.08);color:var(--gold);font-weight:800;font-size:1rem;cursor:pointer}
.tp-open-btn:active{background:var(--gold-b);color:var(--ink-gold)}
.tp-attached{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding:10px 12px;border:1px solid var(--gold);border-radius:12px;background:rgba(200,169,106,.1);color:var(--text);font-size:.88rem;font-weight:700}
.tp-attached button{flex:0 0 auto;border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:9px;padding:6px 10px;font-size:.8rem;cursor:pointer}
.tp-map-wrap{position:absolute;inset:0}
.tp-map{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#141415}
.tp-list{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;background:var(--card2);padding-top:calc(76px + env(safe-area-inset-top));padding-bottom:calc(64px + env(safe-area-inset-bottom))}
.tp-list-row{display:flex;align-items:center;gap:10px;width:100%;text-align:start;padding:9px 12px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--text);cursor:pointer}
.tp-list-row img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:0 0 auto}
.tp-list-main{display:flex;flex-direction:column;gap:1px;flex:1 1 auto;min-width:0}
.tp-list-main small{color:var(--muted)}
.tp-list-in{color:var(--gold);font-weight:900}
/* Category icons (v268): the three filters moved from the top
   chips row INTO the bottom bar as round icon buttons spread
   evenly — outline gold when idle, FILLED gold when active. Same
   ids/classes/tap behaviour as the old chips (tpSetCat). */
.tp-cat{width:34px;height:34px;border-radius:50%;border:1.5px solid var(--gold);background:transparent;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.tp-search{position:absolute;top:calc(62px + env(safe-area-inset-top));inset-inline-start:12px;inset-inline-end:64px;z-index:7}
.tp-search-inp{width:100%;box-sizing:border-box;background:var(--card);border:1px solid var(--gold);border-radius:12px;padding:11px 14px;color:var(--ink);box-shadow:0 4px 16px rgba(0,0,0,.3)}
.tp-search-drop{margin-top:6px;background:var(--card);border:1px solid var(--gold);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.tp-search-drop[hidden]{display:none}
.tp-search-row{display:flex;flex-direction:column;gap:1px;width:100%;text-align:start;padding:10px 14px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);cursor:pointer;font:inherit}
.tp-search-row:last-child{border-bottom:0}
.tp-search-row small{color:var(--muted)}
.tp-sheet-rate{color:var(--gold);font-weight:700;margin:2px 0 0}
.tp-sheet-rc{color:var(--muted);font-weight:600}
.tp-sheet-open{color:#3d9e63;font-weight:600;margin:2px 0 0}
.tp-cat.on{background:var(--gold)}
.tp-marker{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;pointer-events:auto;z-index:3}
.tp-mk-img,.tp-mk-tile{width:46px;height:46px;border-radius:12px;border:2px solid var(--gold);object-fit:cover;background:var(--card)}
.tp-mk-img{display:block}
.tp-mk-tile{display:flex;align-items:center;justify-content:center;color:var(--gold);font-weight:900;font-size:1.25rem;font-family:"Playfair Display",serif}
.tp-mk-lbl{max-width:110px;padding:1px 6px;border-radius:7px;background:rgba(10,10,10,.82);color:var(--text);font-size:.66rem;font-weight:700;line-height:1.25;text-align:center;white-space:normal}
.tp-mk-num{position:absolute;top:-7px;inset-inline-end:-7px;z-index:2;width:20px;height:20px;border-radius:50%;background:var(--gold);color:var(--ink-gold);font-size:.72rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.tp-marker.in-plan .tp-mk-lbl{color:var(--gold)}
.tp-trips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}
.tp-trip{padding:8px 13px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--muted);font-weight:700;font-size:.86rem;cursor:pointer}
.tp-trip.on{border-color:var(--gold);color:var(--gold)}
/* Tour ending chooser (2026-11-14): two toggle pills at the end of
   My plan — the pick is required before the booking can proceed. */
.tp-end{margin:10px 0 4px}
.tp-end-title{font-weight:800;color:var(--text);font-size:.92rem;margin-bottom:7px}
.tp-end-opts{display:flex;gap:8px;flex-wrap:wrap}
.tp-end-opt{flex:1;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--muted);font-weight:700;font-size:.88rem;cursor:pointer}
.tp-end-opt.on{border-color:var(--gold);color:var(--gold)}
.tp-trip.add{border-style:dashed;color:var(--gold)}
.tp-plan-title{margin:12px 0 10px;font-size:1.05rem}
.tp-stop-row{display:flex;align-items:center;gap:9px;padding:8px 10px;margin-bottom:8px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.tp-stop-num{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--gold);color:var(--ink-gold);font-size:.75rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.tp-stop-img{width:40px;height:40px;border-radius:9px;object-fit:cover;flex:0 0 auto}
.tp-stop-tile{width:40px;height:40px;border-radius:9px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:var(--card2);border:1px solid var(--gold);color:var(--gold);font-weight:900;font-family:"Playfair Display",serif}
.tp-stop-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.tp-stop-main b{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-stop-stay{color:var(--muted);font-size:.76rem}
.tp-stop-ctl{display:flex;gap:4px;flex:0 0 auto}
.tp-stop-ctl button{width:27px;height:27px;border-radius:8px;border:1px solid var(--line);background:var(--card2);color:var(--text);font-size:.8rem;cursor:pointer;padding:0}
/* v268: the remove ✕ is RED (owner-approved «My plan» picture) —
   it removes the stop instantly from the list and the map pins. */
.tp-stop-ctl .tp-stop-rm{border:1.5px solid #C0392B;color:#E5484D;font-weight:900}
/* v268 «My plan» page: the dashed gold row back to the map. */
.tp-add-map{width:100%;margin:2px 0 12px;padding:11px;border-radius:12px;border:1.5px dashed var(--gold);background:transparent;color:var(--gold);font-weight:800;font-size:.95rem;cursor:pointer;font-family:inherit}
.tp-totals{border:1px solid var(--line);border-radius:12px;background:var(--card);padding:10px 12px;margin:10px 0 6px}
.tp-trow{display:flex;justify-content:space-between;padding:3px 0;color:var(--muted);font-size:.9rem}
.tp-trow b{color:var(--text)}
.tp-price-row{border-top:1px solid var(--line);margin-top:6px;padding-top:8px}
.tp-price{color:var(--gold)!important;font-size:1.15rem}
.tp-note{color:var(--muted);font-size:.84rem;margin:8px 0}
#tpSheet{position:fixed;inset:0;z-index:60}
/* v268 first-entry intro: a centred card over the dimmed map,
   shown once per device (localStorage tourIntroSeen). */
#tpIntro{position:absolute;inset:0;z-index:70;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:18px}
#tpIntro[hidden]{display:none}
.tp-intro-card{position:relative;width:100%;max-width:350px;background:var(--card);border:1px solid var(--gold);border-radius:18px;padding:20px 18px 16px;box-shadow:0 18px 50px rgba(0,0,0,.5)}
.tp-intro-x{position:absolute;top:10px;inset-inline-end:10px;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer;font-family:inherit}
.tp-intro-t{font-size:1.25rem;font-weight:900;color:var(--text);text-align:center;margin-bottom:8px}
.tp-intro-p{color:var(--text);text-align:center;margin:0 0 10px;font-size:.95rem}
.tp-intro-h{font-weight:800;color:var(--text);margin:0 0 8px}
.tp-intro-step{display:flex;gap:10px;align-items:flex-start;margin-bottom:8px;color:var(--text);font-size:.92rem}
.tp-intro-n{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--gold);color:var(--ink-gold);font-size:.78rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.tp-intro-card .cta-book-ol{margin-top:8px}
.tp-sheet-back{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.tp-sheet-card{position:absolute;left:10px;right:10px;bottom:10px;max-height:82vh;overflow-y:auto;background:var(--card);border:1px solid var(--gold);border-radius:18px;padding:14px;animation:tpUp .28s ease}
.tp-sheet-img{width:100%;height:170px;object-fit:cover;border-radius:12px;cursor:pointer;display:block}
.tp-sheet-attr{position:absolute;bottom:6px;inset-inline-start:8px;background:rgba(0,0,0,.55);color:#fff;font-size:.66rem;padding:2px 8px;border-radius:999px}
.tp-sheet-sum{font-size:.9rem;line-height:1.45;color:var(--text);opacity:.88;margin:2px 0 0}
/* v334 full-view photo viewer */
.tp-photo-view{position:fixed;inset:0;z-index:220;background:rgba(0,0,0,.93);display:flex;align-items:center;justify-content:center}
.tp-photo-view img{max-width:100%;max-height:100%;object-fit:contain}
.tp-pv-x{position:absolute;top:calc(12px + env(safe-area-inset-top));inset-inline-end:14px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:1rem;cursor:pointer}
.tp-pv-prev,.tp-pv-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:1.5rem;cursor:pointer}
.tp-pv-prev{inset-inline-start:12px}
.tp-pv-next{inset-inline-end:12px}
.tp-pv-count{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:rgba(255,255,255,.14);color:#fff;font-size:.8rem;padding:3px 12px;border-radius:999px}
.tp-sheet-tile{width:100%;height:120px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--card2);border:1px solid var(--gold);color:var(--gold);font-size:2.6rem;font-weight:900;font-family:"Playfair Display",serif}
.tp-sheet-media{position:relative}
.tp-sheet-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid var(--gold);background:rgba(10,10,10,.6);color:var(--gold);font-size:1.3rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;padding:0}
.tp-nav-prev{left:8px}
.tp-nav-next{right:8px}
.tp-sheet-x{position:absolute;top:20px;inset-inline-end:20px;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:rgba(10,10,10,.75);color:var(--text);cursor:pointer}
.tp-sheet-name{margin:10px 0 2px;font-size:1.15rem}
.tp-sheet-area{color:var(--gold);font-size:.82rem;margin:0 0 6px}
.tp-sheet-desc{color:var(--muted);font-size:.9rem;line-height:1.45;margin:0 0 12px}
.tp-stay-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:var(--text);font-weight:700}
.tp-me-btn{position:absolute;top:calc(76px + env(safe-area-inset-top));inset-inline-end:12px;z-index:6;width:44px;height:44px;border-radius:50%;border:1px solid var(--gold);background:rgba(10,10,10,.86);color:var(--gold);font-size:1.3rem;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.tp-me-btn:active{background:var(--gold-b);color:var(--ink-gold)}
/* Planner zoom (owner 2026-11-15, corrected same night): ONE small
   rectangular box in the app's matte gold with ROUNDED corners and
   dark on-gold glyphs — replaces Google's stock white +/− box at the
   same mid-right spot. */
.tp-zoom{position:absolute;top:50%;transform:translateY(-50%);inset-inline-end:12px;z-index:6;display:flex;flex-direction:column;background:var(--gold);border-radius:12px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.tp-zoom button{width:42px;height:40px;padding:0;border:0;background:transparent;color:var(--ink-gold);font-size:1.4rem;font-weight:700;line-height:1;cursor:pointer;font-family:inherit}
.tp-zoom button + button{border-top:1px solid rgba(10,10,10,.28)}
.tp-zoom button:active{background:var(--gold-b)}
.tp-geo-note{position:absolute;top:calc(76px + env(safe-area-inset-top));left:64px;right:64px;z-index:6;margin:0;padding:5px 10px;text-align:center;color:var(--muted);font-size:.8rem;background:rgba(10,10,10,.85);border:1px solid var(--line);border-radius:999px}

/* Google Places suggestion dropdown (address autocomplete, owner order
   2026-11-14): the app's own dropdown for the Places API (New)
   suggestions — dark + gold, readable over every sheet it floats
   above: z-index clears the planner overlay (80), the drawer (95) and
   the toast (99); the trip nav frame and the intro sit above it, where
   no address field exists. */
.addr-ac-box{position:fixed;z-index:2000;background:#1C1C1E;border:1px solid #55555A;border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.6);overflow:hidden;font-family:inherit}
.addr-ac-item{display:block;width:100%;text-align:start;background:none;border:none;border-bottom:1px solid #2C2C2F;color:#F5F5F7;font:inherit;font-size:14px;line-height:1.35;padding:11px 14px;cursor:pointer;white-space:normal}
.addr-ac-item:last-child{border-bottom:none}
.addr-ac-item:active{background:#2C2C2F}

/* Map Library trip page (owner brief 2026-11-16) — NEW classes only,
   the identity unchanged: black background, matte gold #C8A96A, big
   clear buttons. The page carries NO map. */
.tp-cust{display:flex;align-items:center;gap:8px;padding:6px 2px 2px}
.tp-avatar{flex:none;width:38px;height:38px;border-radius:50%;border:2px solid #C8A96A;background:#1C1C1E;color:#C8A96A;display:flex;align-items:center;justify-content:center;font-size:1.05rem;font-weight:900}
.tp-cust-main{flex:1;min-width:0}
.tp-cust-name{font-size:.98rem;font-weight:900;color:#F5F5F7}
.tp-cust-sub{color:var(--muted,#9a9aa0);font-size:.82rem;margin-top:1px;display:flex;gap:8px;align-items:center}
.tp-round-btn{flex:none;width:36px;height:36px;border-radius:50%;border:2px solid #C8A96A;background:#141414;display:flex;align-items:center;justify-content:center;font-size:1rem;text-decoration:none}
/* A2 (owner 2026-11-18 ~18:19): the trip page's call/chat round
   buttons follow the day system in DAY mode only — white face,
   Champagne border; the gold glyphs stay as they are and stay
   readable on white. The night rule above is byte-untouched. */
html[data-theme="day"] .tp-round-btn{background:#FFFFFF;border-color:#C6A15B}
.tp-eta-box{display:flex;gap:10px;margin:6px 0 0;border:1.5px solid #A7833F;border-radius:14px;padding:5px 6px;background:#C6A15B}
.tp-eta-cell{flex:1;text-align:center}
.tp-eta-cell + .tp-eta-cell{border-inline-start:1px solid rgba(41,39,36,.35)}
.tp-eta-val{font-size:.98rem;font-weight:900;color:#292724}
.tp-eta-lbl{color:rgba(41,39,36,.72);font-size:.74rem;margin-top:1px}
.tp-stop-card{margin:8px 0 4px;border:1px solid #333;border-radius:14px;overflow:hidden;background:#101010}
.tp-stop-name{font-size:1.12rem;font-weight:900;color:#F5F5F7;padding:7px 14px 2px}
.tp-stop-sub{color:var(--muted,#9a9aa0);font-size:.9rem;padding:0 14px 9px}
/* v272 ONE RAISED BOX standard (owner-approved 2026-11-21,
   «بكل الصفحات يكون بهاذا الشكل وكل الحجوازات»): one raised
   container per info/action group — ROUNDED corners, gold
   border #A7833F, INSET from the page walls, inner elements
   padded off the walls, and the glow OUTSIDE the box: a soft
   BLACK halo in day mode, a soft LIGHT glow in night mode.
   Container styling ONLY (border / shadow / radius / margin /
   padding) — no element inside changes size, layout or colour. */
.tp-onebox{border:1px solid #A7833F;border-radius:20px;padding:12px;margin:12px 10px;background:var(--card);box-shadow:0 10px 28px rgba(255,255,255,.13),0 2px 8px rgba(255,255,255,.08)}
html[data-theme="day"] .tp-onebox{box-shadow:0 10px 28px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.10)}
.card{border-color:#A7833F;box-shadow:0 10px 26px rgba(255,255,255,.10)}
html[data-theme="day"] .card{box-shadow:0 10px 26px rgba(0,0,0,.15)}
/* The multi-stop route strip INSIDE the trip-page box (v272):
   a winding line A → numbered stop nodes → B, the stops count
   and the stop addresses beside it. Display only. */
.tp-route-strip{margin:10px 0 2px;padding:10px 12px;border:1px solid var(--line);border-radius:14px}
.tp-rs-track{display:flex;align-items:center;gap:6px;color:var(--gold)}
.tp-rs-line{flex:1 1 auto;height:12px;min-width:14px}
.tp-rs-dot{flex:0 0 auto;width:22px;height:22px;border-radius:50%;border:2px solid var(--gold);color:var(--gold);font-size:.72rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.tp-rs-node{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--gold);color:var(--ink-gold);font-size:.78rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.tp-rs-meta{display:flex;gap:8px;align-items:baseline;margin-top:7px;font-size:.86rem;color:var(--muted,#9a9aa0)}
.tp-rs-meta b{color:var(--gold);white-space:nowrap}
.tp-wait-line{margin:10px 0 2px;font-size:1.05rem;font-weight:800;color:#C8A96A;text-align:center}
.tp-wait-line.over{color:#ff7a6b}
/* v271: the overtime line under the big passenger-wait counter
   (the old small line's wording, kept verbatim past zero). */
.tp-wait-over{margin-top:2px;font-size:.95rem;font-weight:800;color:#ff7a6b;text-align:center}
.tp-dest-line{margin:6px 0 2px;color:#F5F5F7;font-size:.98rem;text-align:center}
.tp-count-wrap{text-align:center;margin:8px 0 2px}
.tp-count{font-size:2.3rem;font-weight:900;color:#35d07f;letter-spacing:.02em;line-height:1.05}
.tp-count-lbl{color:var(--muted,#9a9aa0);font-size:.9rem}
.tp-zero-alert{margin:10px 0 2px;text-align:center;background:#4a1113;color:#ffe1e1;border:1.5px solid #C8A96A;border-radius:12px;padding:10px;font-weight:800}
.tp-next-card{margin:8px 0 4px;border:1.5px solid #C8A96A;border-radius:14px;padding:7px 12px;background:#101010}
.tp-next-lbl{color:#C8A96A;font-size:.85rem;font-weight:800}
.tp-next-name{font-size:1.15rem;font-weight:900;color:#F5F5F7;margin-top:2px}
.tp-next-sub{color:var(--muted,#9a9aa0);font-size:.92rem;margin-top:2px}
.tp-big-btn{display:block;width:100%;min-height:2.55rem;margin:7px 0 3px;border-radius:14px;border:0;background:#C8A96A;color:#0A0A0A;font-size:1rem;font-weight:900;letter-spacing:.01em;box-shadow:0 4px 14px rgba(200,169,106,.35);cursor:pointer;font-family:inherit}
.tp-big-btn:disabled{background:#3a3a3e;color:#9a9aa0;box-shadow:none;cursor:default}
.tp-big-btn.tp-btn-inert{background:#3a3a3e;color:#9a9aa0;box-shadow:none}
/* Slide-to-confirm (v204, owner 2026-11-17 22:34+22:38): the slider
   wears the big button's exact face — same box, same jet black +
   matte gold, same size — only the interaction changed (a full
   drag fires; a partial drag snaps back; a tap never fires). */
.tp-slider{position:relative;display:flex;align-items:center;justify-content:center;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
.tp-slider-label{position:relative;z-index:1;text-align:center;line-height:1.15;pointer-events:none}
.tp-lbl-main{display:block}
.tp-lbl-sub{display:block;font-size:.68rem;font-weight:700;opacity:.78;margin-top:1px}
.tp-slider-handle{position:absolute;top:50%;margin-top:-17px;inset-inline-start:4px;width:34px;height:34px;border-radius:50%;background:#0A0A0A;color:#C8A96A;font-size:20px;font-weight:900;line-height:34px;text-align:center;z-index:2;box-shadow:0 2px 8px rgba(0,0,0,.35);pointer-events:none}
.tp-slider-sm .tp-slider-handle{width:18px;height:18px;margin-top:-9px;inset-inline-start:2px;font-size:11px;line-height:18px}
/* v212 (owner design 2026-11-18, variant A): the END-trip slider
   is the RED slider («شكل النهاية يكون بشكل أحمر») — its drag
   fill is the app's standing danger red #C0392B (below) and its
   handle is a white ring with a white chevron; a completed slide
   leaves the whole track covered red. The track's REST face is
   the shared grey of every slider (next block). */
.tp-slider-end .tp-slider-handle{box-sizing:border-box;background:transparent;border:2.5px solid #fff;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
/* v212 (owner 2026-11-18, phone video): the slide-to-confirm REST
   face + drag-progress fill. At rest the track is the inert bars'
   light grey (#3a3a3e) — the owner superseded the v204 gold
   resting face («يكون اول حاجة بلا لون… رصاصي، لون خفيف، نفس
   الباكسات الباقية») — and the colour lives in the fill the
   shared binder (bindSlideComplete) grows BEHIND the handle:
   gold #C8A96A, red #C0392B on the end-trip slider; ahead of the
   handle the track stays grey, and a completed slide stays fully
   covered. Sizes, shapes, labels and thresholds are unchanged. */
.tp-big-btn.tp-slider{background:#3a3a3e;color:#fff;box-shadow:none;overflow:hidden}
.depart-box.tp-slider{background:#3a3a3e;color:#fff;box-shadow:none;overflow:hidden}
.tp-slider-fill{position:absolute;top:0;bottom:0;inset-inline-start:0;width:0;background:#C8A96A;pointer-events:none}
.tp-slider-end .tp-slider-fill{background:#C0392B}
/* v263 (owner order 2026-11-20, approved mockup): the END slider's
   progressive word reveal — a bright copy of the label layered over
   the dim base label, clipped by bindSlideComplete to the fill
   width on every paint, so the word appears in proportion to the
   drag. Theme-independent (white over the red fill, dim white over
   the grey track), so it serves both modes unchanged. */
.tp-slider-label-reveal{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.15;color:#fff;z-index:1;pointer-events:none;clip-path:inset(0 100% 0 0)}
/* Stability fix (audit أ-4): the booking card's «انطلق» box is a
   slide-to-confirm too (v210) — it keeps the depart-box face, size
   and colours exactly; only the layout switches to the slider's
   flex so the handle + centred label sit on the same face. */
.depart-box.tp-slider{display:flex;align-items:center;justify-content:center}
/* During-trip «Dropping off {name}» line inside the ETA box (v204):
   a full-width first row; the box and its two cells are unchanged. */
.tp-eta-box{flex-wrap:wrap}
.tp-dropoff-line{flex:0 0 100%;text-align:center;color:#292724;font-weight:800;font-size:.92rem;line-height:1.2;padding:1px 0 3px;border-bottom:1px solid rgba(41,39,36,.35);margin-bottom:2px}
.tp-dropoff-line small{display:block;color:rgba(41,39,36,.72);font-size:.7rem;font-weight:700}
.tp-choose-lbl{text-align:center;color:#F5F5F7;font-weight:800;font-size:.98rem;margin:10px 0 6px}
.tp-apps{display:flex;gap:10px}
.tp-app{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;border:1.5px solid #C8A96A;border-radius:14px;background:#101010;color:#F5F5F7;text-decoration:none;font-weight:800;font-size:.92rem}
.tp-app-ic{font-size:1.35rem}
.tp-app-ic svg{width:34px;height:34px;display:block}
.tp-app-ic img{width:34px;height:34px;display:block}
button.tp-app{font-family:inherit;cursor:pointer}
/* Nav chooser INSIDE the action bar (v255, owner voice 2026-11-19
   ~17:07–17:15: the «Choose a navigation app» popup is gone —
   after a slide completes, the bar itself, after its quick
   refresh, shows the three nav icons inside it, and the slide
   handle sits back at the edge exactly as it was). The bar wears
   the slider track's exact face (grey #3a3a3e, no shadow — the
   day twin sits with the other day slider faces below); the
   icons are the popup cards' brand artwork at the same 34px
   (the .tp-app-ic sizing above), icon-only buttons with no box
   of their own, centred in the bar clear of the handle. */
.tp-nav-bar{position:relative;display:flex;align-items:center;justify-content:center;background:#3a3a3e;color:#fff;box-shadow:none;overflow:hidden;cursor:default}
.tp-nav-icons{display:flex;gap:16px;align-items:center;justify-content:center;position:relative;z-index:1}
/* v259 (owner 2026-11-19 22:37, «النقطه الاخيره يكون احمر لانه
   بعده دروب اوف»): on the FINAL leg — heading to the trip's last
   drop-off — the standing chooser bar's edge handle turns the
   app's standing end-trip red #C0392B (the .tp-slider-end fill
   red): the fill segment behind the handle and the handle's
   chevron. Every earlier leg keeps the gold handle («الخطوات الي
   قبلها بالذهبي عادي»). The bar's face and the three icons are
   untouched; the day twins sit with the other day faces below.
   The handle stays a pure indicator — the chooser bar never
   carries a slide binding on any leg (the painter binds only the
   icons), the red one included (owner 2026-11-19 22:38,
   «ما يخليه يسوي سحب»). */
.tp-nav-bar.tp-nav-final .tp-slider-fill{background:#C0392B}
.tp-nav-bar.tp-nav-final .tp-slider-handle{color:#C0392B}
.tp-nav-ic{background:transparent;border:0;padding:0;margin:0;cursor:pointer;font-family:inherit;line-height:0}
.tp-nav-ic:active{opacity:.75}
/* v263 (owner order 2026-11-20 ~20:58): the nav icons' ENTRANCE —
   when the bar is mounted (the departure slide completes and the
   chooser appears), the three icons rise/pop in one after another
   (~80 ms stagger, 300 ms each) and land in their SAME positions;
   sizes, order, artwork and taps are untouched, and the animation
   runs on mount only (the painter repaints on state changes, not
   on the 1-second tick, so it never replays mid-leg). Pure
   transform/opacity — identical in day and night modes. */
@keyframes tpNavPop{from{opacity:0;transform:translateY(10px) scale(.55)}to{opacity:1;transform:translateY(0) scale(1)}}
.tp-nav-enter .tp-nav-ic{animation:tpNavPop .3s ease both}
.tp-nav-enter .tp-nav-ic:nth-child(2){animation-delay:.08s}
.tp-nav-enter .tp-nav-ic:nth-child(3){animation-delay:.16s}
@media (prefers-reduced-motion: reduce){.tp-nav-enter .tp-nav-ic{animation:none}}
/* v265 (owner rejection of v264's two stacked bars, 2026-11-21
   ~00:04, «ليش يطلع شريطين» / «بكل خانه شريطين»): ONE bar per
   state — the nav icons live INSIDE the state's own bar (the
   live-leg slider, or the touring label bar wearing the
   chooser shell). The icons segment rides at the bar's inline
   end, over the track/fill, always visible and tappable; the
   step label centres in the free zone between the handle and
   the icons (padding compensation on the label — and on the
   end slider's reveal layer, so the bright copy stays exactly
   over the dim one). The merged final-leg bar's accent is the
   end-trip red #C0392B (v259's rule on the single bar): its
   fill is red — the same red .tp-slider-end already paints,
   stated for the merged marker; theme-independent, both modes. */
.tp-wicons .tp-nav-icons{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);z-index:3;gap:4px}
.tp-wicons .tp-slider-label{padding-inline-start:46px;padding-inline-end:126px}
.tp-wicons .tp-slider-label-reveal{padding-inline-start:46px;padding-inline-end:126px}
/* The END slider's main label shrinks slightly when the icons
   ride inside (.9rem): «End the trip manually» at full size
   cannot share the bar with the handle + three icons on one
   line — the shrink is what keeps the bar's height (its outer
   size) unchanged. Both label copies carry .tp-lbl-main, so
   the reveal stays identical to the base. */
.tp-slider-end.tp-wicons .tp-lbl-main{font-size:.9rem}
.tp-slider.tp-nav-final .tp-slider-fill{background:#C0392B}
/* v266 (owner-approved design, 2026-11-21 — approved from the
   v3 design pictures): (1) the DEPART CHOOSER's three icons
   SPREAD evenly across the bar — distributed over the track
   width with side padding, clear of the 50px fill + inert
   handle at the start — instead of clustering at the centre;
   (2) the END slider's icons stand SPREAD across the whole
   track the same way, UNDER the red fill: as the drag grows
   the fill (z 2) it progressively COVERS the icons (z 1),
   while the reveal label (z 3) appears inside the fill alone
   — the end slider renders NO base label (v266 noBase), so
   no text ever shows on the uncovered track; the reveal's
   old 126px end padding (compensation for the v265 corner
   cluster) is gone, so the word centres in the bar; (3) the
   ARRIVE press button (.tp-big-btn gold face, unchanged)
   centres its two label lines. Theme-independent geometry —
   identical in day and night modes. */
.tp-nav-bar .tp-nav-icons{flex:1 1 auto;width:100%;justify-content:space-between;padding-inline-start:104px;padding-inline-end:96px;box-sizing:border-box}
.tp-slider-end.tp-wicons .tp-nav-icons{inset-inline-start:104px;inset-inline-end:96px;justify-content:space-between;gap:0;z-index:1}
.tp-slider-end .tp-slider-fill{z-index:2}
.tp-slider-end .tp-slider-label-reveal{z-index:3}
.tp-slider-end.tp-wicons .tp-slider-label-reveal{padding-inline-start:46px;padding-inline-end:46px}
.tp-arrive-btn{text-align:center}
.tp-internal-btn{display:block;width:100%;min-height:3rem;margin:10px 0 4px;border-radius:12px;border:1.5px solid #55555A;background:#1C1C1E;color:#C8A96A;font-size:1rem;font-weight:800;cursor:pointer;font-family:inherit}
.tp-arrived-ok{margin:12px 0 4px;background:#1E9E57;color:#fff;border-radius:14px;padding:11px;text-align:center;font-weight:900;font-size:1.15rem}
/* Cancel redesign (owner 2026-11-18): the «?» beside the language pill
   wears the pill's own face/metrics; the popup rides the always-dark
   .tp-navpop-card in both modes, so its inner colours stay the night
   ones — only the head button follows the day pill treatment. */
.tp-q-btn{position:relative;display:flex;align-items:center;justify-content:center;background:rgba(6,6,6,.55);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:5px 0;width:2.35rem;min-height:2.35rem;color:var(--gold);font-size:1rem;font-weight:800;cursor:pointer;font-family:inherit;flex:none}
.tp-cancel-expl{color:#F5F5F7;font-size:.9rem;line-height:1.55;margin:8px 2px;text-align:start}
/* v359: the cancellation-consequence line shown at the customer's
   two-tap cancel confirmation, before the cancelling tap. */
.cancel-terms-note{font-size:.8rem;line-height:1.45;color:var(--gold);margin:6px 2px 2px;text-align:start}
.tp-cancel-reason{display:block;width:100%;box-sizing:border-box;margin:10px 0 4px;border-radius:12px;border:1.5px solid #55555A;background:#111111;color:#F5F5F7;padding:9px 11px;font-family:inherit;font-size:.92rem;resize:vertical}
.tp-cancel-err{color:#E57373;font-size:.85rem;margin:4px 2px}
.tp-cancel-actions{display:flex;gap:8px;margin-top:10px}
.tp-cancel-confirm{flex:1;min-height:2.4rem;border:0;border-radius:12px;background:#C0392B;color:#FFFFFF;font-weight:800;font-size:.92rem;cursor:pointer;font-family:inherit}
/* v263 END-trip confirmation (owner spec 2026-11-20, approved
   mockup): rides the always-dark .tp-navpop-card in both modes
   like the cancel popup. The layout is the owner's explicit spec
   for this dialog — English main line, Arabic translation under
   it in SMALLER type; buttons the same (English main, small
   Arabic under). */
.tp-endconfirm{padding:6px 2px 2px}
.tp-endconfirm-q{color:#F5F5F7;font-size:1.05rem;font-weight:800;text-align:center;line-height:1.35}
.tp-endconfirm-qar{color:#C9C9CE;font-size:.78rem;font-weight:700;text-align:center;margin-top:3px}
.tp-endconfirm-btns{display:flex;gap:8px;margin-top:14px}
.tp-endconfirm-yes{flex:1;min-height:2.6rem;border:0;border-radius:12px;background:#C0392B;color:#FFFFFF;font-weight:800;font-size:.95rem;cursor:pointer;font-family:inherit;line-height:1.2}
.tp-endconfirm-yes small{display:block;font-size:.7rem;font-weight:700;opacity:.85}
.tp-endconfirm-no{flex:1;min-height:2.6rem;border-radius:12px;border:1.5px solid #55555A;background:transparent;color:#F5F5F7;font-weight:800;font-size:.95rem;cursor:pointer;font-family:inherit;line-height:1.2}
.tp-endconfirm-no small{display:block;font-size:.7rem;font-weight:700;opacity:.85}
.tp-cancel-confirm:disabled{opacity:.55;cursor:default}
.tp-cancel-keep{flex:1;min-height:2.4rem;border-radius:12px;border:1.5px solid #55555A;background:transparent;color:#F5F5F7;font-weight:800;font-size:.92rem;cursor:pointer;font-family:inherit}
/* The details strip (owner 2026-11-16 18:24): the toggle under
   Cancel + the collapsed block holding the detail lines that
   came off the bookings-list card — the identity's black + gold,
   the card lines' own grey text. */
.tp-more-btn{display:block;width:100%;min-height:2.05rem;line-height:1.3;margin:6px 0 2px;padding:6px 10px;background:transparent;border:1.5px solid #55555A;border-radius:12px;color:#C8A96A;font-size:.88rem;font-weight:800;cursor:pointer;font-family:inherit}
.tp-details{border:1.5px solid #333;border-radius:12px;padding:8px 10px;margin:2px 0 4px;background:#101010}
.tp-details .b-line{font-size:.85rem;color:#A3A3A3;line-height:1.45}
.tp-details .rated-stars{color:#C8A96A;letter-spacing:1px}
/* E7 (full-app audit 2026-11-16): the customer's weekly-series
   section on the bookings page — the booking-item palette. */
.series-box{background:rgba(255,255,255,.07);border:1.5px solid rgba(200,169,106,.28);border-radius:18px;padding:12px 14px;margin:0 0 10px}
.series-head{font-weight:800;color:#C8A96A;margin-bottom:6px}
.series-row{padding:8px 0;border-top:1px solid rgba(255,255,255,.08)}
.series-row:first-of-type{border-top:none;padding-top:2px}
/* The trip page's bottom sheet (owner 2026-11-16 17:45): a
   bottom sheet over a dim backdrop. The card is the app's black
   with the gold identity edge. It originally carried the
   navigation chooser; since v255 the chooser lives inside the
   action bar (.tp-nav-bar above) and this sheet serves only
   the cancel question and the stop-delete confirm. Fixed, so
   the one-screen page never moves. */
.tp-navpop{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center}
.tp-navpop[hidden]{display:none}
.tp-navpop-back{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.tp-navpop-card{position:relative;width:100%;max-width:560px;background:#0A0A0A;border-top:1.5px solid #C8A96A;border-radius:18px 18px 0 0;padding:12px 14px calc(12px + env(safe-area-inset-bottom))}
.tp-navpop-x{position:absolute;top:6px;inset-inline-end:8px;width:34px;height:34px;border-radius:50%;border:1.5px solid #55555A;background:transparent;color:#F5F5F7;font-size:.95rem;font-weight:800;cursor:pointer;font-family:inherit;line-height:1}
.tp-done-line{text-align:center;color:#35d07f;font-weight:900;font-size:1.1rem;margin:16px 0}
.tp-route-wrap{margin:12px 0 4px;border:1.5px solid #C8A96A;border-radius:14px;overflow:hidden;background:#101010}
.tp-static-map{width:100%;height:220px}
/* One-screen trip page (owner 2026-11-16 16:37: «والصفحه تكون
   صفحه وحده كامل مافيها حركه طلوع ونزول» — the whole page on ONE
   screen, no scrolling up or down). The trip page root becomes a
   viewport-height flex column with overflow hidden: its own
   header (the global topbar is hidden on this view — see
   NO_TOPBAR_VIEWS), the ETA strip, the customer card, the action
   button/counter and Cancel above the tab bar are all
   fixed-height items that are always visible at
   once, and the MAP BOX takes the height that remains (its gold
   frame, radius and the map itself are unchanged; off this page
   the box keeps its standing 220px). No element is removed, and
   the design's order, colours and proportions are untouched. The
   height reserves exactly the space #view already reserves for
   the fixed tab bar (75px + safe-area).
   Compact pass + map pin (owner 2026-11-16 18:16, screenshot
   1794874651694_36_oh28.jpeg — everything UNDER the map circled
   in red: «صغر هاذي البكسات الي تحت الخريطه», and «الخرئطه لا
   تصغرها خليها زيما هي»): the below-map block (ETA strip,
   customer row, main button, Cancel) is ~22% shorter — heights,
   paddings, gaps, font sizes only; same elements, order, labels
   and shapes. The MAP BOX MUST NOT CHANGE SIZE: measured on the
   owner's screenshot it spans y≈166→951 of the 2048 px screen
   height ≈ 38.3% — so its flex-basis is PINNED at 38dvh with
   flex-grow 0. It may still shrink under pressure (flex-shrink
   1, floor 96px as before) on short screens / tall states, so
   the one-screen rule never breaks; it never grows. The freed
   space collects as empty room BELOW the Cancel button. */
.tp-page{display:flex;flex-direction:column;height:calc(100dvh - 75px - env(safe-area-inset-bottom));overflow:hidden}
.tp-page #tpBody{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.tp-page #tpBody>*{flex:none}
.tp-page #tpBody>.tp-route-wrap{flex:0 1 38dvh;min-height:96px}
/* City Tours + multi-stop pages ONLY (owner 2026-11-16 19:53):
   the map box is enlarged into the space the photo + slim track
   freed. Other trip types keep the pinned 38dvh above. Raised
   52 → 60dvh on the owner's phone verdict (2026-11-16 20:39:
   the track box still read too big, the map must be LARGE);
   flex-shrink 1 still lets it yield on short screens so the
   one-screen rule never breaks. */
.tp-page #tpBody>.tp-route-wrap.tp-route-big{flex-basis:60dvh}
/* The stops track strip (owner 2026-11-16 19:46–19:55): a bare
   thin band — no frame, no caption — holding the wavy road and
   its pins inside the stop card, in the removed photo's place.
   Slimmed again 2026-11-16 20:39 (owner phone verdict): the
   track card drops its frame/background and padding bulk, the
   stop name + «stop i of n» line sit as compact text directly
   under the strip, and the whole block is far thinner. */
.tp-track{margin:0 2px}
.tp-track svg{display:block}
.tp-stop-track-card{margin:2px 0 0;border:none;background:transparent;border-radius:0;overflow:visible}
.tp-stop-track-card .tp-stop-name{font-size:.98rem;padding:3px 4px 0}
.tp-stop-track-card .tp-stop-sub{font-size:.8rem;padding:0 4px 1px}
.tp-page .tp-static-map{height:100%}
/* City Tours organization (owner 2026-11-16 19:21 + 19:38): the
   tour column overflowed the one-screen page — the stop PHOTO
   took 18dvh on top of the map + ETA + buttons, so the details
   strip under Cancel was clipped to a sliver by the tab bar.
   The photo is now REMOVED from the trip page entirely (19:38:
   «امسح الصوره هاذي من City Tours»); the stop card is compact
   text (name + stop i of n + allotted stay, trimmed above), the
   countdown/next-card are compacted, and the map keeps its
   pinned 38dvh basis + 96px floor exactly as v171 set them.
   Every tour state (heading / at-stop countdown / returning /
   end) fits the one-screen budget with the strip whole. */
.tp-page .chat-slot{flex:none}
.tp-chat{margin-top:14px}

/* Feature 17 report box + owner-center bits (2026-11-17): spacing only —
   the components inside reuse the existing chips/inputs/buttons. */
.report-box{margin-top:10px}
.tp-report{margin-top:10px}

/* ================= v279 BOOKING-FLOW RESTYLE (owner-approved 2026-11-27) ====
   The Blacklane-style reference layout applied to the CUSTOMER BOOKING
   FLOW ONLY: home hero + quick-book card, the drivers list, and the
   booking card (scoped by the .bk2 class added to the two customer
   booking cards in app.js — every other .book-card-w keeps its current
   design). LAYOUT / STRUCTURE / TYPOGRAPHY ONLY: no colour values are
   introduced or altered anywhere — surfaces, text and fills keep
   flowing from the existing base rules and the day layer below, and
   the only colour references here are the app's EXISTING theme tokens
   (var(--gold) / var(--ink-gold)), so each mode renders the new layout
   in its own current palette. Small, calm sizes throughout: hairline
   (1px) borders, slim normal-height controls, modest serif titles.
   This block sits BEFORE the day layer on purpose (the day layer must
   stay last); the #view anchor gives these rules the specificity to
   hold their layout in both modes while the day layer keeps owning
   every colour it already owns. */
/* — Home hero (screen 1): a taller photo; the quick-book card becomes
   the reference's ONE raised box with a hairline gold border, and the
   One way / By the hour pills span the card like the reference.
   Everything below the card is untouched. */
#view .hero{aspect-ratio:1078/720}
#view .home-book{border:1px solid var(--gold);border-radius:18px;padding:13px 15px}
#view .home-book .hb-seg{width:100%}
#view .home-book .hb-seg button{padding:6px 3px}
/* Hero headline (owner wording 2026-11-27: «Your Journey Begins
   Here»): a fixed English line over the cover photo, exactly like the
   lockup's own fixed English line — it wears the lockup's on-photo
   treatment (white + the same shadow) in BOTH modes, since it sits on
   the photo, never on a themed surface. */
#view .hero-headline{position:absolute;left:16px;right:16px;bottom:66px;z-index:40;
  pointer-events:none;text-align:center;font-family:"Playfair Display",serif;
  font-size:1.55rem;font-weight:600;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.55)}
/* — Drivers list (screen 4): large calm cards — full-width photo,
   serif name, car, rating and trips stay in the info block; the whole
   card remains the tap target. Scoped to #driverList so the owner's
   driver pages keep their current rows. */
#driverList .driver-card{flex-direction:column;align-items:stretch;gap:0;padding:0;
  overflow:hidden;border:1px solid var(--gold);border-radius:20px}
#driverList .driver-card img{width:100%;height:185px;border:0;border-radius:0}
#driverList .driver-info{padding:11px 14px 13px;gap:2px}
#driverList .driver-name{font-family:"Playfair Display",serif;font-size:1.32rem;font-weight:600}
#driverList .driver-card .chev{display:none}
#view:has(> .drivers-filter) .ph-title{font-family:"Playfair Display",serif;font-weight:600}
/* — Booking card (screens 2, 3 and 5): ONE raised box, hairline gold
   border, serif card title, hairline fields and pill toggles, a slim
   gold confirm pill. Date/time stay in the Trip Details fold, price /
   payment / summary keep their order and content — presentation only. */
#view .book-card-w.bk2{border:1px solid var(--gold);padding:24px 18px 20px}
#view .book-card-w.bk2 h2{font-family:"Playfair Display",serif;font-size:1.5rem;font-weight:600;letter-spacing:0}
#view .book-card-w.bk2 .lede{font-size:.92rem;margin:5px 0 16px}
#view .book-card-w.bk2 .svc-mini{border-width:1px;border-radius:12px}
#view .book-card-w.bk2 .inp{border-width:1px;border-radius:12px;padding:8px 12px}
#view .book-card-w.bk2 .seg-w{gap:7px}
#view .book-card-w.bk2 .seg-w button{border-width:1px;border-radius:999px;min-height:2.5rem;padding:8px}
#view .book-card-w.bk2 .seg-w button.on{background:var(--gold);border-color:var(--gold);color:var(--ink-gold)}
#view .book-card-w.bk2 .hb-seg{width:100%}
#view .book-card-w.bk2 .fold-w{border-width:1px;border-radius:16px}
#view .book-card-w.bk2 .pkg-b{border-width:1px;border-radius:10px}
#view .book-card-w.bk2 .stepper-w button{border-width:1px;border-radius:12px;width:46px}
#view .book-card-w.bk2 .stepper-w output{border-width:1px;border-radius:12px}
#view .book-card-w.bk2 .price-box{border-width:1px;border-radius:16px;padding:14px 16px 10px}
#view .book-card-w.bk2 .al-bd-total span:last-child{font-size:24px}
#view .book-card-w.bk2 .pay-opt{border-width:1px;border-radius:14px;min-height:3rem;padding:10px 13px}
#view .book-card-w.bk2 .pay-chip{border-width:1px;min-height:2.3rem;padding:7px 14px;font-size:.9rem}
#view .book-card-w.bk2 .req-chip,#view .book-card-w.bk2 .tour-chip{border-width:1px;padding:6px 11px}
#view .book-card-w.bk2 .trip-glance{border-radius:16px}
#view .book-card-w.bk2 .cta-book-ol{border-radius:999px;font-size:1.02rem;padding:12px 13px;min-height:3.1rem;margin-top:12px}
#view .book-card-w.bk2 .summary-chip{border-radius:16px}
#view .book-card-w.bk2 .apt-sec button{border-width:1px;border-radius:999px}
#view .book-card-w.bk2 .cars-pop-num{border-width:1px}
#view .book-card-w.bk2 select#tipSel{border-width:1px;border-radius:12px}
#view:has(.book-card-w.bk2) .ph-title{font-family:"Playfair Display",serif;font-weight:600}

/* ================= v280 STEPPED FLOW (owner order 2026-11-27) =================
   The reference screens as a stepped flow: home = full-screen cover
   photo with ONE frosted destination pill ON the photo; journey /
   schedule / driver / confirm / confirmed are calm small pages built
   ONLY from the existing theme tokens (no new colours). Inserted
   BEFORE the v207 day layer, which stays last. */
#view .hero.hero-flow{height:100svh;min-height:480px;aspect-ratio:auto}
.hero-scroll-hint{position:absolute;left:20px;bottom:calc(67px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:7px;background:none;border:0;padding:6px 4px;color:#fff;font-size:10px;font-weight:600;cursor:pointer;text-shadow:0 1px 8px rgba(0,0,0,.45)}
.hero-scroll-hint .hsh-arrow{color:var(--gold);font-weight:900}
.hero-pill{position:absolute;z-index:3;left:46px;right:46px;top:50%;transform:translateY(10px);display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.38);color:#fff;font-size:.86rem;font-weight:600;cursor:pointer;-webkit-backdrop-filter:blur(14px) saturate(1.25);backdrop-filter:blur(14px) saturate(1.25);box-shadow:0 10px 26px rgba(0,0,0,.30)}
.hero-pill svg{width:16px;height:16px;flex:0 0 auto}
/* v318 (owner order 2026-11-28): a small subtle chevron at the pill's
   END EDGE, Blacklane-style — absolutely placed so the pin + text stay
   centered exactly as before; logical inset so RTL puts it at the
   logical end, glyph flipped in RTL like every other app chevron. */
.hero-pill-chev{position:absolute;inset-inline-end:14px;top:50%;transform:translateY(-50%);display:flex;color:#fff;opacity:.85;pointer-events:none}
.hero-pill-chev svg{width:15px;height:15px}
[dir="rtl"] .hero-pill-chev svg{transform:scaleX(-1)}
/* v281 (owner order 2026-11-27): the headline + destination pill sit
   as one neat group at the CENTER of the cover photo, a bit smaller —
   the headline just above the middle, the pill just below it. The
   hero lockup is gone and the home top bar keeps only the hamburger
   (account + language moved into the menu), both modes. */
#view .hero.hero-flow .hero-headline{top:50%;bottom:auto;transform:translateY(calc(-100% - 10px));font-size:1.28rem}
/* v355 (owner 2026-12-02 02:27): the headline's trailing part
   («Begins Here» in English) renders in the mode's gold; the
   leading part stays white. */
.hero-headline-gold{color:var(--gold)}
.drawer-item.lang-item .lang-pill{margin-inline-start:auto}
html[data-theme="day"] #tabbar{box-shadow:0 12px 28px rgba(41,39,36,.22)}
/* v281 (owner note 2026-11-27, Blacklane recording): on the home
   photo the hamburger is a BARE icon — no box, no rounded square
   behind it — small and calm, in the mode's own text colour so it
   stays readable on each mode's cover. Other pages keep their
   icon-btn chips untouched.
   v328 (owner correction 2026-11-28: «الخطوط خليها باللون الابيض» —
   in DAY mode the dark glyph vanished over the day cover photo):
   the cover hamburger now sits on a soft DARK ROUND disc and its
   lines are WHITE in BOTH modes, so it reads identically over any
   cover photo. Position (top corner) and size (34px) unchanged;
   the page-2 header hamburger is a different button and is NOT
   touched. */
#view .hero-top .icon-btn{background:rgba(8,8,10,.55);border:0;border-radius:50%;box-shadow:0 2px 10px rgba(0,0,0,.35);color:#fff;width:34px;height:34px}
/* v282 (owner correction 2026-11-27, from his Blacklane recording):
   scrolling folds the hero page away COMPLETELY — it never hangs
   half-scrolled between the two pages. v283 (owner, final word):
   page 1 IS the picture (the hero fills the whole screen; nothing
   of page 2 peeks at its bottom), and the scroll SETTLES fully on
   one page or the other — CSS proximity snap plus the JS settle in
   renderHome (the guarantee on every browser): any rest position
   strictly between the pages animates to the nearer page edge. The
   second page opens with a slim PLAIN header (greeting + bare
   hamburger, the mode's plain background — var(--navy) remaps per
   mode), sticky while the page scrolls; the floating island bar
   stays floating over both pages (it is fixed). */
body.home-view #view{scroll-snap-type:y mandatory}
#view .hero{scroll-snap-align:start;scroll-snap-stop:always}
/* v313 (owner: cover and content are TWO separate full-screen
   pages, never one merged scroll): page 2 is its own 100svh snap
   section and scrolls only inside itself. */
/* v320 (owner order 2026-11-28, «الصفحات لا تتحرك لا يسار ولا يمين»):
   ROOT CAUSE of the horizontal pan — .home-pg2 declared only
   overflow-y:auto, so overflow-x COMPUTED to auto (spec: a visible
   axis computes to auto when the other is a scroll value): page 2
   was the app's only horizontally-pannable page scroller, and the
   badges row (repeat(4,1fr) tracks sized by label min-content)
   supplied the extra width; a diagonal swipe left the page stuck
   shifted, text clipped at the edge, boxes touching the wall.
   Fixes: overflow-x hidden+clip on .home-pg2 (and the same guard on
   .tp-list, the other full-page scroller), an overflow-x:clip shell
   guard on html (body/#view already clip), and minmax(0,1fr) badge
   tracks so labels can never widen the page. Vertical scrolling,
   the y-snap, inner carousels and maps are untouched. */
/* v331 (URGENT owner bug 2026-11-28 11:35): overscroll-behavior
   was `contain` here — by spec that FORBIDS scroll chaining, so a
   pull at page 2's inner top edge was swallowed by .home-pg2 and
   never reached #view: the cover could not be swiped back to (the
   page stuck on page 2). `auto` restores chaining at the edges:
   at page 2's top, a continued pull chains to #view and the
   mandatory snap lands the cover fully; mid-content gestures are
   still consumed by the inner scroller alone, and at page 2's
   bottom the chain goes nowhere (#view is already at its last
   snap page). The two-page separation itself is unchanged. */
.home-pg2{height:100svh;scroll-snap-align:start;scroll-snap-stop:always;overflow-y:auto;overflow-x:hidden;overflow-x:clip;overscroll-behavior:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.home-pg2::-webkit-scrollbar{display:none}
.home-pg2 .home-foot{padding-bottom:112px}
/* v295 (owner order 2026-11-28): menu button on the RIGHT here too —
   direction:ltr locks the row like the bottom bar (owner bar ruling
   2026-11-17), so an RTL language can no longer flip the button to
   the physical left; greet stays left, button right, in every
   language. */
.home-plain-head{position:sticky;top:0;z-index:44;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:10px 16px;background:var(--navy);scroll-snap-align:start;direction:ltr}
.hph-greet{font-size:.95rem;font-weight:600;color:var(--text)}
.home-plain-head .icon-btn{background:transparent;border:0;box-shadow:none;color:var(--text);width:34px;height:34px}
.flow-wrap{max-width:560px;margin:0 auto;padding:6px 16px 28px}
.flow-head{display:flex;align-items:center;gap:10px}
.flow-title{flex:1;text-align:center;font-family:"Playfair Display",serif;font-size:1.26rem;font-weight:600;color:var(--text)}
.flow-lock{text-align:center;color:var(--gold);font-size:.6rem;letter-spacing:.34em;font-weight:700;margin:3px 0 14px}
.flow-seg{margin:0 auto 14px}
.flow-box{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 12px 28px rgba(0,0,0,.35)}
html[data-theme="day"] .flow-box{box-shadow:0 10px 24px rgba(41,39,36,.16)}
#view .flow-box .fld{margin-bottom:12px}
#view .flow-box .fld:last-child{margin-bottom:0}
.flow-box .fld label{display:block;font-size:.76rem;color:var(--muted);font-weight:600;margin-bottom:5px}
.flow-field{display:flex;align-items:center;gap:8px}
.flow-field .inp{flex:1;min-width:0}
.flow-pin{color:var(--gold);display:inline-flex;flex:0 0 auto}
.flow-pin svg{width:17px;height:17px}
.flow-swaprow{display:flex;justify-content:flex-end;margin:-6px 0 0}
.flow-swap{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--gold);display:grid;place-items:center;cursor:pointer}
.flow-swap svg{width:16px;height:16px}
.flow-head-sp{width:36px;flex:0 0 auto}
/* v286 (owner decision 2026-11-27): the journey page matches his
   Blacklane page — two separate dropdown pills in ONE centered row
   (trip type + passenger), then pickup / drop-off as plain hairline
   rows on the plain background (no raised box, no boxed inputs),
   and NO Continue button: the flow advances on the pick itself. */
.flow-ddrow{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:4px 0 18px}
.flow-dd{position:relative;display:inline-flex;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:999px;padding-inline:14px 10px;min-height:36px}
.flow-dd select{appearance:none;-webkit-appearance:none;background:none;border:0;color:var(--text);font:inherit;font-size:.85rem;font-weight:600;padding:8px 2px;cursor:pointer;max-width:44vw}
.flow-dd>svg{width:14px;height:14px;color:var(--muted);pointer-events:none;flex:0 0 auto}
.flow-lines{margin-top:2px}
.flow-line{padding:10px 0 9px;border-bottom:1px solid var(--line)}
.flow-line label{display:block;font-size:.72rem;color:var(--muted);font-weight:600;margin-bottom:4px}
.flow-line-in{display:flex;align-items:center;gap:8px}
.flow-line-in input,.flow-line-in select{flex:1;min-width:0;background:none;border:0;color:var(--text);font:inherit;font-size:.95rem;padding:2px 0}
.flow-line-in select{appearance:none;-webkit-appearance:none;cursor:pointer}
.flow-sug-h{font-size:.78rem;font-weight:700;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin:18px 2px 4px}
.flow-sug-row{display:flex;align-items:center;gap:11px;width:100%;text-align:start;background:none;border:0;border-bottom:1px solid var(--line);padding:11px 2px;color:var(--text);cursor:pointer}
.flow-sug-ic{color:var(--gold);display:inline-flex;flex:0 0 auto}
.flow-sug-ic svg{width:18px;height:18px}
.flow-sug-tx{display:flex;flex-direction:column;min-width:0}
.flow-sug-tx b{font-size:.9rem}
.flow-sug-tx small{color:var(--muted);font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-cta{display:block;width:100%;margin-top:18px;background:var(--gold);color:var(--ink-gold);border:0;border-radius:999px;padding:13px;font-size:.98rem;font-weight:700;cursor:pointer}
.flow-rows{margin-bottom:14px}
.flow-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);position:relative}
.flow-row:last-child{border-bottom:0}
.flow-row-lbl{font-size:.95rem;color:var(--text)}
/* v287: the row DISPLAYS the formatted value (long date / 12-hour
   time) like Blacklane; the native input lies invisibly over the
   whole row, so a tap anywhere opens the real picker. */
.flow-row-val{font-size:.95rem;font-weight:600;color:var(--text);text-align:end}
.flow-row input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;padding:0;cursor:pointer;font:inherit}
/* v366 (owner approved design 2026-12-02): an EMPTY Schedule field
   looks obviously required — a gold border BOX around the field, a
   gold asterisk after its label, and gold «Select ›» at its end.
   All three cues live only under .req-empty; a filled field is the
   plain row again. Day mode: champagne border, deep-gold text. */
.flow-row.req-empty{border:1.5px solid var(--gold);border-radius:14px;background:rgba(200,169,106,.07);padding:13px 14px;margin-bottom:10px}
.flow-row .req-star{display:none}
.flow-row.req-empty .req-star{display:inline;color:var(--gold);font-weight:800;margin-inline-start:6px}
.flow-row .flow-sel-hint{display:none}
.flow-row.req-empty .flow-sel-hint{display:inline-flex;align-items:center;gap:5px;color:var(--gold);font-weight:700;font-size:.95rem}
html[data-theme="day"] .flow-row.req-empty{border-color:#C6A15B;background:rgba(198,161,91,.10)}
html[data-theme="day"] .flow-row.req-empty .req-star{color:#A7833F}
html[data-theme="day"] .flow-row.req-empty .flow-sel-hint{color:#A7833F}
.flow-info-plain{border-top:1px solid var(--line);margin-top:2px}
.flow-info{padding:4px 14px}
.flow-info-row{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.flow-info-row:last-child{border-bottom:0}
.flow-info-ic{color:var(--gold);display:inline-flex;margin-top:1px;flex:0 0 auto}
.flow-info-ic svg{width:19px;height:19px}
.flow-info-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.flow-info-tx b{font-size:.9rem;color:var(--text)}
.flow-info-tx span{font-size:.8rem;color:var(--muted)}
.flow-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;scrollbar-width:none}
.flow-carousel::-webkit-scrollbar{display:none}
.flow-dcard{flex:0 0 86%;scroll-snap-align:center;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.35)}
html[data-theme="day"] .flow-dcard{box-shadow:0 10px 24px rgba(41,39,36,.16)}
.flow-dcard>img{width:100%;height:205px;object-fit:cover;display:block}
.flow-dinfo{padding:12px 14px 14px}
.flow-dname{font-family:"Playfair Display",serif;font-size:1.24rem;font-weight:600;color:var(--text)}
.flow-dcar{color:var(--muted);font-size:.86rem;margin:1px 0 7px}
.flow-dmeta{display:flex;align-items:center;gap:7px;margin-top:9px;font-size:.85rem;color:var(--muted);flex-wrap:wrap}
.flow-dmeta .rating{display:inline-flex;align-items:center;gap:3px;color:var(--gold);font-weight:700}
.flow-dprice{margin-inline-start:auto;color:var(--gold);font-weight:800;font-size:1rem}
.flow-dots{justify-content:center;margin-top:2px}
.flow-map{height:185px;border-radius:18px;overflow:hidden;margin-bottom:14px;border:1px solid var(--line);background:var(--card)}
.flow-summary{padding:14px}
.flow-sum-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-weight:700;font-size:.95rem;color:var(--text)}
.flow-myself{border:1px solid var(--line);border-radius:999px;padding:3px 10px;font-size:.72rem;color:var(--muted);font-weight:600;white-space:nowrap}
.flow-sum-mid{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.flow-sum-dur{font-size:.82rem;color:var(--muted)}
.flow-sum-pt{display:flex;align-items:center;gap:9px}
.flow-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);flex:0 0 auto}
.flow-sum-addr{flex:1;font-size:.9rem;color:var(--text);min-width:0}
.flow-sum-tm{font-size:.85rem;color:var(--muted);white-space:nowrap}
.flow-drvrow{display:flex;align-items:center;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.flow-drvrow img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.flow-drvname{flex:1;font-size:.9rem;font-weight:600;color:var(--text);min-width:0}
.flow-drvprice{color:var(--gold);font-weight:800;white-space:nowrap}
.flow-book{margin-top:14px}
.flow-confirmed{padding-top:32px}
.flow-check{width:64px;height:64px;border-radius:50%;background:var(--gold);color:var(--ink-gold);display:grid;place-items:center;margin:0 auto 14px}
.flow-check svg{width:30px;height:30px}
.flow-confirmed-title{text-align:center;font-family:"Playfair Display",serif;font-size:1.38rem;font-weight:600;color:var(--text);margin-bottom:16px}
.flow-linkbtn{display:block;margin:12px auto 0;background:none;border:0;color:var(--gold);font-size:.92rem;font-weight:600;cursor:pointer}
/* v289: flow carousel dots at the reference size — small circles.
   The shared .story-dot is a tall pill (Home stories rail); the
   driver carousel inherited that height and rendered as one big
   vertical gold pill under the card. Scoped to .flow-dots only. */
.flow-dots .story-dot{width:8px;height:8px;border-radius:50%}
.flow-dots .story-dot.active{width:8px}
/* v289 DRIVER SHEET + CONFIRM SHEETS (owner order 2026-11-27).
   Colours come only from the existing theme tokens. */
.sheet-car{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--card);margin-top:2px}
.sheet-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.sheet-track::-webkit-scrollbar{display:none}
.sheet-slide{flex:0 0 100%;scroll-snap-align:center;position:relative}
.sheet-slide img{width:100%;height:225px;object-fit:cover;display:block}
.sheet-cap{position:absolute;inset-inline:0;bottom:0;padding:20px 12px 8px;font-size:.78rem;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.55));text-align:start}
.sheet-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--gold);font-size:1.05rem;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2}
.sheet-prev{inset-inline-start:8px}
.sheet-next{inset-inline-end:8px}
.sheet-dots{justify-content:center;margin-top:8px}
.sheet-id{margin-top:12px}
.sheet-namerow{display:flex;align-items:center;gap:9px}
.sheet-name{font-family:"Playfair Display",serif;font-size:1.28rem;font-weight:600;color:var(--text)}
.sheet-rating{display:inline-flex;align-items:center;gap:3px;color:var(--gold);font-weight:700;font-size:.9rem}
.sheet-rating svg{width:15px;height:15px}
.sheet-namerow .fav-btn{margin-inline-start:auto}
.sheet-carname{color:var(--muted);font-size:.88rem;margin-top:1px}
.sheet-meta{color:var(--muted);font-size:.82rem;margin-top:2px}
.sheet-desc{color:var(--muted);font-size:.9rem;line-height:1.55;margin:10px 0 0}
.sheet-sec{margin-top:18px}
.sheet-sec h3{font-size:.95rem;font-weight:700;color:var(--text);margin:0 0 6px}
.sheet-sec .pf-review:first-of-type{margin-top:2px}
.sheet-calc{color:var(--muted);font-size:.85rem;margin:0}
.sheet-fare-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid var(--line);font-size:.88rem;color:var(--text)}
.sheet-fare-row>span:first-child{color:var(--muted)}
.sheet-fare-sub{display:block;font-size:.74rem;color:var(--muted)}
.sheet-fare-total{font-weight:800;border-bottom:0}
.sheet-fare-total>span:first-child{color:var(--text)}
.sheet-notes{border-top:0;margin-top:0}
/* ── v324: approved v7 driver sheet — ONE raised box per section
   (the standing rule, same treatment as .tp-onebox), calm sizes,
   theme tokens so both modes read correctly. */
.sh-box{border:1px solid #A7833F;border-radius:20px;padding:14px;margin:12px 0 0;background:var(--card);box-shadow:0 10px 28px rgba(255,255,255,.13),0 2px 8px rgba(255,255,255,.08)}
html[data-theme="day"] .sh-box{box-shadow:0 10px 28px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.10)}
.sh-h{font-size:.95rem;font-weight:700;color:var(--text);margin:0 0 8px}
.sh-id-row{display:flex;gap:12px;align-items:center}
.sh-avatar{width:64px;height:64px;border-radius:50%;overflow:hidden;flex:0 0 auto;border:2px solid var(--gold);background:var(--card);display:block}
.sh-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.sh-avatar-ph{display:grid;place-items:center;width:100%;height:100%;font-size:1.6rem}
.sh-id-main{flex:1;min-width:0}
.sh-name{font-family:"Playfair Display",serif;font-size:1.22rem;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px}
.sh-name .fav-btn{margin-inline-start:auto}
.sh-rate{color:var(--gold);font-weight:700;font-size:.92rem}
.sh-rate-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.sh-norate{color:var(--muted);font-size:.85rem;font-weight:600}
/* ── v329 V10 profile ── */
.sh-banner{position:relative;margin:-6px -16px 12px;border-radius:0 0 22px 22px;overflow:hidden;background:#10151f;min-height:138px}
.sh-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sh-banner-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,14,.38),rgba(5,8,14,.12) 45%,rgba(5,8,14,.55))}
.sh-banner-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;padding:10px 12px 0}
.sh-banner-back{background:rgba(8,8,10,.55);color:#fff;border-radius:50%}
.sh-lockup{position:relative;z-index:2;text-align:center;padding:2px 12px 16px;color:#fff}
.sh-lockup-name{font-family:"Playfair Display",serif;font-size:1.55rem;font-weight:700;letter-spacing:.06em;color:#E9CE8C;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.sh-lockup-name span{color:#fff}
.sh-lockup-sub{font-size:.62rem;letter-spacing:.42em;color:#F3E5C0;text-shadow:0 1px 6px rgba(0,0,0,.6);margin-top:1px}
.sh-lockup-stars{color:#C6A15B;font-size:.8rem;letter-spacing:.3em;margin-top:3px;text-shadow:0 1px 6px rgba(0,0,0,.6)}
/* v333 (owner correction 2026-11-28 12:12): the identity row is a
   GRID with disciplined tracks — the v329 flex row let the fixed
   neighbours (96px square photo + 104px side car photo) squeeze
   the text column to ~120px, so the rating and car lines wrapped
   word-by-word. Now: 80px ROUND photo (the design's circle, not a
   rounded square), a free middle column, and an 86px side column;
   the middle gets ~185px+ on a phone and every line sits whole. */
.sh-id10{padding:12px}
.sh-id10-row{display:grid;grid-template-columns:76px minmax(0,1fr) 80px;gap:10px;align-items:start}
.sh-photo10{position:relative;width:76px;height:76px}
.sh-photo10 img{width:76px;height:76px;object-fit:cover;border-radius:50%;border:2px solid var(--gold);display:block}
.sh-photo10 .sh-avatar-ph{display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;border:2px solid var(--gold);font-size:1.6rem;background:var(--card2)}
.sh-dot{position:absolute;bottom:2px;inset-inline-end:2px;width:15px;height:15px;border-radius:50%;background:#9a9a9a;border:2.5px solid var(--card)}
.sh-dot.on{background:#2fbf5a}
.sh-verified{display:inline-flex;vertical-align:-3px;margin-inline-start:5px}
.sh-car-ic{display:inline-flex;color:var(--gold);width:17px;height:17px;vertical-align:-3px}
.sh-car-ic svg{width:17px;height:17px}
.sh-id-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.sh-contact{display:flex;gap:7px}
.sh-round-btn{width:34px;height:34px;border-radius:50%;border:0;background:#10151f;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.3)}
html[data-theme="day"] .sh-round-btn{background:#10151f;color:#fff}
.sh-carphoto{width:80px;height:54px;object-fit:cover;border-radius:12px;display:block}
.sh-stats{display:flex;background:#10151f;border-radius:18px;padding:12px 6px;margin:0 0 12px;color:#fff}
.sh-stat{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;padding:0 4px}
.sh-stat + .sh-stat{border-inline-start:1px solid rgba(255,255,255,.14)}
.sh-stat-ic{color:#C6A15B;display:inline-flex}
.sh-stat-ic svg{width:20px;height:20px}
.sh-stat-star{color:#C6A15B;font-size:1.15rem;line-height:1}
.sh-stat-val{font-weight:800;font-size:1.02rem;color:#fff}
.sh-stat-lbl{font-size:.66rem;color:#CFC8BB}
.sh-photosrow{display:flex;gap:8px;margin:0 0 12px}
.sh-photo-cell{flex:1;min-width:0;height:76px;object-fit:cover;border-radius:14px;display:block}
.sh-cols{display:flex;gap:10px;align-items:flex-start}
.sh-col{flex:1;min-width:0}
.sh-col .sh-box{margin-bottom:10px}
.sh-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sh-svc{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border:1px solid var(--line);border-radius:12px;text-align:center}
.sh-svc-ic{color:var(--gold);display:inline-flex}
.sh-svc-ic svg{width:20px;height:20px}
.sh-svc-lbl{font-size:.64rem;color:var(--muted);line-height:1.25}
.sh-h-star{color:var(--gold)}
.sh-rev-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.sh-rev-card{border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--card2)}
.sh-rev-top{display:flex;align-items:center;gap:7px}
.sh-rev-ava{width:26px;height:26px;border-radius:50%;background:#10151f;color:#E9CE8C;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;flex:0 0 auto}
.sh-rev-name{font-weight:700;font-size:.85rem}
.sh-rev-stars{color:#C6A15B;font-size:.8rem;margin-top:3px}
.sh-rev-comment{margin:4px 0 0;font-size:.8rem;color:var(--muted)}
.sh-pricebar{display:flex;align-items:center;gap:10px;background:#10151f;border-radius:18px;padding:12px 14px;margin-top:12px}
.sh-pb-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.sh-pb-total{color:#fff;font-weight:800;font-size:1.15rem}
.sh-pb-det{background:none;border:0;color:#C6A15B;font-size:.78rem;cursor:pointer;padding:0;text-align:start}
.sh-pb-sel{flex:0 0 auto;width:auto;margin-inline-start:auto;padding:12px 18px}
/* v333: island-bar clearance at the foot of both profile sheets —
   the last boxes (services/amenities/notes/price bar) must rest
   fully ABOVE the fixed bottom bar, never under it. */
.sh-bottom-clear{height:calc(104px + env(safe-area-inset-bottom))}
/* ── v338: V16 standalone driver profile (owner-approved
   design 2026-11-28, «نفّذ» 16:58) — skyline cover (v339:
   wall-to-wall, NO brand lockup on it), back chevron +
   share at the cover corners; ONE continuous header band
   under the cover with a gold wave arc on its top edge: the
   large rounded-square REAL portrait overlapping the cover
   bottom-start with the round gold verified badge at its
   corner, large serif name + seal, role, gold divider + pin
   + city, and the honest stats row ATTACHED at the band's
   foot. The round call/chat buttons sit in the band on the
   name row (v339; no sticky bar — the v13–v337 fixed bar
   overlapped the car name), About, His car (plate badge on
   its own line, three
   thumbnails in one row), Services, Comfort chips, Reviews.
   The band rides --navy (Warm Ivory by day, jet black by
   night); the sections below sit on the page background.
   NO truncation: no ellipsis in any p13/p16 rule — labels
   wrap in full (the plate's own two lines keep their nowrap,
   as pinned since v13). */
.p13{max-width:560px;margin:0 auto}
/* Bottom padding keeps the last section fully clear of the
   island bar. */
.p13-body{padding:0 16px 150px}
.p13 .status-banner{margin:0 0 12px}
/* v339 (owner 2026-11-28 17:13): the cover runs WALL TO WALL —
   margin:0 -14px breaks out of #view's 14px side padding (the
   same breakout .hero/.profile-wrap use), no inset, no rounded
   outer frame — and the centered brand lockup is GONE from the
   profile (its rules are deleted with it). */
.p16-cover{position:relative;height:308px;max-height:44svh;overflow:hidden;margin:0 -14px}
.p16-cover img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
.p16-topbtn{position:absolute;top:calc(12px + env(safe-area-inset-top));width:40px;height:40px;border:0;background:transparent;color:#17130B;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:3;filter:drop-shadow(0 1px 5px rgba(255,255,255,.65))}
.p16-topbtn svg{width:24px;height:24px}
.p16-back{inset-inline-start:8px}
.p16-share{inset-inline-end:8px}
.p16-head{position:relative;background:var(--navy);padding:0 16px;margin:0 -16px}
.p16-head::before{content:'';position:absolute;top:-23px;left:-12%;right:-12%;height:46px;background:var(--navy);border-top:2.5px solid var(--gold);border-radius:50%;z-index:1}
.p16-idrow{position:relative;z-index:2;display:flex;gap:14px;align-items:flex-start}
.p16-photo{position:relative;width:126px;height:166px;flex:0 0 auto;margin-top:-84px}
.p16-photo img{width:126px;height:166px;object-fit:cover;border-radius:22px;border:3px solid var(--gold);display:block;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.p16-photo .sh-avatar-ph{display:flex;align-items:center;justify-content:center;width:126px;height:166px;border-radius:22px;border:3px solid var(--gold);font-size:2rem;background:var(--card2)}
.p16-badge{position:absolute;bottom:-9px;inset-inline-end:-9px;width:38px;height:38px;border-radius:50%;background:linear-gradient(160deg,#E3C888,var(--gold));color:#fff;display:flex;align-items:center;justify-content:center;border:2.5px solid var(--navy)}
.p16-badge svg{width:19px;height:19px}
.p16-idmain{flex:1;min-width:0;padding-top:16px}
.p16-name{font-family:"Playfair Display",serif;font-size:2.05rem;font-weight:700;color:var(--text);display:flex;align-items:center;gap:8px;line-height:1.15}
.p16-name .sh-verified svg{width:24px;height:24px}
.p16-name .fav-btn{margin-inline-start:auto}
.p16-role{color:var(--muted);font-size:.98rem;margin-top:3px}
.p16-stats{position:relative;z-index:2;display:flex;border-top:1px solid var(--line);margin-top:16px;padding:13px 0 16px}
.p16-stat{flex:1;min-width:0;text-align:center;padding:0 6px}
.p16-stat + .p16-stat{border-inline-start:1px solid var(--line)}
.p16-stat-v{display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:.82rem;color:var(--text);line-height:1.3;white-space:nowrap}
.p16-stat-ic{color:var(--gold);display:inline-flex;flex:0 0 auto}
.p16-stat-ic svg{width:16px;height:16px}
.p16-stat-l{color:var(--muted);font-size:.78rem;margin-top:3px;line-height:1.35}
.p13-rate-v{color:var(--gold);font-weight:700}
/* v339: the Client Rating cell shows five gold stars (rating
   display starts at 5), and the stats values are SMALLER and
   on ONE line each (nowrap — «Under 1 year» no longer wraps).
   v340 (owner 2026-11-28 17:29): the plate badge that sat in
   this band is REMOVED — the only plate on the profile is the
   one beside the car name in the car section (.p16-car-row). */
.p16-stars{color:var(--gold);font-size:.9rem;letter-spacing:.12em;line-height:1.3;white-space:nowrap}
.p13-norate{color:var(--muted);font-size:.88rem;font-weight:600;margin:0}
/* v339 (owner 2026-11-28 17:22): the call/chat round buttons
   sit IN the header band on the NAME row, in the empty space
   beside the name + seal — no longer under the stats band. */
.p16-contact{display:flex;gap:8px;align-items:center;margin-inline-start:auto}
/* v340 (owner 2026-11-28 17:29 «اسم السياره ونوعه واللوحه
   يكونوا جنب بعض»): the car name, its colour/type and the
   LIVERY plate badge sit side by side in ONE row; the badge
   keeps the small base .p13-plate scale (never enlarged). */
.p16-car-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--text);font-size:1.02rem;margin-top:8px}
.p16-car-ic{color:var(--gold);display:inline-flex;flex:0 0 auto}
.p16-car-ic svg{width:21px;height:21px}
.p16-car-sub{color:var(--muted);font-size:.9rem}
.p16-car-row .p13-plate{margin-top:0}
.p16-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px auto 0;max-width:85%}
.p16-thumbs img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block;cursor:pointer}
.p16-am{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.p16-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:7px 13px;font-size:.86rem;color:var(--text);background:var(--card)}
.p16-chip-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);flex:0 0 auto}
.p13-plate{display:inline-flex;flex-direction:column;align-items:center;flex:0 0 auto;margin-top:5px;padding:1px 7px 2px;border-radius:5px;background:linear-gradient(180deg,#dceefb,#aecfec);border:1px solid #7fa8c9;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);line-height:1.1}
.p13-plate-top{font-size:.38rem;font-weight:700;letter-spacing:.12em;color:#20507e;white-space:nowrap}
.p13-plate-num{font-size:.8rem;font-weight:800;letter-spacing:.08em;color:#10314f;white-space:nowrap}
.p13-svc{display:grid;grid-template-columns:1fr 1fr;gap:11px 16px;margin-top:10px}
.p13-svc-item{display:flex;align-items:center;gap:9px;font-size:.9rem;color:var(--text);min-width:0}
.p13-svc-ic{color:var(--gold);display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--gold) 10%,transparent);flex:0 0 auto}
.p13-svc-ic svg{width:17px;height:17px}
.p13-svc-lbl{line-height:1.35;min-width:0}
.p13-rev{padding:8px 0}
.p13-rev + .p13-rev{border-top:1px solid var(--line)}
.p13-rev-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.p13-rev-name{font-weight:700;font-size:.88rem;color:var(--text)}
.p13-rev-comment{margin:3px 0 0;font-size:.84rem;line-height:1.5;color:var(--muted)}
.p13-rbtn{width:44px;height:44px;flex:0 0 auto;border-radius:50%;background:transparent;border:1.5px solid var(--gold);color:var(--gold);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.p13-rbtn svg{width:19px;height:19px}
html[data-theme="day"] .p13-rbtn{background:#10151f;border-color:#10151f;color:#fff}

/* v332 Messages & Notifications combined page: plain header,
   centered title, gold tab/pill controls, wide row cards close
   to the walls (owner's small-side-gap rule). Mode-agnostic —
   everything rides the palette variables. */
.mn-title-wrap{text-align:center;padding:8px 0 2px}
.mn-title{font-size:1.42rem;font-weight:800;color:var(--text)}
.mn-subtitle{opacity:.72;font-size:.92rem;margin-top:3px;color:var(--text)}
.mn-tabs{display:flex;gap:8px;margin:14px 2px 12px}
.mn-tab{flex:1;padding:11px 4px;border-radius:14px;border:1px solid var(--line);background:var(--card);color:var(--text);font-weight:700;font-size:.9rem;cursor:pointer;font-family:inherit}
.mn-tab.on{background:linear-gradient(180deg,#E8C97A,#C6A15B);color:#191104;border-color:transparent}
.mn-pills{display:flex;gap:8px;margin:0 2px 12px}
.mn-pill-btn{flex:1;padding:8px 4px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--text);font-weight:600;font-size:.84rem;cursor:pointer;font-family:inherit}
.mn-pill-btn.on{background:linear-gradient(180deg,#E8C97A,#C6A15B);color:#191104;border-color:transparent}
.mn-pane{display:none}
.mn-pane.on{display:block}
.mn-row{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:13px 13px;margin:0 2px 10px}
.mn-dot{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:#C6A15B}
.mn-dot.off{visibility:hidden}
.mn-ic{flex:0 0 auto;width:46px;height:46px;border:1.6px solid #C6A15B;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.22rem;background:transparent}
.mn-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mn-main .mn-title{font-size:.97rem;font-weight:700;text-align:start}
.mn-rest{font-size:.87rem;color:var(--text);opacity:.85}
.mn-sub{font-size:.79rem;color:var(--muted)}
.mn-pill{flex:0 0 auto;padding:5px 10px;border-radius:999px;font-size:.74rem;font-weight:700}
.mn-pill.new{background:#E8C97A;color:#191104}
.mn-pill.ok{background:#2E9E5B;color:#fff}
.mn-pill.bad{background:#D43A31;color:#fff}
.mn-chev{flex:0 0 auto;opacity:.5;font-size:1.25rem;color:var(--text)}
.sh-car{color:var(--muted);font-size:.88rem;margin-top:1px}
.sh-pills{margin-top:6px;display:flex;gap:6px;flex-wrap:wrap}
.sh-pill{border:1px solid var(--line);border-radius:999px;padding:2px 9px;font-size:.76rem;color:var(--text)}
.sh-desc{color:var(--muted);font-size:.9rem;line-height:1.55;margin:0}
.sh-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.sh-thumb{width:76px;height:58px;object-fit:cover;border-radius:10px;border:1px solid var(--line);display:block}
.sh-amen-list{display:flex;flex-direction:column}
.sh-amen-row{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:.9rem;color:var(--text)}
.sh-amen-row + .sh-amen-row{border-top:1px solid var(--line)}
.sh-amen-ic{color:var(--gold);display:inline-flex;width:20px;height:20px;flex:0 0 auto}
.sh-amen-ic svg{width:20px;height:20px}
.sh-rate-head{display:flex;align-items:center;gap:10px}
.sh-rate-big{font-size:1.5rem;font-weight:800;color:var(--text)}
.sh-rate-stars,.sh-rev-stars{color:var(--gold);letter-spacing:2px;font-size:.88rem}
.sh-rate-count{color:var(--muted);font-size:.8rem;margin:2px 0 2px}
.sh-box .pf-review{padding:10px 0 11px}
.sh-box .pf-review + .pf-review{border-top:1px solid var(--line)}
.sh-box .pf-review-name{color:var(--text)}
.sh-box .pf-review-date{margin:2px 0 0;color:var(--muted)}
.sh-box .pf-review-comment{color:var(--text);font-size:.88rem}
.sh-rev-all{margin-top:8px;background:none;border:1px solid var(--line);border-radius:999px;padding:6px 14px;color:var(--gold);font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}
/* The metallic Illinois LIVERY plate (pure CSS, no image): bright
   sky-blue metal with a reflective sheen, black embossed tall
   characters, italic LAND OF LINCOLN across the top, LIVERY
   vertical down the left, ILLINOIS at the bottom centre. */
/* v333: the plate has a FIXED readable width (150px) and nowrap
   lines with tightened spacing — in v329 it inherited the squeezed
   ~120px column width and its overflow cropped the texts to
   fragments ("IVERY / LAND OF"). Complete and readable now. */
.sh-plate{position:relative;margin:8px 0 0;width:150px;max-width:100%;aspect-ratio:2/1;border-radius:8px;padding:7px 8px 6px 22px;background:linear-gradient(135deg,#7ec3ee 0%,#a8d6f5 22%,#5ea9e6 45%,#bfe3fa 62%,#6db2e8 82%,#9fd0f2 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -2px 6px rgba(20,80,140,.35),0 4px 14px rgba(0,0,0,.35);overflow:hidden;text-align:center;box-sizing:border-box}
.sh-plate::after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.45) 48%,transparent 62%);pointer-events:none}
.sh-plate-top{font-style:italic;font-weight:700;font-size:.5rem;letter-spacing:.05em;color:#10314f;white-space:nowrap}
.sh-plate-num{font-family:"Arial Narrow",Arial,sans-serif;font-size:1.28rem;font-weight:800;letter-spacing:.04em;color:#0b0b0b;line-height:1.2;transform:scaleY(1.12);text-shadow:0 1px 0 rgba(255,255,255,.55),0 -1px 1px rgba(0,0,0,.35);white-space:nowrap}
.sh-plate-side{position:absolute;left:5px;top:50%;transform:translateY(-50%);writing-mode:vertical-rl;font-size:.46rem;font-weight:800;letter-spacing:.2em;color:#10314f;white-space:nowrap}
.sh-plate-bot{font-size:.5rem;font-weight:700;letter-spacing:.16em;color:#10314f;white-space:nowrap}
.sheet-row{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:13px 14px;color:var(--text);cursor:pointer;text-align:start;font:inherit}
.sheet-row-lbl{font-weight:700;font-size:.92rem}
.sheet-row-val{flex:1;color:var(--muted);font-size:.84rem;text-align:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-row .chev{color:var(--gold);display:inline-flex}
.sheet-row .chev svg{width:16px;height:16px}
.sheet-overlay{position:fixed;inset:0;z-index:120}
.sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.sheet-panel{position:absolute;inset-inline:0;bottom:0;max-height:84vh;overflow-y:auto;background:var(--navy);border-top:1px solid var(--line);border-radius:20px 20px 0 0;padding:14px 16px calc(18px + env(safe-area-inset-bottom))}
.sheet-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.sheet-panel-title{font-family:"Playfair Display",serif;font-size:1.08rem;font-weight:600;color:var(--text)}
.sheet-x{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--text);cursor:pointer;flex:0 0 auto}
.flow-myself-btn{cursor:pointer}
.flow-sum-tap{cursor:pointer}
.flow-sum-pax{font-size:.82rem;color:var(--muted)}
#fcPaySheet .trip-glance{display:none}
#fcPaySheet #confirmBtn{display:none}
/* v289: the bare hero hamburger stays readable on ANY cover photo —
   a soft dark halo behind the glyph (shadow only; still no box,
   per the owner's bare-icon order). */
#view .hero-top .icon-btn svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.6)) drop-shadow(0 0 6px rgba(0,0,0,.45))}
/* v289: home page 2 — bottom room equal to the floating island, so
   the island bar never covers page-2 content (services cards incl.). */
body.home-view #view .home-foot{padding-bottom:112px}
/* v290 (owner order 2026-11-27): the Confirm step is ONE screen —
   no scrolling, Blacklane-style. The floating island bar is hidden,
   the view is locked, a compact title row overlays a tall map, the
   summary card overlaps the map's bottom edge, then Payment / Tip /
   Pickup-notes rows, and the gold Book button pinned fully visible
   at the bottom. The map zone is the only flexible element — it
   shrinks on short screens so the page never scrolls. */
body.fc-view #tabbar{display:none}
body.fc-view #view{overflow:hidden;padding:0}
body.fc-view #view .flow-wrap{padding:16px 14px}
/* v296 (owner orders 2026-11-28): Confirm is a CSS GRID —
   [title row][map 1fr][lower stack auto]. The map receives ALL the
   height the lower stack does not need (the upper ~55-60% on a
   standard phone), the lower stack can never clip the Book button,
   and the page never scrolls. The earlier flex layout let the map
   zone collapse to a 170px sliver on large-text phones and the map
   inside it never repainted — the grid removes that failure mode. */
/* v308 (URGENT owner defect 2026-11-28: the Confirm content ran
   off the RIGHT edge — pill, drop-off column and price cut): the
   grid's single implicit column was `auto`, so it sized itself to
   the widest item's max-content (the hidden form host and the
   nowrap row values) and stretched the whole page past the screen.
   The column is now pinned to the container width and every item
   may shrink — nothing on this page can widen it again. */
.fc-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);height:100%;overflow:hidden}
.fc-screen>*{min-width:0}
#fcFormHost{display:none}
/* v293 (owner feedback 2026-11-27): the title row sits ABOVE the
   map on the page background — never overlaid on the map (the
   overlay rendered ghosted/unreadable over the dark tiles). */
.fc-topbar{display:flex;align-items:center;gap:10px;padding:calc(6px + env(safe-area-inset-top)) 12px 4px;background:var(--navy)}
.fc-title{font-family:"Playfair Display",serif;font-size:1.02rem;font-weight:600;color:var(--text)}
.fc-mapzone{position:relative;min-height:0}
.fc-map{position:absolute;inset:0;height:auto;margin:0;border:0;border-radius:0}
.fc-lower{display:flex;flex-direction:column;padding:0 14px calc(8px + env(safe-area-inset-bottom));min-height:0;min-width:0}
.fc-lower>*{min-width:0}
.fc-sb-top .flow-myself{flex:0 0 auto}
.fc-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-lower #fcSummary{position:relative;z-index:4}
/* v296: the Blacklane small box — frosted/translucent, overlapping
   the map's bottom edge (Confirm only; on the Confirmed page the
   same box sits in normal flow). Top row date + For-myself pill,
   thin divider, then the 3-column address/duration/address row. */
.fc-sumbox{background:color-mix(in srgb,var(--card) 72%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:16px;padding:8px 11px;box-shadow:0 12px 28px rgba(0,0,0,.30)}
html[data-theme="day"] .fc-sumbox{box-shadow:0 12px 26px rgba(41,39,36,.14)}
.fc-lower .fc-sumbox{margin:-84px 12px 0}
.fc-sb-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fc-sb-date{font-size:.82rem;font-weight:700;color:var(--text)}
.fc-sb-div{height:1px;background:var(--line);margin:6px 0}
.fc-sb-cols{display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.fc-sb-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:3px}
.fc-sb-right{text-align:end}
.fc-sb-addr{font-size:.72rem;font-weight:600;line-height:1.3;color:var(--text);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-sb-time{font-size:.74rem;font-weight:700;color:var(--text)}
html[data-theme="night"] .fc-sb-time{color:var(--gold)}
.fc-sb-center{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:1px}
.fc-sb-dur{font-size:.72rem;font-weight:600;color:var(--muted);white-space:nowrap}
.fc-sb-route{display:flex;align-items:center;gap:4px;width:100%;color:var(--gold)}
.fc-sb-route svg{width:19px;height:19px;flex:0 0 auto}
.fc-sb-arrow{position:relative;flex:1;height:2px;background:var(--gold);opacity:.75;border-radius:2px}
.fc-sb-arrow::after{content:'';position:absolute;inset-inline-end:-1px;top:50%;transform:translateY(-50%);border-top:4px solid transparent;border-bottom:4px solid transparent;border-inline-start:6px solid var(--gold)}
#fcSumExtra{font-size:.74rem}
#fcSumExtra .flow-sum-pt{margin-top:4px}
/* On Confirm the driver row is BORDERLESS (target pictures): photo
   + name + price straight on the page background, no card box. */
.fc-lower .fc-drvrow{background:transparent;border:0;box-shadow:none;padding:0 2px;margin-top:8px}
.fc-drvrow img{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.fc-drvname{flex:1;font-size:.8rem;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-screen .status-banner{margin:8px 0 0}
.fc-screen .sheet-row{margin:6px 0 0;width:auto;padding:8px 12px}
.fc-screen #fcBook{margin:8px 0 0;width:auto;padding:11px;font-size:.92rem}
/* Tip is a BOX (target pictures): the label on its own line, the
   chips in a row under it. */
.fc-tiprow{cursor:default;flex-direction:column;align-items:stretch;gap:6px;padding:8px 12px}
.fc-screen .fc-tiprow .sheet-row-lbl{font-size:.84rem}
.fc-tipchips{display:flex;gap:5px;flex-wrap:wrap}
.fc-tipchip{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:600;cursor:pointer}
.fc-tipchip.sel{background:var(--gold);color:var(--ink-gold);border-color:var(--gold)}
.fc-tipinp{width:84px;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:5px 8px;font-size:.82rem}
@media (max-height:720px){
  .fc-lower .fc-sumbox{margin:-60px 12px 0}
  .fc-sumbox{padding:7px 10px}
}

/* ================= v207 DAY MODE (owner spec 2026-11-18) =================
   A COLOUR LAYER ONLY. Every rule below is scoped to
   html[data-theme="day"] (except the Appearance-row styles, which are
   theme chrome that must render in both modes). Nothing above this
   block changes: Night Mode renders byte-identically to v206, the
   layout / sizes / typography / buttons / icons are untouched, and
   the logo's colours and shape never change in either mode.
   Owner palette: Warm Ivory #F5F1E8 (main bg) · Soft Beige #E8E0D2
   (secondary bg) · Pure White #FFFFFF (cards / forms / inputs) ·
   Champagne Gold #C6A15B (primary gold, main buttons) · Deep Gold
   #A7833F (secondary gold, icons, gold text) · Soft Charcoal #292724
   (primary text) · Warm Gray #77736B (secondary text) · Beige Gray
   #D9D0C2 (borders). The night gold #C8A96A and the champagne #C6A15B
   are the same hue family, so gold borders / tints / shadows written
   for night carry over unchanged; only dark surfaces, light text and
   gold TEXT (contrast on ivory) are re-pointed.

   CORRECTION (owner orders 2026-11-18 01:53–02:12, SW v89): the v207
   layer overreached — it recoloured the logo and swapped the cover
   photo. Both are a fixed identity: every logo/lockup rule and the
   hero swap are REMOVED below, and the layer now also reaches the
   surfaces v207 missed or mis-named (stability audit ب-10..ب-17):
   the real calendar cells, the planner root/panel, chat, the address
   dropdown, the price/payment internals, the tile families and the
   nav pockets. Colours only, the owner's palette only; the night
   rules above this block are still byte-untouched. */

/* The Appearance row in the side drawer (both modes): a drawer item
   that never navigates — its two choices form a small segmented pill
   at the row's end; the active choice wears the gold button face. */
.drawer-item.theme-item{cursor:default}
.theme-seg{display:flex;gap:6px;flex:none}
.theme-seg button{border:1.5px solid var(--line);background:transparent;color:var(--muted);
  border-radius:999px;padding:5px 11px;font-size:.83rem;font-weight:800;min-height:2rem;cursor:pointer;font-family:inherit}
.theme-seg button.on{background:var(--gold);border-color:var(--gold);color:var(--ink-gold)}

/* ---- palette remap (day only) ---- */
html[data-theme="day"]{
  --navy:#F5F1E8; --ink:#FFFFFF; --card:#FFFFFF; --card2:#E8E0D2;
  --gold:#C6A15B; --gold-lt:#A7833F; --text:#292724; --muted:#77736B;
  --line:#D9D0C2; --red-bg:#F9E9E5; --white:#292724;
  --gold-o:#A7833F; --gold-b:#C6A15B; --gold-d:#A7833F; --ink-gold:#292724;
}

/* ---- shell chrome: top bar, tab bar, drawer, toast ---- */
html[data-theme="day"] #topbar{background:rgba(245,241,232,.97)}
html[data-theme="day"] #tabbar{background:rgba(255,255,255,.75)}
html[data-theme="day"] #tabbar button svg{color:#292724}
html[data-theme="day"] #tabbar button.active svg{color:#A7833F}
html[data-theme="day"] #toast{color:#292724}
html[data-theme="day"] .drawer{background:#F5F1E8;border-inline-end-color:#D9D0C2;box-shadow:0 0 60px rgba(41,39,36,.25)}
html[data-theme="day"] .drawer-item{border-bottom-color:rgba(119,115,107,.18)}

/* Glass buttons that float over photos / bars (hero ☰ + account,
   page-head back, language pill, pull-to-refresh): light glass. */
html[data-theme="day"] .icon-btn{background:rgba(255,255,255,.75);border-color:rgba(41,39,36,.16);color:#292724}
html[data-theme="day"] .back-btn{background:rgba(255,255,255,.75);border-color:rgba(41,39,36,.16);color:#292724}
html[data-theme="day"] .lang-pill{background:rgba(255,255,255,.75);border-color:rgba(41,39,36,.16);color:#292724}
html[data-theme="day"] .ptr-ind{background:rgba(255,255,255,.92);border-color:rgba(198,161,91,.6)}

/* ---- home ---- */
/* CORRECTION (owner 2026-11-18): NO day rule touches the hero, its
   shade, or any lockup element — the cover photo and the logo are a
   fixed identity, identical in both modes. The v207 rules that
   recoloured them are removed. */
html[data-theme="day"] .home-book{background:#FFFFFF;color:#292724;box-shadow:0 18px 36px rgba(41,39,36,.16)}
html[data-theme="day"] .hb-seg{background:#E8E0D2;border-color:#D9D0C2}
html[data-theme="day"] .hb-seg button{color:#77736B}
html[data-theme="day"] .hb-field label{color:#77736B}
html[data-theme="day"] .hb-input{border-bottom-color:#D9D0C2;color:#292724;color-scheme:light}
html[data-theme="day"] .badge + .badge{border-inline-start-color:rgba(119,115,107,.25)}
html[data-theme="day"] .home-help{background:#E8E0D2;border-color:#C6A15B}
html[data-theme="day"] .home-help .hh-s{color:#A7833F}
html[data-theme="day"] .story-title{color:#A7833F}
html[data-theme="day"] .story-card{background:#FFFFFF;border-color:#D9D0C2;color:#292724;box-shadow:0 6px 18px rgba(41,39,36,.12)}
html[data-theme="day"] .story-card.selected{box-shadow:0 6px 18px rgba(41,39,36,.16),0 12px 24px -4px rgba(198,161,91,.55),inset 0 -12px 16px -10px rgba(198,161,91,.5)}
html[data-theme="day"] .story-h{color:#292724}
html[data-theme="day"] .story-arrow{background:rgba(41,39,36,.05);color:#A7833F}
html[data-theme="day"] .story-dot{background:#D9D0C2}
html[data-theme="day"] .home-media{background:#E8E0D2;box-shadow:0 6px 18px rgba(41,39,36,.12)}
html[data-theme="day"] .home-corp-btn{background:#060606;border-color:#C6A15B;box-shadow:0 6px 18px rgba(41,39,36,.12)}
html[data-theme="day"] .hcb-tx{color:#fff}
html[data-theme="day"] .conf-tile{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .conf-ic{color:#A7833F}
html[data-theme="day"] .conf-t{color:#292724}
html[data-theme="day"] .how-step{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .how-num{color:#292724}
html[data-theme="day"] .join-card{background:#FFFFFF;border-color:#C6A15B}
html[data-theme="day"] .join-card-title{color:#A7833F}
html[data-theme="day"] .join-card-body{color:#77736B}
html[data-theme="day"] .home-foot-links button,html[data-theme="day"] .home-foot-links a{color:#77736B}

/* ---- generic components ---- */
html[data-theme="day"] .btn{color:#292724}
html[data-theme="day"] .pill.solid{color:#292724}
html[data-theme="day"] .svc.selected{background:rgba(198,161,91,.16)}
html[data-theme="day"] .status-banner{color:#A12B2B;background:rgba(176,42,42,.08)}
html[data-theme="day"] .status-banner.travel{color:#A7833F}
html[data-theme="day"] .status-pill{color:#A7833F}
html[data-theme="day"] .booking-item .status-pill.new-trip-pill{color:#A7833F;border-color:#A7833F}
html[data-theme="day"] .status-pill.avail{color:#292724}
html[data-theme="day"] .status-pill.unavail{color:#A12B2B}
html[data-theme="day"] .status-pill.cancelled{color:#C0392B}
html[data-theme="day"] .booking-item .status-pill.cancelled{color:#C0392B}
html[data-theme="day"] .driver-card{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .driver-car,html[data-theme="day"] .driver-meta{color:#77736B}
html[data-theme="day"] .page-sub{color:#77736B}
html[data-theme="day"] .drivers-filter input{background:#FFFFFF;border-color:#D9D0C2;color-scheme:light}
html[data-theme="day"] .drivers-filter-note{color:#77736B}
html[data-theme="day"] .summary-chip{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .pill.red{color:#C0392B}
html[data-theme="day"] .pill.green{color:#146C2E}
html[data-theme="day"] .route-status.err{color:#C0392B}
html[data-theme="day"] .sup-resolved{color:#146C2E}

/* Gold TEXT on light surfaces reads in Deep Gold (icons included);
   gold surfaces / borders keep the champagne family via the remap. */
html[data-theme="day"] .small-btn,html[data-theme="day"] .text-link,html[data-theme="day"] .rating,
html[data-theme="day"] .story-more-btn,html[data-theme="day"] .meet-line,html[data-theme="day"] .fav-btn,
html[data-theme="day"] .field label,html[data-theme="day"] .info-section > h3,html[data-theme="day"] .fold-p .f-title,
html[data-theme="day"] .vault-attn-t,html[data-theme="day"] .ocr-note,html[data-theme="day"] .cd-chip,
html[data-theme="day"] .series-head,html[data-theme="day"] .trip-map-head,html[data-theme="day"] .meet-card-title,
html[data-theme="day"] .chat-head,html[data-theme="day"] .chat-tr-link,html[data-theme="day"] .chat-via,
html[data-theme="day"] .tp-sheet-area,html[data-theme="day"] .tp-next-lbl,html[data-theme="day"] .tp-eta-lbl,
html[data-theme="day"] .b-leave-count,html[data-theme="day"] .driver-arrived-line,
html[data-theme="day"] .b-countdown,html[data-theme="day"] .more-ol > summary,html[data-theme="day"] .pol-title,
html[data-theme="day"] .pol-table th,html[data-theme="day"] .tp-bar-num,
html[data-theme="day"] .tp-list-in,html[data-theme="day"] .tp-price,html[data-theme="day"] .jr-chip,
html[data-theme="day"] .stop-add,html[data-theme="day"] .pay-note,html[data-theme="day"] .tg-total,
html[data-theme="day"] .inbox-closed,html[data-theme="day"] .vault-add-label,html[data-theme="day"] .vault-add-plus,
html[data-theme="day"] .conf-ic,html[data-theme="day"] .dash-ico-btn,html[data-theme="day"] .acct-tile .df-ico,
html[data-theme="day"] .acct-tiles .df-ico,html[data-theme="day"] .tp-mk-tile,html[data-theme="day"] .tp-sheet-tile,
html[data-theme="day"] .tp-stop-tile,html[data-theme="day"] .tp-me-btn,
html[data-theme="day"] .cal-nav-btn,html[data-theme="day"] .rated-stars,html[data-theme="day"] .series-line,
html[data-theme="day"] .docview-title{color:#A7833F}

/* ---- booking forms, profile booking card (white card system) ---- */
html[data-theme="day"] .book-card-w{background:#FFFFFF;color:#292724;box-shadow:0 18px 36px rgba(41,39,36,.16)}
html[data-theme="day"] .book-card-w .f-title{color:#292724}
html[data-theme="day"] .svc-mini{border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .svc-mini small{color:#77736B}
html[data-theme="day"] .book-card-w .inp{background:#FFFFFF;border-color:#D9D0C2;color:#292724;color-scheme:light}
html[data-theme="day"] .book-card-w select#tipSel{color-scheme:light}
html[data-theme="day"] .book-card-w .fold-w > summary{color:#A7833F}
html[data-theme="day"] .book-card-w .fold-w > summary::after{color:#A7833F}
html[data-theme="day"] .book-card-w .seg-w button{border-color:#D9D0C2;color:#292724;background:#FFFFFF}
html[data-theme="day"] .book-card-w .seg-w button.on{background:#C6A15B;color:#292724}
html[data-theme="day"] .book-card-w .price-line{color:#292724}
html[data-theme="day"] .book-card-w .pay-note{color:#A7833F}
html[data-theme="day"] .book-card-w .cars-pop-num.sel{background:#C6A15B;color:#292724}
html[data-theme="day"] .book-card-w .req-chip{border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .book-card-w .req-chip.sel{background:#C6A15B;color:#292724}
html[data-theme="day"] .book-card-w .tour-chip{border-color:#D9D0C2;color:#292724;background:#FFFFFF}
html[data-theme="day"] .book-card-w .tour-chip.sel{background:#C6A15B;color:#292724}
html[data-theme="day"] .cta-book-ol{color:#292724}
html[data-theme="day"] .amen-row{border-bottom-color:#D9D0C2}
html[data-theme="day"] .pay-warn{color:#A12B2B}
html[data-theme="day"] .stop-add{color:#A7833F}
html[data-theme="day"] .stop-del{color:#C0392B}
/* Hardcoded night surfaces inside the booking card (their night rules
   carry literal #2C2C2F / #1F1F22 backgrounds, not variables): the
   service tiles follow the owner's tab rule — beige inactive, gold
   active — the fold and the request chips sit white on the white
   card, and the payment note becomes a soft-beige band. */
html[data-theme="day"] .svc-mini{background:#E8E0D2}
html[data-theme="day"] .svc-mini.sel{background:#C6A15B}
html[data-theme="day"] .fold-w{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .fold-w > summary{color:#292724}
html[data-theme="day"] .fold-w .ttl{color:#292724}
html[data-theme="day"] .fold-w .opt{color:#77736B}
html[data-theme="day"] .req-chip{background:#FFFFFF}
html[data-theme="day"] .pay-note{background:#E8E0D2}
/* Same story for the booking card's own headings and price box:
   their night rules hardcode #F5F5F7 text / a #2C2C2F box, which the
   variable remap cannot reach. */
html[data-theme="day"] .book-card-w h2{color:#292724}
html[data-theme="day"] .book-card-w .lede{color:#77736B}
html[data-theme="day"] .book-card-w h4{color:#292724}
html[data-theme="day"] .book-card-w label{color:#77736B}
html[data-theme="day"] .book-card-w .muted{color:#77736B}
html[data-theme="day"] .book-card-w .price-box{background:#FFFFFF}
html[data-theme="day"] .book-card-w select#tipSel{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .block-ol h2{color:#292724}

/* ---- profile (driver public page) ---- */
html[data-theme="day"] .pf-trips{background:#C6A15B;color:#292724}

/* ---- about / policies / faq / reviews ---- */
html[data-theme="day"] .fold-ol{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .policy-panel{background:rgba(198,161,91,.1)}
html[data-theme="day"] .pol-table td{color:#77736B}
html[data-theme="day"] .pol-table th,html[data-theme="day"] .pol-table td{border-bottom-color:rgba(119,115,107,.25)}
html[data-theme="day"] .faq-item{background:#FFFFFF}
html[data-theme="day"] .faq-item p{color:#77736B}
html[data-theme="day"] .rate-group{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .light-rows .rate-row{color:#292724;border-top-color:#D9D0C2}
html[data-theme="day"] .fold-p{background:#FFFFFF}
html[data-theme="day"] .fold-p > summary{color:#292724}
html[data-theme="day"] .fold-p .fold-p-body{color:#77736B}

/* ---- account forms / bookings list / chat ---- */
html[data-theme="day"] .input{background:#FFFFFF;border-color:#D9D0C2;color:#292724;color-scheme:light}
html[data-theme="day"] .inp{background:#FFFFFF;border-color:#D9D0C2;color:#292724;color-scheme:light}
html[data-theme="day"] .bk-white .trip-map-eta{color:#292724}
html[data-theme="day"] .bk-white .booking-item{background:#FFFFFF;box-shadow:0 10px 22px rgba(0,0,0,.16)}
html[data-theme="day"] .booking-item{box-shadow:0 8px 22px rgba(0,0,0,.16)}
html[data-theme="day"] .bk-white .booking-item .status-pill{color:#A7833F}
html[data-theme="day"] .bk-white .booking-item .status-pill.confirmed{color:#146C2E}
html[data-theme="day"] .bk-white .booking-item .status-pill.completed{color:#77736B}
html[data-theme="day"] .bk-white .booking-item .status-pill.canceled,html[data-theme="day"] .bk-white .booking-item .status-pill.cancelled{color:#C0392B}
html[data-theme="day"] .bk-white .booking-item textarea{background:#FFFFFF;border-color:#D9D0C2;color:#292724;color-scheme:light}
html[data-theme="day"] .bk-white .booking-item textarea::placeholder{color:#77736B}
html[data-theme="day"] .bk-white .booking-item .note{color:#77736B}
html[data-theme="day"] .bk-extras .bfo-lbl{color:#292724}
html[data-theme="day"] .bk-chip{background:#E8E0D2;color:#292724}
html[data-theme="day"] .b-countdown.urgent{color:#C0392B}
html[data-theme="day"] .chat-box{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .share-box{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .chat-bubble{background:#E8E0D2;color:#292724}
html[data-theme="day"] .chat-avatar{background:#E8E0D2}
html[data-theme="day"] .chat-inp{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .chat-inp::placeholder{color:#77736B}
html[data-theme="day"] .chat-send{color:#292724}
html[data-theme="day"] .chat-closed{color:#77736B;border-color:#D9D0C2}
html[data-theme="day"] .meet-card{border-color:#D9D0C2}

/* ---- dashboard / owner panels ---- */
html[data-theme="day"] .dash-item{background:#FFFFFF}
html[data-theme="day"] .dash-item .status-pill.confirmed{color:#146C2E}
html[data-theme="day"] .dash-item .status-pill.cancelled{color:#C0392B}
html[data-theme="day"] .dash-ico-btn{background:#FFFFFF}
html[data-theme="day"] .acct-tile{background:#FFFFFF}
html[data-theme="day"] .cal-grid .cd.day:not(.booked):not(.pending):not(.off){background:#F5F1E8;color:#292724}
html[data-theme="day"] .cal-grid .cd.day:not(.booked):not(.pending):not(.off).sel{outline-color:#A7833F}
html[data-theme="day"] .cal-legend{color:#77736B}
html[data-theme="day"] .cal-day-off{color:#A12B2B;background:rgba(176,42,42,.1);border-color:rgba(192,57,43,.5)}
html[data-theme="day"] .series-line{color:#A7833F}
html[data-theme="day"] .daily-list .notif-row{color:#292724;border-bottom-color:rgba(119,115,107,.25)}
html[data-theme="day"] .bk-white .notif-row{color:#292724;border-bottom-color:rgba(119,115,107,.25)}
html[data-theme="day"] .inbox-item{background:#FFFFFF}
html[data-theme="day"] .exp-chip.valid{color:#146C2E}
html[data-theme="day"] .exp-chip.expiring{color:#A7833F}
html[data-theme="day"] .exp-chip.expired,html[data-theme="day"] .exp-chip.missing,html[data-theme="day"] .exp-chip.invalid{color:#C0392B}
html[data-theme="day"] .jr-chip.ok{color:#146C2E}
html[data-theme="day"] .jr-chip.bad{color:#C0392B}
html[data-theme="day"] .cd-chip.ok{color:#146C2E}
html[data-theme="day"] .cd-chip.bad{color:#C0392B}
html[data-theme="day"] .cd-chip.warn{color:#B35C00}
html[data-theme="day"] .vdoc-status.ok{color:#146C2E}
html[data-theme="day"] .vdoc-status.warn{color:#B35C00}
html[data-theme="day"] .vdoc-status.bad{color:#C0392B}
html[data-theme="day"] .docs-banner.warn{color:#A7833F}
html[data-theme="day"] .book-card-w.agr-card .agr-h{color:#A7833F}
html[data-theme="day"] .book-card-w.agr-card .agr-p{color:#77736B}

/* ---- vault / documents / notifications ---- */
html[data-theme="day"] .vault-doc{background:#FFFFFF}
html[data-theme="day"] .vault-doc-head{color:#292724}
html[data-theme="day"] .vault-doc input[type="date"]{color-scheme:light}
html[data-theme="day"] .docview{background:#FFFFFF}
html[data-theme="day"] .docview img{background:#E8E0D2}
html[data-theme="day"] .push-banner{background:rgba(41,39,36,.92);color:#F5F1E8}

/* ---- tour planner ---- */
html[data-theme="day"] .tp-root .page-head{background:linear-gradient(180deg,rgba(245,241,232,.94),rgba(245,241,232,0))}
html[data-theme="day"] .tp-root .page-head .ph-title{text-shadow:0 1px 8px rgba(255,255,255,.85)}
html[data-theme="day"] .tp-cat{background:#FFFFFF}
html[data-theme="day"] .tp-cat.on{background:#C6A15B}
html[data-theme="day"] .tp-root #tpBar{background:#FFFFFF;box-shadow:0 -8px 24px rgba(41,39,36,.12)}
html[data-theme="day"] .tp-sheet{background:#FFFFFF;box-shadow:0 -18px 44px rgba(41,39,36,.25)}
html[data-theme="day"] .tp-stop-tile{background:#FFFFFF}
html[data-theme="day"] .tp-me-btn{border-color:rgba(41,39,36,.16);color:#A7833F;background:rgba(255,255,255,.8)}
html[data-theme="day"] .tp-map{background:#F5F1E8}
html[data-theme="day"] .tp-zoom button{border-color:rgba(41,39,36,.16);color:#292724;background:rgba(255,255,255,.8)}

/* ---- address autocomplete dropdown ---- */
html[data-theme="day"] .addr-ac-box{background:#FFFFFF;border-color:#D9D0C2;box-shadow:0 14px 30px rgba(41,39,36,.18)}
html[data-theme="day"] .addr-ac-item{color:#292724;border-bottom-color:#D9D0C2}
html[data-theme="day"] .addr-ac-item:active{background:#E8E0D2}

/* ---- trip page (driver, light tracking cards stay light) ---- */
html[data-theme="day"] .tp-big-btn{color:#292724}
html[data-theme="day"] .tp-big-btn.tp-slider{background:#E8E0D2;color:#292724}
html[data-theme="day"] .tp-nav-bar{background:#E8E0D2;color:#292724}
html[data-theme="day"] .tp-nav-bar.tp-nav-final .tp-slider-fill{background:#C0392B}
html[data-theme="day"] .tp-nav-bar.tp-nav-final .tp-slider-handle{color:#C0392B}
html[data-theme="day"] .depart-box.tp-slider{background:#E8E0D2;color:#292724}
html[data-theme="day"] .imhere-btn{color:#292724}
html[data-theme="day"] .trip-top-card,.trip-driver-card,.trip-add-card{background:#FFFFFF !important;border-color:#D9D0C2 !important;color:#292724 !important;box-shadow:0 10px 24px rgba(41,39,36,.14) !important}
html[data-theme="day"] .tg-total{color:#A7833F}

/* ---- app.js inline styles: the attribute catch-alls ----
   A handful of screens set colours inline (style="color:#…"). These
   re-point exactly those night values in day mode; inline styles
   written with the day palette are unaffected. */
html[data-theme="day"] [style*="color:#A3A3A3"],html[data-theme="day"] [style*="color: #A3A3A3"]{color:#77736B !important}
html[data-theme="day"] [style*="color:#A6A6A6"],html[data-theme="day"] [style*="color: #A6A6A6"]{color:#77736B !important}
html[data-theme="day"] [style*="color:#F5F5F7"],html[data-theme="day"] [style*="color: #F5F5F7"]{color:#292724 !important}
html[data-theme="day"] [style*="color:#F0F0F2"],html[data-theme="day"] [style*="color: #F0F0F2"]{color:#292724 !important}
html[data-theme="day"] [style*="color:#C8A96A"],html[data-theme="day"] [style*="color: #C8A96A"]{color:#A7833F !important}
html[data-theme="day"] [style*="color:#ef9a90"],html[data-theme="day"] [style*="color: #ef9a90"]{color:#C0392B !important}
html[data-theme="day"] [style*="color:#7bd6a4"],html[data-theme="day"] [style*="color: #7bd6a4"]{color:#146C2E !important}
html[data-theme="day"] [style*="background:#19191C"],html[data-theme="day"] [style*="background: #19191C"]{background:#FFFFFF !important}
html[data-theme="day"] [style*="background:#C8A96A"],html[data-theme="day"] [style*="background: #C8A96A"]{color:#292724 !important}

html[data-theme="day"] .hb-input::placeholder,html[data-theme="day"] .inp::placeholder,html[data-theme="day"] .input::placeholder{color:#77736B}

/* ---- CORRECTION (SW v89): the surfaces v207 missed or mis-named ----
   Tiles first: the account / settings / App-control fold tiles and the
   icon-tile titles (v207's white only reached the .acct-tile grid, so
   the fold tiles stayed black and the tile titles stayed invisible). */
html[data-theme="day"] .acct-tiles .dash-fold{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .dash-fold .df-title{color:#292724}
html[data-theme="day"] .acct-tile .at-title{color:#292724}
/* Bookings head: the calendar title, the totals strip and the washed
   secondary lines. */
html[data-theme="day"] .df-cal-head{color:#292724}
html[data-theme="day"] .bk-totals{background:#FFFFFF;color:#77736B;border-color:#D9D0C2}
html[data-theme="day"] .bk-totals b{color:#292724}
html[data-theme="day"] .bk-totals-sep{background:rgba(119,115,107,.35)}
html[data-theme="day"] .note-line{color:#77736B}
html[data-theme="day"] .empty-box{color:#77736B}
html[data-theme="day"] .bk-month-meta{color:#77736B}
/* Price box + payment internals, the real classes (v207 stopped at the
   box shell and pointed at a .pay-choice that does not exist). */
html[data-theme="day"] .price-box{background:#FFFFFF}
html[data-theme="day"] .al-price-head .ttl{color:#292724}
html[data-theme="day"] .al-price-head .veh-name{color:#77736B}
html[data-theme="day"] .al-route-meta{color:#292724}
html[data-theme="day"] .al-bd-row{color:#292724;border-bottom-color:#D9D0C2}
html[data-theme="day"] .al-bd-total{color:#292724}
html[data-theme="day"] .final-price-line{color:#77736B}
html[data-theme="day"] .pay-box{border-top-color:#D9D0C2}
html[data-theme="day"] .pay-title{color:#292724}
html[data-theme="day"] .pay-opt{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .pay-opt .pay-opt-txt b{color:#292724}
html[data-theme="day"] .pay-opt .pay-opt-txt span{color:#77736B}
html[data-theme="day"] .pay-opt .pay-opt-amt{color:#292724}
html[data-theme="day"] .pay-opt.sel{background:rgba(198,161,91,.12);border-color:#C6A15B}
html[data-theme="day"] .pay-chip{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .pay-chip.sel{background:#C6A15B;border-color:#C6A15B}
html[data-theme="day"] .trip-glance{border-color:#D9D0C2}
html[data-theme="day"] .tg-line{color:#77736B}
/* Tour Planner: the root behind the map (ب-10). The v268 bottom
   bar's day surface is pinned with the other day planner rules. */
html[data-theme="day"] .tp-root{background:#F5F1E8}
/* Cars popover, the real surface (ب-14). */
html[data-theme="day"] .cars-pop{background:#FFFFFF;border-color:#D9D0C2;box-shadow:0 12px 28px rgba(41,39,36,.18)}
html[data-theme="day"] .cars-pop-title{color:#292724}
html[data-theme="day"] .cars-pop-num{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .cars-pop-num.sel{background:rgba(198,161,91,.16);border-color:#C6A15B;color:#A7833F}
/* Trip-page stop cards. */
html[data-theme="day"] .tp-stop-card{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .tp-stop-name{color:#292724}
/* Trip page, the rest of the sheet (found on the correction's own
   screenshot pass): the customer name and the Cancel label were
   white on ivory, and the ETA box / next-stop card / details block /
   app chooser kept night faces. All readable now, gold rims kept.
   The slider handle, the avatar and the round call/chat medallions
   stay black+gold in both modes by design. */
html[data-theme="day"] .tp-cust-name{color:#292724}
html[data-theme="day"] .tp-q-btn{background:rgba(255,255,255,.75);border-color:rgba(41,39,36,.16);color:#A7833F}
html[data-theme="day"] .tp-more-btn{border-color:#D9D0C2}
html[data-theme="day"] .tp-dest-line{color:#292724}
/* v216 (audit أ-2): the chooser's card is the always-dark
   .tp-navpop-card in BOTH modes (the v215 cancel popup rides the
   same card and stays dark by design), so the chooser title keeps
   its light night colour in day mode too — charcoal on the black
   card was invisible (1.33:1). Same treatment the cancel title
   already had via .tp-cancel-title below. */
html[data-theme="day"] .tp-choose-lbl{color:#F5F5F7}
html[data-theme="day"] .tp-next-card{background:#FFFFFF}
html[data-theme="day"] .tp-next-name{color:#292724}
html[data-theme="day"] .tp-details{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .tp-details .b-line{color:#77736B}
html[data-theme="day"] .tp-eta-box{background:#C6A15B}
html[data-theme="day"] .tp-eta-cell + .tp-eta-cell{border-inline-start-color:rgba(41,39,36,.35)}
html[data-theme="day"] .tp-eta-val{color:#292724}
html[data-theme="day"] .tp-eta-lbl{color:rgba(41,39,36,.72)}
html[data-theme="day"] .tp-dropoff-line{color:#292724;border-bottom-color:rgba(41,39,36,.35)}
html[data-theme="day"] .tp-dropoff-line small{color:rgba(41,39,36,.72)}
html[data-theme="day"] .tp-app{background:#FFFFFF;color:#292724;border-color:#C6A15B}
html[data-theme="day"] .tp-internal-btn{background:#FFFFFF;color:#A7833F;border-color:#C6A15B}
html[data-theme="day"] .tp-wait-line{color:#A7833F}
html[data-theme="day"] .tp-wait-line.over{color:#C0392B}
html[data-theme="day"] .tp-wait-over{color:#C0392B}
html[data-theme="day"] .tp-count{color:#146C2E}
/* Nav-layer chrome that navlayer.js injects into THIS document (ب-16):
   the restore mini-bar and the mini frame edge. */
html[data-theme="day"] #navMiniBar{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(245,241,232,.97));color:#A7833F;border-color:#C6A15B}
html[data-theme="day"] #navMiniBar .nmb-x{border-color:#C6A15B;color:#A7833F}
html[data-theme="day"] #navLayerFrame.mini{border-color:#C6A15B;box-shadow:0 18px 44px rgba(41,39,36,.3)}

/* Kept dark on purpose in BOTH modes (photo / media treatments, not
   UI surfaces): the intro splash, the photo lightbox, the profile
   cover shade and story photo gradients, the media sound pill. */

/* Cancel redesign: the popup card is one of the always-dark surfaces
   (like the media treatments above), so its title keeps the light
   colour in day mode too — the generic day .tp-choose-lbl colour
   would be invisible on it. Scoped to this popup's title only; the
   nav chooser's own title is untouched. */
html[data-theme="day"] .tp-cancel-title{color:#F5F5F7}

/* ================= v216 DAY FIXES (owner-approved full day-mode
   audit 2026-11-18, «نفّذ إصلاحات الوضع النهاري») =================
   Day mode ONLY — every rule is [data-theme="day"]-scoped, night
   stays byte-identical. Colours come only from the owner's locked
   unified day system (white #FFFFFF cards, ivory #F5F1E8, beige
   #E8E0D2, charcoal #292724, warm gray #77736B, gold #C6A15B /
   #A7833F, borders #D9D0C2). Root cause for most findings: the day
   layer recoloured text without its background (or the reverse),
   or aimed at class names the UI no longer renders — the dead
   rules found that way were removed above (46 rules: .bk-when /
   .bk-route / .bk-meta, .b-chip, .pkg / .stepper, .svc-row2,
   .inbox-*, .df-sub / .df-count, .pf-dl / .pf-doc-btn, .about-svc,
   .tp-chip, .rg-*, .mini-btn, .cm-sub, .meet-card-sub, .pb-t,
   .off-banner, .track-map, .count-strip, .leave-go-btn,
   .tp-maplib-btn, .tp-nav-opts, .pay-methods, .bk-stop,
   .bk-terms-lbl, .bk-quote-wait, .bk-zone-sep, .cta-book-sub).
   Deliberately NOT touched (owner-locked / open decisions):
   Deep-Gold small-text contrast (أ-16 family), warm-gray-on-beige
   (17), the unified dark map style (18), the page-head «BLACK»
   wordmark (22), slider handles, avatars, call/chat medallions,
   the logo/hero. */

/* (1 / أ-1) Trip status bar: the inert bar kept its night face
   (#3a3a3e) while the day layer flipped only its text to charcoal
   (1.32:1). It now wears the beige track face in day. */
html[data-theme="day"] .tp-big-btn:disabled,html[data-theme="day"] .tp-big-btn.tp-btn-inert{background:#E8E0D2;color:#292724}
/* (3 / أ-3) Account + forgot-password tabs: the selected tab's
   text was recoloured to its own background (#A7833F on #A7833F,
   1.00:1) by the generic gold-text list via its .small-btn class.
   Selected tabs keep the night pairing — dark text on gold. */
html[data-theme="day"] .acct-tab.on{color:#292724}
/* (9 / أ-9) Home trip-type switch: the selected button's ink was
   overridden by the day track rule (grey on gold). */
html[data-theme="day"] .hb-seg button.on{color:#292724}
/* (4+14 / أ-4 + ب-4) Bookings lists (customer + driver cards share
   .booking-item): the head's service name now pins the day ink,
   the price reads in Deep Gold (the day layer's gold-text rule),
   and the driver/date/route lines move from night grey #A3A3A3
   to warm gray. Replaces the dead .bk-when/.bk-route/.bk-meta
   rules removed above. */
html[data-theme="day"] .booking-item .b-service{color:#292724}
html[data-theme="day"] .booking-item .b-price{color:#A7833F}
html[data-theme="day"] .booking-item .b-line{color:#77736B}
/* (7 / أ-7) Driver profile: the policy fold's title was #fff on
   the fold's new white face (1.00:1); its subtitle sat in night
   grey. */
html[data-theme="day"] .fold-title-ol{color:#292724}
html[data-theme="day"] .fold-sub-ol{color:#77736B}
/* (8 / أ-8) Trip page «More details» toggle: only its border was
   recoloured; its label kept the night champagne #C8A96A on
   ivory (1.99:1). Gold text in day is Deep Gold. */
html[data-theme="day"] .tp-more-btn{color:#A7833F}
/* (10 / ب-1) Driver profile about card: the whole .about-grid
   family had NO day rules — a black #141416 box on ivory. */
html[data-theme="day"] .about-grid{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .about-txt h3{color:#292724}
html[data-theme="day"] .about-txt p{color:#77736B}
html[data-theme="day"] .about-txt .about-lede{color:#292724}
html[data-theme="day"] .about-points li{color:#292724;border-color:#D9D0C2}
/* (11 / ب-2) Cancellation-policy cards inside the (white) profile
   fold kept their black #141416 faces. Ivory cards on the white
   fold, palette text. */
html[data-theme="day"] .policy{background:#F5F1E8;border-color:#D9D0C2}
html[data-theme="day"] .policy .when{color:#A7833F}
html[data-theme="day"] .policy .amt{color:#292724}
html[data-theme="day"] .policy p{color:#77736B}
html[data-theme="day"] .policy-note{color:#77736B}
/* (12 / ب-3) Booking form's always-open «Trip details» box
   (.td-open, #2C2C2F) had no day rule — its labels fell to warm
   gray on near-black (~3.4:1) between white field islands. */
html[data-theme="day"] .td-open{background:#FFFFFF;border-color:#D9D0C2}
html[data-theme="day"] .apt-sec button{background:#FFFFFF;border-color:#D9D0C2;color:#77736B}
html[data-theme="day"] .apt-sec button.on{background:#C6A15B;border-color:#C6A15B;color:#292724}
html[data-theme="day"] .social-row a{background:#FFFFFF;border-color:#D9D0C2;color:#A7833F}
html[data-theme="day"] .fold-w.td-fold{border-color:#C6A15B}
html[data-theme="day"] .fold-w.td-fold>summary{background:#C6A15B}
html[data-theme="day"] .fold-w.td-fold>summary .ttl{color:#292724}
html[data-theme="day"] .fold-w.td-fold>summary .opt{color:#292724;opacity:.72}
html[data-theme="day"] .fold-w.td-fold>summary .chev{color:#292724}
html[data-theme="day"] .td-open .td-head .ttl{color:#292724}
html[data-theme="day"] .td-open .td-head .opt{color:#77736B}
/* (13 / ب-3) Booking-form controls whose day rules aimed at dead
   classes (.pkg / .stepper): the real package buttons (.pkg-b),
   steppers (.stepper-w), the Cars pill and the multi-car lines
   stayed black blocks. */
html[data-theme="day"] .pkg-b{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .pkg-b span{color:#77736B}
html[data-theme="day"] .pkg-b.sel{background:#C6A15B;border-color:#C6A15B;color:#292724}
html[data-theme="day"] .pkg-b.sel span{color:#292724}
html[data-theme="day"] .stepper-w button{background:#FFFFFF;border-color:#D9D0C2;color:#A7833F}
html[data-theme="day"] .stepper-w output{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .cars-pill{background:#FFFFFF;border-color:#D9D0C2;color:#292724}
html[data-theme="day"] .cars-pill-ic{color:#A7833F}
html[data-theme="day"] .multi-heading{color:#292724}
html[data-theme="day"] .multi-line{color:#77736B}
/* (15 / ب-5) Vault add-person form: black #141416 face, its text
   recoloured without it (1.24:1). */
html[data-theme="day"] .vault-add-form{background:#FFFFFF;border-color:#D9D0C2}
/* (19 / ج-2) Tour-planner map place labels: their colour rides
   var(--text), which flips to charcoal in day — over their own
   always-dark badges. The labels keep their light night colour
   in day; the badges stay dark by design (map family). */
html[data-theme="day"] .tp-mk-lbl{color:#F5F5F7}

/* v313: service profile pages (owner orders 2026-11-28) */
body.sp-view #tabbar{display:none}
.sp-hero{position:relative;height:300px;max-height:42svh;overflow:hidden}
.sp-hero img{width:100%;height:100%;object-fit:cover;display:block}
.sp-hero-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,0) 55%)}
.sp-x{position:absolute;top:calc(10px + env(safe-area-inset-top));inset-inline-end:12px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sp-x svg{width:17px;height:17px}
.sp-hero-t{position:absolute;bottom:14px;inset-inline-start:16px;inset-inline-end:16px;margin:0;font-family:"Playfair Display",serif;font-size:1.35rem;font-weight:600;color:#fff}
.sp-body{padding:16px 16px 104px}
.sp-intro{margin:0;font-size:.92rem;line-height:1.55;color:var(--text)}
.sp-feats{margin-top:16px;display:flex;flex-direction:column;gap:12px}
.sp-feat{display:flex;gap:11px;align-items:flex-start}
.sp-feat-ic{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--gold) 16%,transparent);color:var(--gold);display:flex;align-items:center;justify-content:center}
.sp-feat-ic svg{width:18px;height:18px}
.sp-feat-tx{display:flex;flex-direction:column;gap:1px}
.sp-feat-tx b{font-size:.9rem;color:var(--text)}
.sp-feat-tx small{font-size:.8rem;line-height:1.45;color:var(--muted)}
.sp-sec-t{font-family:"Playfair Display",serif;font-size:1.08rem;font-weight:600;color:var(--text);margin:22px 0 6px}
.sp-sec-x{margin:0;font-size:.88rem;line-height:1.55;color:var(--muted)}
.sp-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;display:block;margin-top:14px}
.sp-photo-wide{aspect-ratio:16/8}
.sp-steps{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.sp-step{display:flex;gap:11px;align-items:flex-start}
.sp-step-n{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--gold) 16%,transparent);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:.88rem;font-weight:700}
.sp-step-x{margin:0;padding-top:6px;font-size:.88rem;line-height:1.55;color:var(--muted)}
.sp-foot{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:12px 16px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--navy) 55%,transparent)}
.sp-foot .sp-book{margin:0}

/* v315: My Bookings tabs (owner order 2026-11-28) */
.bk-page-title{font-family:"Playfair Display",serif;font-weight:600;font-size:1.3rem}
.bk-tabs{display:flex;border-bottom:1px solid var(--line);margin:8px 0 6px}
/* v319 (owner note 2026-11-28, annotated screenshot): the tabbed
   bookings pages (driver Bookings + customer My Bookings — same tab
   component) started their content too low: tabs margin (12) + the
   generic .empty-box top padding (34) stacked into a large empty
   gap. The tabs margin is halved above, and an empty state sitting
   in a tabbed list gets calm padding instead. Lists now sit 6px
   under the tabs; empty states ~20px. Both modes (no colour rules). */
.bk-tabs + .empty-box,.bk-white > .empty-box{padding-top:14px;padding-bottom:18px}
.bk-tab{flex:1;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:9px 4px;font-size:.9rem;font-weight:600;color:var(--muted);cursor:pointer;font-family:inherit}
.bk-tab.sel{color:var(--text);border-bottom-color:var(--gold)}
.bk-empty-t{font-size:1rem;font-weight:700;color:var(--text);margin-top:8px}

/* v351 final review dialog (owner order 2026-12-02, approved
   picture): a centered card over the Confirm page — gold title,
   icon + label + value rows, a Total row, and exactly two buttons
   (gold Confirm, outlined Back). Day face follows the standing day
   palette at identical sizes.
   v363 (owner 2026-12-02 03:10-03:11): the SAME sheet, compacted —
   tighter padding/row spacing/type so ALL rows + Total + both
   buttons fit ONE screen with no scrolling at 360x800 (verified
   also 390x844, 412x915, both modes); address values clamp to two
   lines (.rv-addr). Nothing removed; the sheet form is unchanged. */
.rv-overlay{position:fixed;inset:0;z-index:1200;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:12px}
.rv-card{background:#141416;border:1px solid rgba(200,169,106,.45);border-radius:20px;width:min(94vw,380px);max-height:calc(100dvh - 24px);overflow-y:auto;padding:14px 16px;color:#F5F5F7}
.rv-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(200,169,106,.35);padding-bottom:8px}
.rv-title{font-size:1.08rem;font-weight:800;color:#C8A96A}
.rv-x{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1.5px solid rgba(200,169,106,.7);background:none;color:#C8A96A;cursor:pointer;flex:0 0 auto}
.rv-x svg{width:14px;height:14px}
.rv-rows{padding:2px 0}
.rv-row{display:flex;gap:8px;padding:4px 0;align-items:center}
.rv-ic{display:flex;align-items:center;justify-content:center;width:20px;flex:0 0 auto;color:#C8A96A}
.rv-ic svg{width:17px;height:17px}
.rv-dot{width:11px;height:11px;border-radius:50%;display:block}
.rv-dot.from{border:2px solid #C8A96A}
.rv-dot.mid{border:2px solid #C8A96A;background:rgba(200,169,106,.35)}
.rv-dot.to{background:#C8A96A}
.rv-dollar{font-weight:800;font-size:.98rem}
.rv-lbl{flex:0 0 88px;color:#C8A96A;font-weight:700;font-size:.84rem}
.rv-val{flex:1;font-weight:600;min-width:0;font-size:.9rem;line-height:1.3}
.rv-addr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rv-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(200,169,106,.35);padding:9px 0 0;font-size:.98rem;font-weight:800}
.rv-total-val{color:#C8A96A;font-size:1.25rem}
.rv-btns{display:flex;gap:8px;margin-top:10px}
.rv-confirm{flex:1;background:linear-gradient(135deg,#C6A15B,#A7833F);color:#17130A;border:0;border-radius:12px;padding:11px;font-weight:800;font-size:.95rem;cursor:pointer;font-family:inherit}
.rv-confirm:disabled{opacity:.55}
.rv-back{flex:1;background:none;border:1.5px solid rgba(200,169,106,.7);color:#C8A96A;border-radius:12px;padding:11px;font-weight:800;font-size:.95rem;cursor:pointer;font-family:inherit}
html[data-theme="day"] .rv-card{background:#FFFFFF;color:#292724;border-color:rgba(167,131,63,.5)}
html[data-theme="day"] .rv-title{color:#A7833F}
html[data-theme="day"] .rv-lbl{color:#A7833F}
html[data-theme="day"] .rv-ic{color:#A7833F}
html[data-theme="day"] .rv-total-val{color:#A7833F}
html[data-theme="day"] .rv-x{color:#A7833F;border-color:rgba(167,131,63,.7)}
html[data-theme="day"] .rv-back{color:#A7833F;border-color:rgba(167,131,63,.7)}
html[data-theme="day"] .rv-head{border-bottom-color:rgba(167,131,63,.35)}
html[data-theme="day"] .rv-total{border-top-color:rgba(167,131,63,.35)}

/* v352: locked Trips chip + locked-field styling on «My profile & car». */
.trips-chip{display:flex;align-items:center;gap:7px;justify-content:center;width:fit-content;margin:0 auto 12px;padding:7px 16px;border-radius:999px;background:rgba(200,169,106,.14);border:1px solid rgba(200,169,106,.5);color:var(--gold-lt,#C8A96A);font-weight:800;font-size:.92rem}
.trips-chip svg{width:14px;height:14px;flex:0 0 auto}
html[data-theme="day"] .trips-chip{color:#A7833F}
.locked-inp{opacity:.6}
.fld-lock-note{font-size:.75rem;color:#A3A3A3;margin-top:4px}

/* v353: THE unified driver profile (owner's design picture
   2026-12-02) — wavy deep-navy page background in night mode
   (flowing wave curves + a soft diagonal sheen; the boxes sit
   directly on it), day mode = the app day background with the
   waves in day tones and the same layout. */
.dp{position:relative;margin:0 -16px;padding-bottom:18px;background-color:#0A141F;background-image:radial-gradient(120% 55% at 88% -5%,rgba(200,169,106,.12),transparent 60%),linear-gradient(158deg,#0E1D2E 0%,#081426 52%,#060E1A 100%);overflow:hidden}
.dp::before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='640' viewBox='0 0 360 640' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%237FA3CC' stroke-opacity='.08' stroke-width='26'%3E%3Cpath d='M-40 120 C 90 60, 200 190, 400 110'/%3E%3Cpath d='M-40 300 C 110 240, 210 370, 400 290'/%3E%3Cpath d='M-40 480 C 90 420, 220 550, 400 470'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C8A96A' stroke-opacity='.05' stroke-width='2'%3E%3Cpath d='M-40 210 C 100 150, 210 280, 400 200'/%3E%3Cpath d='M-40 560 C 110 500, 200 620, 400 545'/%3E%3C/g%3E%3C/svg%3E");background-size:100% 640px;background-repeat:repeat-y;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 240px,transparent 264px,transparent 512px,#000 540px);mask-image:linear-gradient(180deg,#000 0,#000 240px,transparent 264px,transparent 512px,#000 540px)}
.dp>*{position:relative;z-index:1}
html[data-theme="day"] .dp{--text:#17202A;--muted:#777777;background-color:#F5F0E8;background-image:radial-gradient(120% 55% at 88% -5%,rgba(181,138,80,.13),transparent 60%),linear-gradient(158deg,#F7F3EA 0%,#F5F0E8 55%,#EFE8D9 100%)}
html[data-theme="day"] .dp::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='640' viewBox='0 0 360 640' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23A7833F' stroke-opacity='.07' stroke-width='26'%3E%3Cpath d='M-40 120 C 90 60, 200 190, 400 110'/%3E%3Cpath d='M-40 300 C 110 240, 210 370, 400 290'/%3E%3Cpath d='M-40 480 C 90 420, 220 550, 400 470'/%3E%3C/g%3E%3C/svg%3E")}
/* v372 (owner defect sheet 2026-12-02 13:54, item 1): cover
   height is a fixed 160px, full-bleed full screen width (the
   newest sheet supersedes the 13:37 sheet's 140px). */
.dp-cover{position:relative;height:160px;overflow:hidden}
.dp-cover img{width:100%;height:100%;object-fit:cover;object-position:center 11%;display:block}
/* v372 (owner 2026-12-02 13:54): the wide gold band is replaced
   by a THIN, elegant gold curve (a single stroked SVG path with
   the gold gradient) sweeping gently up to the right along the
   cover's bottom edge, as in the reference; the portrait (a
   later sibling) paints over it. */
.dp-cover::after{content:'';position:absolute;left:0;right:0;bottom:0;height:22px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23A7833F'/%3E%3Cstop offset='.5' stop-color='%23D9BC7A'/%3E%3Cstop offset='1' stop-color='%23B58A50'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M-2 15 C 120 21, 260 14, 392 5' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.dp-cover .p16-back{position:absolute;top:calc(12px + env(safe-area-inset-top));inset-inline-start:12px}
.dp-cover-btns{position:absolute;top:calc(12px + env(safe-area-inset-top));inset-inline-end:12px;display:flex;gap:8px;align-items:center}
.dp-cover-btns .p16-topbtn{position:static}
.dp-cover-btns .fav-btn{width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.dp-cover-btns .fav-btn svg{width:24px;height:24px}
/* v365: a favourited driver shows the heart filled GOLD on the
   cover (the heartFill icon paints in currentColor). */
.dp-cover-btns .fav-btn.on{color:var(--gold)}
/* v365: the booking flow's driver-choice card for a favourite —
   gold border + gold heart + «Your favourite» label. */
.flow-dcard.fav{border:1.5px solid var(--gold);box-shadow:0 0 0 1px var(--gold),0 12px 28px rgba(0,0,0,.35)}
.flow-fav{display:inline-flex;align-items:center;gap:5px;color:var(--gold);font-size:.78rem;font-weight:700;margin-top:3px}
.flow-fav-ic{width:13px;height:13px;display:grid;flex:0 0 auto}
html[data-theme="day"] .flow-fav{color:#A7833F}
html[data-theme="day"] .flow-dcard.fav{border-color:#C6A15B;box-shadow:0 0 0 1px #C6A15B,0 10px 24px rgba(41,39,36,.16)}
/* v364 (spec PDF §03): cover controls sit on dark circles, white
   icons, 44px touch targets. */
.dp-cover .p16-topbtn{width:44px;height:44px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;filter:none}
/* v370: side margins 16px (owner spec), portrait flush with the
   content edge like the reference. */
.dp-main{padding:0 16px}
.dp-idrow{display:flex;gap:12px;align-items:flex-start}
.dp-idmain{flex:1;min-width:0;padding-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name actions" "role role";column-gap:4px;align-items:center}
/* v368 (owner 2026-12-02 10:42 «هاذي المقاسات المتفق عليها»): the
   three contact buttons sit on the NAME band, right-aligned —
   in the owner's design they are NOT a separate row under the
   role. The role keeps the full band width on its own line. */
.dp-idmain .p16-name{grid-area:name;min-width:0;gap:4px}
.dp-idmain .p16-name .sh-verified{margin-inline-start:0}
.dp-idmain .p16-role{grid-area:role}
.dp-idmain .dp-actions{grid-area:actions}
/* v372 (owner 2026-12-02 13:54): the thin vertical divider sits
   INSIDE the name row at a FIXED distance after the verified
   badge (the v370/v371 ::before on the actions cell left the
   badge-to-divider gap at the mercy of the 1fr name column, and
   at 390px the badge swallowed it entirely). The name text may
   ellipsize (long names) — the badge and divider never move. */
.dp-band-div{width:1px;height:30px;background:rgba(200,169,106,.45);margin-inline-start:8px;flex:0 0 auto;align-self:center}
html[data-theme="day"] .dp-band-div{background:#D8C39C}
.dp .p16-name .dp-name-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp .p16-name .sh-verified{flex:0 0 auto}
/* v371 (owner spec sheet 2026-12-02 13:37): portrait 124x130,
   overlapping the cover by 40px, radius 20px, gold frame 2px
   (the p16 frame is reused; sizes scoped to the unified
   profile). Badge on the portrait: 28px. Name: Playfair 34px;
   verified beside the name 20px; role 14px. Tapping the
   portrait opens the full-screen viewer (13:16). */
.dp .p16-photo{width:124px;height:130px;margin-top:-40px}
.dp .p16-photo img{width:124px;height:130px;border-radius:20px;border-width:2px}
.dp .p16-photo .sh-avatar-ph{width:124px;height:130px;border-radius:20px;border-width:2px}
/* v372 (owner 2026-12-02 13:54): the portrait's drop shadow is
   LIGHTENED (the shared p16 frame casts 0 10px 24px /.28). */
.dp .p16-photo img{box-shadow:0 5px 14px rgba(0,0,0,.15)}
.dp-photo-tap{cursor:pointer}
html[data-theme="day"] .dp .p16-photo img{border-color:#B58A50}
html[data-theme="day"] .dp .p16-photo .sh-avatar-ph{border-color:#B58A50}
.dp .p16-badge{width:28px;height:28px;bottom:-7px;inset-inline-end:-7px;border-width:2px}
.dp .p16-badge svg{width:15px;height:15px}
.dp .p16-name{font-size:34px;line-height:1.1}
.dp .p16-name .sh-verified svg{width:20px;height:20px}
.dp .p16-role{font-size:14px}
.dp-actions{display:flex;gap:2px;align-items:center;margin-top:0;justify-content:flex-end}
/* v372 (owner 2026-12-02 13:54): contact controls are the
   spec's 34px circles (13:37 sheet), 1.5px gold border, 16px
   icons — the touch box IS the 34px circle now (v371's 44px
   boxes made the band 25px too wide at 390px: the first circle
   overlapped the verified badge and the divider landed INSIDE
   the phone circle — measured in CDP). (The v353-v368
   horizontal rule under the band stays gone: the second
   reference has no rule there.) */
.dp-rbtn{position:relative;width:34px;height:34px;border:0;background:none;color:var(--gold);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.dp-rbtn::before{content:'';position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--gold);background:rgba(10,20,31,.35)}
.dp-rbtn svg{width:16px;height:16px;position:relative}
html[data-theme="day"] .dp-rbtn{color:#B58A50}
html[data-theme="day"] .dp-rbtn::before{background:rgba(255,255,255,.55);border-color:#B58A50}
/* v372 CAR SECTION (owner corrections 2026-12-02 13:54,
   superseding the v371 studio treatment): 155px tall, NO box
   and NO dark banner — CSS GRID 30% text / 70% image, the two
   fully separated, no overlap. Left: the ORIGINAL Chevrolet
   bowtie as an image asset, make/model, the year as gold text
   on a BLACK badge. Right: the car as a FULLY transparent PNG
   (car only — no floor, no reflection baked in) at object-fit
   contain, the WHOLE car visible, never cropped, never a scene
   photo (dpCarPng), over a soft CSS ground shadow only. */
.dp-car{display:grid;grid-template-columns:30% 70%;margin-top:12px;height:155px;position:relative}
.dp-car-id{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-width:0}
.dp-bowtie-gold{display:flex;flex:0 0 auto}
.dp-bowtie-gold img{width:60px;height:auto;display:block}
.dp-car-name{display:flex;flex-direction:column;gap:1px;color:var(--text);font-size:14px;font-weight:800;letter-spacing:.2px;line-height:1.25}
.dp-car-name span{white-space:nowrap}
.dp-car-year{background:#0B0D10;color:var(--gold);font-size:14px;font-weight:800;letter-spacing:1px;padding:4px 12px;border-radius:7px}
html[data-theme="day"] .dp-car-year{color:#B58A50}
.dp-car-stage{position:relative;min-width:0}
/* v372 (owner 2026-12-02 13:54): NO floor band and NO reflection
   under the car — the PNG is the car only on full transparency;
   the stage adds just a SOFT GROUND SHADOW (a blurred ellipse)
   under the wheels. */
.dp-car-shadow{position:absolute;right:2%;bottom:-2px;width:96%;height:22px;background:radial-gradient(50% 50% at 50% 50%,rgba(24,19,10,.6),rgba(24,19,10,.3) 55%,rgba(24,19,10,0) 75%);filter:blur(5px)}
.dp-car-img{position:absolute;right:0;bottom:9px;width:100%;max-height:142px;object-fit:contain}
/* v372 (owner 2026-12-02 13:54): plate + LIVERY badge in ONE
   row, side by side — EXACTLY equal in width and height: both
   carry the SAME specified flex-basis calc((100% - 25px)/2)
   (≈46% each; the row is 12px gap + 1px divider + 12px gap)
   at aspect 2.4:1, with a thin vertical divider between them.
   (flex:1 1 0 measured 2px UNEQUAL in Chrome — the plate's
   container-type containment skews free-space distribution.)
   The plate keeps the
   owner's EXACT template image; the JPG carries black bars
   baked in above/below the plate (bright region = y 76..795 of
   887); at 170x72 a cover window cannot exclude the bars
   entirely, so the window is CENTRED on the plate
   (object-position 44%, v371) leaving only a hair of dark edge
   top and bottom, like the plate's own frame. On wide screens
   the two boxes keep their spec size; on narrow ones they
   shrink together (flex 0 1 170px). */
.dp-platerow{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}
.dp-plate{position:relative;flex:0 0 calc((100% - 25px)/2);aspect-ratio:12/5;container-type:inline-size;overflow:hidden;border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.35)}
.dp-plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%}
/* Overlay left 55%, top 52% of the 170x72 window = the number
   centre of the plate inside this crop; container-query sizing
   (16cqw, 1cqw tracking); longer numbers shrink via the inline
   cqw size driverProfileHtml computes. Colour stays the one
   matched to the owner's plate asset. */
.dp-plate-num{position:absolute;left:55%;top:52%;transform:translate(-50%,-50%);font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:16cqw;letter-spacing:1cqw;color:#17334E;text-shadow:0 1px 0 rgba(255,255,255,.45),0 -1px 1px rgba(10,30,50,.35);white-space:nowrap}
.dp-vdiv{width:1px;background:linear-gradient(180deg,transparent,rgba(200,169,106,.5),transparent);margin:8px 0;flex:0 0 auto}
html[data-theme="day"] .dp-vdiv{background:linear-gradient(180deg,transparent,#D8C39C,transparent)}
.dp-livery{flex:0 0 calc((100% - 25px)/2);aspect-ratio:12/5;border-radius:10px;border:1.5px solid var(--gold);background:linear-gradient(180deg,#15181D,#090B0E);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:var(--gold);box-shadow:0 10px 26px rgba(0,0,0,.35)}
.dp-livery-bowtie{display:flex}
.dp-livery-bowtie img{width:34px;height:auto;display:block}
.dp-livery-t{font-size:16px;font-weight:800;letter-spacing:3px;line-height:1.1}
.dp-livery-s{font-size:7.5px;font-weight:700;letter-spacing:2px;opacity:.85}
html[data-theme="day"] .dp-livery{border-color:#B58A50;color:#B58A50}
/* v371 (owner spec sheet 2026-12-02 13:37): stats card height
   AUTO with min 74px, three equal columns, 20px gold icons,
   numbers 15px, labels 11px, thin vertical dividers — and
   NOTHING escapes the card (the 13:35 live overflow: «Under 1
   year» wrapped at the old 18px and pushed its label out;
   values and labels are one-line, clipped by the cell). Night
   background stays OUR jet black; day = white card, #D8C39C
   border, #B58A50 icons. */
.dp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:74px;margin-top:12px;padding:6px 0;border-radius:18px;border:1px solid rgba(200,169,106,.55);background:linear-gradient(180deg,rgba(26,26,29,.94),rgba(10,10,12,.96));box-shadow:0 12px 26px rgba(0,0,0,.28)}
.dp-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;padding:0 4px;min-width:0;overflow:hidden}
.dp-stat+.dp-stat{border-inline-start:1px solid rgba(200,169,106,.25)}
.dp-stat-ic{color:var(--gold);display:flex}
.dp-stat-ic svg{width:20px;height:20px}
.dp-stat-val{color:var(--text);font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dp-stat-lbl{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html[data-theme="day"] .dp-stats{background:#FFFFFF;border-color:#D8C39C;box-shadow:0 10px 22px rgba(90,70,30,.13)}
html[data-theme="day"] .dp-stat+.dp-stat{border-inline-start-color:#D8C39C}
html[data-theme="day"] .dp-stat-ic{color:#B58A50}
html[data-theme="day"] .dp-stat-val{color:#17202A}
html[data-theme="day"] .dp-stat-lbl{color:#777777}
/* v371 (owner spec sheet 2026-12-02 13:37): interior photos —
   3 equal in a row, gap 5px, aspect 3:2, radius 12px,
   object-fit cover. */
.dp-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 0 0}
.dp-thumbs img{width:100%;min-width:0;aspect-ratio:3/2;object-fit:cover;border-radius:12px;border:1px solid rgba(200,169,106,.55);cursor:pointer}
/* About — white in day, padding 16px, radius 18px, title 18px
   bold, text 14px at line-height 1.6, auto height (unchanged
   by the 13:37 sheet). */
.dp-about{margin-top:12px;padding:16px;border-radius:18px;border:1px solid rgba(200,169,106,.55);background:linear-gradient(180deg,rgba(26,26,29,.94),rgba(10,10,12,.96));box-shadow:0 12px 26px rgba(0,0,0,.28)}
.dp-about-h{display:flex;align-items:center;gap:7px;color:var(--text);font-weight:700;font-size:18px}
.dp-info-ic{width:21px;height:21px;border-radius:50%;background:var(--gold);color:#12233A;display:flex;align-items:center;justify-content:center;font-style:italic;font-weight:900;font-size:.85rem;font-family:Georgia,serif;flex:0 0 auto}
.dp-about-tx{color:var(--text);line-height:1.6;margin:5px 0 0;font-size:14px}
html[data-theme="day"] .dp-thumbs img{border-color:#D8C39C}
html[data-theme="day"] .dp-about{background:#FFFFFF;border-color:#D8C39C;box-shadow:0 10px 22px rgba(90,70,30,.13)}
html[data-theme="day"] .dp-about-h{color:#17202A}
html[data-theme="day"] .dp-about-tx{color:#17202A}
/* v371 (owner decision 2026-12-02 13:39): the floating
   «Select This Chauffeur» button — BOOKING-FLOW driver sheet
   ONLY (the standalone profile never renders it). Fixed at the
   bottom of the viewport while scrolling, 85% wide centred
   (v372: the owner's newest written number, was 86%),
   56px high, radius 32px, navy #17243A with a 1px #B58A50
   border and white text, safe-area aware; it sits above the
   app tab bar, which stays visible on the sheet. Same button
   in both modes. Its tap is the sheet's existing select action
   (flowSelectDriver) — no new booking path. */
.dp-select-float{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(80px + env(safe-area-inset-bottom));width:85%;max-width:430px;height:56px;border-radius:32px;background:#17243A;border:1px solid #B58A50;color:#fff;font-size:16px;font-weight:700;z-index:55;cursor:pointer;box-shadow:0 16px 34px rgba(10,16,26,.4);display:flex;align-items:center;justify-content:center}
.fds-clear{height:calc(150px + env(safe-area-inset-bottom))}
/* v371 (superseded in part by v374): under 390 the name band is
   tight so the verified badge never reaches the first contact
   button. v371/v372 shrank the name (28px) and the portrait
   (104x109); v374 restores BOTH to the full spec (34px /
   124x130) at every width — the band fits at 360 by tightening
   the row gaps instead (idrow 12→8, name/actions column gap
   4→2, action buttons gap 2→0); the verified badge keeps its
   16px step-down. These queries sit at the END of the profile
   section so they win at equal specificity. */
@media (max-width:389px){.dp .p16-name{gap:4px}.dp .p16-name .sh-verified svg{width:16px;height:16px}.dp-idrow{gap:8px}.dp-idmain{column-gap:2px}.dp-actions{gap:0}}
/* v374 (owner 2026-12-02 14:23 + 14:29): cover + wall-to-wall.
   (a) The cover's fit was re-aimed: the driver's cover photo is
   a tall scene (skyline / hotel canopy / jet / SUV / chauffeur);
   at 160px the old center 22% window sliced through the jet and
   the chauffeur's face. center 11% frames the skyline band only
   (source rows ~8–33% at 360–430) — no sliced strip of another
   scene. (b) The gold trim is a THIN GENTLE curve in the bottom
   22px (the old path rose 22 units across a 30px strip and read
   as a straight diagonal slash). (c) The car's soft ground
   shadow is strengthened so it reads on the ivory day ground
   (still a soft blurred ellipse — no floor, no reflection).
   (d) WALL TO WALL («الملف من الجدار للجدار»): the car section,
   plate row, stats card, gallery and About lose their side
   margins and span the full screen width; inner padding stays
   (the car identity column keeps its 16px start inset, About
   keeps its 16px padding, the stats cells theirs) and the 12px
   section gaps are unchanged. The name band keeps its inset —
   it was not in the owner's list. Scoped to the STANDALONE
   profile (.p13-body): the page column insets the profile by
   30px a side (#view 14 + .p13-body 16), so .dp breaks out by
   30 and the sections by the .dp-main 16. The booking-flow
   sheet renders the same .dp inside .flow-wrap and keeps its
   current geometry exactly. */
.p13-body .dp{margin:0 -30px}
.p13-body .dp-car,.p13-body .dp-platerow,.p13-body .dp-stats,.p13-body .dp-thumbs,.p13-body .dp-about{margin-inline:-16px}
.p13-body .dp-car{padding-inline-start:16px}
