/* EZBIZZ guest demo: only the few new pieces. Everything else is the app's own CSS and tokens. */
.guest-banner{justify-content:space-between;gap:10px 16px}
.guest-banner .gb-tx{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 260px}
.guest-banner .gb-tx b{font-family:var(--f-display);font-size:17px}
.guest-banner .gb-act{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#guest_banner .gb-act .btn{min-height:44px}
.banner.guest-banner a.btn.pri{color:var(--on-brand)}
#gchat{z-index:70}
#gchat[hidden]{display:none!important}
#gchat .bub.gch-note{background:transparent;border:1px dashed var(--line-strong);color:var(--muted);font-size:14px}
#gchat .gch-cta{display:flex;justify-content:center;margin-top:10px;min-height:44px}
#gchat .chips button{min-height:44px}
@media (max-width:760px){
  .guest-banner{padding:10px 14px}
  .guest-banner .gb-tx b{font-size:16px}
  .guest-banner .gb-act{width:100%}
  .guest-banner .gb-act .btn{flex:1 1 auto;justify-content:center}
}
/* rotating messages (היום only): one card, all slides share one grid cell so the height never jumps */
.guest-rot{margin:0 0 18px;padding:14px 16px 4px;position:relative}
.guest-rot .gr-slides{display:grid}
.guest-rot .gr-slide{grid-area:1/1}
.guest-rot .gr-slide[hidden]{display:block!important;visibility:hidden}
.guest-rot .gr-t{margin:0 0 4px;padding-inline-end:96px;font-family:var(--f-display);font-weight:700;font-size:16px;color:var(--ink)}
.guest-rot .gr-x{margin:0;font-size:15px;line-height:1.55;color:var(--ink)}
.guest-rot .gr-ctl{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:4px}
.guest-rot .gr-corner{position:absolute;top:4px;inset-inline-end:4px;display:flex;gap:2px}
#guest_rot .gr-btn{min-width:44px;min-height:44px;justify-content:center}

.guest-rot .gr-dots{display:flex;gap:0}
.guest-rot .gr-dot{width:44px;height:44px;border:0;background:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:50%}
.guest-rot .gr-dot i{width:10px;height:10px;border-radius:50%;border:2px solid var(--brand);background:transparent;display:block}
.guest-rot .gr-dot[aria-current="true"] i{background:var(--brand)}
.guest-rot .gr-dot:focus-visible,.guest-rot .gr-btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media (prefers-reduced-motion: no-preference){.guest-rot .gr-slide:not([hidden]){animation:grIn .35s ease-out}}
@keyframes grIn{from{opacity:0}to{opacity:1}}
@media (max-width:760px){.guest-rot{padding:12px 12px 6px}.guest-rot .gr-x{font-size:14px}}
/* pass 1: phones - the business name keeps its line in the top bar (the switcher is not part of a demo), compact message card */
@media (max-width:760px){
  .topbar #bizsw{display:none}
  .guest-rot .gr-t{font-size:15px;padding-inline-end:92px}
  .guest-rot .gr-x{font-size:14px;line-height:1.5}
  .guest-rot .gr-ctl{margin-top:2px}
  .guest-banner{padding:8px 12px;gap:6px 12px}
  .guest-banner .gb-tx span{font-size:14px}
}
/* pass 2: phones - less height above "היום" */
@media (max-width:760px){
  #main > .guest-banner{margin-bottom:10px}
  .guest-rot{margin-bottom:12px;padding:10px 12px 0}
  .guest-rot .gr-t{margin-bottom:2px}
  .guest-rot .gr-ctl{margin-top:0}
}
/* pass 3: the tour bubble waits (hidden) while the next screen opens; close-only corner; phones fit arrows+dots+pause in one row */
#ez_tour.gt-moving .ezt-bub,#ez_tour.gt-moving .ezt-spot{opacity:0}
#ez_tour .ezt-bub,#ez_tour .ezt-spot{transition:opacity .18s}
@media (prefers-reduced-motion: reduce){#ez_tour .ezt-bub,#ez_tour .ezt-spot{transition:none}}
.guest-rot .gr-t{padding-inline-end:48px}
@media (max-width:760px){
  .guest-rot{padding:10px 8px 0}
  .guest-rot .gr-t,.guest-rot .gr-x{padding-inline-start:4px}
  .guest-rot .gr-t{padding-inline-end:48px}
  .guest-rot .gr-ctl{gap:0}
}
#gchat form[hidden]{display:none}
@media (max-width:760px){ .guest-banner .gb-tx{gap:0} .guest-banner .gb-tx span{line-height:1.45} }
/* pass 5: the spotlight lands on its target at once (no glide from the previous step), then fades in */
#ez_tour .ezt-spot{transition:opacity .18s!important}
@media (prefers-reduced-motion: reduce){#ez_tour .ezt-spot{transition:none!important}}
/* pass 6: compact banner off "היום"; chat header fits 360; tighter message card on phones */
.guest-banner.gb-compact{padding:6px 8px 6px 14px;flex-wrap:nowrap}
.guest-banner.gb-compact .gb-tx{flex:1 1 auto}
.guest-banner.gb-compact .gb-tx span{font-size:14px}
.guest-banner.gb-compact .gb-act{width:auto;flex:0 0 auto}
#gchat header .small{white-space:nowrap;font-size:12.5px}
@media (max-width:760px){
  .guest-rot .gr-x{line-height:1.45}
  .guest-rot .gr-ctl .gr-btn,.guest-rot .gr-dot{height:44px}
  #main > .guest-banner.gb-compact{margin-bottom:12px}
}
/* pass 7: phrases never break in the middle; swipe area keeps vertical page scroll */
.guest-banner .gb-nw{white-space:nowrap}
.guest-rot .gr-slides{touch-action:pan-y;user-select:none;-webkit-user-select:none}
/* v2: the card is as tall as the message on screen (no reserved space); height glides .25s, instant with reduced motion */
.guest-rot .gr-slides{display:block;overflow:hidden;transition:height .25s ease}
.guest-rot .gr-slide{grid-area:auto}
.guest-rot .gr-slide[hidden]{display:none!important}
@media (prefers-reduced-motion: reduce){.guest-rot .gr-slides{transition:none}}
/* v2: chat field border = --muted (light 5.6:1, dark 6.8:1 on --surface) + a clear focus ring */
#gchat form .inp{border-color:var(--muted)}
#gchat form .inp:focus,#gchat form .inp:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-color:var(--brand)}
/* v2: the one-line banner on phones: two short lines, no dangling separator */
@media (max-width:760px){.guest-banner .gb-dot{display:none}.guest-banner.gb-compact .gb-nw{display:block}}
/* v2b: scrim behind the host chat; header on one line at 360 */
.gchat-scrim{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:69}
:root[data-theme="dark"] .gchat-scrim{background:rgba(0,0,0,.6)}
.gchat-scrim[hidden]{display:none}
#gchat header b{white-space:nowrap}
@media (max-width:380px){#gchat header .small{display:none}}
/* v2c: the app's .card padding loaded later was winning - id-level padding for the message card */
#guest_rot{padding:12px 16px 4px;margin:0 0 14px}
@media (max-width:760px){#guest_rot{padding:10px 8px 2px;margin-bottom:12px}}

/* one badge line (2026-11-20): wraps to 2 lines on narrow phones instead of sliding under the CTA (critic pass 12, 360px) */
.guest-banner.gb-compact{align-items:center;gap:8px}
.guest-banner.gb-compact .gb-tx{flex:1 1 0;min-width:0}
.guest-banner.gb-compact .gb-badge{white-space:normal;line-height:1.35;display:block}
@media (max-width:380px){ #guest_banner.gb-compact .gb-act .btn{padding-inline:14px;font-size:15px} }

/* 2026-11-21 homepage mode: while the site's consent bar is open (it sets --consent-h on <html>), lift the app's fixed bottom UI above it.
   On /guest/ there is no consent bar, so --consent-h is unset and these resolve to 0. */
.bnav{bottom:var(--consent-h,0px)!important}
#msheet{bottom:var(--consent-h,0px)!important}
.rail{height:calc(100vh - var(--consent-h,0px))!important;max-height:calc(100vh - var(--consent-h,0px))!important}
.fab{translate:0 calc(-1 * var(--consent-h,0px))}
/* product name in the banner (critic pass-14: a visitor landing on / must see what the product is) */
.guest-banner .gb-brand{font-family:var(--f-display);font-weight:800;font-size:15px;letter-spacing:.02em;color:var(--brand-ink,var(--brand));direction:ltr;unicode-bidi:isolate}
.guest-banner.gb-compact .gb-brand{display:inline;margin-inline-end:8px}
.guest-banner.gb-compact .gb-tx{flex-direction:row;align-items:baseline;flex-wrap:wrap}
