/* חומה — רכיבים: כרטיסים, שדות, כפתורים, הדר ותפריטים, באנר הסכמה, באנר לידים, לוגו, טבלאות,
   נועה, מודאל, סרגל נגישות והודעות מצב. */

/* ---------- כרטיס יוקרתי ---------- */
.luxury-card {
  background: color-mix(in oklab, white 66%, transparent);
  border: 1px solid color-mix(in oklab, var(--border-solid) 50%, transparent);
  box-shadow: 0 1px 2px oklch(0.20 0.04 264 / 5%), 0 14px 34px -22px oklch(0.20 0.04 264 / 42%);
  backdrop-filter: blur(24px) saturate(140%);
  transition: background-color 300ms ease, transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.luxury-card:hover {
  background: color-mix(in oklab, white 80%, transparent);
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--growth) 30%, transparent);
  box-shadow: 0 4px 10px color-mix(in oklab, var(--primary) 10%, transparent);
}
.luxury-card.static:hover { transform: none; }

.glass-input {
  background: color-mix(in oklab, white 80%, transparent);
  border: 1px solid color-mix(in oklab, var(--border-solid) 80%, transparent);
  backdrop-filter: blur(8px);
  outline: none;
}
.glass-input:focus {
  border-color: var(--growth);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--growth) 20%, transparent);
}
.glass-input.bad { border-color: var(--destructive); box-shadow: 0 0 0 2px color-mix(in oklab, var(--destructive) 18%, transparent); }

/* ---------- ריחוף וברק בכרטיסי מגזין ---------- */
@keyframes float-soft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sheen-sweep { from { transform: translateX(-140%) rotate(18deg); } to { transform: translateX(240%) rotate(18deg); } }
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; top: -60%; bottom: -60%; width: 45%;
  background: linear-gradient(to left, transparent, rgb(255 255 255 / 0.55), transparent);
  opacity: 0; pointer-events: none;
}
.sheen:hover::after { opacity: 1; animation: sheen-sweep 900ms ease-out; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; border-radius: 12px;
  padding: 13px 24px; min-height: 48px; white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.btn-growth { background: var(--growth); color: var(--growth-foreground); box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--growth) 60%, transparent); }
.btn-growth:hover { color: var(--growth-foreground); transform: translateY(-2px); box-shadow: 0 12px 28px -8px color-mix(in oklab, var(--growth) 65%, transparent); }
.btn-navy { background: var(--primary); color: var(--primary-foreground); }
.btn-navy:hover { color: var(--primary-foreground); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border-solid); background: color-mix(in oklab, white 70%, transparent); color: var(--foreground); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--foreground); transform: translateY(-2px); border-color: color-mix(in oklab, var(--growth) 40%, transparent); }
.btn-sm { font-size: 14px; padding: 9px 16px; min-height: 40px; border-radius: 10px; }
.btn-wrap { white-space: normal; text-wrap: balance; line-height: 1.35; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 9999px;
  border: 1px solid var(--border-solid); background: color-mix(in oklab, white 70%, transparent); color: var(--muted-foreground);
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}
.chip:hover { border-color: var(--growth); color: var(--growth); }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }

/* צ'יפים של תגיות (בשורה השנייה, מתחת לקטגוריות) - עיצוב מעט שונה כדי שיהיה ברור
   מיד שמדובר בסינון אחר, שאינו חופף לשורת הקטגוריות שמעליו. */
.chip-tag {
  font-size: 12.5px; font-weight: 500; padding: 6.5px 13px 6.5px 14px;
  background: color-mix(in oklab, white 45%, transparent); border-style: dashed;
}
.chip-tag::before { content: "#"; opacity: .5; font-weight: 700; }
.chip-tag.on { background: var(--growth); border-color: var(--growth); border-style: solid; color: var(--growth-foreground); }
.chip-tag.on::before { opacity: .8; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 9999px;
  background: color-mix(in oklab, var(--growth) 12%, transparent);
  color: oklch(0.45 0.16 252);
  border: 1px solid color-mix(in oklab, var(--growth) 25%, transparent);
}

