/* Design previews (owner 2026-10-25, v2: "premium touch + our page structure"): sign-up, sign-in and the onboarding try step as
   real site pages (assembled with the home's chrome) using the site's own hero and band craft. Steps, fields and rules mirror /v2
   (R3, Onboarding [b1b6a3]); only the page around them is new. Static; not routed, never imported. */

/* ---- the auth hero: the home hero, with the form where the build box sits ---- */
.hero .au-form{display:grid;gap:16px;width:100%;max-width:460px;margin:30px 0 0;text-align:start}
.hero .au-form .tl-f{margin:0}
.hero .au-form .tl-f label{font-size:var(--gb-type-body-sm-size)}
.hero .au-form .tl-f input{background:var(--gb-color-white)}
.au-hint{font-size:var(--gb-type-caption-size);color:var(--gb-text-muted)}
.au-q{display:grid;gap:8px}
.au-q > span{font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold)}
.au-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:var(--gb-radius-md);background:rgb(var(--gb-color-stone-rgb) / .45)}
.au-seg label{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border-radius:calc(var(--gb-radius-md) - 3px);font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted);cursor:pointer;text-align:center}
.au-seg input{position:absolute;opacity:0;pointer-events:none}
.au-seg label:has(input:checked){background:var(--gb-color-white);color:var(--gb-text);font-weight:var(--gb-weight-semibold);box-shadow:0 1px 2px rgb(var(--gb-color-ink-rgb) / .08)}
.au-form .btn.solid{height:52px;justify-content:center;font-size:16px}
.au-terms{margin:0;font-size:var(--gb-type-caption-size);color:var(--gb-text-muted);line-height:1.7}
.au-terms a{color:var(--gb-text)}
.hero .au-alt{margin:22px 0 0}
.au-code{display:flex;gap:10px;direction:ltr}
.au-code input{width:100%;min-height:60px!important;text-align:center;font-family:var(--gb-font-display);font-size:26px!important;padding:0!important}
.au-to{direction:ltr;unicode-bidi:isolate;font-weight:var(--gb-weight-semibold);color:var(--gb-text)}

