:root{
 --rv-bg:#F2F1EC;--rv-surface:#FFFFFF;--rv-surface2:#ECEBE5;--rv-line:#DEDCD4;--rv-ink:#0E1013;--rv-muted:#5C616A;
 --rv-accent:#C8F560;--rv-accent-ink:#0A0C0F;
 --rv-late:#C2321F;--rv-late-bg:#FBE3DE;--rv-soon:#8F5400;--rv-soon-bg:#FBEBCF;--rv-good:#3A6B0F;--rv-good-bg:#E6F3D0;
 --rv-live:#1F9D63;--rv-nav:rgba(255,255,255,.94);--rv-shadow:0 18px 40px rgba(14,16,19,.14);
 --rv-display:Alexandria,Tahoma,sans-serif;
}
:root[data-mode="dark"]{
 --rv-bg:#0A0C0F;--rv-surface:#14171C;--rv-surface2:#1E2229;--rv-line:#262B33;--rv-ink:#F4F5F2;--rv-muted:#9BA2AD;
 --rv-late:#FF6B57;--rv-late-bg:#2B1411;--rv-soon:#FFB547;--rv-soon-bg:#2B200C;--rv-good:#C8F560;--rv-good-bg:#1B2410;
 --rv-live:#3DDC97;--rv-nav:rgba(20,23,28,.92);--rv-shadow:0 18px 40px rgba(0,0,0,.45);
}
.rv-pulse{position:relative;width:8px;height:8px;flex:none}
.rv-pulse i{position:absolute;inset:0;border-radius:50%;background:currentColor}
.rv-pulse i:first-child{animation:rvPulse 1.6s ease-out infinite}
@keyframes rvPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.rv-pulse i:first-child{animation:none;opacity:0}}
.rv-section{margin-top:28px}
.rv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px 12px}
.rv-head h2{margin:0;font-family:var(--rv-display);font-size:20px;font-weight:700;color:var(--rv-ink)}
.rv-sub{display:block;margin-top:2px;color:var(--rv-muted);font-weight:400;font-size:12.5px}
.rv-live .rv-pulse{width:7px;height:7px}
.rv-live:not(.on) .rv-pulse i:first-child{animation:none;opacity:0}
.rv-section>.empty{margin:0 20px;background:var(--rv-surface);border:1px solid var(--rv-line);border-radius:24px;color:var(--rv-ink)}
.rv-ask{display:block!important;margin:28px 20px 0!important;padding:18px!important;border-radius:28px!important;border:0!important;box-shadow:none!important;background:var(--rv-accent)!important;color:var(--rv-accent-ink)!important;position:relative!important;inset:auto!important;transform:none!important}
.rv-ask-head{display:flex;align-items:center;justify-content:space-between}
.rv-ask-head>span{display:flex;align-items:center;gap:8px}
.rv-ask-head strong{font-size:17px}
.rv-ask-head small{font-size:12px;font-weight:600;color:#3B4A16!important}
.rv-ask-form{margin-top:14px!important;display:flex!important;align-items:center;gap:8px;background:#0A0C0F!important;border:0!important;box-shadow:none!important;border-radius:999px!important;padding:6px!important}
.rv-mic,.rv-send{flex:none;width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;padding:0}
.rv-mic{background:#1E2229;color:#F4F5F2!important}
.rv-mic.listening{background:#FF6B57;color:#0A0C0F!important}
.rv-send{background:var(--rv-accent);color:var(--rv-accent-ink)!important}
html[dir="rtl"] .rv-send .icon{transform:scaleX(-1)}
.rv-ask-form input,body.garage-view .rv-ask-form input:focus{flex:1;-webkit-appearance:none;appearance:none;outline:none!important;min-width:0;height:44px;border:0!important;outline:none;box-shadow:none!important;border-radius:0!important;background:transparent!important;color:#F4F5F2;font:inherit;font-size:15px;padding:0 4px}
.rv-ask-form input::placeholder{color:#9BA2AD}
html body.garage-view .rv-ask .ai-voice-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:0!important;padding:0!important}
.rv-listen{display:none;flex:1;min-width:0;height:44px;align-items:center;gap:10px;padding:0 4px;color:#F4F5F2;font-size:15px;font-weight:500}
.rv-listen-wait{display:none}
.rv-bars{display:flex;align-items:center;gap:4px;height:22px}
.rv-bars i{display:block;width:3px;height:20px;border-radius:2px;background:var(--rv-accent);transform:scaleY(.3);animation:rvBar .9s ease-in-out infinite}
.rv-bars i:nth-child(2){animation-delay:.12s}
.rv-bars i:nth-child(3){animation-delay:.24s}
.rv-bars i:nth-child(4){animation-delay:.36s}
.rv-bars i:nth-child(5){animation-delay:.48s}
@keyframes rvBar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
@media (prefers-reduced-motion:reduce){.rv-bars i{animation:none;transform:scaleY(.6)}}
.rv-ask-form:has(.rv-mic.listening) .rv-listen,.rv-ask-form:has(.rv-mic.processing) .rv-listen{display:flex}
.rv-ask-form:has(.rv-mic.listening) input,.rv-ask-form:has(.rv-mic.processing) input{display:none!important}
.rv-ask-form:has(.rv-mic.processing) .rv-listen-on{display:none}
.rv-ask-form:has(.rv-mic.processing) .rv-listen-wait{display:inline}
.rv-ask-form:has(.rv-mic.processing) .rv-bars i{animation-duration:1.6s;opacity:.6}
html body.garage-view .rv-mic.processing{background:var(--rv-accent)!important;color:var(--rv-accent-ink)!important;border:0!important;animation:none!important}
.rv-ask-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rv-ask-chips button{min-height:36px;border:1.5px solid rgba(10,12,15,.25);background:transparent;color:var(--rv-accent-ink)!important;border-radius:999px;padding:0 12px;font-size:13px;font-weight:600}
.rv-segs{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px}
.rv-seg{display:flex!important;padding:4px!important;margin:0!important;border-radius:999px!important;background:var(--rv-surface)!important;border:1px solid var(--rv-line)!important;gap:0!important;width:auto!important}
.rv-seg button{min-height:34px;padding:0 14px!important;border:0!important;border-radius:999px!important;font-size:13px!important;font-weight:600!important;background:transparent!important;color:var(--rv-muted)!important;box-shadow:none!important}
.rv-seg button[aria-pressed="true"]{background:var(--rv-ink)!important;color:var(--rv-bg)!important}
.rv-cal{margin:14px 20px 0;padding:12px;border-radius:24px;background:var(--rv-surface);border:1px solid var(--rv-line);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.rv-dow{text-align:center;font-size:11px;color:var(--rv-muted);padding-bottom:4px;white-space:nowrap;overflow:hidden}
.rv-day{height:46px;border-radius:14px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;font-weight:600;font-size:15px;color:var(--rv-ink)!important}
.rv-cal.month .rv-day{height:40px;font-size:14px}
.rv-day i{width:5px;height:5px;border-radius:50%;background:transparent}
.rv-day i.late{background:var(--rv-late)}
.rv-day i.soon{background:var(--rv-soon)}
.rv-day.today{background:var(--rv-surface2);box-shadow:inset 0 0 0 1.5px var(--rv-accent)}
html:not([data-mode="dark"]) .rv-day.today{box-shadow:inset 0 0 0 1.5px var(--rv-ink)}
.rv-day.on{background:var(--rv-ink);color:var(--rv-bg)!important;box-shadow:none}
.rv-up-list{display:flex;flex-direction:column;gap:10px;margin:12px 20px 0}
.rv-up{display:flex;align-items:center;gap:10px;padding:10px;border-radius:22px;background:var(--rv-surface);border:1px solid var(--rv-line)}
.rv-when{flex:none;width:54px;height:58px;border-radius:16px;background:var(--rv-surface2);color:var(--rv-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}
.rv-when b{font-size:19px;font-weight:700;line-height:1}
.rv-when b.rv-word-b{font-size:14px}
.rv-when small{font-size:10px;font-weight:600;line-height:1.1}
.rv-when .icon{width:20px;height:20px}
.rv-when.late,.rv-when.late small{background:var(--rv-late);color:#0A0C0F!important}
html:not([data-mode="dark"]) .rv-when.late,html:not([data-mode="dark"]) .rv-when.late small{color:#fff!important}
.rv-when.soon{background:var(--rv-soon-bg);color:var(--rv-soon)}
.rv-up-main{flex:1;min-width:0;border:0;background:none;padding:6px 0;text-align:start;min-height:44px;display:flex;flex-direction:column;justify-content:center}
.rv-up-main strong{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-up-main small{font-size:12.5px;color:var(--rv-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-snooze{flex:none;width:44px;height:44px;border-radius:14px;border:1px solid var(--rv-line);background:transparent;color:var(--rv-muted)!important;display:grid;place-items:center;padding:0}
.rv-snooze svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rv-cta{flex:none;height:44px;padding:0 14px;border-radius:14px;border:0;background:var(--rv-surface2);color:var(--rv-ink)!important;font-size:13px;font-weight:700}
.rv-up.late .rv-cta{background:var(--rv-ink);color:var(--rv-bg)!important}
.rv-more{align-self:center;border:0;background:none;min-height:44px;padding:0 12px;font-size:13px;font-weight:700;color:var(--rv-muted)!important}
.rv-calm{display:flex;align-items:center;justify-content:center;gap:8px;padding:20px;border-radius:22px;border:1px dashed var(--rv-line);color:var(--rv-muted);font-size:14px;text-align:center}
.rv-calm .icon{width:18px;height:18px;color:var(--rv-good)}
.rv-road{margin:0 20px;width:calc(100% - 40px);display:block;border:0;padding:6px;border-radius:24px;background:repeating-linear-gradient(-45deg,#FFB547 0 14px,#0A0C0F 14px 28px);text-align:start}
.rv-road-in{display:flex;align-items:center;gap:12px;background:#FFB547;border-radius:19px;padding:14px 16px;color:#0A0C0F}
.rv-road-icon{width:44px;height:44px;border-radius:14px;background:#0A0C0F;color:#FFB547;display:grid;place-items:center;flex:none}
.rv-road-copy{flex:1}
.rv-road-copy strong{display:block;font-size:17px;color:#0A0C0F!important}
.rv-road-copy small{font-size:13px;font-weight:600;color:#3A2A08!important}
.rv-road-in>.icon{transform:scaleX(-1)}
html[dir="ltr"] .rv-road-in>.icon{transform:none}
body.garage-view .rv-ask{outline:0!important;border:0!important;box-shadow:none!important}
body.garage-view .rv-send{background:var(--rv-accent)!important;color:var(--rv-accent-ink)!important;border:0!important;box-shadow:none!important}
body.garage-view .rv-mic{border:0!important;box-shadow:none!important}
body.garage-view .rv-mic:not(.listening):not(.processing){background:#1E2229!important;color:#F4F5F2!important}
body.garage-view .rv-mic.listening{background:#FF6B57!important;color:#0A0C0F!important}
body.garage-view .rv-mic::before,body.garage-view .rv-mic::after{display:none!important}
.rv-head-tools{display:flex;align-items:center;gap:10px}
body.garage-view .rv-mic{transition:transform .15s ease-out;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.garage-view .rv-mic.listening{transform:scale(1.12);animation:rvGlow 1.4s ease-out infinite}
@keyframes rvGlow{0%,100%{box-shadow:0 0 0 0 rgba(255,107,87,.55)}50%{box-shadow:0 0 0 12px rgba(255,107,87,0)}}
.rv-words{display:none;margin-top:14px;padding:10px 14px;border-radius:18px;background:rgba(10,12,15,.08);font-size:17px;font-weight:600;line-height:1.6;color:var(--rv-accent-ink)}
.rv-ask:has(.rv-mic.listening) .rv-words:not(:empty){display:block}
.rv-words span.new{display:inline-block;animation:rvWord .25s ease-out both}
@keyframes rvWord{from{opacity:0;transform:translateY(4px)}}
.rv-ask-head strong{white-space:nowrap}
.rv-ask-head small{white-space:nowrap}
.rv-ov-next .rv-up-list{margin:12px 0 0}
.rv-ov-next .rv-calm{margin-top:12px}
/* hybrid: the three new pieces sit on the light/themed Home of the live app */
body.home-view .rv-ask{margin:18px 16px 0!important}
body.home-view .rv-upcoming,body.home-view .rv-road{margin-left:0;margin-right:0}
body.home-view .rv-section{margin-top:24px}
body.home-view .rv-head{padding:0 16px 12px}
body.home-view .rv-segs{padding:0 16px}
body.home-view .rv-cal,body.home-view .rv-up-list{margin-left:16px;margin-right:16px}
body.home-view .rv-road{margin:0 16px;width:calc(100% - 32px)}
body.home-view .rv-section,body.home-view .rv-ask{font-family:Alexandria,Tahoma,sans-serif;color:var(--rv-ink)}
body.home-view .rv-ask-chips button,body.home-view .rv-mic,body.home-view .rv-send,body.home-view .rv-day,body.home-view .rv-up button,body.home-view .rv-road{font-family:inherit;cursor:pointer}
body.home-view .rv-up-list .rv-up{background:var(--rv-surface)}
html body.garage-view .rv-ask .rv-ask-form input{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 4px!important;color:#F4F5F2!important}

/* ===== theme colour per look (used by v2, and by the ring/dots in every variant) ===== */
body{--th:#183153}
body.theme-desert{--th:#A9582A}body.theme-coastal,body.theme-eastern{--th:#17768A}body.theme-najdi,body.theme-central{--th:#8A4429}
body.theme-modern{--th:#22324A}body.theme-kingdom{--th:#1F6B4A}body.theme-western{--th:#5A4A8E}body.theme-southern{--th:#2F6E57}body.theme-northern{--th:#9A4B32}
body.home-view .rv-day.today{box-shadow:inset 0 0 0 1.5px var(--th)!important}
body.home-view .rv-seg button[aria-pressed="true"]{background:var(--th)!important;color:#fff!important}
body.home-view .rv-day.on{background:var(--th)!important;color:#fff!important}


/* ===== v2: the card takes the theme's own colour (sand, sea, adobe, navy…) and touches the scene ===== */
.hy-v2 body.home-view .rv-ask{margin-top:-28px!important;position:relative;z-index:6;background:var(--th)!important;color:#fff!important;box-shadow:0 16px 34px rgba(16,24,40,.22)!important}
.hy-v2 body.home-view .rv-ask-head small{color:rgba(255,255,255,.8)!important}
.hy-v2 body.home-view .rv-ask-form{background:rgba(0,0,0,.28)!important}
.hy-v2 body.home-view .rv-send{background:#fff!important;color:var(--th)!important}
.hy-v2 body.home-view .rv-mic:not(.listening){background:rgba(255,255,255,.16)!important}
.hy-v2 body.home-view .rv-bars i{background:#fff}
.hy-v2 body.home-view .rv-ask-chips button{border-color:rgba(255,255,255,.4)!important;color:#fff!important}
.hy-v2 body.home-view .rv-words{color:#fff;background:rgba(0,0,0,.18)}


/* ===== the other ideas ===== */
/* ground colour of each look (for the curb) */
body{--ground:#E7EBF0}
body.theme-desert{--ground:#E8C79A}body.theme-coastal,body.theme-eastern{--ground:#EBD9B4}body.theme-najdi,body.theme-central{--ground:#E2C9A4}body.theme-modern{--ground:#D9DDE3}body.theme-kingdom{--ground:#E3D8C3}
html[data-mode="dark"] body{--ground:#1B2129}
/* 1) the mic glows in the theme's colour while you talk */
html body.garage-view .rv-mic.listening{background:#fff!important;color:var(--th)!important;transform:scale(1.12);animation:hyGlow 1.4s ease-out infinite!important}
@keyframes hyGlow{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--th) 70%,transparent),0 0 0 0 rgba(255,255,255,.5)}50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--th) 0%,transparent),0 0 0 18px rgba(255,255,255,0)}}
html body.garage-view .rv-ask-form:has(.rv-mic.listening) .rv-bars i{background:#fff}
/* 2) roadside as a road sign of the look (hazard stripes stay as the frame) */
body.home-view .rv-road-in{background:#0B6E4F!important;color:#fff!important;border:3px solid #fff;box-shadow:inset 0 0 0 2px #0B6E4F}
body.home-view .rv-road-icon{background:#fff!important;color:#0B6E4F!important}
body.home-view .rv-road-copy strong,body.home-view .rv-road-copy small{color:#fff!important}
body.home-view .rv-road-in>.icon{color:#fff}
body.theme-coastal.home-view .rv-road-in,body.theme-eastern.home-view .rv-road-in{background:#1F5FA8!important;box-shadow:inset 0 0 0 2px #1F5FA8}
body.theme-coastal.home-view .rv-road-icon,body.theme-eastern.home-view .rv-road-icon{color:#1F5FA8!important}
body.theme-najdi.home-view .rv-road-in,body.theme-central.home-view .rv-road-in,body.theme-desert.home-view .rv-road-in{background:repeating-linear-gradient(0deg,#7A4A2A 0 9px,#6E4224 9px 10px,#80502E 10px 19px)!important;border-color:#F2DEC0;box-shadow:inset 0 0 0 2px #5C381E}
body.theme-najdi.home-view .rv-road-icon,body.theme-central.home-view .rv-road-icon,body.theme-desert.home-view .rv-road-icon{background:#F2DEC0!important;color:#6E4224!important}
.hy-v2 body.home-view .rv-ask{margin-top:18px!important}
/* 4) the light over a car: a coloured pill, white icons, a late one pulses */
.fh-lights.hy-red .fh-lights-bg{fill:#D2361F!important;stroke:none!important}
.fh-lights.hy-amber .fh-lights-bg{fill:#E08A12!important;stroke:none!important}
.fh-lights.hy-red .fh-light *,.fh-lights.hy-amber .fh-light *{stroke:#fff!important;color:#fff!important}
.fh-lights.hy-red .fh-light [fill]:not([fill="none"]),.fh-lights.hy-amber .fh-light [fill]:not([fill="none"]){fill:#fff!important}
.fh-lights.hy-red{animation:hyBob 1.8s ease-in-out infinite;transform-box:fill-box}
@keyframes hyBob{0%,100%{filter:drop-shadow(0 0 0 rgba(210,54,31,.0))}50%{filter:drop-shadow(0 0 8px rgba(210,54,31,.9))}}
/* 5) night: the card goes deeper and glows softly in the theme's colour */
html[data-mode="dark"].hy-v2 body.home-view .rv-ask{background:color-mix(in srgb,var(--th) 55%,#0A0C0F)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--th) 60%,transparent),0 18px 50px color-mix(in srgb,var(--th) 45%,transparent)!important}
html[data-mode="dark"] body.home-view .rv-road-in{border-color:#D7DCE2}
/* compact talk card right under the scene: one line on top, three prompts side by side */
.hy-v2 body.home-view .rv-ask{margin-top:-28px!important;padding:14px!important;border-radius:24px!important}
body.home-view .rv-ask-head{white-space:nowrap}
body.home-view .rv-ask-head strong{font-size:16px}
body.home-view .rv-ask-form{margin-top:10px!important}
body.home-view .rv-ask-chips{flex-wrap:nowrap!important;gap:6px!important;margin-top:10px!important}
body.home-view .rv-ask-chips button{flex:1 1 0;min-width:0;min-height:38px!important;padding:0 6px!important;font-size:12.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* the talk card without the example prompts (owner): a little tighter at the bottom */
.hy-v2 body.home-view .rv-ask{padding-bottom:14px!important}

/* ===== 0.39.76: the talk card apart from the scene (owner chose «ج»): a soft tint of the look, the mic in its full colour, a motif of the look along the bottom ===== */
html.hy-v2 body.home-view .rv-ask,html.hy-v2 body.home-view .rv-ask,html.hy-v2 body.home-view .rv-ask{margin-top:16px!important;box-shadow:0 8px 22px rgba(16,24,40,.10)!important}
/* B and C: a soft tint of the theme's colour, the mic and send in the full colour */
html.hy-v2 body.home-view .rv-ask,html.hy-v2 body.home-view .rv-ask{background:color-mix(in srgb,var(--th) 11%,#fff)!important;color:#1A1D22!important;border:1px solid color-mix(in srgb,var(--th) 28%,#fff)!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask,html.hy-v2[data-mode="dark"] body.home-view .rv-ask{background:color-mix(in srgb,var(--th) 26%,#121820)!important;color:#F4F5F2!important;border-color:color-mix(in srgb,var(--th) 45%,#121820)!important}
html.hy-v2 body.home-view .rv-ask-head small,html.hy-v2 body.home-view .rv-ask-head small{color:color-mix(in srgb,var(--th) 75%,#000)!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask-head small,html.hy-v2[data-mode="dark"] body.home-view .rv-ask-head small{color:color-mix(in srgb,var(--th) 40%,#fff)!important}
html.hy-v2 body.home-view .rv-ask-head .icon,html.hy-v2 body.home-view .rv-ask-head .icon{color:var(--th)}
html.hy-v2 body.home-view .rv-ask-form,html.hy-v2 body.home-view .rv-ask-form{background:#fff!important;border:1px solid color-mix(in srgb,var(--th) 22%,#fff)!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask-form,html.hy-v2[data-mode="dark"] body.home-view .rv-ask-form{background:rgba(0,0,0,.28)!important;border-color:transparent!important}
html.hy-v2 body.home-view .rv-ask .rv-ask-form input,html.hy-v2 body.home-view .rv-ask .rv-ask-form input{color:#1A1D22!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask .rv-ask-form input,html.hy-v2[data-mode="dark"] body.home-view .rv-ask .rv-ask-form input{color:#F4F5F2!important}
html.hy-v2 body.home-view .rv-ask-form input::placeholder,html.hy-v2 body.home-view .rv-ask-form input::placeholder{color:#6B7079}
html.hy-v2 body.home-view .rv-mic:not(.listening),html.hy-v2 body.home-view .rv-mic:not(.listening){background:var(--th)!important;color:#fff!important}
html.hy-v2 body.home-view .rv-send,html.hy-v2 body.home-view .rv-send{background:color-mix(in srgb,var(--th) 14%,#fff)!important;color:var(--th)!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-send,html.hy-v2[data-mode="dark"] body.home-view .rv-send{background:rgba(255,255,255,.12)!important;color:#fff!important}
/* C: a light motif of the look in the card's corner (najdi triangles, sea waves, dunes, modern lines) */
/* any other look: a soft dashed line in its colour */
html.hy-v2 body.home-view .rv-ask::after{background-image:repeating-linear-gradient(90deg,var(--th) 0 10px,transparent 10px 18px);height:4px;bottom:13px;inset-inline:18px}
html.hy-v2 body.theme-najdi.home-view .rv-ask::after,html.hy-v2 body.theme-central.home-view .rv-ask::after,html.hy-v2 body.theme-kingdom.home-view .rv-ask::after,html.hy-v2 body.theme-coastal.home-view .rv-ask::after,html.hy-v2 body.theme-eastern.home-view .rv-ask::after,html.hy-v2 body.theme-desert.home-view .rv-ask::after{height:30px;bottom:0;inset-inline:0}
html.hy-v2 body.home-view .rv-ask{position:relative;overflow:hidden}
html.hy-v2 body.home-view .rv-ask::after{content:'';position:absolute;inset:auto 0 0 0;height:30px;pointer-events:none;opacity:.5;background-repeat:repeat-x;background-position:bottom}
html.hy-v2 body.home-view .rv-ask>*{position:relative;z-index:1}
html.hy-v2 body.home-view .rv-ask{padding-bottom:30px!important}
html.hy-v2 body.theme-najdi.home-view .rv-ask::after,html.hy-v2 body.theme-central.home-view .rv-ask::after,html.hy-v2 body.theme-kingdom.home-view .rv-ask::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 14 7 4l7 10zM14 14l7-10 7 10z' fill='%238A4429'/%3E%3C/svg%3E");background-size:28px 14px}
html.hy-v2 body.theme-coastal.home-view .rv-ask::after,html.hy-v2 body.theme-eastern.home-view .rv-ask::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpath d='M0 10q10-10 20 0t20 0' fill='none' stroke='%2317768A' stroke-width='2.5'/%3E%3C/svg%3E");background-size:40px 14px}
html.hy-v2 body.theme-desert.home-view .rv-ask::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28'%3E%3Cpath d='M0 18 Q30 2 60 18 T120 18 V28 H0Z' fill='%23A9582A'/%3E%3C/svg%3E");background-size:120px 28px}
html.hy-v2 body.theme-modern.home-view .rv-ask::after,html.hy-v2 body.theme-western.home-view .rv-ask::after{background-image:repeating-linear-gradient(90deg,#22324A 0 18px,transparent 18px 26px);height:4px;bottom:12px;inset-inline:18px}

/* while listening on the light card: dark text, bars and words in the look's colour */
html.hy-v2 body.home-view .rv-listen{color:#1A1D22}
html.hy-v2[data-mode="dark"] body.home-view .rv-listen{color:#F4F5F2}
html.hy-v2 body.home-view .rv-ask-form:has(.rv-mic.listening) .rv-bars i{background:var(--th)}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask-form:has(.rv-mic.listening) .rv-bars i{background:#fff}
html.hy-v2 body.home-view .rv-words{color:#1A1D22;background:color-mix(in srgb,var(--th) 12%,#fff)}
html.hy-v2[data-mode="dark"] body.home-view .rv-words{color:#F4F5F2;background:rgba(0,0,0,.25)}
html.hy-v2 body.garage-view .rv-mic.listening{background:var(--th)!important;color:#fff!important}
/* motif per look (final; higher specificity than the rules above): other looks get a soft dashed line in their colour */
html.hy-v2 body.home-view .rv-ask.rv-ask::after{background:repeating-linear-gradient(90deg,var(--th) 0 10px,transparent 10px 18px);height:4px;top:auto;bottom:13px;left:18px;right:18px;opacity:.45}
html.hy-v2 body.home-view.theme-najdi .rv-ask.rv-ask::after,html.hy-v2 body.home-view.theme-central .rv-ask.rv-ask::after,html.hy-v2 body.home-view.theme-kingdom .rv-ask.rv-ask::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 14 7 4l7 10zM14 14l7-10 7 10z' fill='%238A4429'/%3E%3C/svg%3E") repeat-x bottom/28px 14px;height:30px;bottom:0;left:0;right:0;opacity:.5}
html.hy-v2 body.home-view.theme-kingdom .rv-ask.rv-ask::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 14 7 4l7 10zM14 14l7-10 7 10z' fill='%231F6B4A'/%3E%3C/svg%3E")}
html.hy-v2 body.home-view.theme-coastal .rv-ask.rv-ask::after,html.hy-v2 body.home-view.theme-eastern .rv-ask.rv-ask::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpath d='M0 10q10-10 20 0t20 0' fill='none' stroke='%2317768A' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x bottom/40px 14px;height:30px;bottom:0;left:0;right:0;opacity:.5}
html.hy-v2 body.home-view.theme-desert .rv-ask.rv-ask::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28'%3E%3Cpath d='M0 18 Q30 2 60 18 T120 18 V28 H0Z' fill='%23A9582A'/%3E%3C/svg%3E") repeat-x bottom/120px 28px;height:30px;bottom:0;left:0;right:0;opacity:.45}
html.hy-v2[data-mode="dark"] body.home-view .rv-ask.rv-ask::after{opacity:.35}
/* 0.39.77: roadside card in the same soft tint as the talk card (owner); the hazard frame stays */
html.hy-v2 body.home-view .rv-road .rv-road-in{background:color-mix(in srgb,var(--th) 11%,#fff)!important;border:0!important;box-shadow:none!important;color:#1A1D22!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-road .rv-road-in{background:color-mix(in srgb,var(--th) 26%,#121820)!important;color:#F4F5F2!important}
html.hy-v2 body.home-view .rv-road .rv-road-icon{background:var(--th)!important;color:#fff!important}
html.hy-v2 body.home-view .rv-road .rv-road-copy strong{color:#1A1D22!important}
html.hy-v2 body.home-view .rv-road .rv-road-copy small{color:color-mix(in srgb,var(--th) 75%,#000)!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-road .rv-road-copy strong{color:#F4F5F2!important}
html.hy-v2[data-mode="dark"] body.home-view .rv-road .rv-road-copy small{color:color-mix(in srgb,var(--th) 40%,#fff)!important}
html.hy-v2 body.home-view .rv-road .rv-road-in>.icon{color:var(--th)!important}

/* 0.39.79 (owner): «المهام» and the week/month switch on one line; the «within 30 days or 1,000 km» line is gone */
body.home-view .rv-tasks-head{align-items:center;padding-bottom:12px}
body.home-view .rv-tasks-head .rv-seg button{min-height:36px}
/* 0.39.80 (owner): more room between the Home sections, the same everywhere — 24px under the scene, 36px between sections */
body.home-view .home-dashboard>.rv-ask{margin-top:24px!important}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:36px!important}

/* 0.39.81: «صفّر العداد» row in «تعديل السيارة» (owner only) */
.odo-reset-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.odo-reset-row small{flex:1;min-width:180px;color:var(--muted,#6f7d89);font-size:12px;line-height:1.5}

/* 0.39.87 (owner, 2026-10-12): the talk card without its title line — the pill reads «سولف مع قراجك…», a small hint
   under it; the week calendar starts on Sunday (days that passed are dimmed, not tappable); a tapped day opens a sheet. */
html.hy-v2 body.home-view .rv-ask{padding:10px 10px 24px!important}
body.home-view .rv-ask-form{margin-top:0!important}
body.home-view .rv-words{margin:0 0 10px}
.rv-ask-cap{display:block;margin:6px 10px 0;font-size:11.5px;line-height:1.5;color:color-mix(in srgb,var(--th) 75%,#000)}
.rv-day.past{opacity:.35}
.rv-day:disabled{cursor:default;opacity:.35}
.rv-day-sheet .rv-up-list,body.home-view .rv-day-sheet .rv-up-list{margin:0 0 18px}
.rv-day-sheet .rv-calm{margin:0 0 18px}
.rv-day-add-head{margin:0 0 10px;font-size:15px;font-weight:700;color:#13213C}
/* 0.39.87 (owner chose «ج», 2026-10-12): «خربت عليك؟» calmer — the soft card of the look with a thin hazard stripe
   along its start edge, instead of the striped frame all around it. Same text, same place. */
body.home-view .rv-road{position:relative;overflow:hidden;padding:0!important;border-radius:20px;background:color-mix(in srgb,var(--th) 11%,#fff)!important;border:1px solid color-mix(in srgb,var(--th) 28%,#fff)}
body.home-view .rv-road::before{content:'';position:absolute;inset-block:0;inset-inline-start:0;width:9px;background:repeating-linear-gradient(-45deg,#FFB547 0 8px,#0A0C0F 8px 16px)}
html.hy-v2 body.home-view .rv-road .rv-road-in{background:none!important;border-radius:0;padding:14px 16px;padding-inline-start:24px}

/* ==== 0.39.97–0.39.110: the driver panel (driver-panel.js) under the «السائقين» row. 0.39.110 (owner): no card any more —
   the panel is the person's own circle, big (the same markup as in the row, scaled), and a copy of the tapped circle flies
   down to it; the circle holds everything (front: name, status, rings, action buttons; back: the cars' plates and rings).
   0.39.111 (owner): the disc has no fill — its ring and frame are the person's own, drawn by driver-panel.js at full size. ==== */
.fh-family .fh-row{padding-top:10px;padding-bottom:10px}
.fh-family .fh-member .fh-avatar{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.fh-family .fh-member.gdp-selected .fh-avatar{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--th),0 10px 22px rgba(27,36,64,.25)!important}
/* the garage's Saudi plate on the back of the disc */
.gdp-bcar .saudi-plate{width:100%;max-width:180px;margin:0}
/* «مساعدي» opened from the panel: the driver sits in the context deck above the car picker */
.ai-context-deck:has(.ai-person-ctx){flex-wrap:wrap;gap:8px}
.ai-person-ctx{flex:1 1 100%;display:flex;align-items:center;gap:10px;margin:0;padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.08);color:#fff;box-sizing:border-box}
.ai-person-ctx .fh-avatar{width:34px;height:34px;font-size:14px;box-shadow:none;flex:none}
.ai-person-copy{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.ai-person-copy small{font-size:11px;opacity:.75}
.ai-person-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-person-clear{all:unset;cursor:pointer;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.12);flex:none}
.ai-person-clear svg{width:16px;height:16px}

/* ==== 0.39.99 (owner): «السائقين» title the same as «المهام» (20px, the same ink), and more air between the Home sections:
   48px instead of 36px, and the drivers title no longer carries its own extra 22px (every gap is the same now). ==== */
/* 0.39.100: «body.garage-view .home-section-head h2{font-size:16px!important}» (an older rule) still won on the phone — this one outranks it */
body.garage-view.home-view .fh-family .home-section-head h2{font-family:var(--rv-display);font-size:20px!important;line-height:32px!important;font-weight:700;color:var(--rv-ink)}
body.home-view .fh-family .home-section-head{margin-top:0!important;margin-bottom:12px!important;padding:0 16px}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:48px!important}

/* ==== 0.39.101 (owner): no «السائقين» and no «المهام» titles on Home — the circles start where the title was, and the
   week/month switch sits at the start (right) of its section. The drivers section gets 40px instead of 48px on top
   because its row carries 10px of its own (room for the ring), so the gap looks the same as the others. ==== */
body.home-view .rv-tasks-head{justify-content:flex-start!important}
body.home-view .home-dashboard>.home-section.fh-family{margin-top:40px!important}

/* ==== 0.39.120 (owner): no talk card on Home — the circles come right after the scene, where the card was: the row's
   circle starts 16px under the scene (6px + the row's own 10px), the gap the card had. ==== */
/* 0.39.121 (owner, «اترك مسافة مناسبة بين الدوائر و الصورة»): 32px from the scene's bottom to the top of the circles'
   rings (27px + the row's 10px − the 5px ring), was 11px. */
body.home-view .home-dashboard>.fh-scene+.home-section.fh-family{margin-top:27px!important}

/* ==== 0.39.125 (Adil, with a picture of the Home he wants): the scene is only the picture (the greeting stays for screen
   readers), «أفراد القراج» over the circles with «الكل» first, «القادم في قراجك» with an «التقويم» button (the week/month
   calendar shows only after it), and bigger cards: a date tile in sand and gold, the title, the car, one navy button.
   The snooze bell stays in a day's sheet (a tap on a day in «التقويم»). ==== */
body.home-view .fh-scene .fh-greet h1,body.home-view .fh-scene .fh-greet p,body.home-view .fh-scene .fh-greet .fh-city{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.garage-view.home-view .fh-family .home-section-head h2,body.home-view .rv-next-head h2{font-family:var(--rv-display);font-size:22px!important;line-height:32px!important;font-weight:800;color:var(--rv-ink);margin:0}
body.home-view .fh-family .home-section-head{display:flex;margin-bottom:6px!important}
body.home-view .rv-next-head{display:flex;align-items:center;justify-content:space-between!important;gap:12px;padding:0 16px 4px}
.rv-cal-btn{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:14px;border:1px solid var(--rv-line);background:transparent;color:var(--rv-muted);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.rv-cal-btn .icon{width:20px;height:20px}
.rv-cal-btn[aria-expanded="true"]{border-color:var(--rv-ink);color:var(--rv-ink)}
body.home-view .rv-range-segs{margin-top:10px}
.fh-member.fh-all .fh-avatar{background:var(--rv-surface);color:#1B2A4A;box-shadow:0 0 0 3px var(--rv-bg),0 0 0 5px #C99A4B!important}
.fh-member.fh-all .fh-avatar .icon{width:30px;height:30px}
html[data-mode="dark"] .fh-member.fh-all .fh-avatar{color:var(--rv-ink)}
body.home-view .rv-up-list .rv-up{gap:14px;padding:14px;border-radius:24px}
body.home-view #rv-upcoming .rv-snooze{display:none}
body.home-view .rv-up .rv-when{width:68px;height:70px;border-radius:18px}
body.home-view .rv-up .rv-when:not(.late){background:var(--rv-soon-bg);color:var(--rv-soon)}
body.home-view .rv-up .rv-when b{font-size:28px}
body.home-view .rv-up .rv-when b.rv-word-b{font-size:16px}
body.home-view .rv-up .rv-when small{font-size:12.5px;color:var(--rv-soon)}
body.home-view .rv-up .rv-when.late small{color:inherit}
body.home-view .rv-up .rv-up-main strong{font-size:19px}
body.home-view .rv-up .rv-up-main small{font-size:14.5px;margin-top:4px}
body.home-view .rv-up .rv-cta,body.home-view .rv-up.late .rv-cta{min-width:76px;height:44px;padding:0 18px;border-radius:12px;background:#1B2A4A;color:#fff!important;font-size:16px}
html[data-mode="dark"] body.home-view .rv-up .rv-cta{background:var(--rv-ink);color:var(--rv-bg)!important}
@media (max-width:700px){body.home-view .home-dashboard>.fh-scene{width:100vw;margin-inline:calc(50% - 50vw)!important}}
.fh-member.fh-all .fh-avatar svg.fh-all-ico{width:34px;height:34px;fill:currentColor;stroke:none}
body.home-view .rv-next-head h2{white-space:nowrap}
.rv-cal-btn[aria-expanded="true"]{background:var(--rv-ink);color:var(--rv-bg)}

/* ==== 0.39.126 (Adil, second picture: «smaller layout so it can show the roadside assistance»): the whole Home fits one
   phone screen — a shorter sky (the greeting is gone), smaller gaps, smaller cards, two dates (then «N أخرى»), a gold
   timeline beside the dates (the nearest one filled), and a tow truck on the roadside card. ==== */
@media (max-width:700px){
  body.home-view .fh-scene:not(.auth-scene){height:calc(205px + env(safe-area-inset-top,0px))}
  body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(205px + env(safe-area-inset-top,0px)),#F4F5F7 calc(205px + env(safe-area-inset-top,0px)))!important}
  html[data-mode="dark"] body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(205px + env(safe-area-inset-top,0px)),#0e1318 calc(205px + env(safe-area-inset-top,0px)))!important}
}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:22px!important}
body.home-view .home-dashboard>.fh-scene+.home-section.fh-family{margin-top:14px!important}
body.garage-view.home-view .fh-family .home-section-head h2,body.home-view .rv-next-head h2{font-size:20px!important;line-height:28px!important}
body.home-view .fh-family .home-section-head{margin-bottom:0!important}
body.home-view .fh-family .fh-row{padding-top:8px;padding-bottom:4px}
body.home-view .rv-next-head{padding-bottom:0}
.rv-cal-btn{min-height:40px;padding:0 14px;font-size:14px}
body.home-view #rv-upcoming .rv-up-list{position:relative;gap:8px;margin-top:10px;padding-inline-start:22px}
body.home-view #rv-upcoming .rv-up-list::before{content:"";position:absolute;inset-inline-start:6px;top:6px;bottom:6px;width:2px;border-radius:2px;background:#C99A4B}
body.home-view #rv-upcoming .rv-up{position:relative;overflow:visible;gap:12px;padding:10px 12px;border-radius:20px}
body.home-view #rv-upcoming .rv-up::before{content:"";position:absolute;inset-inline-start:-22px;top:50%;width:10px;height:10px;margin-top:-7px;margin-inline-start:1px;border-radius:50%;border:2px solid #C99A4B;background:var(--rv-bg)}
body.home-view #rv-upcoming .rv-up:first-child::before{background:#C99A4B}
body.home-view #rv-upcoming .rv-up.late::before{border-color:var(--rv-late)}
body.home-view #rv-upcoming .rv-up.late:first-child::before{background:var(--rv-late)}
body.home-view #rv-upcoming .rv-more{margin-inline-start:0}
body.home-view .rv-up .rv-when{width:56px;height:58px;border-radius:15px}
body.home-view .rv-up .rv-when b{font-size:23px}
body.home-view .rv-up .rv-when small{font-size:11.5px}
body.home-view .rv-up .rv-up-main{padding:2px 0}
body.home-view .rv-up .rv-up-main strong{font-size:17px}
body.home-view .rv-up .rv-up-main small{font-size:13.5px;margin-top:2px}
body.home-view .rv-up .rv-cta,body.home-view .rv-up.late .rv-cta{height:40px;min-width:70px;font-size:15px}
.rv-road-truck{flex:none;width:56px;height:36px;color:inherit;opacity:.9}
body.home-view .rv-road-in{padding:10px 14px}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:16px!important}
body.home-view .home-dashboard>.fh-scene+.home-section.fh-family{margin-top:10px!important}
body.home-view #rv-upcoming .rv-up{padding:8px 10px}
body.home-view .rv-up .rv-when{width:52px;height:54px}
body.home-view #rv-upcoming .rv-more{min-height:32px;height:32px;margin:0;padding:0;font-size:13px}
body.home-view .fh-member strong{margin-top:-2px}
body.home-view .rv-road-copy{min-width:0}
body.home-view .rv-road-copy strong{font-size:17px}
body.home-view .rv-road-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
body.home-view .rv-road-truck{width:50px;height:32px;color:#9A4E2A}
html[data-mode="dark"] body.home-view .rv-road-truck{color:currentColor}
body.home-view #rv-upcoming .rv-up-list{margin-top:8px}

/* ==== 0.39.127 (Adil: «Still everything is big»): about 20% smaller again — headings 17px, circles 46px, date tiles
   46px, titles 15px, buttons 36px, a slimmer roadside card. ==== */
@media (max-width:700px){
  body.home-view .fh-scene:not(.auth-scene){height:calc(190px + env(safe-area-inset-top,0px))}
  body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(190px + env(safe-area-inset-top,0px)),#F4F5F7 calc(190px + env(safe-area-inset-top,0px)))!important}
  html[data-mode="dark"] body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(190px + env(safe-area-inset-top,0px)),#0e1318 calc(190px + env(safe-area-inset-top,0px)))!important}
}
body.garage-view.home-view .fh-family .home-section-head h2,body.home-view .rv-next-head h2{font-size:17px!important;line-height:24px!important}
body.home-view .fh-member{width:62px;min-width:62px;gap:4px}
body.home-view .fh-avatar{width:46px;height:46px;font-size:16px}
body.home-view .fh-member strong{font-size:12px}
.fh-member.fh-all .fh-avatar svg.fh-all-ico{width:26px;height:26px}
body.home-view .fh-family .fh-row{gap:6px}
.rv-cal-btn{min-height:34px;padding:0 12px;font-size:13px;gap:6px;border-radius:12px}
.rv-cal-btn .icon{width:16px;height:16px}
body.home-view #rv-upcoming .rv-up-list{gap:6px;padding-inline-start:18px}
body.home-view #rv-upcoming .rv-up-list::before{inset-inline-start:4px}
body.home-view #rv-upcoming .rv-up{gap:10px;padding:7px 8px;border-radius:16px}
body.home-view #rv-upcoming .rv-up::before{inset-inline-start:-18px;width:8px;height:8px;margin-top:-6px}
body.home-view .rv-up .rv-when{width:46px;height:46px;border-radius:12px;gap:1px}
body.home-view .rv-up .rv-when b{font-size:19px}
body.home-view .rv-up .rv-when small{font-size:10.5px}
body.home-view .rv-up .rv-when .icon{width:16px;height:16px}
body.home-view .rv-up .rv-up-main{min-height:0}
body.home-view .rv-up .rv-up-main strong{font-size:15px}
body.home-view .rv-up .rv-up-main small{font-size:12.5px;margin-top:1px}
body.home-view .rv-up .rv-cta,body.home-view .rv-up.late .rv-cta{height:36px;min-width:60px;padding:0 14px;font-size:14px;border-radius:10px}
body.home-view #rv-upcoming .rv-more{height:28px;min-height:28px;font-size:12.5px}
body.home-view .rv-road{padding:4px;border-radius:18px}
body.home-view .rv-road-in{padding:8px 12px;gap:10px;border-radius:15px}
body.home-view .rv-road-icon{width:36px;height:36px;border-radius:11px}
body.home-view .rv-road-icon .icon{width:18px;height:18px}
body.home-view .rv-road-copy strong{font-size:15px}
body.home-view .rv-road-copy small{font-size:12px}
body.home-view .rv-road-truck{width:42px;height:27px}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:14px!important}
body.home-view .fh-family .fh-member strong{margin-top:5px}

/* ==== 0.39.128 (Adil: «give some breath»): more room between the sections (28px), under the scene (20px) and under
   each heading (10px); still fits one iPhone 15 screen. ==== */
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:28px!important}
body.home-view .home-dashboard>.fh-scene+.home-section.fh-family{margin-top:20px!important}
body.home-view .fh-family .home-section-head{margin-bottom:4px!important}
body.home-view #rv-upcoming .rv-up-list{margin-top:12px}
body.home-view #rv-upcoming .rv-up-list{gap:8px}
/* 0.39.129 (Adil sent the drawing): the roadside card's tow truck is his picture (assets/roadside-truck-v0.39.129.webp) */
body.home-view img.rv-road-truck{width:56px;height:auto;object-fit:contain;opacity:1}
html[data-mode="dark"] body.home-view img.rv-road-truck{filter:brightness(1.6)}

/* ==== 0.39.130 (Adil's third picture + the team lead's three changes): each Home section in its own panel — «أفراد
   القراج» and «القادم في قراجك» on the same cream panel, the roadside card a solid coral-pink panel (no stripes).
   The dates are one list with lines between rows (no card per row); a mileage item shows only the gauge, a dated item
   keeps its gold date box. The scene has square corners. ==== */
body.home-view{--hp-panel:#FBF4EA;--hp-line:#EADFCF;--hp-road:#F6E1D9;--hp-road-ink:#9A3F22;--hp-road-icon:#B5532F}
html[data-mode="dark"] body.home-view{--hp-panel:var(--rv-surface);--hp-line:var(--rv-line);--hp-road:#2A1A15;--hp-road-ink:#F2B49C;--hp-road-icon:#B5532F}
body.home-view .home-dashboard>.fh-scene:not(.auth-scene){border-radius:0!important}
body.home-view .home-dashboard>.home-section.fh-family,body.home-view .home-dashboard>#rv-upcoming{margin-inline:16px!important;padding:14px 12px 12px;border-radius:24px;background:var(--hp-panel)}
body.home-view .home-dashboard>.home-section.fh-family{margin-top:16px!important}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:14px!important}
body.home-view .fh-family .home-section-head,body.home-view .rv-next-head{padding:0 4px!important}
body.home-view .fh-family .fh-row{padding-inline:2px}
body.home-view .fh-family .fh-member .fh-avatar{box-shadow:0 0 0 3px var(--hp-panel),0 0 0 5px #E6E3DC!important}
body.home-view .fh-family .fh-member.fh-all .fh-avatar{box-shadow:0 0 0 3px var(--hp-panel),0 0 0 5px #C99A4B!important}
body.home-view #rv-upcoming .rv-segs{padding:0 4px}
body.home-view #rv-upcoming .rv-up-list{margin:10px 0 0!important;gap:0}
body.home-view #rv-upcoming .rv-up{background:transparent!important;border:0;border-radius:0;padding:8px 2px}
body.home-view #rv-upcoming .rv-up+.rv-up{border-top:1px solid var(--hp-line)}
body.home-view #rv-upcoming .rv-when.rv-when-icon{background:transparent!important;color:#C99A4B}
body.home-view #rv-upcoming .rv-when.rv-when-icon .icon{width:30px;height:30px}
body.home-view #rv-upcoming .rv-when.rv-when-icon small{display:none}
body.home-view #rv-upcoming .rv-when.rv-when-icon.late{color:var(--rv-late)}
body.home-view #rv-upcoming .rv-more{align-self:center;margin-top:2px}
html.hy-v2 body.garage-view.home-view .rv-road{margin:12px 16px 0!important;width:calc(100% - 32px)!important;padding:0!important;background:var(--hp-road)!important;border:0!important;border-radius:24px}
html.hy-v2 body.garage-view.home-view .rv-road::before{display:none}
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-in{background:none!important;border:0!important;box-shadow:none!important;border-radius:24px;padding:10px 14px!important;color:var(--hp-road-ink)!important}
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-icon{background:var(--hp-road-icon)!important;color:#fff!important}
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-copy strong{color:var(--rv-ink)!important}
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-copy small{color:var(--hp-road-ink)!important;font-weight:700}
body.home-view .home-dashboard>.home-section.fh-family,body.home-view .home-dashboard>#rv-upcoming{padding:12px 12px 8px}
body.home-view .home-dashboard>.rv-section,body.home-view .home-dashboard>.home-section{margin-top:12px!important}
body.home-view .fh-family .fh-row{padding-inline:6px;padding-bottom:2px}
body.home-view #rv-upcoming .rv-up{padding:6px 2px}
body.home-view .fh-family .fh-row{padding-inline:0;gap:4px}
html.hy-v2 body.garage-view.home-view .rv-road{margin-top:0!important}
/* 0.39.131 (Adil: «Why the cards is narrow?»): the page already has 18px each side, and the panels added 16px more (34px
   in all). On phones the panels now sit 12px from the screen's edges, as in his picture. */
@media (max-width:700px){
  body.home-view .home-dashboard>.home-section.fh-family,body.home-view .home-dashboard>#rv-upcoming{width:calc(100vw - 24px);margin-inline:calc(50% - 50vw + 12px)!important;box-sizing:border-box}
  html.hy-v2 body.garage-view.home-view .rv-road{width:calc(100vw - 24px)!important;margin-inline:calc(50% - 50vw + 12px)!important}
  body.home-view .home-dashboard>.home-section.fh-family,body.home-view .home-dashboard>#rv-upcoming{padding-inline:14px}
}
@media (max-width:700px){body.home-view .fh-family .fh-row{padding-inline:6px}}

/* ==== 0.39.132 (Adil: only whole circles, «...» when there are more): the row and the «•••» circle side by side; the
   row is cut to a whole number of circles by fhRowFit() and stops on whole circles when swiped. ==== */
body.home-view .fh-family .fh-row-wrap{display:flex;align-items:flex-start;justify-content:space-between;padding-inline:6px}
body.home-view .fh-family .fh-row{margin:0!important;padding-inline:0!important;flex:1 1 auto;min-width:0;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
body.home-view .fh-family .fh-row>.fh-member{scroll-snap-align:start}
body.home-view .fh-family .fh-more{flex:none;padding-top:8px}
body.home-view .fh-family .fh-more[hidden]{display:none}
body.home-view .fh-family .fh-more .fh-avatar{background:var(--rv-surface);color:#1B2A4A;display:flex;gap:4px;align-items:center;justify-content:center;box-shadow:0 0 0 3px var(--hp-panel),0 0 0 5px #E6E3DC!important}
body.home-view .fh-family .fh-more .fh-avatar i{width:6px;height:6px;border-radius:50%;background:currentColor}
html[data-mode="dark"] body.home-view .fh-family .fh-more .fh-avatar{color:var(--rv-ink)}
body.home-view .fh-family .fh-more.at-end .fh-avatar{opacity:.45}

/* ==== 0.39.133 (Adil's iPhone: «It does not look good»): (1) a framed circle (gold, Sadu, stars) is the same outer size
   as the others — the picture 40px, the frame 8px around it = 56px, like 46px + the 5px ring — and sits at the same
   height, so the names line up; (2) the sky a little taller again so the page doesn't end in empty space. ==== */
body.home-view .fh-family .fh-row .fh-avatar{margin:0!important;top:0!important;transform:none}
body.home-view .fh-family .fh-row .fh-avatar.id-frame{width:40px;height:40px;margin:3px!important;box-shadow:none!important;font-size:15px}
body.home-view .fh-family .fh-row .fh-avatar.id-frame::after{inset:-8px}
body.home-view .fh-family .fh-member small.fh-nick{font-size:10.5px;margin-top:-2px}
@media (max-width:700px){
  body.home-view .fh-scene:not(.auth-scene){height:calc(210px + env(safe-area-inset-top,0px))}
  body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(210px + env(safe-area-inset-top,0px)),#F4F5F7 calc(210px + env(safe-area-inset-top,0px)))!important}
  html[data-mode="dark"] body.home-view:has(.fh-scene) .workspace{background:linear-gradient(#0000 0,#0000 calc(210px + env(safe-area-inset-top,0px)),#0e1318 calc(210px + env(safe-area-inset-top,0px)))!important}
}

/* ==== 0.39.134 (Adil: «Roadside card looks small!»): a bigger roadside card — taller, a 50px wrench box, 19px title,
   15px line, the tow truck 78px wide. ==== */
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-in{padding:16px 16px!important;gap:14px;min-height:84px}
html.hy-v2 body.garage-view.home-view .rv-road .rv-road-icon{width:50px;height:50px;border-radius:15px}
body.home-view .rv-road .rv-road-icon .icon{width:24px;height:24px}
body.home-view .rv-road .rv-road-copy strong{font-size:19px}
body.home-view .rv-road .rv-road-copy small{font-size:15px;margin-top:2px}
body.home-view .rv-road img.rv-road-truck{width:78px}

/* ==== 0.39.135 (Adil: «the cream card color is not good», picked option 1 of three): white panels with a soft edge
   (a hairline and a light shadow); the roadside panel stays coral-pink. Dark mode keeps the dark surface. ==== */
body.home-view{--hp-panel:#FFFFFF;--hp-line:#ECEEF2}
html[data-mode="dark"] body.home-view{--hp-panel:var(--rv-surface);--hp-line:var(--rv-line)}
body.home-view .home-dashboard>.home-section.fh-family,body.home-view .home-dashboard>#rv-upcoming{box-shadow:0 1px 3px rgba(20,30,50,.06),0 0 0 1px #ECEEF2}
html[data-mode="dark"] body.home-view .home-dashboard>.home-section.fh-family,html[data-mode="dark"] body.home-view .home-dashboard>#rv-upcoming{box-shadow:0 0 0 1px var(--rv-line)}

/* ==== 0.39.137 (Adil: «The calendar looks narrow»): inside the white panel the calendar and the week/month switch drop
   their old 16–20px side margins (the panel has its own padding), so the calendar is as wide as the list under it.
   The open «التقويم» button is navy like the other buttons, not black. ==== */
body.home-view #rv-upcoming .rv-cal{margin:10px 0 0!important;padding:10px 6px;border-radius:18px}
body.home-view #rv-upcoming .rv-segs{padding:0!important;margin-top:10px}
.rv-cal-btn[aria-expanded="true"]{background:#1B2A4A;border-color:#1B2A4A;color:#fff}

/* ==== 0.39.138 (Adil: the roadside card's text is big — «a little bit smaller»): title 19 → 17px, line 15 → 13.5px;
   the card, the wrench box and the truck keep their size. ==== */
body.home-view .rv-road .rv-road-copy strong{font-size:17px}
body.home-view .rv-road .rv-road-copy small{font-size:13.5px;margin-top:3px}