/* ---------- הדר ---------- */
.hdr {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in oklab, white 86%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
/* חוט זהב דק מתחת לסרגל — הסימן הראשון שהאתר לא גנרי */
.hdr::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(to left, transparent, var(--gold-line) 22%, var(--gold-line) 78%, transparent);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.nav { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--muted-foreground); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--foreground); }
.nav a::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 0; height: 2px; background: var(--growth); transition: width .3s ease; }
.nav a:hover::after, .nav a.on::after { width: 100%; }

/* ---------- תת-תפריט וניווט מובייל ---------- */
.navitem { position: relative; display: inline-flex; }
.dropdown {
  position: absolute; top: calc(100% + 16px); inset-inline-start: 50%; transform: translateX(50%);
  min-width: 258px; display: flex; flex-direction: column; padding: 8px;
  background: var(--card-solid); border: 1px solid var(--border-solid); border-radius: 16px;
  box-shadow: 0 18px 44px -14px oklch(0.178 0.035 264 / 26%); z-index: 220;
  animation: slide-up-fade .22s cubic-bezier(.22,1,.36,1);
}
.dropdown::before { content: ""; position: absolute; top: -16px; inset-inline: 0; height: 16px; }
.drop-a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  color: var(--foreground); text-decoration: none; white-space: nowrap;
}
.drop-a:hover { background: color-mix(in oklab, var(--growth) 10%, transparent); color: oklch(0.42 0.16 252); }
.drop-sep { height: 1px; background: var(--border); margin: 6px 8px; }

.burger { display: none !important; }
.scrim { position: fixed; inset: 0; z-index: 480; background: oklch(0.178 0.035 264 / 42%); backdrop-filter: blur(3px); }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 490;
  width: 330px; max-width: 88vw; background: var(--card-solid);
  border-inline-start: 1px solid var(--border-solid);
  box-shadow: -24px 0 60px -20px oklch(0.178 0.035 264 / 32%);
  display: flex; flex-direction: column; overflow-y: auto;
  animation: drawer-in .3s cubic-bezier(.22,1,.36,1);
}
@keyframes drawer-in { from { transform: translateX(105%); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer-a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 12px; text-decoration: none; color: var(--foreground);
  text-align: right; width: 100%;
}
.drawer-a:hover, .drawer-a:focus-visible { background: var(--secondary); color: var(--foreground); }

/* אקורדיונים בתפריט המובייל */
.drawer-acc-btn { min-height: 52px; cursor: pointer; }
.drawer-acc-chev { transition: transform .25s ease; }
.drawer-acc-btn[aria-expanded="true"] .drawer-acc-chev { transform: rotate(180deg); }
.drawer-acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s ease, visibility 0s linear .28s; }
.drawer-acc-panel.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .28s ease, visibility 0s; }
.drawer-acc-inner { overflow: hidden; min-height: 0; margin-inline-start: 14px; padding-inline-start: 6px; border-inline-start: 2px solid var(--border-solid); display: flex; flex-direction: column; gap: 2px; }
.drawer-sub { min-height: 48px; padding-block: 11px; }

@media (max-width: 1280px) {
  .nav { display: none !important; }
  .burger { display: inline-flex !important; }
}

/* ---------- באנר הסכמה ---------- */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 460;
  background: var(--card-solid); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px oklch(0.30 0.06 258 / .10);
  animation: consent-up .42s cubic-bezier(.22,1,.36,1) both;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@keyframes consent-up { from { transform: translateY(100%); } to { transform: none; } }
.consent-in {
  max-width: 1180px; margin: 0 auto; padding: 15px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.consent-t { flex: 1 1 420px; min-width: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted-foreground); }