/* ---- the try step: the site page, the conversation in the site's band frame, the step's actions beside it ---- */
.ob-steps{display:flex;justify-content:center;gap:10px;margin:0 auto;padding:22px var(--pad) 0;list-style:none;max-width:720px}
.ob-steps li{flex:1;padding-top:12px;border-top:3px solid rgb(var(--gb-color-stone-rgb) / .9);font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted);text-align:center}
.ob-steps li.is-now{border-top-color:var(--gb-color-ink);color:var(--gb-text);font-weight:var(--gb-weight-semibold)}
.ob{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:56px;align-items:start;max-width:1280px;margin:0 auto;padding:44px var(--pad) 96px}
.ob-lead{position:sticky;top:110px}
.ob-lead h1{margin:0;font-family:var(--gb-font-display);font-weight:var(--gb-weight-light);font-size:var(--gb-type-display-3-size);line-height:1.4;text-wrap:balance}
.ob-lead .sub{margin:16px 0 0}
.ob-learned{margin:34px 0 0;padding:20px 0 0;border-top:1px solid var(--hair)}
.ob-learned b{display:block;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted);font-weight:var(--gb-weight-semibold)}
.ob-learned ul{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.ob-learned li{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-green-mist-rgb) / .95);font-size:var(--gb-type-body-sm-size)}
.ob-learned li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gb-color-green-deep)}
.ob-dock{display:grid;gap:10px;margin:34px 0 0}
.ob-dock .btn{height:52px;justify-content:center;font-size:16px}
.ob-dock .btn img{width:20px;height:20px}
.ob-dock .more{margin:6px 0 0;text-align:center;font-size:var(--gb-type-body-sm-size)}
.ob-dock .more a{color:var(--gb-text-muted)}
/* the band frame (same bezel and art as the product bands), holding the live test chat */
.ob-band{position:relative;padding:30px;border-radius:32px;background:#ECEEFF url("assets/art/hero.webp") 50% 100% / cover no-repeat}
.ob-frame{border-radius:28px;padding:12px;background:rgb(var(--gb-color-white-rgb) / .34);border:2px solid rgb(var(--gb-color-white-rgb) / .75);box-shadow:0 50px 100px -50px rgb(var(--gb-color-night-rgb) / .45);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3)}
.ob-view{display:flex;flex-direction:column;min-height:600px;border-radius:18px;background:var(--gb-color-white);overflow:hidden}
.ob-vh{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--hair)}
.ob-vh b{display:flex;align-items:center;gap:10px;font-family:var(--gb-font-display);font-weight:var(--gb-weight-semibold);font-size:16px}
.ob-vh b svg{width:22px;height:22px}
.ob-vh small{display:block;font-size:12px;color:var(--gb-text-muted);font-weight:var(--gb-weight-regular);font-family:var(--gb-font-text)}
.ob-set{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:50%;background:var(--gb-color-white)}
.ob-set svg{width:18px;height:18px;stroke:var(--gb-text);fill:none;stroke-width:1.6}
.ob-thread{flex:1;display:flex;flex-direction:column;gap:12px;padding:22px 20px;background:rgb(var(--gb-color-sand-rgb) / .6)}
.ob-m{max-width:78%;padding:10px 14px;border-radius:var(--gb-radius-lg);font-size:15.5px;line-height:1.7}
.ob-m.c{align-self:flex-end;background:var(--gb-color-white);border:1px solid var(--hair);border-start-end-radius:5px}
.ob-m.a{align-self:flex-start;background:var(--gb-color-indigo-mist);border-start-start-radius:5px}
.ob-m .who{display:flex;align-items:center;gap:6px;margin-bottom:2px;font-size:12px;font-weight:var(--gb-weight-semibold);color:var(--gb-text-brand)}
.ob-m .who svg{width:14px;height:14px}
.ob-fix{align-self:flex-start;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.ob-ask{padding:14px 20px 18px;border-top:1px solid var(--hair)}
.ob-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.ob-chips button{min-height:40px;padding:8px 14px;border:1px solid var(--hair);border-radius:var(--gb-radius-pill);background:var(--gb-color-white);font:inherit;font-size:var(--gb-type-body-sm-size);color:var(--gb-text)}
.ob-in{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--gb-border-control);border-radius:var(--gb-radius-md)}
.ob-in input{flex:1;min-width:0;min-height:42px;padding:0 10px;border:0;outline:0;background:none;font:inherit;font-size:16px}
.ob-in button{width:42px;height:42px;border:0;border-radius:var(--gb-radius-sm);background:var(--gb-color-ink);display:grid;place-items:center}
.ob-in button svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.8}
@media (max-width:1100px){.ob{grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:36px}.ob-band{padding:20px}}
/* phone: today's single column; the chat without the art band; the step's one primary docked at the bottom */
@media (max-width:860px){
  .ob{grid-template-columns:1fr;gap:24px;padding:22px var(--gutter) 200px}
  .ob-lead{position:static}
  .ob-lead h1{font-size:var(--gb-type-display-4-size)}
  .ob-learned{margin-top:18px}
  .ob-band{padding:0;background:none}
  .ob-frame{padding:0;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .ob-view{min-height:0;border:1px solid var(--hair)}
  .ob-dock{position:fixed;inset:auto 0 0;z-index:5;margin:0;padding:12px var(--gutter) max(14px,env(safe-area-inset-bottom));background:rgb(var(--gb-ground-rgb) / .96);border-top:1px solid var(--hair);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
}
/* review fixes: grid children may shrink (the phone try page overflowed); the auth headline one step down so the form sits in the fold */
.ob > *{min-width:0}
.hero:has(.au-form) h1{font-size:var(--gb-type-display-2-size);line-height:1.3}
@media (max-width:860px){.ob-steps{padding:16px var(--gutter) 0}}
/* the WhatsApp primary carries its one-line note under it (DESIGN-v2 S2) */
.ob-dock .note{margin:-2px 0 6px;text-align:center;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
/* the dock's states (TryDock): one visible primary in each; the Meta route ("off") is offered on computers only */
.ob .st-on,.ob .st-off,.ob .st-loading{display:none}
.ob[data-state="on"] .st-on,.ob[data-state="off"] .st-off,.ob[data-state="loading"] .st-loading{display:flex}
.ob[data-state="on"] p.st-on,.ob[data-state="off"] p.st-off{display:block}
@media (max-width:860px){.ob[data-state="off"] .st-computer{display:none}}
.ob-dock .btn.ghost{background:none;border:1px solid transparent;color:var(--gb-text)}
.ob-dock .btn.ghost:hover{border-color:var(--hair)}
.ob-dock .btn.is-off,.ob-dock .btn:disabled{opacity:1;background:var(--gb-color-stone);color:rgb(var(--gb-color-ink-rgb) / .55);cursor:not-allowed}
.ob-dock .btn.is-off img{opacity:.5}
.spin{width:20px;height:20px;border-radius:50%;border:2px solid rgb(var(--gb-color-ink-rgb) / .25);border-top-color:rgb(var(--gb-color-ink-rgb) / .7);animation:obspin .9s linear infinite}
@keyframes obspin{to{transform:rotate(360deg)}}
.ob-chips-l{margin:0 0 8px;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.ob-m.typing{display:flex;gap:5px;padding:14px 16px}
.ob-m.typing i{width:7px;height:7px;border-radius:50%;background:rgb(var(--gb-color-indigo-deep-rgb) / .5);animation:obdot 1.2s infinite}
.ob-m.typing i:nth-child(2){animation-delay:.15s}.ob-m.typing i:nth-child(3){animation-delay:.3s}
@keyframes obdot{0%,60%,100%{opacity:.35}30%{opacity:1}}

/* ---- phone, while chatting (owner 2026-10-25: the message area was tiny on short phones). Built on /v2's own "while chatting"
   rules (R3 foundation: title folds, chips in one scrolling row, tight dock, composer pinned, the column fills 100dvh):
   the screen is exactly the phone's height; the conversation takes everything the chrome doesn't. ---- */
.ob-top-m{display:none}
@media (max-width:860px){
  body:has(.ob.is-chatting){height:100dvh;overflow:hidden}
  body:has(.ob.is-chatting) .hdr,body:has(.ob.is-chatting) .ob-steps,body:has(.ob.is-chatting) .foot,body:has(.ob.is-chatting) .widget,body:has(.ob.is-chatting) .mnav{display:none!important}
  .ob-top-m{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;height:48px;padding:0 var(--gutter);border-bottom:1px solid var(--hair);background:var(--gb-ground)}
  .ob-top-m .brand{display:flex;align-items:center;gap:6px;text-decoration:none;color:var(--gb-text)}
  .ob-top-m .brand svg{width:20px;height:20px}.ob-top-m .wm{font-size:17px}
  .ob-top-m .lang{font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold);text-decoration:none;color:var(--gb-text)}
  .ob-seg{display:flex;gap:4px;margin:0;padding:0;list-style:none}
  .ob-seg li{flex:1;height:3px;border-radius:2px;background:rgb(var(--gb-color-stone-rgb) / .9)}
  .ob-seg li.is-now{background:var(--gb-color-ink)}
  .ob.is-chatting{display:flex;flex-direction:column;gap:0;height:calc(100dvh - 48px);padding:0}
  .ob.is-chatting .ob-band{order:1;flex:1;min-height:0;display:flex}
  .ob.is-chatting .ob-frame{flex:1;display:flex;min-height:0}
  .ob.is-chatting .ob-view{flex:1;min-height:0;border:0;border-radius:0}
  .ob.is-chatting .ob-vh{padding:10px var(--gutter)}
  .ob.is-chatting .ob-thread{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px var(--gutter);justify-content:flex-end;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14px);mask-image:linear-gradient(to bottom,transparent 0,#000 14px)}
  .ob.is-chatting .ob-ask{padding:8px var(--gutter) 10px}
  .ob.is-chatting .ob-chips-l{display:none}
  .ob.is-chatting .ob-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 calc(var(--gutter) * -1) 8px;padding:0 var(--gutter)}
  .ob.is-chatting .ob-chips::-webkit-scrollbar{display:none}
  .ob.is-chatting .ob-chips button{flex:none;white-space:nowrap;min-height:36px;padding:6px 12px}
  .ob.is-chatting .ob-chips::before{content:"جرّب تسأله:";flex:none;align-self:center;font-size:var(--gb-type-caption-size);color:var(--gb-text-muted)}
  .ob.is-chatting .ob-lead{order:2;position:static}
  .ob.is-chatting .ob-lead > :not(.ob-dock){display:none}
  .ob.is-chatting .ob-dock{position:static;gap:2px;padding:8px var(--gutter) max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--hair);background:var(--gb-ground)}
  .ob.is-chatting .ob-dock .btn{height:48px}
  .ob.is-chatting .ob-dock .note{display:none!important}
  .ob.is-chatting .ob-dock .more{margin:2px 0 0}
  .ob.is-chatting .ob-dock .more a{display:inline-block;padding:8px 0}
  /* the keyboard is open (the composer has focus): the dock steps aside; messages and the composer share the visible height */
  .ob.is-chatting.is-typing .ob-lead{display:none}
}
/* the code boxes are a picture of the one hidden field (GetStartedPage R3) */
button.au-code{display:flex;gap:10px;width:100%;padding:0;border:0;background:none;direction:ltr;cursor:text}
button.au-code span{flex:1;display:grid;place-items:center;min-height:60px;border:1px solid var(--gb-border-control);border-radius:var(--gb-radius-sm);background:var(--gb-color-white);font-family:var(--gb-font-display);font-size:26px;color:var(--gb-text)}
button.au-code span.is-caret{border-color:var(--gb-color-ink);box-shadow:0 0 0 1px var(--gb-color-ink)}
.au-back{justify-self:start;min-height:44px;padding:0;border:0;background:none;font:inherit;font-size:var(--gb-type-body-sm-size);color:var(--gb-text);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* the try step's two forms (AnonTry): while chatting the lead folds (compact title; no sub, topics or note) at every width */
.ob.is-chatting .ob-lead .sub,.ob.is-chatting .ob-learned,.ob.is-chatting .ob-dock .note{display:none!important}
.ob.is-chatting .ob-lead h1{font-size:var(--gb-type-display-4-size)}
.ob-thread.is-empty{min-height:240px}
@media (max-width:860px){
  /* keyboard open: the conversation and the composer share what is left */
  .ob.is-chatting.is-typing .ob-vh,.ob.is-chatting.is-typing .ob-chips{display:none}
}
/* review fixes (2026-10-25): inside the flow the phone always uses the slim top (never the site nav); the chat column may shrink
   (the one-row chips were widening every flex parent: min-width:auto) */
@media (max-width:860px){
  body:has(.ob) .hdr,body:has(.ob) .ob-steps,body:has(.ob) .mnav,body:has(.ob) .widget{display:none!important}
  .ob-band,.ob-frame,.ob-view,.ob-ask,.ob-thread,.ob-chips{min-width:0}
  .ob-chips{max-width:100%}
}
@media (max-width:860px){.ob.is-chatting{align-items:stretch}}  /* the desktop grid's align-items:start sized the chat to its one-row chips */

/* ======== round 4 (Onboarding review parts 2–3, 2026-10-25) ======== */
/* the flow header (?hdr=slim, default): brand · the three stops (labelled on wide screens, a thin line on phones) · actions + EN.
   No site nav and no «ابدأ ببلاش» inside the flow (a restart button). ?hdr=full keeps the site header and footer instead. */
.fl-top{display:none}
body:has([data-flow]):not(:has([data-hdr="full"])) .hdr,body:has([data-flow]):not(:has([data-hdr="full"])) .foot,
body:has([data-flow]):not(:has([data-hdr="full"])) .mnav,body:has([data-flow]) .widget{display:none!important}
body:has([data-flow]):not(:has([data-hdr="full"])) .fl-top{display:grid}
.fl-top{grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;height:72px;padding:0 var(--pad);border-bottom:1px solid var(--hair);background:rgb(var(--gb-ground-rgb) / .92);position:sticky;top:0;z-index:var(--gb-z-header,50)}
.fl-top .brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--gb-text)}
.fl-top .brand svg{width:24px;height:24px}
.fl-end{justify-self:end;display:flex;align-items:center;gap:20px;font-size:var(--gb-type-body-sm-size)}
.fl-end a{text-decoration:none;color:var(--gb-text)}
.fl-end .act{font-weight:var(--gb-weight-semibold);text-decoration:underline;text-underline-offset:4px}
.fl-stops{display:flex;gap:8px;margin:0;padding:0;list-style:none}
.fl-stops li{min-width:132px;padding-top:10px;border-top:3px solid rgb(var(--gb-color-stone-rgb) / .9);font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted);text-align:center}
.fl-stops li.is-done{border-top-color:rgb(var(--gb-color-ink-rgb) / .45)}
.fl-stops li.is-now{border-top-color:var(--gb-color-ink);color:var(--gb-text);font-weight:var(--gb-weight-semibold)}
@media (max-width:860px){.fl-top{height:52px;padding:0 var(--gutter);gap:12px}.fl-stops li{min-width:0;flex:1;padding:0;height:3px;border-top-width:3px;font-size:0}.fl-stops{width:100%;min-width:90px}}
/* with the flow header, the try page's own phone top and stops rail are not needed */
body:has([data-flow]):not(:has([data-hdr="full"])) .ob-top-m,body:has([data-flow]):not(:has([data-hdr="full"])) .ob-steps{display:none!important}

