/* TonoMoto Showroom panel. Brand: orange #FF5400, asphalt #0B0F14, sand #F5F3EE, amber #FFBD00,
   lime #40FF00, muted #5B5F66, line #E6E2DA. Dark text on orange. Phone layout below 821px. */
:root {
  --orange: #FF5400; --asphalt: #0B0F14; --sand: #F5F3EE; --amber: #FFBD00; --lime: #40FF00;
  --muted: #5B5F66; --line: #E6E2DA; --danger: #B42A00; --soft: #A9A69E;
  --d: "Sora", system-ui, sans-serif; --b: "Manrope", system-ui, sans-serif;
  color-scheme: light;
}
html[lang=ar] { --d: "Cairo", "Sora", system-ui, sans-serif; --b: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; }
html[lang=ar] .h, html[lang=ar] .lh { letter-spacing: 0; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--sand); color: var(--asphalt); font-family: var(--b); font-size: 15px; overflow: hidden; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
#app { height: 100%; height: 100dvh; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: start; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
[dir=rtl] .flp { transform: scaleX(-1); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.sticker-art-svg { display: block; width: 100%; height: auto; }

/* Loading */
.boot { height: 100%; display: flex; align-items: center; justify-content: center; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--asphalt); animation: sr-spin .8s linear infinite; display: block; flex: none; }
.spin.s { width: 22px; height: 22px; }
@keyframes sr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--asphalt); color: #FFF; border-radius: 12px; padding: 12px 16px; font-weight: 700; z-index: 50; max-width: calc(100% - 32px); width: max-content; text-align: center; }