.consent-t strong { color: var(--foreground); }
.consent-t a { color: var(--growth); text-decoration: underline; }
.consent-btns { display: flex; gap: 9px; flex-shrink: 0; }
.consent-btns .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 560px) {
  .consent-in { padding: 14px 16px; gap: 12px; }
  .consent-btns { width: 100%; }
  .consent-btns .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* כל עוד הבאנר על המסך, הכפתורים הצפים עולים מעליו ולא נחסמים */
body.has-consent .noa-fab,
body.has-consent .a11y-btn,
body.has-consent .a11y-panel { bottom: calc(20px + var(--consent-h, 88px)); }
/* לפאנל של נועה המרחק מהתחתית נשמר במשתנה, כי גם הגובה המרבי מחושב ממנו.
   בלי זה הבאנר דוחף את הפאנל למעלה והכותרת יוצאת מהמסך. */
body.has-consent .noa-panel { --noa-bot: calc(20px + var(--consent-h, 88px)); }
@media (max-width: 560px) {
  body.has-consent .noa-fab { bottom: calc(12px + var(--consent-h, 128px)); }
  body.has-consent .noa-panel { --noa-bot: calc(12px + var(--consent-h, 128px)); }
}

/* ---------- באנר לכידת פניות ---------- */
.pop { padding: 0 !important; max-width: 460px; width: 100%; }
.pop-in {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 28px 24px; position: relative;
}
.pop-x {
  position: absolute; inset-inline-end: 16px; top: 16px;
  display: flex; padding: 6px; border-radius: 8px;
  color: var(--muted-foreground); transition: background .15s, color .15s;
}
.pop-x:hover { background: var(--secondary); color: var(--foreground); }

.pop-head { display: flex; flex-direction: column; gap: 6px; text-align: center; margin-top: 4px; }
.pop-h { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.pop-sub { font-size: 14.5px; line-height: 1.65; color: var(--muted-foreground); margin: 0; }

.pop-f { display: flex; flex-direction: column; gap: 6px; }
.pop-l { font-size: 13px; font-weight: 600; color: var(--foreground); }
.vis-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pop-i {
  width: 100%; font: inherit; font-size: 15px; color: var(--foreground);
  background: var(--card-solid);
  border: 1px solid var(--input); border-radius: 11px;
  padding: 12px 14px; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.pop-i::placeholder { color: color-mix(in oklab, var(--muted-foreground) 72%, transparent); }
.pop-i:hover { border-color: color-mix(in oklab, var(--ring) 45%, var(--input)); }
.pop-i:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 18%, transparent);
}
.pop-i.bad { border-color: var(--destructive); }
.pop-t { resize: vertical; min-height: 84px; line-height: 1.6; }

.pop-sel { position: relative; display: block; }
.pop-sel select {
  appearance: none; -webkit-appearance: none;
  padding-inline-start: 40px; cursor: pointer;
}
.pop-chev {
  position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%);
  display: flex; pointer-events: none; color: var(--muted-foreground);
}

.pop-e { font-size: 12.5px; font-weight: 500; color: var(--destructive); line-height: 1.5; }

.pop-send { width: 100%; padding: 14px; font-size: 15.5px; border-radius: 12px; margin-top: 2px; }
.pop-send:disabled { opacity: .6; cursor: default; transform: none; }

.pop-trust {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; line-height: 1.5; color: var(--muted-foreground); margin: 0;
  text-align: center;
}
.pop-tick {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; margin-top: 6px;
  background: color-mix(in oklab, var(--growth) 12%, transparent); color: var(--growth);
}

@media (max-width: 480px) {
  .pop-in { padding: 26px 20px 20px; gap: 14px; }
  .pop-h { font-size: 21px; }
}

/* ---------- הלוגו ---------- */
.hm-logo {
  position: relative; display: inline-block; flex-shrink: 0;
  line-height: 0; overflow: hidden; border-radius: 4px;
}
.hm-logo img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 1px 2px oklch(0.30 0.08 255 / .20));
}