/* sign-up: the ready card above the question; the step's dock (terms above the primary) */
.su-ready{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;padding:8px 14px 8px 12px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-green-mist-rgb) / .95);font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold)}
.su-ready svg{width:18px;height:18px}
.hero .su-lead{margin:12px 0 0}
.su-phone{display:flex;align-items:stretch;border:1px solid var(--gb-border-control);border-radius:var(--gb-radius-sm);background:var(--gb-color-white);direction:ltr;overflow:hidden}
.su-phone select{flex:none;width:96px;border:0;border-inline-end:1px solid var(--hair);background:none;padding:0 10px;font:inherit;font-size:15px;color:var(--gb-text)}
.su-phone input{flex:1;min-width:0;min-height:46px;border:0!important;outline:0;padding:10px 12px;font:inherit;font-size:16px;background:none}
.su-phone:focus-within{outline:2px solid var(--gb-focus,#141416);outline-offset:1px}
.su-phone.is-off{opacity:.55;background:rgb(var(--gb-color-stone-rgb) / .35)}
.su-err{margin:2px 0 0;font-size:var(--gb-type-caption-size);color:var(--gb-text);font-weight:var(--gb-weight-semibold)}
.su-err::before{content:"";display:inline-block;width:6px;height:6px;margin-inline-end:8px;border-radius:50%;background:#C2410C;vertical-align:middle}
.su-dock{display:grid;gap:12px;width:100%;max-width:460px;margin:20px 0 0;text-align:start}
.su-dock .btn{height:52px;justify-content:center;font-size:16px}
@media (max-width:860px){
  .su-dock{position:sticky;bottom:var(--consent-h,0px);z-index:var(--gb-z-header,50);margin:16px calc(var(--gutter) * -1) 0;width:auto;max-width:none;padding:12px var(--gutter) max(14px,env(safe-area-inset-bottom));background:rgb(var(--gb-ground-rgb) / .96);border-top:1px solid var(--hair)}
}

/* sheets: role="dialog" aria-modal="true" (the cookie bar steps aside for exactly that). Desktop: inside the panel they belong to;
   phone: a bottom sheet above the cookie bar. */
.sheet-bg{position:fixed;inset:0;z-index:90;background:rgb(var(--gb-color-night-rgb) / .28)}
.sheet{position:fixed;z-index:91;inset-inline:0;bottom:var(--consent-h,0px);margin-inline:auto;width:min(100%,520px);max-height:calc(100dvh - 64px);overflow-y:auto;padding:24px var(--gutter) max(24px,env(safe-area-inset-bottom));border-radius:var(--gb-radius-2xl,24px) var(--gb-radius-2xl,24px) 0 0;background:var(--gb-color-white);box-shadow:0 -20px 60px -30px rgb(var(--gb-color-night-rgb) / .4)}
.sheet h2{margin:0 0 8px;font-family:var(--gb-font-display);font-weight:var(--gb-weight-light);font-size:24px;line-height:1.4}
.sheet p{margin:0 0 16px;color:var(--gb-text-muted);line-height:1.7}
.sheet .btn{width:100%;height:50px;justify-content:center}
.sheet .btn + .btn{margin-top:10px}
.sheet .quote{margin:0 0 16px;padding:12px 14px;border-radius:var(--gb-radius-md);background:var(--gb-color-indigo-mist);color:var(--gb-text);font-size:15px}
.sheet .kinds{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.sheet .kinds label{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--hair);border-radius:var(--gb-radius-pill);font-size:var(--gb-type-body-sm-size);cursor:pointer}
.sheet .kinds label:has(input:checked){border-color:var(--gb-color-ink);background:rgb(var(--gb-color-ink-rgb) / .04);font-weight:var(--gb-weight-semibold)}
.sheet .kinds input{position:absolute;opacity:0}
.sheet textarea{width:100%;min-height:96px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--gb-border-control);border-radius:var(--gb-radius-sm);font:inherit;font-size:16px;resize:vertical}
@media (min-width:861px){
  /* in the chat panel it belongs to (the try page), or centred on the form column (sign-up) — never over the whole page */
  .ob-view{position:relative}
  .ob-view .sheet{position:absolute;bottom:0;width:100%;border-radius:20px 20px 0 0}
  .ob-view .sheet-bg{position:absolute;border-radius:18px}
}

/* try: the agent's welcome opens the thread; the learned line keeps its colon; save; failed answer */
.ob-fine{margin:22px 0 0;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.ob-save{display:inline-block;margin:0 0 22px;font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold);color:var(--gb-text);text-decoration:underline;text-underline-offset:4px}
.ob-m.fail{align-self:flex-start;background:none;border:1px dashed rgb(var(--gb-color-graphite-rgb) / .5);color:var(--gb-text-muted);font-size:var(--gb-type-body-sm-size)}
.ob-m.fail button{margin-inline-start:8px;border:0;background:none;font:inherit;font-weight:var(--gb-weight-semibold);color:var(--gb-text);text-decoration:underline;cursor:pointer}
.ob-fix{border:0;background:none;padding:0;font:inherit;cursor:pointer}

/* sign-in: the resume notice; the no-account line */
.si-note{max-width:460px;margin:22px 0 0;padding:14px 16px;border-radius:var(--gb-radius-md);background:rgb(var(--gb-color-indigo-mist-rgb) / .9);text-align:start}
.si-note b{display:block;margin-bottom:4px;font-size:var(--gb-type-body-sm-size)}
.si-note p{margin:0;font-size:var(--gb-type-body-sm-size);line-height:1.7;color:var(--gb-text)}
.ob.is-chatting .ob-learned-l,.ob.is-chatting .ob-save{display:none}
body:has([data-flow]):not(:has([data-hdr="full"])) .ob-save{display:none}
@media (max-width:860px){.ob:not(.is-chatting) .ob-dock{bottom:var(--consent-h,0px);z-index:var(--gb-z-header,50)}}
@media (max-width:860px){body:has([data-flow]):not(:has([data-hdr="full"])) .ob.is-chatting{height:calc(100dvh - 52px)}}
/* round 4b: a [hidden] field never shows, whatever display its class sets */
[hidden]{display:none!important}
/* round 4b (Onboarding (b)): at desktop the one primary sits at the bottom of the lead column's viewport box, both forms */
@media (min-width:861px){
  .ob{align-items:stretch}
  .ob-lead{position:static;display:flex;flex-direction:column}
  .ob-dock{position:sticky;bottom:0;margin-top:auto;padding-top:34px;padding-bottom:24px;background:linear-gradient(rgb(var(--gb-ground-rgb) / 0),var(--gb-ground) 34px)}
}
.fl-end a{white-space:nowrap}
/* round 5: what «طبّق» did (MeetYourAgent feedbackDone + reasked) — under the corrected answer, then the re-asked turn */
.ob-done{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold);color:var(--gb-color-green-deep)}
.ob-done svg,.ob-re svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ob-fixd{align-self:flex-start;display:grid;gap:6px;max-width:88%;margin:-4px 0 0;font-size:var(--gb-type-body-sm-size);line-height:1.6;color:var(--gb-text-muted)}
.ob-fixd p{margin:0}
.ob-fixd .warn{padding:8px 12px;border-radius:12px;background:var(--gb-surface);box-shadow:inset 0 0 0 1px var(--gb-border-strong);color:var(--gb-text)} /* R3 has no warn colour: the outlined banner (.gb-r3.qc .banner.is-warn) */
.ob-re{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin:4px 0 -4px;font-size:12px;font-weight:var(--gb-weight-semibold);color:var(--gb-text-brand)}
.sheet .btn[aria-busy=true]{opacity:.6;cursor:progress}
/* the hero's .typing (site.css) starts hidden and paused for its scroll story; in the test chat it shows at once */
.ob-thread .ob-m.typing{display:flex!important;opacity:1;animation:none;margin-top:0}

/* ---- connect previews (owner 2026-10-25): the WhatsApp steps, the live test and «وكيلك جاهز» at desktop/tablet ---- */
.cx .ob-lead h1 span{display:block}
.cx .ob-lead h1{font-size:var(--gb-type-display-4-size)}
.cx .ob-lead > * + *{margin-top:18px}
.cx .ob-lead > h1{margin-top:14px}
.cx-pill{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:30px;padding:0 12px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-green-mist-rgb));font-size:var(--gb-type-caption-size);font-weight:var(--gb-weight-semibold)}
.cx-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--gb-color-green-deep);box-shadow:0 0 0 3px rgb(var(--gb-color-green-rgb) / .55)}
.cx-pill.is-paused{background:rgb(var(--gb-color-stone-rgb) / .5)}.cx-pill.is-paused .dot{background:var(--gb-text);box-shadow:none;border-radius:1px;width:3px;height:10px;outline:0;border-inline:3px solid var(--gb-text);background:none}
.cx-stats{margin:6px 0 0;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.cx-h2{margin:0;font-family:var(--gb-font-text);font-weight:var(--gb-weight-semibold);font-size:18px}
.cx-h2.is-sm{font-size:var(--gb-type-body-sm-size)}
.cx-p{margin:0;line-height:1.75}.cx-p.strong{font-weight:var(--gb-weight-semibold)}
.cx-num{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--gb-radius-lg);background:var(--gb-color-white);border:1px solid var(--hair)}
.cx-num .ic,.cx-rows .ic,.cx-trow .ic,.cx-card-h .ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:var(--gb-radius-md);background:rgb(var(--gb-color-ink-rgb) / .05)}
.cx-num .ic img,.cx-rows .ic img{width:22px;height:22px}
.cx-num .t b,.cx-rows .t b,.cx-trow .t b{display:block;font-weight:var(--gb-weight-semibold)}
.cx-num .t small,.cx-rows .t small,.cx-trow .t small{display:block;font-size:var(--gb-type-caption-size);color:var(--gb-text-muted)}
.cx-num .ok{margin-inline-start:auto;width:24px;height:24px;fill:none;stroke:var(--gb-color-green-deep);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cx-list{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.cx-list li{position:relative;padding-inline-start:20px;line-height:1.7}
.cx-list li::before{content:"";position:absolute;inset-inline-start:3px;top:.78em;width:5px;height:5px;border-radius:50%;background:rgb(var(--gb-color-ink-rgb) / .45)}
.cx-list.is-sm li{font-size:var(--gb-type-body-sm-size)}
.cx-banner{display:flex;align-items:flex-start;gap:10px;margin:18px 0 0;padding:12px 14px;border-radius:var(--gb-radius-lg);background:rgb(var(--gb-color-ink-rgb) / .05);font-size:var(--gb-type-body-sm-size);line-height:1.65}
.cx-banner svg,.cx-alert svg,.cx-timer svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.cx-terms{margin-top:14px;padding:14px 16px;border-radius:var(--gb-radius-lg);border:1px solid var(--hair);background:var(--gb-color-white)}
.cx-terms .cx-list{margin:0}
.cx-more{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:var(--gb-type-body-sm-size);color:var(--gb-text)}
.cx-more svg,.cx-rows .chev{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.cx-alert{display:flex;gap:10px;padding:14px 16px;border-radius:var(--gb-radius-lg);background:var(--gb-color-white);box-shadow:inset 0 0 0 1px var(--gb-text)}
.cx-alert b{display:block}.cx-alert span{display:block;margin-top:2px;font-size:var(--gb-type-body-sm-size)}
.cx-trial{padding:12px 14px;border-radius:var(--gb-radius-lg);background:rgb(var(--gb-color-green-mist-rgb));border:1px solid rgb(var(--gb-color-green-rgb) / .6);font-size:var(--gb-type-body-sm-size);line-height:1.7}
.cx-steps{margin:0;padding:0;list-style:none;counter-reset:cx;display:grid;gap:16px}
.cx-steps li{counter-increment:cx;position:relative;padding-inline-start:38px;line-height:1.8}
.cx-steps li::before{content:counter(cx);position:absolute;inset-inline-start:0;top:.15em;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgb(var(--gb-color-ink-rgb) / .06);font-family:var(--gb-font-display);font-size:13px}
.cx-steps kbd{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:6px;border:1px solid var(--hair);background:var(--gb-color-white);font:inherit;font-size:.92em;font-weight:var(--gb-weight-semibold)}
.cx-steps kbd svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.cx-fine{margin:0;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted);line-height:1.7}
.cx-link{color:var(--gb-text);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgb(var(--gb-color-ink-rgb) / .45);text-underline-offset:5px}
.cx-links{display:flex;justify-content:center;gap:18px;margin:0;font-size:var(--gb-type-body-sm-size)}
.cx-center{text-align:center;margin:14px 0 0;font-size:var(--gb-type-body-sm-size)}
.cx-dock{text-align:center}
.cx-dock .btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;margin-inline-end:8px}
.cx-tick{display:flex;align-items:center;gap:12px;justify-content:flex-start;font-weight:var(--gb-weight-semibold)}
.cx-tick input{width:22px;height:22px;accent-color:var(--gb-text)}
.cx-card{display:grid;gap:12px;padding:18px;border-radius:var(--gb-radius-xl);background:var(--gb-color-white);border:1px solid var(--hair)}
.cx-card.is-quiet{background:transparent}
.cx-card-h{display:flex;align-items:center;gap:10px;margin:0;font-weight:var(--gb-weight-semibold)}
.cx-card-h .ic{width:34px;height:34px;border-radius:50%}.cx-card-h svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.cx-card input{height:48px;padding:0 14px;border-radius:var(--gb-radius-md);border:1px solid var(--gb-border-control);font:inherit}
.cx-card .btn{height:48px;justify-content:center}
.cx-chips{display:flex;gap:8px;margin:0}.cx-chips span{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:var(--gb-radius-pill);border:1px solid var(--hair);background:var(--gb-color-white);font-size:var(--gb-type-caption-size)}.cx-chips img{width:14px;height:14px}
.cx-rows{margin:10px 0 0;padding:0;list-style:none;border-block:1px solid var(--hair)}
.cx-rows li + li{border-top:1px solid var(--hair)}
.cx-rows a{display:flex;align-items:center;gap:14px;min-height:64px;color:var(--gb-text);text-decoration:none}
.cx-rows .chev{margin-inline-start:auto;color:var(--gb-text-muted)}
.cx-rows .ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
/* the band's contents */
.cx .ob-view{min-height:640px}
.cx-pairbox{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px}
.cx-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-ink-rgb) / .05);font-size:var(--gb-type-body-sm-size)}
.cx-seg span{padding:8px 18px;border-radius:var(--gb-radius-pill);text-align:center;color:var(--gb-text-muted)}
.cx-seg span[aria-selected=true]{background:var(--gb-color-white);color:var(--gb-text);font-weight:var(--gb-weight-semibold);box-shadow:0 0 0 1px var(--hair)}
.cx-qr{width:300px;height:300px;padding:18px;border-radius:var(--gb-radius-lg);background:var(--gb-color-white);box-shadow:0 0 0 1px var(--hair)}
.cx-code{display:flex;align-items:center;gap:18px;margin:0;font-family:var(--gb-font-display);font-weight:var(--gb-weight-light);font-size:64px;letter-spacing:.06em;line-height:1.1}
.cx-code i{width:20px;height:2px;background:rgb(var(--gb-color-ink-rgb) / .35)}
.cx-timer{display:flex;align-items:center;gap:6px;margin:0;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.cx-after{max-width:320px;text-align:center}
.cx-convo{flex:1;display:flex;flex-direction:column}
.cx-convo .ob-thread{flex:none}
.cx-trow{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--hair)}
.cx-trow .ic{width:36px;height:36px;border-radius:50%}.cx-trow .ic svg{width:18px;height:18px;fill:none;stroke:var(--gb-text-muted);stroke-width:1.6}
.cx-numview .ob-m.c{align-self:flex-start;border-start-end-radius:var(--gb-radius-lg);border-start-start-radius:5px}
.cx-numview .ob-m.a{align-self:flex-end;border-start-start-radius:var(--gb-radius-lg);border-start-end-radius:5px}
.cx-numview time{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:2px;font-size:12px;color:var(--gb-text-muted)}
.cx-numview time svg{width:16px;height:16px;fill:none;stroke:var(--gb-color-green-deep);stroke-width:1.6}
.cx-fix{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;font-size:var(--gb-type-body-sm-size);color:var(--gb-text-muted)}
.cx-fix svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.cx-banner.is-in{margin:16px 20px 20px}
.cx-agent{flex:1;display:flex;flex-direction:column}
/* art-only steps: the band is the site's arch art, as on sign-up */
.ob.is-art .ob-frame{display:none}
.ob.is-art .ob-band{min-height:640px;background:url("assets/arch-hero.webp") 50% 52% / auto 82% no-repeat,#ECEEFF url("assets/art/hero.webp") 50% 100% / cover no-repeat}
@media (max-width:860px){.ob.is-art .ob-band{display:none}}
/* connect previews round 2 */
.cx-alert.is-err{align-items:center;margin:0}
.cx-pill.is-ended{margin-inline-start:auto;background:transparent;box-shadow:inset 0 0 0 1px var(--hair);color:var(--gb-text-muted)}
.cx-code.is-empty span{color:rgb(var(--gb-color-ink-rgb) / .25);letter-spacing:.2em}
.cx-threads{margin:0;padding:0;list-style:none}
.cx-threads li{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--hair)}
.cx-threads .ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgb(var(--gb-color-ink-rgb) / .05)}
.cx-threads .ic svg{width:18px;height:18px;fill:none;stroke:var(--gb-text-muted);stroke-width:1.6}
.cx-threads b{display:block;font-weight:var(--gb-weight-semibold)}.cx-threads small{display:block;font-size:var(--gb-type-caption-size);color:var(--gb-text-muted)}
/* the sheets at desktop: a floating card at the bottom of the lead column (the R3 rule), the page dimmed behind */
.cx-sheet{position:fixed;z-index:60;bottom:24px;inset-inline-start:max(var(--pad,40px),calc((100vw - 1280px) / 2 + var(--pad,40px)));width:420px;max-height:calc(100dvh - 120px);overflow:auto;
  padding:26px 22px 22px;border-radius:24px;background:var(--gb-color-white);box-shadow:0 0 0 100vmax rgb(var(--gb-color-night-rgb) / .34),0 24px 60px -24px rgb(var(--gb-color-night-rgb) / .3)}