/* ---------- Log in and registration ---------- */
.au { position: relative; height: 100%; display: flex; background: var(--sand); }
.au .lf { width: 44%; flex: none; background: var(--asphalt); color: #FFF; padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.au .brand, .au .mb { display: flex; align-items: center; gap: 9px; font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 22px; }
.au .mb { display: none; gap: 8px; font-size: 18px; margin-inline-end: auto; }
.au .brand img, .au .mb img { width: 30px; height: 30px; display: block; }
.au .brand small, .au .mb small { font-family: "Manrope", system-ui, sans-serif; font-weight: 700; font-size: 13px; color: #A7ABB1; margin-inline-start: 4px; }
.au .lh { font-family: var(--d); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; margin-top: auto; max-width: 430px; }
.au .vis { position: relative; height: 210px; flex: none; max-width: 440px; }
.au .vc { height: 190px; width: min(100%, 340px); border-radius: 18px; object-fit: cover; display: block; }
.au .vs { position: absolute; inset-inline-end: 0; bottom: 0; width: min(250px, 58%); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.au .pts { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: auto; color: #C8CBD0; font-weight: 700; font-size: 14px; }
.au .pts span { display: flex; align-items: center; gap: 7px; }
.au .pts i { width: 7px; height: 7px; border-radius: 4px; background: var(--orange); display: block; }
.au .rt { flex: 1; min-width: 0; overflow: auto; display: flex; flex-direction: column; padding: 16px 24px 26px; }
.au .hero { display: contents; }
.au .hero .lh, .au .hero .vis { display: none; }
.au .mh { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; min-height: 40px; }
.au .frm { width: 100%; max-width: 420px; margin: auto; display: flex; flex-direction: column; gap: 14px; padding: 10px 0; }
.au .cta { display: flex; flex-direction: column; gap: 6px; }
.au .h { font-family: var(--d); font-weight: 800; font-size: 29px; letter-spacing: -.02em; line-height: 1.12; }
.au .sub { font-weight: 600; color: var(--muted); line-height: 1.35; }
.au .sub.tiny { font-size: 13px; text-align: center; margin-bottom: 4px; }
.au .sub.tiny a { color: var(--asphalt); font-weight: 700; text-underline-offset: 3px; }
.au .fld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; color: var(--muted); min-width: 0; }
.au .bx { display: flex; align-items: center; gap: 8px; background: #FFF; border-radius: 14px; min-height: 56px; padding: 0 14px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--asphalt); }
.au .bx.bad { box-shadow: inset 0 0 0 2px var(--danger); }
.au .bx:focus-within { box-shadow: inset 0 0 0 2px var(--asphalt); }
.au .bx input, .au .bx select { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-weight: 700; font-size: 16px; height: 52px; }
.au .bx input::placeholder { color: var(--soft); font-weight: 600; }
.au .bx input:focus-visible, .au .bx select:focus-visible { outline: 0; }
.au .cc { font-weight: 800; display: flex; align-items: center; gap: 7px; padding-right: 9px; border-right: 1px solid var(--line); flex: none; }
.au .cc svg { width: 27px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 15, 20, .14); display: block; }
.au .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.au .err { color: var(--danger); font-weight: 700; font-size: 13.5px; }
.au .err .inl { color: var(--asphalt); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.au .go { min-height: 56px; width: 100%; border-radius: 15px; background: var(--orange); color: var(--asphalt); font-family: var(--d); font-weight: 700; font-size: 15px; text-align: center; flex: none; }
.au .go[disabled] { background: #E4E0D9; color: var(--muted); cursor: default; }
.au .go[aria-busy=true] { cursor: progress; }
.au .w { min-height: 52px; width: 100%; border-radius: 15px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; text-align: center; flex: none; }
.au .lnk { min-height: 44px; font-weight: 700; color: var(--asphalt); text-align: center; width: 100%; }
.au .lnk u { text-underline-offset: 3px; }
.au .lnk.m, .au .lnk[disabled] { color: var(--muted); cursor: default; }
.au .lnk.s { width: auto; align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; }
.au .who { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.au .who button { font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.au .otp { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.au .otp i { font-style: normal; height: 60px; border-radius: 12px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; align-items: center; justify-content: center; font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 22px; }
.au .otp:focus-within i.on { box-shadow: inset 0 0 0 2px var(--asphalt); }
.au .otp.bad i { box-shadow: inset 0 0 0 2px var(--danger); }
.au .otp input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; border: 0; }
.au .bk { display: flex; align-items: center; gap: 8px; flex: none; max-width: 420px; width: 100%; margin: 0 auto; min-height: 44px; }
.au .pg { flex: 1; display: flex; gap: 5px; }
.au .pg i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.au .pg i.d { background: var(--orange); }
.au .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.au .chip { min-height: 48px; border-radius: 12px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; text-align: center; color: var(--asphalt); }
.au .chip[aria-pressed=true] { background: var(--asphalt); color: #FFF; box-shadow: none; }
.au .up { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 78px; padding: 10px 12px; border-radius: 15px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.au .up:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.au .up.on { box-shadow: inset 0 0 0 2.5px var(--asphalt); }
.au .up.bad { box-shadow: inset 0 0 0 2.5px var(--danger); }
.au .up[aria-busy=true] { cursor: progress; }
.au .up > span.th { width: 68px; height: 56px; border-radius: 10px; background: var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.au .up img { width: 100%; height: 100%; object-fit: cover; }
.au .up div { flex: 1; min-width: 0; }
.au .up b { display: block; font-weight: 800; }
.au .up small { font-weight: 600; color: var(--muted); font-size: 13px; }
.au .up.bad small { color: var(--danger); font-weight: 700; }
.au .ck { width: 26px; height: 26px; border-radius: 13px; background: var(--asphalt); color: #FFF; display: flex; align-items: center; justify-content: center; flex: none; }
.au .tl { display: flex; flex-direction: column; background: #FFF; border-radius: 16px; padding: 6px 14px; }
.au .tl div { display: flex; align-items: center; gap: 11px; min-height: 54px; }
.au .tl div + div { border-top: 1px solid var(--line); }
.au .tl i { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--line); font-style: normal; }
.au .tl .ok i { background: var(--lime); }
.au .tl .now i { background: var(--amber); }
.au .tl b { font-weight: 700; }
.au .big { width: 68px; height: 68px; border-radius: 34px; display: flex; align-items: center; justify-content: center; background: var(--lime); flex: none; }
.au .big.a { background: var(--amber); }
.au .big.n { background: #FFF; }

/* Language: three buttons on desktop, one button + bottom sheet on the phone. */
.lg { display: inline-flex; background: rgba(11, 15, 20, .08); border-radius: 10px; padding: 3px; flex: none; }
.lg button { min-height: 34px; min-width: 36px; padding: 0 8px; border-radius: 8px; font-weight: 800; font-size: 13px; text-align: center; color: var(--muted); }
.lg button[aria-pressed=true] { background: #FFF; color: var(--asphalt); }
.au .lgm { display: none; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; border-radius: 12px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 800; font-size: 14px; color: var(--asphalt); flex: none; }
.au .lsc { position: fixed; inset: 0; background: rgba(11, 15, 20, .45); z-index: 30; }
.au .lss { position: fixed; left: 0; right: 0; bottom: 0; background: #FFF; border-radius: 22px 22px 0 0; padding: 18px 16px max(18px, env(safe-area-inset-bottom, 0px)); z-index: 31; }
.au .lss h2 { font-family: var(--d); font-weight: 800; font-size: 21px; margin: 0 0 10px; }
.au .lsr { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 14px; border-radius: 13px; font-weight: 700; font-size: 16px; }
.au .lsr[aria-pressed=true] { background: var(--sand); }
.au .lsr + .lsr { margin-top: 4px; }

/* ---------- Panel ---------- */
.pn { height: 100%; font-size: 14.5px; }
.pn .app { height: 100%; display: flex; }
.pn .side { position: relative; width: 232px; flex: none; background: var(--asphalt); color: #FFF; display: flex; flex-direction: column; padding: 18px 12px; gap: 4px; }
.pn .brand { display: flex; align-items: center; gap: 8px; font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 19px; padding: 2px 10px 14px; }
.pn .brand img { width: 26px; height: 26px; display: block; flex: none; }
.pn .brand small { font-family: "Manrope", system-ui, sans-serif; font-weight: 700; font-size: 12.5px; color: #A7ABB1; margin-inline-start: 2px; }
.pn .nv { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-weight: 700; color: #C8CBD0; width: 100%; }
.pn .nv:hover:not([disabled]) { background: rgba(255, 255, 255, .07); }
.pn .nv.on { background: #FFF; color: var(--asphalt); }
.pn .nv[disabled] { opacity: .45; cursor: default; }
.pn .me { width: 100%; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .14); padding: 12px 10px 0; display: flex; gap: 10px; align-items: center; border-radius: 0; color: #FFF; text-align: start; min-height: 56px; }
.pn .me div { flex: 1; min-width: 0; }
.pn .me b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn .me > svg { color: #A7ABB1; flex: none; }
.pn .av { width: 38px; height: 38px; border-radius: 19px; background: #FFF; color: var(--asphalt); display: flex; align-items: center; justify-content: center; font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 13px; flex: none; }
.pn .acm { position: absolute; bottom: 74px; left: 12px; right: 12px; background: #FFF; color: var(--asphalt); border-radius: 16px; padding: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); z-index: 5; }
.pn .acl { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 6px 10px 4px; }
.pn .acr { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 42px; padding: 0 10px; border-radius: 10px; font-weight: 700; }
.pn .acr:hover, .pn .aco:hover, .pn .acr[aria-pressed=true] { background: var(--sand); }
.pn .aco { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 44px; padding: 0 10px; border-radius: 10px; font-weight: 700; color: var(--danger); margin-top: 6px; }
.pn .col { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.pn .mtop { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top, 0px)); background: #FFF; box-shadow: 0 1px 0 var(--line); flex: none; }
.pn .mtop .brand { color: var(--asphalt); padding: 0; font-size: 18px; }
.pn .mtop .av { background: var(--asphalt); color: #FFF; width: 36px; height: 36px; }
.pn .main { flex: 1; min-height: 0; min-width: 0; overflow: auto; padding: 22px 26px 40px; }
.pn .wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.pn .tp { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; flex-wrap: wrap; }
.pn .h { font-family: var(--d); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.pn .go { min-height: 46px; padding: 0 18px; border-radius: 13px; background: var(--orange); color: var(--asphalt); font-family: var(--d); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.pn .go[disabled] { background: #E4E0D9; color: var(--muted); cursor: default; }
.pn .w { min-height: 46px; padding: 0 16px; border-radius: 13px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.pn .c { background: #FFF; border-radius: 16px; padding: 16px; }
.pn .td { display: flex; align-items: center; gap: 11px; min-height: 56px; width: 100%; border-top: 1px solid var(--line); }
.pn .td:first-of-type { border-top: 0; }
.pn .td[disabled] { opacity: .45; cursor: default; }
.pn .td > span.i { width: 36px; height: 36px; border-radius: 11px; background: var(--sand); display: flex; align-items: center; justify-content: center; flex: none; }
.pn .td > div { flex: 1; min-width: 0; }
.pn .td b { display: block; font-weight: 700; }
.pn .sub { font-weight: 600; color: var(--muted); line-height: 1.35; }
.pn .rvb { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--amber); border-radius: 14px; padding: 10px 12px; font-weight: 700; }
.pn .rvb .rvg { min-height: 36px; padding: 0 12px; border-radius: 9px; background: var(--asphalt); color: #FFF; font-size: 12.5px; font-weight: 700; }
.pn .fr1 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 18px; }
.pn .fi { width: 240px; max-width: 100%; }
.pn .fr1 .h { font-size: 22px; }
.pn .mo { padding: 4px 14px; }
.pn .lr { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pn .lr b { font-weight: 700; }
.pn .tabs { display: none; flex: none; background: #FFF; box-shadow: 0 -1px 0 var(--line); padding: 6px 4px max(6px, env(safe-area-inset-bottom, 0px)); }
.pn .tb1 { flex: 1; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--muted); position: relative; border-radius: 12px; text-align: center; }
.pn .tb1.on { color: var(--asphalt); }
.pn .tb1.on svg { color: var(--orange); }
.pn .tb1[disabled] { opacity: .45; cursor: default; }

@media (max-width: 820px) {
  .au .lf, .au .lg { display: none; }
  .au .lgm { display: inline-flex; }
  .au .mb { display: flex; }
  .au .mh { justify-content: space-between; }
  .au .rt { padding: 10px 16px 0; padding-top: max(10px, env(safe-area-inset-top, 0px)); }
  .au .frm { flex: 1; margin: 0 auto; padding: 18px 0 0; }
  .au .h { font-size: 27px; }
  .au .cta { position: sticky; bottom: 0; margin-top: auto; background: var(--sand); padding: 10px 0 max(14px, env(safe-area-inset-bottom, 0px)); z-index: 2; }
  .au .bk { margin: 6px auto 0; }
  .au.hr .rt { padding: 0; }
  .au.hr .hero { display: flex; flex-direction: column; background: var(--asphalt); color: #FFF; padding: 10px 16px 34px; padding-top: max(10px, env(safe-area-inset-top, 0px)); gap: 14px; flex: none; }
  .au.hr .hero .lh { display: block; font-size: 27px; margin: 4px 0 0; }
  .au.hr .hero .vis { display: block; height: 156px; max-width: none; }
  .au.hr .hero .vc { height: 136px; width: 72%; }
  .au.hr .hero .vs { width: 58%; }
  .au.hr .mb { color: #FFF; }
  .au.hr .lgm { background: rgba(255, 255, 255, .14); box-shadow: none; color: #FFF; }
  .au.hr .frm { background: var(--sand); border-radius: 22px 22px 0 0; margin: -20px 0 0; padding: 20px 16px 0; max-width: none; position: relative; }

  .pn .side { display: none; }
  .pn .mtop, .pn .tabs { display: flex; }
  .pn .main { padding: 14px 16px 24px; }
  .pn .h { font-size: 23px; }
  .pn .tp .go { min-height: 44px; padding: 0 14px; }
  body:has(.pn) .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