/* כניסה עדינה פעם אחת בטעינה */
.hm-anim img { animation: hm-in .62s cubic-bezier(.22,1,.36,1) both; }
@keyframes hm-in {
  from { opacity: 0; transform: translateY(4px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

/* הבזק אור שעובר על המגן — פעם בטעינה, ושוב במעבר עכבר */
.hm-sheen {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg,
    transparent 38%,
    oklch(1 0 0 / .55) 48%,
    oklch(1 0 0 / .16) 55%,
    transparent 64%);
  background-size: 260% 100%; background-position: 180% 0;
}
.hm-anim .hm-sheen { animation: hm-sweep 1.5s ease-out .5s 1 both; }
@keyframes hm-sweep {
  from { background-position: 180% 0; }
  to   { background-position: -80% 0; }
}

a:hover > .hm-logo img, button:hover > .hm-logo img,
.hm-logo:hover img { transform: translateY(-1px) scale(1.04); }
.hm-logo img { transition: transform .28s cubic-bezier(.22,1,.36,1); }
a:hover > .hm-logo .hm-sheen, .hm-logo:hover .hm-sheen {
  animation: hm-sweep .9s ease-out 1 both;
}

@media (prefers-reduced-motion: reduce) {
  .hm-anim img { animation: none; }
  .hm-sheen { display: none; }
  .hm-logo img { transition: none; }
}

/* ---------- טבלאות ---------- */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
table.t { width: 100%; border-collapse: collapse; min-width: 560px; }

/* במסך צר טבלה של שלוש עמודות נחתכת, והעמודה החשובה היא בדיוק זו שנעלמת.
   לכן כל שורה הופכת לכרטיס, עם שם העמודה לצד הערך. */
@media (max-width: 620px) {
  .tscroll { overflow: visible; }
  table.t, table.t tbody, table.t tr, table.t td { display: block; width: 100%; min-width: 0; }
  table.t thead { display: none; }
  table.t tr {
    border-bottom: 1px solid var(--border); padding: 4px 0 8px;
  }
  table.t tbody tr:last-child { border-bottom: none; }
  table.t td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    border-bottom: none; padding: 7px 16px; text-align: start;
  }
  table.t td::before {
    content: attr(data-h);
    flex: 0 0 auto; font-size: 12px; font-weight: 600;
    color: var(--muted-foreground); opacity: .9;
  }
  table.t td:first-child {
    padding-top: 13px; font-size: 15.5px; font-weight: 700;
    background: var(--secondary); margin-bottom: 4px; padding-bottom: 11px;
  }
  table.t td:first-child::before { display: none; }
  table.t td:not(:first-child) { text-align: end; }
}
table.t th, table.t td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.t thead th { background: var(--secondary); font-weight: 700; color: var(--foreground); font-size: 13.5px; }
table.t tbody tr:last-child td { border-bottom: none; }
table.t td:first-child { font-weight: 600; color: var(--foreground); }

/* ---------- נועה ---------- */
.noa-fab {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 400;
  display: flex; align-items: center; gap: 10px;
  background: var(--growth); color: var(--growth-foreground);
  border-radius: 9999px; padding: 12px 20px; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -6px color-mix(in oklab, var(--growth) 55%, transparent);
}
.noa-fab:hover { transform: translateY(-3px); color: var(--growth-foreground); }
.noa-panel {
  --noa-bot: 20px;
  position: fixed; inset-inline-end: 20px; bottom: var(--noa-bot); z-index: 420;
  width: 384px; max-width: calc(100vw - 32px);
  height: 620px; max-height: calc(100dvh - var(--noa-bot) - 20px);
  background: var(--card-solid); border: 1px solid var(--border-solid); border-radius: 18px;
  box-shadow: 0 24px 70px -12px oklch(0.178 0.035 264 / 28%);
  display: flex; flex-direction: column; overflow: hidden;
}
/* המחלקה הזו מתווספת רק לרינדור שבו החלון נפתח בפועל (ר' renderNoa ב-leads.js).
   כל שינוי אחר בתוך השיחה (למשל בחירת אופציה) בונה מחדש את ה-DOM של הפאנל
   בלי המחלקה הזו, כדי שהאנימציה לא תרוץ מחדש בכל לחיצה ותיצור קפיצה. */
.noa-panel.noa-enter { animation: slide-up-fade .3s cubic-bezier(.22,1,.36,1); }
.noa-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.bub { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.65; white-space: pre-line; }
.bub.noa { background: var(--secondary); color: var(--secondary-foreground); border-end-start-radius: 6px; align-self: flex-start; }
.bub.me { background: var(--growth); color: var(--growth-foreground); border-end-end-radius: 6px; align-self: flex-end; }
.typing { display: flex; gap: 5px; padding: 14px 16px; background: var(--secondary); border-radius: 16px; border-end-start-radius: 6px; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-foreground); opacity: .6; animation: bounce 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.quick {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--growth) 25%, transparent);
  background: color-mix(in oklab, var(--growth) 10%, transparent);
  color: oklch(0.45 0.16 252);
}
.quick:hover { background: var(--growth); color: var(--growth-foreground); border-color: var(--growth); }
.quick.on { background: var(--growth); color: var(--growth-foreground); border-color: var(--growth); }