.cx-sheet-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cx-sheet-h h2{margin:0;font-family:var(--gb-font-display);font-weight:var(--gb-weight-semibold);font-size:20px}
.cx-sheet-h button{display:grid;place-items:center;width:40px;height:40px;border:0;background:none;cursor:pointer}
.cx-sheet-h svg,.cx-dev svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.cx-rows.is-sheet{margin:0;border-block:0}
.cx-rows.is-sheet a{min-height:58px}
.cx-rows.is-sheet .t b{font-weight:var(--gb-weight-regular)}
.cx-confirm{margin:6px 0 10px;padding:16px;border-radius:var(--gb-radius-lg);border:1px solid var(--hair)}
.cx-confirm p{margin:0}.cx-links.is-end{justify-content:flex-start;margin-top:12px}
.cx-link.is-muted{color:var(--gb-text-muted)}
.cx-dev{display:flex;gap:10px;margin-top:12px}
@media (max-width:860px){.cx-sheet{inset-inline:0;bottom:0;width:auto;border-radius:24px 24px 0 0}}
/* a refusal (the server said no to the press): in the dock, right above the button the owner just pressed; inverse ink with the
   alert mark, so it can never be read as the grey advisory the page already shows; role=alert. The button below it becomes the
   way forward the refusal names (here «اربط واتساب»), so pressing again can't silently fail the same way. */
.cx-refusal{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--gb-radius-lg);background:var(--gb-color-ink);color:var(--gb-color-white);text-align:start;font-size:var(--gb-type-body-sm-size);line-height:1.65}
.cx-refusal p{margin:0}.cx-refusal b{font-weight:var(--gb-weight-semibold)}
.cx-refusal svg{flex:none;width:20px;height:20px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.cx-dock .btn .cx-wa{width:20px;height:20px;margin-inline-end:8px}
/* the bridge (owner 2026-10-25): what waits in the dashboard, under the live split */
.cx-muted{color:var(--gb-text-muted);font-size:var(--gb-type-body-sm-size)}
.cx-draft{display:inline-flex;align-items:center;margin-inline-start:6px;padding:1px 8px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-indigo-mist-rgb));color:var(--gb-text-brand);font-family:var(--gb-font-text);font-size:11px;font-weight:var(--gb-weight-semibold);vertical-align:middle}
.cx-next{margin-top:26px}
.cx-next h2{margin:0 0 12px}
.cx-next-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.cx-tile{display:flex;flex-direction:column;gap:2px;color:var(--gb-text);text-decoration:none}
.cx-tile .pic{display:block;aspect-ratio:1240/640;border-radius:14px;overflow:hidden;background:#ECEEFF;margin-bottom:6px}
.cx-tile .pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform var(--gb-duration-quick) var(--gb-ease-brand)}
.cx-tile b{font-size:var(--gb-type-body-sm-size);font-weight:var(--gb-weight-semibold)}
.cx-tile span:not(.pic){font-size:var(--gb-type-caption-size);color:var(--gb-text-muted);line-height:1.55}
.cx-share h3{margin:0;font-family:var(--gb-font-display);font-weight:var(--gb-weight-semibold);font-size:20px;text-align:center}
.cx-share .cx-qr{width:240px;height:240px}
.cx-walink{margin:0;padding:8px 16px;border-radius:var(--gb-radius-pill);background:rgb(var(--gb-color-ink-rgb) / .05);font-size:var(--gb-type-body-sm-size);font-variant-numeric:tabular-nums}
.cx-next.is-phone{display:none}
@media (max-width:860px){.cx-next.is-desk{display:none}.cx-next.is-phone{display:block;margin:0;padding:24px var(--gutter,20px) 220px}}
@media (max-width:860px){.ob[data-state^="bridge"]{padding-bottom:0}.ob[data-state^="bridge"] .ob-view{min-height:0}}