/* ---------- מודאל ---------- */
.ovl { position: fixed; inset: 0; z-index: 500; background: oklch(0.178 0.035 264 / 45%); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--card-solid); border-radius: 20px; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 80px -16px oklch(0.178 0.035 264 / 40%); animation: slide-up-fade .3s cubic-bezier(.22,1,.36,1); position: relative; }

/* ---------- סרגל נגישות ---------- */
.a11y-btn {
  position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 400;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px oklch(0.178 0.035 264 / 45%);
}
.a11y-btn:hover { transform: translateY(-3px); color: var(--primary-foreground); }
.a11y-panel {
  position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 420;
  width: 310px; max-width: calc(100vw - 32px);
  background: var(--card-solid); border: 1px solid var(--border-solid); border-radius: 18px;
  box-shadow: 0 24px 60px -14px oklch(0.178 0.035 264 / 30%);
  animation: slide-up-fade .3s cubic-bezier(.22,1,.36,1);
}
.a11y-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--foreground); text-align: right;
}
.a11y-opt:hover { background: var(--secondary); }
.a11y-opt.on { background: color-mix(in oklab, var(--growth) 12%, transparent); color: oklch(0.42 0.16 252); font-weight: 600; }
@media (max-width: 860px) {
  .telnum { display: none; }
}
@media (max-width: 720px) {
  .hdr-in { height: 62px; }
  .btn { width: 100%; }
  .btn.auto { width: auto; }
  .noa-panel { --noa-bot: 12px; inset-inline: 12px; width: auto; height: calc(100dvh - 24px);
               max-height: calc(100dvh - var(--noa-bot) - 12px); }
  .noa-fab { inset-inline-end: 12px; bottom: 12px; }
  .a11y-btn { inset-inline-start: 12px; bottom: 12px; }
  .a11y-panel { inset-inline-start: 12px; bottom: 12px; }
}
@media (max-width: 400px) { .brandsub { display: none; } }
.toastwrap{position:fixed;left:0;right:0;bottom:24px;z-index:9999;display:flex;
  justify-content:center;pointer-events:none;padding:0 14px}
@media (max-width:640px){.toastwrap{bottom:92px}}
.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:10px;
  max-width:min(470px,100%);background:oklch(0.225 0.062 258);color:#fff;
  border-radius:14px;padding:13px 17px;box-shadow:0 14px 38px rgba(10,20,40,.30);
  font-size:14.5px;font-weight:500;line-height:1.55;
  animation:toastin .36s cubic-bezier(.2,.8,.3,1)}
.toast.bad{background:oklch(0.40 0.15 27)}
.toast .tw-i{flex-shrink:0;display:flex;margin-top:1px}
.toast a{color:#fff;text-decoration:underline;font-weight:700;white-space:nowrap}
.toast.out{opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s}
@keyframes toastin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.toast{animation:none}}
/* חלון שכבר על המסך ונבנה מחדש לא נכנס שוב (renderPopup, renderA11y) */
.modal.stay, .a11y-panel.stay { animation: none; }

/* ================= נועה — תיקוני תצוגה ================= */
.noa-fab { min-height: 48px; }
.noa-fab .noa-fab-t { white-space: nowrap; }
/* במסך צר הכפתור מתכווץ לעיגול ומפסיק לכסות תוכן */
@media (max-width: 560px) {
  .noa-fab { padding: 0; width: 56px; height: 56px; justify-content: center; gap: 0; }
  .noa-fab .noa-fab-t { display: none; }
}
.noa-panel { max-height: calc(100dvh - var(--noa-bot) - 20px); }
@media (max-width: 560px) { .noa-panel { max-height: calc(100dvh - var(--noa-bot) - 12px); } }
/* חלונית הנגישות לא תגלוש מהמסך גם כשהבאנר פתוח */
.a11y-panel { max-height: calc(100dvh - 120px); overflow-y: auto; }
.noa-log { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* השיחה נצמדת לתחתית, כמו בכל צ'אט — בלי חלל ריק מתחת להודעה הראשונה.
   margin-top:auto על הראשון עדיף על justify-content:flex-end, שחותך תוכן בגלילה. */
.noa-log > *:first-child { margin-top: auto; }
.noa-foot { border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 55%, transparent); padding: 12px 14px; }
/* אזור מגע תקני, וטקסט שלא נחתך באמצע מילה */
.quick {
  min-height: 40px; display: inline-flex; align-items: center; gap: 7px;
  max-width: 100%; text-align: right; line-height: 1.35;
}
.quick .tick { display: none; flex-shrink: 0; }
.quick.on .tick { display: inline-flex; }
@media (max-width: 560px) {
  .quick { min-height: 44px; font-size: 13.5px; padding: 9px 15px; }
  .bub { max-width: 92%; font-size: 14.5px; }
  .noa-log { padding: 14px 12px; }
}
.noa-multi {
  width: 100%; min-height: 44px; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.noa-multi:disabled {
  cursor: default; transform: none; box-shadow: none;
  background: var(--secondary); color: var(--muted-foreground);
  border: 1px solid var(--border);
}
.noa-hint { font-size: 12px; color: var(--muted-foreground); line-height: 1.5; }

/* ---------- תפריט המשנה של הביטוחים הפרטיים ---------- */
.drop-a .drop-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: var(--growth-wash); color: var(--growth);
}
/* בלי space-between כאן: הטקסט צמוד לאייקון, וכל השורות מיושרות לאותו קו */
.drop-a.rich { align-items: center; justify-content: flex-start; gap: 12px; padding: 9px 11px; }
.drop-a.rich .col { gap: 1px; min-width: 0; flex: 1; text-align: start; }
.drop-a.rich strong { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.drop-a.rich .xs { line-height: 1.4; }
.dropdown.wide { min-width: 320px; }

/* ============================================================================
   קליפ ההדגמה ("ככה זה עובד") — public/js/demo.js
   ברירת המחדל: שורה קומפקטית (מסגרת טלפון קטנה + שלושה צעדים).
   ========================================================================== */
.demo {
  display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; align-items: center;
  margin: 0; padding: 14px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 14px 34px -26px color-mix(in oklab, var(--navy) 60%, transparent);
}
.demo-phone {
  position: relative; aspect-ratio: 780 / 1440; overflow: hidden;
  border: 5px solid var(--navy); border-radius: 20px; background: var(--card-solid);
  box-shadow: 0 12px 26px -14px color-mix(in oklab, var(--navy) 70%, transparent);
}
.demo-vid { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-btn {
  position: absolute; inset-block-end: 8px; inset-inline-end: 8px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in oklab, var(--navy) 80%, transparent); color: var(--primary-foreground);
  box-shadow: 0 4px 12px -4px color-mix(in oklab, var(--navy) 70%, transparent);
}
.demo-btn:hover { background: var(--navy); }
.demo-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.demo-cap { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.demo-t { display: inline-flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 700; color: var(--foreground); }
.demo-t svg { color: var(--growth); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; counter-reset: demo; }
.demo-steps li {
  counter-increment: demo; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start;
  font-size: 13.5px; line-height: 1.5; color: var(--muted-foreground);
}
.demo-steps li::before {
  content: counter(demo); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; background: var(--growth-wash); color: var(--growth);
}
.demo-note { font-size: 11.5px; line-height: 1.5; color: var(--muted-foreground); }
@media (max-width: 400px) { .demo { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; } .demo-btn { width: 30px; height: 30px; inset-block-end: 6px; inset-inline-end: 6px; } }
@media (min-width: 620px) { .demo { grid-template-columns: 138px minmax(0, 1fr); gap: 20px; padding: 16px 18px; } }
