/* תופס – עיצוב. אותה שפה של "מאמן בכיס": בטון, גרפיט, ירוק לפעולות, אדום לכסף שבסיכון. */
:root {
  --bg: #F1F3F0; --surface: #FFFFFF; --surface-2: #F3F5F2; --ink: #15181A; --muted: #59605C; --line: #D6DBD4;
  --accent: #1E7A4C; --accent-ink: #FFFFFF; --accent-soft: #D3E8DB; --accent-3d: #1E7A4C;
  --rail: #15181A; --rail-fg: #E8EBE6; --rail-muted: #8D948F; --rail-hover: #23282B;
  --risk: #C62A22; --risk-soft: #F6DAD7;
  --s-new: #D2312B; --s-contacted: #E3B000; --s-booked: #2457B8; --s-attended: #8A6DD6; --s-won: #2E8B4E; --s-lost: #7B8380;
  --wa: #0F7A41;
  --display: 'Karantina', 'Arial Narrow', 'IBM Plex Sans Hebrew', sans-serif;
  --body: 'IBM Plex Sans Hebrew', 'Segoe UI', Arial, sans-serif;
  --ds: 1; --dlh: .88;            /* קנה מידה לפונט התצוגה: Karantina צר מאוד ולכן גדול */
  color-scheme: light;
}
/* ---------- עיצוב לכל תחום (בהיר) ---------- */
:root[data-vertical="beauty"] {
  --bg: #F7F2F1; --surface: #FFFFFF; --surface-2: #F8F2F1; --ink: #241A1D; --muted: #6E5B5E; --line: #E6D8D7;
  --accent: #A63D63; --accent-ink: #FFFFFF; --accent-soft: #F3D9E2; --accent-3d: #C2457A;
  --rail: #2B1A20; --rail-fg: #F3E9EC; --rail-muted: #A8919A; --rail-hover: #3B252D;
  --display: 'Bellefair', 'Frank Ruhl Libre', serif; --ds: .74; --dlh: 1.02;
}
:root[data-vertical="tutoring"] {
  --bg: #F1F3F7; --surface: #FFFFFF; --surface-2: #F3F5F9; --ink: #141A2A; --muted: #555D6E; --line: #D7DBE5;
  --accent: #2B55C4; --accent-ink: #FFFFFF; --accent-soft: #DCE4F8; --accent-3d: #2B55C4;
  --rail: #121A33; --rail-fg: #E9EDF7; --rail-muted: #8D97B3; --rail-hover: #1E2848;
  --display: 'Frank Ruhl Libre', 'David Libre', serif; --ds: .66; --dlh: 1.02;
}
:root[data-vertical="clinic"] {
  --bg: #F0F4F1; --surface: #FFFFFF; --surface-2: #F2F6F3; --ink: #17201B; --muted: #56645C; --line: #D5DED8;
  --accent: #2F7F72; --accent-ink: #FFFFFF; --accent-soft: #D5EAE5; --accent-3d: #3A9484;
  --rail: #16231F; --rail-fg: #E7EFEB; --rail-muted: #8CA199; --rail-hover: #213330;
  --display: 'Varela Round', 'IBM Plex Sans Hebrew', sans-serif; --ds: .6; --dlh: 1.08;
}
:root[data-vertical="services"] {
  --bg: #F3F1EE; --surface: #FFFFFF; --surface-2: #F5F3F0; --ink: #1A1814; --muted: #5C5852; --line: #DCD8D1;
  --accent: #D2611E; --accent-ink: #1A1814; --accent-soft: #F8E0CF; --accent-3d: #E0661C;
  --rail: #1E1D1B; --rail-fg: #EEEBE6; --rail-muted: #9A948B; --rail-hover: #2C2A27;
  --display: 'Secular One', 'IBM Plex Sans Hebrew', sans-serif; --ds: .64; --dlh: 1.04;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1211; --surface: #171B19; --surface-2: #1F2421; --ink: #E8ECE8; --muted: #9AA29D; --line: #2D3430;
    --accent: #45C07E; --accent-ink: #07130C; --accent-soft: #163222; --rail: #0A0C0B; --rail-fg: #E8ECE8; --rail-muted: #7E8682; --rail-hover: #1A1F1C;
    --risk: #F2766E; --risk-soft: #3A1A17;
    --s-new: #F0574F; --s-contacted: #F2C531; --s-booked: #6593F0; --s-attended: #A890EE; --s-won: #4CBB76; --s-lost: #7E8682; --wa: #3DD27F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1211; --surface: #171B19; --surface-2: #1F2421; --ink: #E8ECE8; --muted: #9AA29D; --line: #2D3430;
  --accent: #45C07E; --accent-ink: #07130C; --accent-soft: #163222; --rail: #0A0C0B; --rail-fg: #E8ECE8; --rail-muted: #7E8682; --rail-hover: #1A1F1C;
  --risk: #F2766E; --risk-soft: #3A1A17;
  --s-new: #F0574F; --s-contacted: #F2C531; --s-booked: #6593F0; --s-attended: #A890EE; --s-won: #4CBB76; --s-lost: #7E8682; --wa: #3DD27F; color-scheme: dark;
}
/* ---------- עיצוב לכל תחום (כהה): צבע המותג והתפריט בלבד ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-vertical="beauty"] { --accent: #E07AA0; --accent-ink: #1E0A12; --accent-soft: #3A1E2A; --rail: #140C10; --rail-hover: #24161C; --surface: #1C1719; --surface-2: #251E21; --bg: #120E10; --line: #362C30; }
  :root:not([data-theme="light"])[data-vertical="tutoring"] { --accent: #7DA0F5; --accent-ink: #0A1022; --accent-soft: #18223D; --rail: #0A0F1F; --rail-hover: #151D35; --surface: #161A24; --surface-2: #1E2330; --bg: #0E111A; --line: #2B3142; }
  :root:not([data-theme="light"])[data-vertical="clinic"] { --accent: #5FC1B0; --accent-ink: #06130F; --accent-soft: #14302B; --rail: #0A1311; --rail-hover: #15221F; }
  :root:not([data-theme="light"])[data-vertical="services"] { --accent: #F08A45; --accent-ink: #1A0F06; --accent-soft: #3A2414; --rail: #0C0B0A; --rail-hover: #1C1A17; --surface: #1B1917; --surface-2: #24211E; --bg: #11100E; --line: #34302B; }
}
:root[data-theme="dark"][data-vertical="beauty"] { --accent: #E07AA0; --accent-ink: #1E0A12; --accent-soft: #3A1E2A; --rail: #140C10; --rail-hover: #24161C; --surface: #1C1719; --surface-2: #251E21; --bg: #120E10; --line: #362C30; }
:root[data-theme="dark"][data-vertical="tutoring"] { --accent: #7DA0F5; --accent-ink: #0A1022; --accent-soft: #18223D; --rail: #0A0F1F; --rail-hover: #151D35; --surface: #161A24; --surface-2: #1E2330; --bg: #0E111A; --line: #2B3142; }
:root[data-theme="dark"][data-vertical="clinic"] { --accent: #5FC1B0; --accent-ink: #06130F; --accent-soft: #14302B; --rail: #0A1311; --rail-hover: #15221F; }
:root[data-theme="dark"][data-vertical="services"] { --accent: #F08A45; --accent-ink: #1A0F06; --accent-soft: #3A2414; --rail: #0C0B0A; --rail-hover: #1C1A17; --surface: #1B1917; --surface-2: #24211E; --bg: #11100E; --line: #34302B; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15.5px; line-height: 1.55; background: var(--bg); color: var(--ink); }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; display: inline-block; }
svg.i { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100%; }
.rail { background: var(--rail); color: var(--rail-fg); padding: 22px 12px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding-inline: 8px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font-family: var(--display); font-weight: 700; font-size: calc(36px * var(--ds)); line-height: var(--dlh); }
.brand small { display: block; color: var(--rail-muted); font-size: 12px; line-height: 1.3; margin-top: 3px; }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 4px; text-decoration: none; color: var(--rail-muted); font-weight: 500; }
.nav a:hover { color: var(--rail-fg); background: var(--rail-hover); }
.nav a.on { color: var(--rail-fg); background: var(--rail-hover); font-weight: 600; }
.nav a.on svg { color: var(--accent); }
.nav .lbl-s { display: none; }
.nav .badge { margin-inline-start: auto; font-size: 12px; font-weight: 700; color: var(--rail-fg); background: #3A2522; border: 1px solid var(--s-new); border-radius: 3px; min-width: 22px; padding: 0 5px; text-align: center; }
.rail-foot { margin-top: auto; font-size: 12px; color: var(--rail-muted); padding-inline: 10px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.rail-foot .trial { color: var(--rail-fg); }
main { min-width: 0; padding-block: 30px 72px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.page-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; padding-bottom: 2px; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: calc(clamp(44px, 6vw, 64px) * var(--ds)); line-height: var(--dlh); }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .4px; margin-bottom: 6px; display: block; }
.demo-bar { background: var(--accent-soft); border-radius: 4px; padding: 8px 12px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 64px minmax(0, 1fr); }
  .rail { padding: 14px 6px; gap: 14px; }
  .brand span, .rail-foot { display: none; }
  .brand { justify-content: center; padding: 0; }
  .nav a { flex-direction: column; gap: 2px; padding: 8px 2px; font-size: 10.5px; position: relative; text-align: center; }
  .nav .lbl { display: none; } .nav .lbl-s { display: block; }
  .nav .badge { position: absolute; top: 3px; inset-inline-start: calc(50% + 4px); margin: 0; font-size: 10px; min-width: 17px; padding: 0 3px; }
  main { padding-block: 18px 64px; padding-right: 14px; }
}

/* ---------- primitives ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 4px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.line:hover { border-color: var(--ink); filter: none; }
.btn.sm { min-height: 34px; padding: 4px 11px; font-size: 14px; }
.btn.wa { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.wa svg { width: 16px; height: 16px; fill: var(--wa); }
.btn.wa:hover { border-color: var(--wa); filter: none; }
.btn.danger { background: transparent; color: var(--risk); border-color: var(--risk); }
.btn.danger.armed { background: var(--risk); color: var(--surface); }
.btn svg.i { width: 17px; height: 17px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.panel { background: var(--surface); border: 1px solid var(--line-soft, var(--line)); border-radius: 12px; box-shadow: var(--elev); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel h2 { font-size: 17px; font-weight: 700; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.empty { color: var(--muted); padding: 8px 0; margin: 0; }
.err { margin: 0; color: var(--risk); font-weight: 600; font-size: 14px; min-height: 1.3em; }
label.f { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13.5px; min-width: 0; }
label.f small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=password], input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 40px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 400; font-size: 16px; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
textarea { min-height: 84px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.span { grid-column: 1 / -1; }
.kv { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.kv > span:first-child { color: var(--muted); }
.back { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; align-self: flex-start; }
.back:hover { color: var(--ink); }
.scroll-x { overflow-x: auto; }

/* ---------- money at risk ---------- */
.risk { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-soft, var(--line)); border-radius: 14px; box-shadow: var(--elev); background: var(--surface); overflow: hidden; }
.risk > div { padding: 16px 18px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.risk > div:first-child { border-inline-start: 0; }
.risk .main { background: var(--risk-soft); }
.risk .main.calm { background: var(--accent-soft); }
.risk strong { font-family: var(--display); font-size: calc(54px * var(--ds)); font-weight: 700; line-height: var(--dlh); }
.risk .main strong { color: var(--risk); }
.risk .main.calm strong { color: var(--accent); }
.risk span { font-size: 14px; font-weight: 600; }
.risk em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .risk { grid-template-columns: repeat(2, minmax(0, 1fr)); } .risk .main { grid-column: 1 / -1; } .risk > div:nth-child(2) { border-inline-start: 0; } .risk > div { border-top: 1px solid var(--line); } .risk > div:first-child { border-top: 0; } }

/* ---------- today ---------- */
.tsec + .tsec { border-top: 1px solid var(--line); padding-top: 14px; }
.tsec h3 { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 700; flex-wrap: wrap; }
.tsec h3 .c { font-weight: 600; color: var(--muted); }
.tsec h3 .h { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-inline-start: auto; }
.titem { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 9px 0; padding-inline-start: 20px; }
.titem .who { display: flex; flex-direction: column; min-width: 0; }
.titem .who a { font-weight: 600; text-decoration: none; }
.titem .who a:hover { text-decoration: underline; }
.titem .who span { color: var(--muted); font-size: 13.5px; }
.titem .who span.late { color: var(--risk); font-weight: 600; }
.clear { padding: 30px 0; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.clear b { font-family: var(--display); font-size: calc(40px * var(--ds)); }

/* ---------- leads ---------- */
.pipe { display: flex; height: 12px; border-radius: 2px; overflow: hidden; gap: 2px; }
.pipe i { background: var(--c); min-width: 3px; }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 760px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.filters button { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 10px 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; text-align: start; min-width: 0; }
.filters button:hover { border-color: var(--muted); }
.filters button.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.filters b { font-family: var(--display); font-size: calc(34px * var(--ds)); line-height: 1; font-weight: 700; }
.filters span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar input[type=search] { flex: 1 1 220px; width: auto; }
.lrow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr) minmax(160px, auto) auto; gap: 8px 16px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); cursor: pointer; }
.lrow:first-child { border-top: 0; }
.lrow:hover { background: var(--surface-2); }
.lrow .nm { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lrow .sub { color: var(--muted); font-size: 13.5px; }
.lrow .late { color: var(--risk); font-weight: 600; }
.st { display: inline-flex; align-items: center; gap: 7px; }
.st select { min-height: 34px; padding: 4px 8px; font-size: 14px; width: auto; max-width: 190px; background: transparent; border-color: transparent; cursor: pointer; }
.st select:hover { border-color: var(--line); }
@media (max-width: 760px) { .lrow { grid-template-columns: minmax(0, 1fr) auto; } .lrow .mid { display: none; } }

/* ---------- customers ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.cc { background: var(--surface); border: 1px solid var(--line-soft, var(--line)); border-radius: 12px; box-shadow: var(--elev); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 11px; }
.cc:hover { border-color: var(--muted); }
.cc .top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cc h3 { font-size: 17px; font-weight: 700; }
.cc h3 a { text-decoration: none; } .cc h3 a:hover { text-decoration: underline; }
.cc .foot { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 11px; }
.punch { display: flex; flex-wrap: wrap; gap: 6px; }
.hole { width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed var(--line); }
.hole.on { border: 0; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0,0,0,.4); }
.weeks { display: flex; gap: 4px; align-items: flex-end; height: 34px; }
.weeks i { flex: 1; background: var(--accent); border-radius: 1px; min-height: 2px; }
.weeks i.z { background: var(--line); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.log div { display: flex; gap: 14px; padding-block: 8px; border-top: 1px solid var(--line); font-size: 14.5px; }
.log div:first-child { border-top: 0; }
.log b { min-width: 58px; font-weight: 600; }

/* ---------- auth & onboarding ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--rail); color: var(--rail-fg); padding: 48px max(24px, 6%); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.auth-side h1 { font-family: var(--display); font-size: calc(clamp(56px, 7vw, 96px) * var(--ds)); line-height: var(--dlh); }
.auth-side p { color: var(--rail-muted); font-size: 18px; margin: 0; max-width: 40ch; }
.auth-main { padding: 48px max(16px, 6%); display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h2 { font-family: var(--display); font-size: calc(44px * var(--ds)); line-height: var(--dlh); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 8px 12px; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 820px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-side { padding-block: 32px; } }
.verticals { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.verticals label { border: 1px solid var(--line); border-radius: 4px; padding: 12px; cursor: pointer; display: flex; gap: 8px; align-items: flex-start; font-weight: 500; background: var(--surface); }
.verticals label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.verticals input { margin-top: 4px; accent-color: var(--accent); }
.slug { display: flex; align-items: center; direction: ltr; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); overflow: hidden; }
.slug span { padding: 0 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.slug input { border: 0; min-width: 0; }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8,10,9,.55); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; z-index: 50; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 6px; width: 100%; max-width: 580px; padding: 22px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.modal-head h2 { font-family: var(--display); font-size: calc(36px * var(--ds)); font-weight: 700; line-height: var(--dlh); }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 7px; border-radius: 4px; display: inline-flex; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 600px) { .overlay { align-items: flex-end; padding: 0; } .modal { border-radius: 10px 10px 0 0; max-height: 92vh; overflow-y: auto; } }
.toast { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 9px 10px 9px 16px; border-radius: 4px; font-weight: 500; z-index: 60; max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast button { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 4px 6px; }
.toast.bad { background: var(--risk); color: #fff; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
code.block { display: block; white-space: pre; overflow-x: auto; background: var(--surface-2); border-radius: 4px; padding: 10px; font-size: 12.5px; direction: ltr; text-align: left; }

/* ---------- תלת־ממד ---------- */
.hero3d { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; cursor: grab; touch-action: pan-y; }
.hero3d canvas, .risk3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero3d.no3d, .risk3d.no3d { display: none; }
.vcap { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--rail-muted); }
.vcap span.on { color: var(--rail-fg); font-weight: 600; }
.vcap span.on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-inline-end: 6px; vertical-align: 1px; }
.risk .main { position: relative; padding-inline-end: 132px; min-height: 150px; }
.risk3d { position: absolute; inset-inline-end: 4px; top: 4px; bottom: 4px; width: 124px; cursor: grab; touch-action: pan-y; }
@media (max-width: 520px) { .risk .main { padding-inline-end: 104px; } .risk3d { width: 98px; } }
.auth-side { transition: background-color .5s ease; }
.page-head .emblem { width: 150px; aspect-ratio: 1; max-width: 40vw; margin-block: -20px -14px; }

/* ---------- צעדים ראשונים ---------- */
.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; counter-reset: st; }
.steps-list > div { border: 1px solid var(--line); border-radius: 4px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.steps-list > div.done { opacity: 1; }
.steps-list > div.done b, .steps-list > div.done p { color: var(--muted); }   /* צעד שבוצע: אפור, אבל עדיין קריא (ניגודיות תקינה) */
.steps-list b { display: flex; align-items: center; gap: 8px; }
.steps-list b::before { counter-increment: st; content: counter(st); width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.steps-list .done b::before { content: "✓"; background: var(--accent); color: var(--accent-ink); }
.steps-list p { margin: 0; color: var(--muted); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .auth-side { transition: none; } }

/* ---------- המותג ControlLead: קבוע בכל תחום ---------- */
.wordmark { font-family: 'Montserrat', 'Arial Black', sans-serif !important; font-weight: 800; letter-spacing: .01em; font-size: 18px !important; line-height: 1.1 !important; color: #FFFFFF; white-space: nowrap; }
.wordmark em { font-style: normal; color: #2FD49B; margin-inline-start: .28em; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand-big { display: flex; align-items: center; gap: 12px; }
.brand-big .logo { width: 44px; height: 44px; }
.brand-big .wordmark { font-size: 28px !important; }
.auth-side h1 { max-width: 12ch; }

/* תחום "עסק אחר": צבעי המותג של ControlLead */
:root[data-vertical="general"] { --accent: #1E9E72; --accent-soft: #D2EFE4; --accent-3d: #2FD49B; --rail: #121A2E; --rail-hover: #1D2742; --rail-muted: #8C97B2; --rail-fg: #E8EDF7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"])[data-vertical="general"] { --accent: #2FD49B; --accent-ink: #06150F; --accent-soft: #123327; --rail: #0B1120; --rail-hover: #182238; } }
:root[data-theme="dark"][data-vertical="general"] { --accent: #2FD49B; --accent-ink: #06150F; --accent-soft: #123327; --rail: #0B1120; --rail-hover: #182238; }
/* ---------- דף הנחיתה: ניהול ---------- */
.linkbox { display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); border-radius: 4px; padding: 12px 14px; }
.linkbox > span { font-size: 14.5px; font-weight: 600; word-break: break-all; text-align: left; }
.where { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.qset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qset legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
@media (max-width: 560px) { .qset { grid-template-columns: minmax(0, 1fr); } }
.stepper { margin: 0; font-size: 13.5px; color: var(--muted); }
.stepper b { color: var(--accent); }
.welcome { border-color: var(--accent); background: var(--accent-soft); }
.ob-preview { background: var(--bg); color: var(--ink); border-radius: 6px; overflow: hidden; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.pv-top { background: var(--rail-hover); color: var(--rail-fg); padding: 8px 14px; font-weight: 700; font-size: 14px; }
.pv-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.pv-body small { color: var(--accent); font-weight: 600; }
.pv-body b { font-family: var(--display); font-size: calc(34px * var(--ds)); line-height: var(--dlh); }
.pv-body ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 14px; }
.pv-btn { align-self: flex-start; background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 6px 12px; font-weight: 600; font-size: 14px; }

/* ---------- דף הנחיתה: הדף הציבורי ---------- */
.lp-page { min-height: 100vh; background: var(--bg); }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.lp-top { background: var(--rail); color: var(--rail-fg); position: sticky; top: 0; z-index: 10; }
.lp-top .lp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; }
.lp-name { font-family: var(--display); font-size: calc(34px * var(--ds)); line-height: 1; }
.lp-tel { text-decoration: none; font-weight: 600; }
.lp-hero { background: var(--rail); color: var(--rail-fg); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding-block: 36px 60px; }
@media (max-width: 860px) { .lp-grid { grid-template-columns: minmax(0, 1fr); padding-block: 24px 40px; } }
.lp-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-eyebrow { color: var(--accent-3d); filter: brightness(1.35); font-weight: 600; font-size: 15px; }
.lp-text h1 { font-family: var(--display); font-size: calc(clamp(54px, 8vw, 92px) * var(--ds)); line-height: var(--dlh); font-weight: 700; }
.lp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-facts li { border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 5px 14px; font-size: 14.5px; }
.lp3d { max-width: 440px; aspect-ratio: 16 / 10; }
.lp-form { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.35); min-width: 0; }
.lp-fields { display: flex; flex-direction: column; gap: 10px; }
.lp-form h2 { font-family: var(--display); font-size: calc(42px * var(--ds)); line-height: var(--dlh); }
.lp-form .btn { min-height: 50px; font-size: 17px; }
.lp-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.lp-form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-thanks { display: none; flex-direction: column; gap: 8px; }
.lp-form.done .lp-fields { display: none; } .lp-form.done .lp-thanks { display: flex; }
.lp-thanks h2 { color: var(--accent); }
.lp-sec { padding-block: 56px 0; }
.lp-sec h2 { font-family: var(--display); font-size: calc(clamp(42px, 6vw, 60px) * var(--ds)); line-height: var(--dlh); margin-bottom: 22px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.lp-steps li { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.lp-steps li::before { counter-increment: s; content: counter(s); font-family: var(--display); font-size: calc(44px * var(--ds)); color: var(--accent); line-height: 1; }
.lp-steps b { font-size: 19px; } .lp-steps span { color: var(--muted); }
.lp-about p { max-width: 62ch; font-size: 18px; color: var(--muted); margin: 0; white-space: pre-line; }
.lp-foot { margin-top: 64px; background: var(--rail); color: var(--rail-muted); font-size: 14px; }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 90px; }
.lp-made { text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .02em; }
.lp-made b { color: #fff; font-weight: 800; } .lp-made em { font-style: normal; color: #2FD49B; font-weight: 800; margin-inline-start: .25em; }
.lp-wa { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 20; }
.lp-wa svg { width: 30px; height: 30px; fill: #fff; }

.bench { color: var(--accent); font-weight: 700; }

/* =====================================================================
   שכבת חוויית המשתמש: עומק, לוח, חלונית, חיפוש, חגיגה
   ===================================================================== */
:root { --elev: 0 1px 2px rgba(16,24,20,.05), 0 14px 34px -22px rgba(16,24,20,.35); --elev-hi: 0 2px 6px rgba(16,24,20,.08), 0 26px 60px -24px rgba(16,24,20,.5); --line-soft: color-mix(in srgb, var(--line) 70%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --elev: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -24px rgba(0,0,0,.8); --elev-hi: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 70px -26px rgba(0,0,0,.9); } }
:root[data-theme="dark"] { --elev: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -24px rgba(0,0,0,.8); --elev-hi: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 70px -26px rgba(0,0,0,.9); }
.btn { transition: transform .12s ease, filter .15s ease, border-color .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px) scale(.985); }
kbd { font-family: ui-monospace, Consolas, monospace; font-size: 11px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--surface); color: var(--muted); }
.risk .main { transform-style: preserve-3d; transition: transform .3s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .risk .main:hover { transform: perspective(700px) rotateX(2deg) translateZ(4px); } }

/* חיפוש בתפריט */
.rail-search { display: flex; align-items: center; gap: 10px; margin-inline: 2px; padding: 8px 10px; border-radius: 8px; border: 1px solid #2E3638; background: rgba(255,255,255,.03); color: var(--rail-muted); cursor: pointer; font: inherit; font-size: 14px; }
.rail-search:hover { color: var(--rail-fg); border-color: var(--rail-muted); }
.rail-search kbd { margin-inline-start: auto; background: transparent; border-color: #3A4245; color: var(--rail-muted); }
@media (max-width: 860px) { .rail-search { justify-content: center; padding: 8px 0; } .rail-search .lbl { display: none; } }

/* "הצעד הבא" */
.next-up { position: relative; border-radius: 16px; padding: 18px 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, var(--surface)), var(--surface) 60%); border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line)); box-shadow: var(--elev-hi); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.next-up::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none; }
.nu-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .3px; }
.nu-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nu-body { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.nu-body b { display: block; font-family: var(--display); font-size: calc(40px * var(--ds)); line-height: var(--dlh); }
.nu-body span { color: var(--muted); } .nu-body span.late { color: var(--risk); font-weight: 600; }
.nu-wa { min-height: 46px; padding-inline: 20px; background: #0F7A41 !important; color: #fff !important; border-color: #0F7A41 !important; font-size: 16px; }
.nu-wa svg { fill: #fff !important; }
.nu-more { font-size: 13px; color: var(--muted); position: relative; z-index: 1; }

/* מתג תצוגה */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 8px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* לוח פניות */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.col { background: var(--surface-2); border-radius: 12px; display: flex; flex-direction: column; min-height: 320px; scroll-snap-align: start; }
.col header { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; font-size: 14px; flex-wrap: wrap; }
.col header .cnt { margin-inline-start: auto; color: var(--muted); font-weight: 600; }
.col-sum { width: 100%; font-size: 12px; color: var(--muted); padding-inline-start: 19px; }
.col-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 4px 8px 12px; border-radius: 10px; transition: background-color .15s, box-shadow .15s; }
.col-body.over { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.col-empty { margin: 6px 4px; font-size: 13px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 8px; padding: 14px 8px; text-align: center; }
.col-lost { opacity: .75; }
.kcard { background: var(--surface); border-radius: 10px; padding: 11px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -12px rgba(0,0,0,.4); cursor: grab; display: flex; flex-direction: column; gap: 6px; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.kcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 28px -14px rgba(0,0,0,.5); }
.kcard:focus-visible { border-color: var(--accent); }
.kcard.dragging { opacity: .5; transform: rotate(-2deg) scale(.98); }
.kcard.late { border-inline-start: 3px solid var(--risk); }
.k-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.k-top b { font-size: 15px; }
.k-alert { width: 8px; height: 8px; border-radius: 50%; background: var(--risk); box-shadow: 0 0 0 3px color-mix(in srgb, var(--risk) 25%, transparent); flex: none; }
.k-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.k-meta .late { color: var(--risk); font-weight: 600; }
.board-hint { margin: 0; }

/* חלונית פנייה */
.drawer-wrap { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.drawer-wrap.open { pointer-events: auto; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8,12,10,.42); opacity: 0; transition: opacity .25s ease; }
.drawer-wrap.open .drawer-bg { opacity: 1; }
.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: min(480px, 100%); background: var(--surface); box-shadow: 30px 0 80px -20px rgba(0,0,0,.45); padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; transform: translateX(-104%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.drawer-wrap.open .drawer { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dr-head h2 { font-family: var(--display); font-size: calc(46px * var(--ds)); line-height: var(--dlh); margin-top: 2px; }
.dr-phone { color: var(--muted); font-size: 15px; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.big { min-height: 48px; padding-inline: 18px; background: #0F7A41; border-color: #0F7A41; color: #fff; font-size: 15.5px; flex: 1 1 220px; }
.btn.big svg { width: 18px; height: 18px; fill: #fff; }
/* דף ציבורי: חיבור וואטסאפ של לקוח (/connect/<קוד>) */
.connect-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); }
.connect-card { width: min(520px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--elev, 0 18px 40px -24px rgba(0,0,0,.35)); }
.connect-card .logo { width: 48px; height: 48px; }
.connect-card h1 { font-size: 24px; line-height: 1.25; margin: 0; }
.connect-card p { margin: 0; line-height: 1.6; }
.connect-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.connect-btns .btn { width: 100%; justify-content: center; flex: none; min-height: 48px; }
.connect-beta { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface-2); }
.connect-beta summary { font-weight: 700; cursor: pointer; }
.connect-beta { display: flex; flex-direction: column; gap: 8px; }
.connect-beta input { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.connect-beta .btn { align-self: flex-start; }
.connect-beta.ok { border-color: color-mix(in srgb, var(--wa, #0F7A41) 50%, var(--line)); background: color-mix(in srgb, var(--wa, #0F7A41) 9%, var(--surface)); }
.connect-beta.ok b { color: var(--wa, #0F7A41); }
.wa-req-panel { border: 1.5px solid var(--wa, #0F7A41); }
.wa-req-panel h2 { display: flex; align-items: center; gap: 6px; }
.wa-req-panel h2 svg { width: 18px; height: 18px; fill: var(--wa, #0F7A41); }
.wa-req { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.wa-req a { overflow-wrap: anywhere; }
.connect-beta ol { margin: 6px 0 0; padding-inline-start: 18px; line-height: 1.7; }
.connect-beta p { margin: 6px 0 0; }
.connect-notes { margin: 4px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }
.wa-welcome { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.wa-welcome-preview { --bub-out: #D9FDD3; --bub-out-ink: #11201A; display: flex; flex-direction: column; gap: 4px; background: var(--surface-2); border-radius: 10px; padding: 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wa-welcome-preview { --bub-out: #1E4D36; --bub-out-ink: #E8F5EC; } }
:root[data-theme="dark"] .wa-welcome-preview { --bub-out: #1E4D36; --bub-out-ink: #E8F5EC; }
.wa-welcome-preview .bub { align-self: flex-end; max-width: 90%; }
/* חיבור וואטסאפ בדף העסק */
.wa-conn { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); margin-bottom: 10px; }
.wa-conn p { margin: 0; line-height: 1.5; }
.wa-conn.ok { border-color: color-mix(in srgb, var(--wa, #0F7A41) 50%, var(--line)); background: color-mix(in srgb, var(--wa, #0F7A41) 8%, var(--surface)); }
.wa-conn.ok b { color: var(--wa, #0F7A41); }
.wa-conn .btn svg { width: 16px; height: 16px; fill: currentColor; }
/* שיחת וואטסאפ בתוך הפנייה */
.chat { --bub-in: var(--surface); --bub-out: #D9FDD3; --bub-out-ink: #11201A; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); display: flex; flex-direction: column; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat { --bub-out: #1E4D36; --bub-out-ink: #E8F5EC; } }
:root[data-theme="dark"] .chat { --bub-out: #1E4D36; --bub-out-ink: #E8F5EC; }
.chat h3 { font-size: 14px; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); margin: 0; }
.chat h3 svg { width: 16px; height: 16px; fill: var(--wa, #0F7A41); flex: none; }
.chat h3 small { font-weight: 500; margin-inline-start: auto; font-size: 12px; }
.chat-list { max-height: 320px; min-height: 90px; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.chat-empty { color: var(--muted); font-size: 13px; text-align: center; margin: auto 0; }
.chat-day { text-align: center; margin: 4px 0; }
.chat-day span { font-size: 11.5px; color: var(--muted); background: var(--surface); border-radius: 99px; padding: 2px 10px; }
.bub { max-width: 82%; padding: 7px 10px 5px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); overflow-wrap: anywhere; }
.bub p { margin: 0; white-space: normal; }
.bub.in { align-self: flex-start; background: var(--bub-in); color: var(--ink); border-start-start-radius: 3px; }
.bub.out { align-self: flex-end; background: var(--bub-out); color: var(--bub-out-ink); border-start-end-radius: 3px; }
.bub.failed { box-shadow: inset 0 0 0 1.5px #C0392B; }
.bub-err { display: block; color: #C0392B; font-size: 12px; font-weight: 600; margin-top: 4px; line-height: 1.4; }
.wa-conn .wa-note { font-size: 13.5px; font-weight: 600; }
.wa-conn.h-warning { border-color: #D4A017; background: color-mix(in srgb, #D4A017 10%, var(--surface)); }
.wa-conn.h-warning b, .wa-conn.h-warning .wa-note { color: #9A6B00; }
.wa-conn.h-error { border-color: #C0392B; background: color-mix(in srgb, #C0392B 9%, var(--surface)); }
.wa-conn.h-error b, .wa-conn.h-error .wa-note { color: #C0392B; }
.bub-meta { display: flex; gap: 4px; justify-content: flex-end; align-items: center; font-size: 11px; opacity: .7; margin-top: 2px; }
.tick { font-weight: 700; letter-spacing: -2px; }
.tick.t-read { color: #34B7F1; opacity: 1; }
.tick.t-failed { color: #C0392B; letter-spacing: 0; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 4px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form textarea { flex: 1; min-height: 42px; max-height: 140px; resize: vertical; font: inherit; font-size: 15px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chat-send { background: var(--wa, #0F7A41); border-color: var(--wa, #0F7A41); color: #fff; min-height: 42px; }
.chat-send svg { width: 16px; height: 16px; fill: #fff; }
.chat-hint { font-size: 11.5px; color: var(--muted); margin: 0; padding: 0 12px 9px; background: var(--surface); }
.chat-closed { font-size: 13px; color: var(--muted); margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); line-height: 1.5; }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.step { border: 0; background: var(--surface-2); padding: 8px 4px 9px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; min-width: 0; }
.step i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); background: transparent; }
.step.done i { background: var(--c); }
.step.done { color: var(--ink); }
.step.cur { background: color-mix(in srgb, var(--c) 18%, var(--surface)); color: var(--ink); box-shadow: inset 0 0 0 2px var(--c); }
.step.cur i { background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.step:hover { color: var(--ink); }
.dr-lost { margin-top: -8px; font-size: 13px; }
.muted-link { color: var(--muted); font-weight: 500; }
.hint-pulse { color: var(--accent) !important; font-weight: 600 !important; }
.tl h3 { font-size: 14px; margin-bottom: 8px; }
.tl-i { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-bottom: 12px; position: relative; }
.tl-i i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; position: relative; z-index: 1; }
.tl-i:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 4px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.tl-i b { display: block; font-size: 14.5px; } .tl-i span { font-size: 13px; color: var(--muted); } .tl-i time { font-size: 12.5px; color: var(--muted); }
.dr-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }

/* חיפוש מהיר */
.pal-wrap { position: fixed; inset: 0; z-index: 70; display: none; }
.pal-wrap.open { display: block; }
.pal-bg { position: absolute; inset: 0; background: rgba(8,12,10,.5); backdrop-filter: blur(2px); }
.pal { position: relative; margin: 12vh auto 0; width: min(600px, calc(100% - 32px)); background: var(--surface); border-radius: 14px; box-shadow: var(--elev-hi); overflow: hidden; display: flex; flex-direction: column; }
.pal input { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; min-height: 58px !important; font-size: 18px !important; padding-inline: 18px !important; background: transparent !important; }
.pal input:focus-visible { outline: none; }
.pal-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.pal-i { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.pal-i.on, .pal-i:hover { background: var(--surface-2); }
.pal-i b { display: block; font-size: 15px; } .pal-i span { font-size: 12.5px; color: var(--muted); }
.pal-cmd { font-style: normal; color: var(--muted); font-size: 13px; text-align: center; }
.pal-foot { display: flex; gap: 16px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* חגיגה */
.celebrate { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.cel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cel-card { position: relative; background: var(--surface); border-radius: 18px; padding: 22px 30px; box-shadow: var(--elev-hi); display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translateY(20px) scale(.92); opacity: 0; transition: transform .45s cubic-bezier(.2,1.4,.4,1), opacity .3s ease; }
.celebrate.show .cel-card { transform: none; opacity: 1; }
.cel-amt { font-family: var(--display); font-size: calc(64px * var(--ds)); line-height: 1; color: var(--accent); font-weight: 700; }
.cel-card b { font-size: 18px; } .cel-card small { color: var(--muted); }

/* כפתור + צף בטלפון */
.fab { display: none; }
@media (max-width: 860px) {
  .fab { display: flex; position: fixed; z-index: 40; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 18px; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); align-items: center; justify-content: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.45); cursor: pointer; }
  .fab svg { width: 26px; height: 26px; stroke-width: 2.4; }
  .drawer { width: 100%; }
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step span { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-bg, .kcard, .cel-card, .risk .main { transition: none; } .nu-pulse { animation: none; } }
@media (max-width: 860px) { [data-ux-search] kbd { display: none; } }

/* ---------- לוח ניהול ---------- */
.admin-kpi .main strong { color: var(--accent); }
.risk strong.bad { color: var(--risk); }
.admin-chips { flex-wrap: wrap; align-self: flex-start; }
.admin-list { gap: 0; padding: 6px 20px; }
.biz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.biz:first-child { border-top: 0; }
.biz-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.biz-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.biz-name b { font-size: 18px; }
.biz-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.biz-stats b { color: var(--ink); }
.biz-ctl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.biz-ctl label.f { font-size: 12px; }
.biz-ctl input, .biz-ctl select { min-height: 36px; padding: 5px 8px; font-size: 14px; }
@media (max-width: 900px) { .biz { grid-template-columns: minmax(0, 1fr); } .biz-ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =====================================================================
   דפי נחיתה: 4 סגנונות × 6 צבעים (.lp2 / .st-* , צבעים במשתני --l-*)
   ===================================================================== */
.lp2 { --l-text: #16181B; --l-muted: #5A6067; --l-line: #CDD1D4; --l-display: 'IBM Plex Sans Hebrew', sans-serif; --l-ds: .62; --l-lh: 1.08; --l-r: 8px; --l-r2: 14px;
  min-height: 100vh; background: var(--l-paper); color: var(--l-text); font-family: var(--body); font-size: 16.5px; line-height: 1.6; overflow-x: clip; color-scheme: light; }
.lp2 a { color: inherit; }
.lp2 h1, .lp2 h2 { font-family: var(--l-display); font-weight: 700; text-wrap: balance; margin: 0; }
.l-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.l-top { position: sticky; top: 0; z-index: 20; }
.l-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.l-name { font-family: var(--l-display); font-weight: 700; font-size: calc(30px * var(--l-ds) / .62 * .62 + 4px); line-height: 1.05; }
.l-top-act { display: flex; align-items: center; gap: 14px; }
.l-tel { text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (max-width: 560px) { .l-tel { display: none; } }
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: var(--l-r); border: 2px solid transparent; background: var(--l-acc); color: var(--l-on); font: 700 16.5px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s; }
.l-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.l-btn:active { transform: translateY(0); }
.l-btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.l-btn.wide { width: 100%; }
.l-btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.l-btn.ghost svg { width: 18px; height: 18px; fill: currentColor; }
.l-btn:focus-visible { outline: 3px solid var(--l-acc); outline-offset: 3px; }

.l-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 48px 72px; }
.l-copy { min-width: 0; }
.l-eyebrow { display: inline-block; font-weight: 600; font-size: 14.5px; letter-spacing: .3px; margin-bottom: 14px; }
.lp2 h1 { font-size: calc(clamp(46px, 7.4vw, 100px) * var(--l-ds)); line-height: var(--l-lh); }
.l-lead { margin: 18px 0 0; font-size: 19px; max-width: 46ch; opacity: .82; }
.l-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.l-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; justify-self: center; }
.lp2 .l-3d { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; width: 100%; height: 100%; cursor: grab; }
.l-plinth { position: absolute; left: 18%; right: 18%; bottom: 20%; height: 11%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.38), rgba(0,0,0,0) 70%); }
@media (max-width: 860px) {
  .l-hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 28px 44px; gap: 8px; }
  .l-stage { max-width: 340px; order: -1; }
}

.l-facts-sec { padding-block: 26px; }
.l-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; }
.l-facts li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.l-facts i { width: 12px; height: 12px; flex: none; background: var(--l-acc); }
.l-facts b { font-size: 17px; font-weight: 600; }
@media (max-width: 700px) { .l-facts { grid-template-columns: minmax(0, 1fr); } }
.l-sec { padding-block: 84px 0; }
.l-sec h2 { font-size: calc(clamp(36px, 5.2vw, 60px) * var(--l-ds)); line-height: var(--l-lh); margin-bottom: 30px; }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: ls; }
.l-steps li { padding-top: 18px; border-top: 2px solid currentColor; display: flex; flex-direction: column; gap: 4px; }
.l-steps li::before { counter-increment: ls; content: counter(ls); font-family: var(--l-display); font-weight: 700; font-size: calc(54px * var(--l-ds)); line-height: 1; }
.l-steps b { font-size: 19px; } .l-steps span { color: var(--l-muted); }
@media (max-width: 760px) { .l-steps { grid-template-columns: minmax(0, 1fr); } .l-sec { padding-block: 60px 0; } }
.l-about p { margin: 0; font-size: 19px; max-width: 62ch; white-space: pre-line; color: var(--l-muted); }
.l-form-sec { padding-bottom: 84px; }
.l-form-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .l-form-in { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.l-form-copy p { margin: 0 0 14px; font-size: 18px; opacity: .85; }
.l-assure { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.l-assure li { display: flex; gap: 10px; align-items: center; }
.l-assure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--l-acc); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.6L5.6 11.8l1.6-1.6 3.2 3.2 6.4-6.4 1.6 1.6-8 8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.6L5.6 11.8l1.6-1.6 3.2 3.2 6.4-6.4 1.6 1.6-8 8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp2 .l-form { margin: 0; background: #fff; color: var(--l-text); border-radius: var(--l-r2); padding: 28px; box-shadow: 0 30px 70px -36px rgba(0,0,0,.45); display: block; }
.lp2 .l-form .lp-fields { display: flex; flex-direction: column; gap: 12px; }
.lp2 .l-form.done .lp-fields { display: none; }
.lp2 .l-form label.f { font-size: 14px; color: var(--l-text); }
.lp2 .l-form input[type=text], .lp2 .l-form input[type=tel], .lp2 .l-form select { min-height: 52px; border-radius: var(--l-r); border: 1.5px solid var(--l-line); background: #fff; color: var(--l-text); font-size: 17px; padding-inline: 14px; }
.lp2 .l-form input:focus, .lp2 .l-form select:focus { border-color: var(--l-text); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-acc) 45%, transparent); }
.lp2 .l-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--l-muted); font-weight: 400; }
.lp2 .l-form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--l-text); }
.lp2 .lp-thanks h2 { font-size: calc(44px * var(--l-ds)); }
/* הגדרת השעות הפנויות ב"העסק שלי" */
.bk-form { display: flex; flex-direction: column; gap: 14px; }
.bk-days { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.bk-days legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.bk-day { position: relative; cursor: pointer; }
.bk-day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-day span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 600; transition: background-color .15s, border-color .15s, color .15s; }
.bk-day input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.bk-day input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); }
/* קביעת שעה בדף הנחיתה */
.lp-slots { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp-slots[hidden], #lp-time-f[hidden] { display: none; }
.lp-s-title { font-size: 14px; font-weight: 600; color: var(--l-text, var(--ink)); }
.lp-s-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.lp-s-day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 66px; min-height: 56px; padding: 8px 10px; border-radius: var(--l-r, 10px); border: 1.5px solid var(--l-line, #ddd); background: #fff; color: var(--l-text, #16181B); font: 600 14px var(--body); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.lp-s-day small { font-weight: 400; font-size: 12.5px; opacity: .75; }
.lp-s-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.lp-s-time { min-height: 44px; border-radius: var(--l-r, 10px); border: 1.5px solid var(--l-line, #ddd); background: #fff; color: var(--l-text, #16181B); font: 600 15px var(--body); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.lp-s-day:hover, .lp-s-time:hover { border-color: var(--l-text, #16181B); }
.lp-s-day:focus-visible, .lp-s-time:focus-visible, .lp-s-none:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-acc, #2457B8) 45%, transparent); }
.lp-s-day.on, .lp-s-time.on { background: var(--l-acc, #2457B8); border-color: var(--l-acc, #2457B8); color: var(--l-on, #fff); }
.lp-s-none { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--l-muted, #666); font: 400 13.5px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.l-foot { margin-top: 0; padding-block: 34px 110px; font-size: 14px; }
.l-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; opacity: .8; }
.l-made { text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .02em; }
.l-made b { font-weight: 800; } .l-made em { font-style: normal; font-weight: 800; color: #1E9E72; margin-inline-start: .25em; }
.l-sticky { display: none; }

/* ---------- סטודיו: כהה, נועז, תלת־ממד גדול ---------- */
.st-studio { --l-display: 'Karantina', 'Arial Narrow', sans-serif; --l-ds: 1; --l-lh: .86; --l-r: 4px; --l-r2: 6px; }
.st-studio .l-top, .st-studio .l-hero, .st-studio .l-facts-sec, .st-studio .l-form-sec, .st-studio .l-foot { background: var(--l-bg); color: var(--l-ink); }
.st-studio .l-eyebrow { color: var(--l-acc); }
.st-studio .l-stage { max-width: 600px; }
.st-studio .l-plinth { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--l-acc) 40%, transparent), transparent 70%); }
.st-studio .l-facts-sec { border-top: 1px solid rgba(255,255,255,.12); }
.st-studio .l-facts b { font-family: var(--l-display); font-size: 30px; font-weight: 700; line-height: 1; }
.st-studio .l-steps li::before { color: var(--l-bg); }
.st-studio .l-form-sec { margin-top: 84px; padding-top: 72px; }
.st-studio .l-btn.ghost { color: var(--l-ink); }

/* ---------- מגזין: נייר, סריף, קווים דקים ---------- */
.st-editorial { --l-display: 'Frank Ruhl Libre', 'David Libre', serif; --l-ds: .72; --l-lh: 1.02; --l-r: 0; --l-r2: 0; }
.st-editorial .l-top { background: var(--l-paper); border-bottom: 1px solid var(--l-text); }
.st-editorial .l-hero-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); padding-block: 64px 56px; }
.st-editorial h1 { font-size: calc(clamp(52px, 8.6vw, 124px) * var(--l-ds)); }
.st-editorial .l-eyebrow { border-bottom: 3px solid var(--l-acc); padding-bottom: 2px; }
.st-editorial .l-stage { margin-inline-start: -90px; }
.st-editorial .l-btn { background: var(--l-text); color: var(--l-paper); }
.st-editorial .l-btn.ghost { background: transparent; color: var(--l-text); }
.st-editorial .l-facts-sec { border-block: 1px solid var(--l-text); padding-block: 0; }
.st-editorial .l-facts { gap: 0; }
.st-editorial .l-facts li { padding: 22px 0; padding-inline-start: 22px; border-inline-start: 1px solid var(--l-text); }
.st-editorial .l-facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.st-editorial .l-facts i { width: 8px; height: 8px; border-radius: 50%; }
.st-editorial .l-facts b { font-family: var(--l-display); font-size: 22px; }
.st-editorial .l-steps li { border-top-width: 1px; }
.st-editorial .l-steps li::before { font-style: italic; }
.st-editorial .lp2 .l-form, .st-editorial .l-form { box-shadow: none; border: 1px solid var(--l-text); background: transparent; }
.st-editorial .l-form input[type=text], .st-editorial .l-form input[type=tel], .st-editorial .l-form select { border: 0; border-bottom: 1.5px solid var(--l-text); background: transparent; padding-inline: 2px; }
.st-editorial .l-foot { border-top: 1px solid var(--l-text); }
@media (max-width: 860px) {
  .st-editorial .l-hero-in { grid-template-columns: minmax(0, 1fr); }
  .st-editorial .l-stage { margin: 0 auto; max-width: 300px; }
  .st-editorial .l-facts li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--l-line); }
  .st-editorial .l-facts li:first-child { border-top: 0; }
}

/* ---------- רך: פסטל, פינות עגולות, במה עגולה לתלת־ממד ---------- */
.st-soft { --l-display: 'Varela Round', 'IBM Plex Sans Hebrew', sans-serif; --l-ds: .62; --l-lh: 1.14; --l-r: 999px; --l-r2: 28px;
  background: color-mix(in srgb, var(--l-soft) 50%, #ffffff); }
.st-soft .l-top { background: color-mix(in srgb, var(--l-soft) 50%, #ffffff); }
.st-soft .l-hero { padding-inline: 12px; }
.st-soft .l-hero-in { background: #fff; border-radius: 40px; padding: 48px 44px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); margin-top: 10px; }
.st-soft .l-eyebrow { background: var(--l-soft); padding: 4px 14px; border-radius: 999px; }
.st-soft .l-stage::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, var(--l-soft) 72%); }
.st-soft .l-plinth { bottom: 12%; }
.st-soft .l-btn { background: var(--l-bg); color: var(--l-ink); }
.st-soft .l-btn.ghost { background: transparent; color: var(--l-text); }
.st-soft .l-facts li { background: #fff; border-radius: 999px; padding: 12px 18px; box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); }
.st-soft .l-facts i { border-radius: 50%; }
.st-soft .l-steps li { border-top: 0; background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px -22px rgba(0,0,0,.35); }
.st-soft .l-steps li::before { color: var(--l-bg); }
@media (max-width: 860px) { .st-soft .l-hero-in { padding: 26px 20px; border-radius: 28px; } }

/* ---------- נקי: לבן, ממורכז, כפתור קבוע בתחתית בטלפון ---------- */
.st-minimal { --l-display: 'IBM Plex Sans Hebrew', sans-serif; --l-ds: .58; --l-lh: 1.12; --l-r: 10px; --l-r2: 16px; background: #fff; }
.st-minimal .l-top { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #ECEDEF; }
.st-minimal .l-hero-in { grid-template-columns: minmax(0, 1fr); max-width: 780px; margin: 0 auto; text-align: center; justify-items: center; padding-block: 40px 56px; gap: 0; }
.st-minimal .l-stage { order: -1; max-width: 260px; }
.st-minimal .l-lead { margin-inline: auto; }
.st-minimal .l-hero-cta { justify-content: center; }
.st-minimal .l-eyebrow { color: var(--l-muted); }
.st-minimal .l-btn { background: var(--l-bg); color: var(--l-ink); }
.st-minimal .l-btn.ghost { background: transparent; color: var(--l-text); }
.st-minimal .l-facts-sec { background: var(--l-paper); }
.st-minimal .l-facts { max-width: 860px; margin: 0 auto; }
.st-minimal .l-facts li { justify-content: center; }
.st-minimal .l-facts i { width: 20px; height: 20px; border-radius: 50%; }
.st-minimal .l-sec .l-wrap { max-width: 860px; }
.st-minimal .l-steps li { border-top: 1px solid #E4E6E8; }
.st-minimal .l-steps li::before { color: var(--l-acc); filter: brightness(.85); }
.st-minimal .l-form { box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 20px 50px -30px rgba(0,0,0,.35); border: 1px solid #ECEDEF; }
@media (max-width: 860px) {
  .st-minimal .l-sticky { display: flex; position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); min-height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: var(--l-bg); color: var(--l-ink); font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
  .st-minimal .lp-wa { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- בחירת עיצוב במסך "דף הנחיתה" ---------- */
.dz-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .dz-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dz-card { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: start; color: var(--ink); }
.dz-card:hover { border-color: var(--muted); }
.dz-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.dz-card b { font-size: 15px; } .dz-card small { color: var(--muted); font-size: 12.5px; }
.dz-mini.lp2 { min-height: 0; display: flex; flex-direction: column; height: 96px; border-radius: 8px; overflow: hidden; position: relative; font-size: 0; }
.dz-mini .m-hero { flex: 1.4; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; position: relative; }
.dz-mini .m-hero i { display: block; height: 6px; border-radius: 2px; background: currentColor; width: 58%; }
.dz-mini .m-hero i.s { width: 38%; opacity: .6; }
.dz-mini .m-hero i.m-b { width: 26px; height: 8px; background: var(--l-acc); }
.dz-mini .m-hero i.m-o { position: absolute; left: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--l-acc) 60%); }
.dz-mini .m-rows { flex: 1; display: flex; gap: 5px; align-items: center; padding: 0 10px; }
.dz-mini .m-rows i { flex: 1; height: 5px; border-radius: 2px; background: currentColor; opacity: .35; }
.dz-mini.st-studio .m-hero { background: var(--l-bg); color: var(--l-ink); }
.dz-mini.st-studio .m-hero i { height: 8px; }
.dz-mini.st-studio .m-rows { background: var(--l-paper); color: var(--l-text); }
.dz-mini.st-editorial { background: var(--l-paper); color: var(--l-text); }
.dz-mini.st-editorial .m-hero { border-bottom: 1px solid currentColor; }
.dz-mini.st-editorial .m-hero i { border-radius: 0; height: 9px; }
.dz-mini.st-editorial .m-hero i.m-b { background: var(--l-text); }
.dz-mini.st-soft { background: color-mix(in srgb, var(--l-soft) 55%, #fff); color: var(--l-text); padding: 6px; }
.dz-mini.st-soft .m-hero { background: #fff; border-radius: 12px; }
.dz-mini.st-soft .m-hero i { border-radius: 99px; }
.dz-mini.st-soft .m-hero i.m-b { background: var(--l-bg); }
.dz-mini.st-minimal { background: #fff; color: var(--l-text); }
.dz-mini.st-minimal .m-hero { align-items: center; padding-top: 18px; }
.dz-mini.st-minimal .m-hero i.m-o { left: 50%; top: 4px; margin: 0 0 0 -9px; width: 18px; height: 18px; }
.dz-mini.st-minimal .m-hero i.m-b { background: var(--l-bg); }
.dz-pals { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-pal { display: flex; align-items: center; gap: 0; padding: 6px 12px 6px 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.dz-pal span { width: 18px; height: 22px; display: block; }
.dz-pal span:first-child { border-radius: 0 11px 11px 0; } .dz-pal span:nth-child(2) { border-radius: 11px 0 0 11px; }
.dz-pal small { font-size: 13px; margin-inline-start: 8px; }
.dz-pal.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { .l-btn { transition: none; } .l-btn:hover { transform: none; } }

/* ---------- לוגו Controlead ---------- */
.wordmark { font-family: 'Fredoka', 'Varela Round', sans-serif !important; font-weight: 700 !important; letter-spacing: 0 !important; color: #E3E1DA !important; font-size: 22px !important; }
.wordmark em { color: inherit !important; margin: 0 !important; }
.brand .logo { width: 38px; height: 38px; }
.brand-big .logo { width: 52px; height: 52px; }
.brand-big .wordmark { font-size: 34px !important; }
.l-made b { font-family: 'Fredoka', sans-serif; font-weight: 700; color: inherit; }
.rail .logo > path, .auth-side .logo > path { fill: #E3E1DA; } .rail .logo g, .auth-side .logo g { stroke: #0E2A3E; }

/* =====================================================================
   ריענון עיצוב האפליקציה לפי מותג Controlead:
   כחול כהה, אפור חמים, צורות אורגניות מהלוגו, כותרות עגולות.
   צבע ההדגשה (--accent) עדיין משתנה לפי התחום של העסק.
   ===================================================================== */
html:root[data-vertical], html:root:not([data-vertical]) {
  --bg: #F3F5F7; --surface: #FFFFFF; --surface-2: #F5F7F9; --ink: #0E2A3E; --muted: #5B6A74; --line: #E0E5EA; --line-soft: #EBEEF2;
  --rail: #0E2A3E; --rail-fg: #EEECE6; --rail-muted: #9DB0BD; --rail-hover: #173A52;
  --display: 'Fredoka', 'Varela Round', 'IBM Plex Sans Hebrew', sans-serif; --ds: .6; --dlh: 1.08;
  --elev: 0 1px 0 rgba(14,42,62,.04), 0 10px 30px -24px rgba(14,42,62,.45);
  --elev-hi: 0 2px 4px rgba(14,42,62,.06), 0 24px 60px -30px rgba(14,42,62,.55);
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"])[data-vertical], html:root:not([data-theme="light"]):not([data-vertical]) {
    --bg: #0A1B28; --surface: #102638; --surface-2: #163046; --ink: #ECEAE4; --muted: #95A6B2; --line: #24425B; --line-soft: #1C374D;
    --rail: #06131D; --rail-fg: #ECEAE4; --rail-muted: #7F94A3; --rail-hover: #112B3E;
    --elev: 0 1px 0 rgba(255,255,255,.03) inset, 0 16px 40px -28px rgba(0,0,0,.9); --elev-hi: 0 1px 0 rgba(255,255,255,.04) inset, 0 28px 70px -30px rgba(0,0,0,.95);
  }
}
html:root[data-theme="dark"] {
  --bg: #0A1B28; --surface: #102638; --surface-2: #163046; --ink: #ECEAE4; --muted: #95A6B2; --line: #24425B; --line-soft: #1C374D;
  --rail: #06131D; --rail-fg: #ECEAE4; --rail-muted: #7F94A3; --rail-hover: #112B3E;
}
.shell h1, .shell h2, .auth h1, .auth h2, .modal-head h2 { font-weight: 600; letter-spacing: -.005em; }
.page-head h1 { font-size: calc(clamp(46px, 6vw, 66px) * var(--ds)); }
.panel h2 { font-family: var(--display); font-size: 19px; font-weight: 600; }

/* תפריט: כחול המותג, פריטים בצורת גלולה, כתם אורגני ברקע */
.rail { position: sticky; overflow: hidden; }
.rail::after { content: ""; position: absolute; inset: auto -60px -70px auto; width: 260px; height: 260px; pointer-events: none; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%23ffffff' d='M17 4.5c5.4-3 10.6.4 13.5 5 2.4 3.8 5.6 4.6 9.6 4.2 7.6-.7 15.2 4.7 17.4 12.4 2.6 9.2-3.6 18.2-13 21.4-4.2 1.4-7.4 1.2-9.4 5.4-2.4 5-7.6 8-12.8 5.6-4.6-2-6.8-6.6-10.6-9.6C8 46 2.6 44 1.4 37.8.4 32.4 4.4 29.6 7.2 26.6 9.8 23.8 7 18.8 8 14 8.8 9.6 12.6 6.8 17 4.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rail > * { position: relative; z-index: 1; }
.nav { gap: 3px; }
.nav a { border-radius: 999px; padding: 9px 14px; }
.nav a.on { background: var(--rail-fg); color: #0E2A3E; box-shadow: none; }
.nav a.on svg { color: #0E2A3E; }
.nav .badge { background: #E3E1DA; color: #0E2A3E; border: 0; border-radius: 999px; }
.nav a.on .badge { background: #0E2A3E; color: #E3E1DA; }
.rail-search { border-radius: 999px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.rail-foot .trial { display: inline-block; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 860px) { .nav a { border-radius: 14px; padding: 8px 2px; } }

/* כפתורים: גלולות */
.btn { border-radius: 999px; padding-inline: 18px; }
.btn.sm { padding-inline: 13px; }
.icon-btn { border-radius: 999px; }
.seg, .seg button { border-radius: 999px; }

/* משטחים: נייר חם במקום צלליות כבדות */
.panel, .cc { border-radius: 20px; border-color: var(--line-soft); }
.risk { border-radius: 22px; border-color: var(--line-soft); }
.risk .main { background: color-mix(in srgb, var(--risk) 9%, var(--surface)); position: relative; overflow: hidden; }
.risk .main.calm { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.risk .main::before { content: ""; position: absolute; inset: -30% auto auto -12%; width: 240px; height: 240px; opacity: .08; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%230E2A3E' d='M17 4.5c5.4-3 10.6.4 13.5 5 2.4 3.8 5.6 4.6 9.6 4.2 7.6-.7 15.2 4.7 17.4 12.4 2.6 9.2-3.6 18.2-13 21.4-4.2 1.4-7.4 1.2-9.4 5.4-2.4 5-7.6 8-12.8 5.6-4.6-2-6.8-6.6-10.6-9.6C8 46 2.6 44 1.4 37.8.4 32.4 4.4 29.6 7.2 26.6 9.8 23.8 7 18.8 8 14 8.8 9.6 12.6 6.8 17 4.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.risk strong { font-family: var(--display); font-weight: 600; font-size: calc(58px * var(--ds) / .6 * .6); }
.demo-bar { border-radius: 999px; padding-inline: 18px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.next-up { border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); }
.next-up::after { inset-inline-end: -50px; top: -60px; width: 220px; height: 220px; border-radius: 0; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%23888888' d='M17 4.5c5.4-3 10.6.4 13.5 5 2.4 3.8 5.6 4.6 9.6 4.2 7.6-.7 15.2 4.7 17.4 12.4 2.6 9.2-3.6 18.2-13 21.4-4.2 1.4-7.4 1.2-9.4 5.4-2.4 5-7.6 8-12.8 5.6-4.6-2-6.8-6.6-10.6-9.6C8 46 2.6 44 1.4 37.8.4 32.4 4.4 29.6 7.2 26.6 9.8 23.8 7 18.8 8 14 8.8 9.6 12.6 6.8 17 4.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nu-body b { font-weight: 600; }
.steps-list > div { border-radius: 16px; }
.filters button, .col, .kcard, .linkbox, .dz-card { border-radius: 16px; }
.col { background: color-mix(in srgb, var(--surface-2) 80%, transparent); }
.modal, .drawer, .pal { border-radius: 22px; }
.drawer { border-radius: 0 22px 22px 0; }
.toast { border-radius: 999px; padding-inline: 18px 12px; }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=password], input[type=date], input[type=number], input[type=search], select, textarea { border-radius: 12px; }
.tsec h3 { font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.titem { border-radius: 14px; padding-inline: 14px 8px; margin-inline-start: 6px; transition: background-color .15s; }
.titem:hover { background: var(--surface-2); }
.lrow { border-radius: 14px; }

/* כניסה והרשמה: נייר חם, כתם המותג */
.auth { background: var(--bg); }
.auth-side { background: #0E2A3E; color: #EEECE6; position: relative; overflow: hidden; }
.auth-side p { color: #A9BAC6; }
.auth-side::before { content: ""; position: absolute; width: 520px; height: 520px; inset: auto auto -180px -160px; opacity: .06; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%23ffffff' d='M17 4.5c5.4-3 10.6.4 13.5 5 2.4 3.8 5.6 4.6 9.6 4.2 7.6-.7 15.2 4.7 17.4 12.4 2.6 9.2-3.6 18.2-13 21.4-4.2 1.4-7.4 1.2-9.4 5.4-2.4 5-7.6 8-12.8 5.6-4.6-2-6.8-6.6-10.6-9.6C8 46 2.6 44 1.4 37.8.4 32.4 4.4 29.6 7.2 26.6 9.8 23.8 7 18.8 8 14 8.8 9.6 12.6 6.8 17 4.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.auth-side > * { position: relative; }
.auth-side h1 { font-size: calc(clamp(58px, 7vw, 96px) * var(--ds)); }
.auth-card { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--elev-hi); }
.vcap span.on::before { background: #E3E1DA; }
@media (max-width: 860px) { .rail { position: sticky; top: 0; height: 100vh; height: 100dvh; } .demo-bar { border-radius: 18px; } }

/* ---------- תשלום ונעילה ---------- */
.bill-bar { max-width: 1100px; margin: 0 auto 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--s-contacted) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--s-contacted) 45%, var(--line)); font-weight: 600; }
@media (max-width: 600px) { .bill-bar { border-radius: 18px; } }
.lock-card { max-width: 620px; margin: 6vh auto 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; padding: 30px; box-shadow: var(--elev-hi); display: flex; flex-direction: column; gap: 14px; }
.lock-card h1 { font-family: var(--display); font-weight: 600; font-size: calc(60px * var(--ds)); line-height: 1.05; }
.lock-card p { margin: 0; color: var(--muted); }
.pay-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: ps; }
.pay-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; align-items: start; background: var(--surface-2); border-radius: 16px; padding: 14px; }
.pay-steps li::before { counter-increment: ps; content: counter(ps); grid-row: span 3; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pay-steps li > span { color: var(--muted); font-size: 14px; }
.pay-steps li > .btn { justify-self: start; margin-top: 6px; }
.rail-foot button.trial { border: 0; color: var(--rail-fg); cursor: pointer; font: inherit; font-size: 12px; }
.rail-foot button.trial:hover { background: rgba(255,255,255,.16); }
.legal-links { font-size: 11.5px; } .legal-links a { color: var(--rail-muted); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); font-weight: 400; }
.agree input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.agree a { color: var(--ink); }

/* כפתור הדגמה בשער הכניסה */
.demo-cta{margin-top:18px;padding-top:16px;border-top:1px dashed var(--line,#ddd);display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.demo-cta span{color:var(--muted,#666);font-size:.95rem}
.demo-bar .link+.link{margin-inline-start:12px}


/* תאריך + שעה, ויומן גוגל */
.dt-pair{display:flex;gap:6px}
.dt-pair input[type=date]{flex:1.4;min-width:0}
.dt-pair input[type=time]{flex:1;min-width:0}
.gcal-btn{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:8px 14px;border-radius:999px;border:1.5px solid #4285F4;background:transparent;color:inherit;text-decoration:none;font-weight:600;font-size:.92rem}
.gcal-btn:hover{border-color:#4285F4}
.cal-panel #cal-url{width:100%;font-family:ui-monospace,Consolas,monospace;font-size:12.5px}
.cal-help summary{cursor:pointer;font-weight:600}
.cal-help ol{margin:8px 0;padding-inline-start:20px}


/* אייקון סיכון ליד 'בסיכון עכשיו' */
.risk .main .risk-label{display:inline-flex;align-items:center;gap:6px}
.risk-ico{flex:none;color:var(--risk)}
.risk .main.calm .risk-ico{color:var(--accent)}
@media (prefers-reduced-motion: no-preference){.risk .main:not(.calm) .risk-ico{animation:riskPulse 2.4s ease-in-out infinite}}
@keyframes riskPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
/* שמות הלקוחות מודגשים יותר */
.cc .top h3{font-size:1.15rem;font-weight:800;letter-spacing:-.01em}
.cc .top h3 a{color:var(--ink);font-weight:800;text-decoration:none}
.cc .top h3 a:hover{color:var(--accent);text-decoration:underline}


/* כותרות מודגשות יותר (הגופן המעוגל קיים רק במשקל אחד) */
.panel h2{font-family:'IBM Plex Sans Hebrew',sans-serif;font-weight:700;font-size:19px;letter-spacing:-.01em}
.tsec h3{font-family:'IBM Plex Sans Hebrew',sans-serif;font-weight:700;font-size:16.5px;color:var(--ink)}
.tsec h3 .c{font-weight:700}
.titem .who a{font-weight:700}


/* מסך ניהול, ייצוא ומחיקת חשבון */
.adm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.adm-stat{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.adm-stat strong{font-size:28px;font-weight:800}
.adm-stat span{color:var(--muted);font-size:13.5px;font-weight:600}
@media (max-width:700px){.adm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.adm-soon{margin-bottom:16px;border-color:var(--risk)}
.adm-actions{flex-wrap:wrap;gap:6px}
.adm-card .top h3{font-size:1.1rem;font-weight:800}
.danger-zone{border-color:color-mix(in srgb,var(--risk) 45%,var(--line))}
.danger-zone h2{color:var(--risk)}


/* מתגי התראות ודוחות */
.switch-row{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:16px;cursor:pointer}
.switch-row input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--accent)}
.switch-row span{display:flex;flex-direction:column;gap:2px}
.switch-row small{color:var(--muted);font-size:13px;line-height:1.5}


/* ===================== לוגו, תמונות, סרטונים והודעת פתיחה בדף ===================== */
.l-name { display: inline-flex; align-items: center; gap: 12px; }
.l-logo { height: 42px; width: auto; max-width: 140px; object-fit: contain; border-radius: 10px; }
.l-sub { margin: -18px 0 26px; font-size: 18px; color: var(--l-muted); }
.l-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l-videos.n1 { grid-template-columns: minmax(0, 420px); }
.l-videos.n2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.l-vid { position: relative; border-radius: var(--l-r2); overflow: hidden; background: #000; box-shadow: 0 24px 50px -30px rgba(0,0,0,.55); aspect-ratio: 9 / 16; }
.l-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.l-gallery.n1 { grid-template-columns: minmax(0, 1fr); }
.l-gallery.n2, .l-gallery.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-gallery figure { margin: 0; border-radius: var(--l-r2); overflow: hidden; aspect-ratio: 4 / 3; background: var(--l-soft); }
.l-gallery.n1 figure { aspect-ratio: 16 / 9; }
.l-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
@media (hover: hover) { .l-gallery figure:hover img { transform: scale(1.04); } }
@media (max-width: 760px) {
  .l-videos, .l-videos.n2 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .l-videos.n1 { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; }
  .l-vid { scroll-snap-align: center; }
  .l-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .l-gallery.n1 { grid-template-columns: minmax(0, 1fr); }
}
.lp-pick { display: inline-flex; gap: 6px; align-items: center; margin: 4px 0 16px !important; padding: 8px 14px; border-radius: 999px; background: var(--l-soft); color: var(--l-text); font-size: 15px !important; opacity: 1 !important; }
.lp-pick[hidden] { display: none; }

/* הודעת הפתיחה: בועה בפינה, עם תשובות בלחיצה */
.l-welcome { position: fixed; z-index: 30; left: 18px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 36px));
  background: #fff; color: #16181B; border-radius: 22px 22px 22px 6px; padding: 18px 18px 16px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom left; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.2); }
.l-welcome.in { opacity: 1; transform: none; }
.l-welcome[hidden] { display: none; }
.l-w-x { position: absolute; top: 8px; left: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #6A737B; font-size: 22px; line-height: 1; cursor: pointer; }
.l-w-x:hover { background: #F0F2F4; }
.l-w-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-left: 26px; }
.l-w-head img, .l-w-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: var(--l-soft); flex: none; }
.l-w-ava { display: grid; place-items: center; font-weight: 800; color: var(--l-bg); }
.l-w-head b { display: block; font-size: 15px; }
.l-w-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5A6067; }
.l-w-head small i { width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
.l-w-msg { margin: 0 0 12px; font-size: 16px; line-height: 1.5; background: #F3F5F7; padding: 10px 14px; border-radius: 16px 16px 16px 4px; }
.l-w-opts { display: flex; flex-direction: column; gap: 8px; }
.l-w-opts button { text-align: right; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--l-acc); background: #fff; color: #16181B; font: 600 15px var(--body); cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.l-w-opts button:hover, .l-w-opts button:focus-visible { background: var(--l-acc); color: var(--l-on); transform: translateX(-3px); outline: none; }
@media (prefers-reduced-motion: reduce) { .l-welcome { transition: none; } .l-gallery img { transition: none; } }
@media (max-width: 860px) { .st-minimal .l-welcome { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 560px) { .l-welcome { width: calc(100vw - 32px); left: 16px; padding: 14px; } .l-w-opts { flex-direction: row; flex-wrap: wrap; } .l-w-opts button { flex: 1 1 auto; text-align: center; min-height: 40px; padding: 8px 12px; font-size: 14px; } .l-w-msg { font-size: 15px; } }

/* שדות ההעלאה בהרשמה ובעמוד "דף הנחיתה" */
.media-set { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.media-set legend { font-weight: 700; font-size: 14.5px; padding-inline: 6px; }
.media-set legend .req { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--risk, #D9480F); border-radius: 999px; padding: 2px 8px; margin-inline-start: 6px; vertical-align: 1px; }
.media-set > small { color: var(--muted); font-size: 13px; }
.m-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.m-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: contain; background: repeating-conic-gradient(#f2f3f5 0 25%, #fff 0 50%) 0 0 / 14px 14px; border: 1px solid var(--line); }
.m-logo.empty { display: grid; place-items: center; font-size: 11.5px; color: var(--muted); text-align: center; padding: 6px; background: var(--surface-2, transparent); }
.m-up, .m-add { position: relative; overflow: hidden; cursor: pointer; }
.m-up input, .m-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.m-up:focus-within, .m-add:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.m-sw { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.m-sw i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface, #fff); box-shadow: 0 0 0 1px var(--line); }
.m-sw i + i { margin-inline-start: -8px; }
.m-sw i:last-of-type { margin-inline-end: 6px; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.m-item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #000; }
.m-item img, .m-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-item.vid { aspect-ratio: 3 / 4; }
.m-x { position: absolute; top: 6px; left: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.m-x:hover { background: #D9480F; }
.m-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--line); color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: center; transition: border-color .15s, color .15s, background-color .15s; }
.m-add:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.m-add svg { width: 22px; height: 22px; }
.m-state:empty { display: none; }
.pv-top { display: flex; align-items: center; gap: 8px; }
.pv-logo { height: 26px; width: auto; max-width: 70px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.ob-preview[style] .pv-btn { background: var(--pv-acc) !important; color: var(--pv-on) !important; }
.ob-preview[style] .pv-top { background: var(--pv-bg) !important; color: #fff; }
.dz-pal.brand small::before { content: "★ "; }

/* ===================== מסך הבית: עיצוב חדש ===================== */
.home-head { align-items: flex-end; }
.home-head h1 { font-family: 'IBM Plex Sans Hebrew', sans-serif; font-weight: 800; letter-spacing: -.02em; }
.home-sum { margin: 4px 0 0; font-size: 17px; color: var(--muted); font-weight: 500; }
.hchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.hchip b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12.5px; }
.home-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.home-top .next-up { margin: 0; justify-content: center; min-height: 170px; }
.home-top .next-up.calm-up { --c: var(--accent); }
.risk.solo { display: block; height: 100%; }
.risk.solo > .main { height: 100%; justify-content: center; border: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-soft, var(--line)); box-shadow: var(--elev); min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .kpi:hover { transform: translateY(-2px); box-shadow: var(--elev-hi); } }
.kpi-ico { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.kpi-ico svg { width: 20px; height: 20px; }
.kpi.good .kpi-ico { background: color-mix(in srgb, #1FA855 16%, var(--surface)); color: #1FA855; }
.kpi > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi strong { font-family: 'IBM Plex Sans Hebrew', sans-serif; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.kpi span { font-size: 14px; font-weight: 700; }
.kpi em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.home-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.side-card .panel-head { margin-bottom: 4px; }
.side-card h2 { font-size: 17px !important; }
.side-empty { margin: 6px 0 2px; font-size: 14px; }
.agenda, .recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.agenda a, .recent a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 14px; text-decoration: none; color: inherit; transition: background-color .15s; }
.agenda a:hover, .recent a:hover { background: var(--surface-2); }
.ag-date { width: 46px; height: 50px; flex: none; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.05; }
.ag-date b { font-size: 19px; font-weight: 800; }
.ag-date small { font-size: 11px; color: var(--muted); font-weight: 600; }
.ag-date.today { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.ag-date.today small { color: inherit; opacity: .85; }
.ag-who, .recent a > span:not(.ava) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ag-who b, .recent a > span:not(.ava) b { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-who small, .recent a > span:not(.ava) small { color: var(--muted); font-size: 12.5px; }
.tag-s { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); color: color-mix(in srgb, var(--c) 45%, var(--ink)); white-space: nowrap; }   /* טקסט כהה יותר מהרקע: קריא גם בצהוב */
.ava { width: 38px; height: 38px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; letter-spacing: -.02em;
  background: color-mix(in srgb, var(--c) 18%, var(--surface)); color: color-mix(in srgb, var(--c) 45%, var(--ink)); border: 1.5px solid color-mix(in srgb, var(--c) 40%, transparent); }   /* אותיות כהות יותר: ניגודיות תקינה גם בצהוב */
.today-list .titem { justify-content: flex-start; padding-inline-start: 8px; }
.today-list .titem .who { flex: 1; }
.today-list .titem > .row-actions { margin-inline-start: auto; }
@media (max-width: 1180px) { .home-cols { grid-template-columns: minmax(0, 1fr); } .home-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .home-top { grid-template-columns: minmax(0, 1fr); } .kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; } .kpi { padding: 14px; } .kpi strong { font-size: 26px; } }
@media (max-width: 700px) { .home-side { grid-template-columns: minmax(0, 1fr); } .home-head { align-items: flex-start; } .home-head .row-actions { width: 100%; } .home-head .row-actions .btn { flex: 1; } .today-list .titem .ava { display: none; } }

/* ===================== מסך הפניות: עיצוב חדש ===================== */
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi.mini { padding: 16px 18px; }
.kpi.mini strong { font-size: 26px; }
.kpi.warn strong { color: var(--risk); }
.kpi.good strong { color: #1FA855; }
.lead-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.lead-tools .seg button { display: inline-flex; align-items: center; gap: 6px; }
.lead-tools .seg svg { width: 16px; height: 16px; }
.search-in { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 340px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.search-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.search-in svg { width: 17px; height: 17px; flex: none; }
.search-in input { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; min-height: 40px; padding: 0 !important; flex: 1; min-width: 0; color: var(--ink); font-size: 14.5px; }
.src-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.src-chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 13.5px var(--body); cursor: pointer; transition: background-color .15s, border-color .15s; }
.src-chips button b { font-size: 12px; color: var(--muted); font-weight: 700; }
.src-chips button:hover { border-color: var(--muted); }
.src-chips button.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.src-chips button.on b { color: inherit; opacity: .75; }
.leads-page .board { grid-auto-columns: minmax(176px, 1fr); }
.leads-page .col { min-height: calc(100vh - 420px); border-radius: 20px; position: relative; overflow: hidden; }
.leads-page .col::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c-col, var(--line)); }
.col-new { --c-col: var(--s-new); } .col-contacted { --c-col: var(--s-contacted); } .col-booked { --c-col: var(--s-booked); }
.col-attended { --c-col: var(--s-attended); } .col-won { --c-col: var(--s-won); } .col-lost { --c-col: var(--s-lost); }
.leads-page .col header { padding-top: 16px; }
.leads-page .col header b { font-weight: 800; }
.leads-page .col header .cnt { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.kcard { gap: 10px; padding: 12px; border-radius: 16px; }
.k-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.k-top .ava { width: 34px; height: 34px; font-size: 12.5px; }
.k-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.k-who b { font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-src { font-size: 12px; color: var(--muted); }
.k-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.k-when { font-size: 12.5px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.k-when::before { content: ""; width: 12px; height: 12px; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4V6h-2v7.6l5 3 1-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4V6h-2v7.6l5 3 1-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.k-when.late { color: var(--risk); }
.k-wa { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #0F7A41; transition: transform .15s; }
.k-wa svg { width: 16px; height: 16px; fill: #fff; }
.k-wa:hover { transform: scale(1.1); }
.lrow .nm::before { display: none; }
@media (max-width: 1100px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kpi.mini { padding: 12px; } .kpi.mini strong { font-size: 22px; } .search-in { max-width: none; flex-basis: 100%; } .leads-page .board { grid-auto-columns: 78%; } .leads-page .col { min-height: 360px; } }

.leads-page .board { grid-auto-columns: minmax(148px, 1fr); gap: 10px; }
@media (min-width: 1200px) { .leads-page .board { grid-auto-flow: initial; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow-x: visible; } }
@media (max-width: 700px) { .leads-page .board { grid-auto-columns: 78%; } }


.lr-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lr-who .ava { width: 36px; height: 36px; font-size: 13px; }
.lr-who > div { min-width: 0; }


/* ===================== מסך הלקוחות: עיצוב חדש ===================== */
.cust-page .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.cc.cust { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 18px 14px; gap: 12px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.cc.cust::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
@media (hover: hover) { .cc.cust:hover { transform: translateY(-3px); box-shadow: var(--elev-hi); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); } }
.cc.cust .top { align-items: center; gap: 12px; justify-content: flex-start; }
.cc-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cc-who h3 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-who .num { font-size: 12.5px; color: var(--muted); }
.cc.cust .tag-s { font-size: 12px; padding: 4px 10px; }
.cc.cust .kv { font-size: 14px; }
.cc.cust .foot { flex-wrap: wrap; align-items: center; }
.cc.cust .foot .cc-open { margin-inline-start: auto; }
.cc.cust .foot .btn.wa { min-height: 34px; }
.cc.cust .punch { gap: 5px; }
@media (max-width: 700px) { .cust-page .cards { grid-template-columns: minmax(0, 1fr); } }

/* ===================== דף הנחיתה: תצוגה חיה בטלפון ===================== */
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.page-main { display: flex; flex-direction: column; gap: inherit; gap: 16px; min-width: 0; }
.page-preview { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pp-head { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.phone { position: relative; width: 340px; height: min(700px, calc(100vh - 120px)); border-radius: 44px; padding: 12px; background: #0b0d10; box-shadow: 0 0 0 2px #2a2f36, 0 30px 70px -30px rgba(0,0,0,.6); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; border-radius: 999px; background: #0b0d10; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; display: block; }
.page-preview > p { margin: 0; text-align: center; }
@media (max-width: 1280px) { .page-cols { grid-template-columns: minmax(0, 1fr); } .page-preview { display: none; } }

/* ===================== העסק שלי: שתי עמודות ===================== */
@media (min-width: 1100px) {
  .biz-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .biz-page > .page-head, .biz-page > form.panel, .biz-page > .demo-bar { grid-column: 1 / -1; }
  .biz-page > .panel { margin: 0; height: 100%; }
}

.m-legal { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); line-height: 1.5; }
.m-legal svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }


/* ---------- הזמינו עסק חבר ---------- */
.ref-panel { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 55%); }
.ref-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; justify-content: space-between; }
.ref-head > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ref-head h2 { font-size: 21px; }
.ref-stats { display: flex; gap: 8px; }
.ref-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 84px; display: flex; flex-direction: column; align-items: center; }
.ref-stats b { font-family: var(--display); font-size: calc(34px * var(--ds)); line-height: 1; }
.ref-stats span { font-size: 12px; color: var(--muted); }
.ref-stats .gold b { color: #C9971F; }

/* ---------- מופעל על ידי Controlead (בדף הנחיתה) ---------- */
.l-powered { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 0 auto; padding: 14px 18px calc(96px + env(safe-area-inset-bottom, 0px)); text-decoration: none; font-family: 'IBM Plex Sans Hebrew', Arial, sans-serif; font-size: 13.5px; color: #5B6470; background: #F3F4F6; border-top: 1px solid #E4E7EB; }
.l-powered b { color: #121A2E; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; }
.l-pw-mark { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#2FD49B, #2F6BE8, #2FD49B); box-shadow: inset 0 0 0 4px #121A2E; }
.l-pw-cta { color: #1E9E72; font-weight: 700; }
.l-powered:hover .l-pw-cta { text-decoration: underline; }
@media (min-width: 861px) { .l-powered { padding-bottom: 18px; } }

/* ---------- דוח חודשי ---------- */
.report-doc { background: #FFFFFF; color: #13202B; border-radius: 16px; box-shadow: var(--elev-hi); padding: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; max-width: 860px; width: 100%; margin: 0 auto; }
.rd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid #E3E7EC; padding-bottom: 16px; }
.rd-head .logo { width: 44px; height: 44px; flex: none; }
.rd-kicker { font-size: 13px; font-weight: 700; color: #147A57; letter-spacing: .3px; }   /* ירוק כהה יותר: ניגודיות תקינה */
.rd-head h2 { font-size: clamp(26px, 4vw, 36px); margin-top: 4px; color: #13202B; }
.rd-hero { margin: 0; font-size: clamp(19px, 2.6vw, 24px); line-height: 1.45; color: #13202B; }
.rd-hero b { color: #1E9E72; }
.rd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rd-grid > div { background: #F5F7F9; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rd-grid span { font-size: 13px; color: #5B6B78; font-weight: 600; }
.rd-grid b { font-size: 28px; color: #13202B; }
.rd-grid em { font-style: normal; font-size: 12.5px; color: #55697A; }
.rd-grid em.up { color: #147A57; font-weight: 600; } .rd-grid em.down { color: #C2410C; font-weight: 600; }
@media (max-width: 640px) { .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rd-sec h3 { font-size: 16px; margin-bottom: 10px; color: #13202B; }
.rd-sec ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; color: #2C3A45; }
.rd-bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 36px; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; color: #2C3A45; }
.rd-bar i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #2FD49B, #2F6BE8); width: var(--w); min-width: 6px; }
.rd-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #E3E7EC; padding-top: 12px; font-size: 12px; color: #5E7180; }
@media print {
  body { background: #fff !important; }
  .rail, .fab, .no-print, #toast-root, #modal-root, #ux-root, .demo-bar { display: none !important; }
  .shell { display: block !important; } main { padding: 0 !important; }
  .report-doc { box-shadow: none !important; border-radius: 0; max-width: none; padding: 0; }
  .rd-grid > div { break-inside: avoid; }
}

/* ===================== טלפון: סרגל ניווט תחתון, כפתורים גדולים לאצבע ===================== */
.m-top { display: none; }
@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-tap-highlight-color: transparent; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  /* כותרת עליונה דקה */
  .m-top { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 10px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px; background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-soft, var(--line)); }
  .m-brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
  .m-brand .logo { width: 34px; height: 34px; flex: none; }
  .m-brand span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .m-brand b { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-trial { align-self: flex-start; margin-top: 2px; border: 0; border-radius: 999px; padding: 2px 9px; font: 600 11.5px var(--body); background: var(--accent-soft, rgba(0,0,0,.06)); color: var(--ink); cursor: pointer; }
  .m-search { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
  .m-search svg { width: 20px; height: 20px; }
  /* סרגל ניווט תחתון, בהישג האגודל */
  .rail { position: fixed !important; inset: auto 0 0 0; top: auto !important; height: auto !important; z-index: 42; flex-direction: row; gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 34px -14px rgba(0,0,0,.45); overflow: visible !important; }
  .rail::after, .rail .brand, .rail .rail-search, .rail .rail-foot { display: none !important; }
  .rail .nav { flex-direction: row; width: 100%; justify-content: space-around; gap: 2px; }
  .rail .nav a { flex: 1 1 0; min-width: 0; min-height: 56px; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 2px; border-radius: 18px; font-size: 11.5px; font-weight: 600; }
  .rail .nav a svg { width: 22px; height: 22px; }
  .rail .nav .badge { top: 4px; }
  main { padding: 14px 14px calc(100px + env(safe-area-inset-bottom, 0px)) !important; }
  .fab { bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; width: 56px; height: 56px; }
  /* כפתורים וקישורים בגודל אצבע (44px) */
  .btn { min-height: 44px; }
  .btn.sm { min-height: 42px; padding-inline: 14px; }
  .link, button.link { min-height: 40px; display: inline-flex; align-items: center; }
  .titem { padding-block: 10px; }
  .titem .who a, .lrow .nm, .cc-who h3 a { display: inline-block; padding-block: 3px; }
  .icon-btn { min-width: 44px; min-height: 44px; }
  .src-chips button, .hchip { min-height: 40px; }
  .kcard { padding: 14px; }
  .k-wa { width: 40px; height: 40px; }
  input, select, textarea { font-size: 16px !important; }
  /* כרטיס פנייה וחלונות: מסך מלא, נפתחים מלמטה */
  .drawer { width: 100%; border-radius: 0 !important; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .modal { padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .modal-head h2 { font-size: 22px; }
  .page-head h1 { font-size: 30px; }
  .demo-bar { font-size: 13px; padding: 10px 12px; }
  .toast, #toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .rail .nav a { transition: background-color .2s, transform .15s; }
  .rail .nav a:active { transform: scale(.94); }
}

@media (max-width: 760px) { .m-top .logo > path { fill: var(--ink); } .m-top .logo g { stroke: var(--bg); } }


@media (max-width: 760px) { .m-brand > a { display: flex; } .m-name { color: inherit; text-decoration: none; min-width: 0; } .m-trial { min-height: 26px; } .titem .who a, .lrow .nm { min-height: 40px; display: inline-flex; align-items: center; } }


/* ===================== מסך ניהול: טבלה עם מתג תשלום וחסימה ===================== */
.adm-table { padding: 6px 10px; }
.adm-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 12px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--line); }
#adm-rows .adm-row:first-child { border-top: 0; }
.adm-headrow { border-top: 0; padding-block: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.adm-biz { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-biz > div { display: flex; flex-direction: column; min-width: 0; }
.adm-biz b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-biz small, .adm-status small { color: var(--muted); font-size: 12.5px; }
.adm-ref { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink); padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 10%, transparent); align-self: flex-start; }
.adm-ref b { font-weight: 700; white-space: normal; }
.adm-ref.out { background: color-mix(in srgb, var(--s-won, #1E8E5A) 12%, transparent); }
.adm-contact { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; min-width: 0; }
.adm-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.adm-status { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.adm-status .tag-s { --c: inherit; }
.adm-row .tag-s { background: color-mix(in srgb, var(--c) 16%, transparent); color: color-mix(in srgb, var(--c) 45%, var(--ink)); }
.adm-pay { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sw { position: relative; width: 50px; height: 30px; flex: none; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: background-color .2s; padding: 0; }
.sw i { position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: inset-inline-start .2s; }
.sw.on { background: #1FA855; }
.sw.on i { inset-inline-start: 23px; }
.sw:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.adm-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.btn.icon-only { padding-inline: 10px; }
.btn.icon-only svg { width: 18px; height: 18px; fill: #1FA855; }
.btn.danger-soft { color: var(--risk); border-color: color-mix(in srgb, var(--risk) 45%, var(--line)); }
.btn.danger-soft.armed { background: var(--risk); color: #fff; }
.lock-card.blocked { border-color: color-mix(in srgb, var(--risk) 55%, var(--line)); }
.lock-card.blocked .eyebrow { color: var(--risk); }
@media (max-width: 900px) {
  .adm-headrow { display: none; }
  .adm-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "biz status" "contact contact" "pay acts"; gap: 10px; padding: 14px 6px; }
  .adm-biz { grid-area: biz; } .adm-status { grid-area: status; align-items: flex-end; } .adm-contact { grid-area: contact; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .adm-pay { grid-area: pay; } .adm-acts { grid-area: acts; }
}

/* מסך ניהול בלבד, למנהל בלי עסק */
.admin-only { min-height: 100vh; background: var(--bg); }
.ao-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--rail); color: var(--rail-fg); }
.ao-brand { display: flex; align-items: center; gap: 10px; }
.ao-brand .logo { width: 34px; height: 34px; } .ao-brand .logo > path { fill: #E3E1DA; } .ao-brand .logo g { stroke: #0E2A3E; }
.ao-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.ao-top .btn.line { color: var(--rail-fg); border-color: rgba(255,255,255,.3); }
.ao-me { color: var(--rail-muted) !important; }
.admin-only main { max-width: 1200px; margin: 0 auto; padding: 22px 20px 60px !important; }
@media (max-width: 600px) { .ao-me { display: none; } .admin-only main { padding: 14px 12px 40px !important; } }


/* כפתור אינסטגרם בדף הנחיתה */
.l-ig { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; text-decoration: none; border: 1.5px solid currentColor; opacity: .85; transition: opacity .15s, transform .15s; }
.l-ig:hover { opacity: 1; transform: scale(1.06); }
.l-ig svg { width: 19px; height: 19px; }
.l-ig-foot { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.l-ig-foot svg { width: 15px; height: 15px; }


/* "שליחה לכולם" ברצף */
.tsec .sq-all { margin: 2px 0 6px; min-height: 40px; background: #0F7A41; border-color: #0F7A41; color: #fff; }
.tsec .sq-all svg { fill: #fff; width: 17px; height: 17px; }
.sq-prog { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.sq-prog b { color: var(--ink); font-size: 16px; }
.sq-prog span { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; display: block; }
.sq-prog span i { display: block; height: 100%; background: #1FA855; border-radius: 99px; transition: width .3s; }
.sq-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.sq-card .ava { width: 46px; height: 46px; font-size: 16px; }
.sq-card > div { display: flex; flex-direction: column; min-width: 0; }
.sq-card b { font-size: 18px; font-weight: 800; }
.sq-card small { color: var(--muted); font-size: 13.5px; }
.sq-msg { padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, #1FA855 12%, var(--surface)); border: 1px solid color-mix(in srgb, #1FA855 30%, transparent); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.sq-send { min-height: 54px; font-size: 17px; justify-content: center; width: 100%; background: #0F7A41 !important; border-color: #0F7A41 !important; color: #fff !important; }
.sq-send svg { fill: #fff !important; width: 22px; height: 22px; }
.sq-foot { justify-content: space-between; }
.sq-done { font-size: 17px; margin: 0; }

/* כמה Controlead החזירה לך החודש (צבעים לפי ערכת הנושא, בהיר וכהה) */
.won-card{--g:var(--s-won);margin:14px 0;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--g) 14%,var(--surface)),color-mix(in srgb,var(--g) 5%,var(--surface)));border:1px solid color-mix(in srgb,var(--g) 35%,var(--line))}
.won-card .eyebrow{color:var(--g);font-weight:700}
.won-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.won-head strong{display:block;font-size:34px;line-height:1.15;color:var(--g);font-weight:800;margin:2px 0}
.won-head small{color:var(--muted);font-size:13px}
.won-rows{display:grid;gap:6px;margin-top:12px}
.won-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;background:color-mix(in srgb,var(--surface) 80%,transparent);font-size:14px;color:var(--ink)}
.won-row span:nth-child(2){flex:1}
.won-row b.num{color:var(--g);font-weight:800}
.won-ico{font-size:16px;width:22px;text-align:center}
.won-card.empty{background:color-mix(in srgb,var(--g) 6%,var(--surface));border-style:dashed}
.won-card.empty p{margin:6px 0 0;color:var(--muted);font-size:14px}
.rd-won{margin:14px 0;padding:14px 16px;border-radius:14px;background:#ecfdf3;border:1px solid #b7ebcd}
.rd-won>span{display:block;color:#067647;font-weight:700;font-size:13px}
.rd-won>strong{display:block;font-size:28px;color:#067647;font-weight:800}
.rd-won .won-row b.num{color:#067647}.rd-won .won-row{background:#fff;color:#1d2939}
@media (max-width:760px){.won-head strong{font-size:28px}.won-head .btn{width:100%}}
/* קישור למודעה + דוח "מאיפה מגיע הכסף" */
.camp-box{margin-top:14px;padding:14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.camp-box p{margin:4px 0 10px}
.camp-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.camp-row select{flex:0 0 auto;width:auto}
.camp-row input{flex:1 1 200px;min-width:0}
.money-tbl{display:grid;gap:2px;font-size:14px}
.mt-row{display:grid;grid-template-columns:minmax(90px,1.3fr) 60px 90px minmax(120px,2fr);gap:10px;align-items:center;padding:8px 6px;border-bottom:1px solid #eef0f2}
.mt-head{font-size:12px;color:#667085;font-weight:700;border-bottom:1px solid #d0d5dd}
.mt-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-row em{font-style:normal;color:#667085;font-size:12px}
.mt-money{display:flex;align-items:center;gap:8px}
.mt-money i{display:block;height:8px;border-radius:6px;background:#12b76a;width:var(--w);min-width:2px;flex:0 1 auto;max-width:70%}
.mt-money b{color:#067647;font-weight:800;white-space:nowrap}
@media (max-width:560px){.mt-row{grid-template-columns:1fr 44px 70px 1.2fr;gap:6px;font-size:13px}.mt-money i{display:none}}
/* סיור היכרות: חור מואר סביב הכפתור, וחלון הסבר לידו */
#tour{position:fixed;inset:0;z-index:9000}
.tour-hole{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px rgba(8,20,30,.58);outline:2px solid #fff;outline-offset:0;transition:all .25s ease;pointer-events:none}
.tour-tip{position:fixed;background:var(--surface);color:var(--ink);border-radius:18px;padding:16px 18px 14px;box-shadow:0 18px 50px -12px rgba(0,0,0,.45);border:1px solid var(--line);direction:rtl;transition:top .25s ease,left .25s ease}
.tour-tip h3{margin:2px 0 6px;font-size:18px;line-height:1.3}
.tour-tip p{margin:0 0 12px;font-size:15px;line-height:1.6;color:var(--muted)}
.tour-step{font-size:12.5px;font-weight:700;color:var(--accent)}
.tour-acts{display:flex;align-items:center;gap:10px}
.tour-acts .btn{margin-inline-start:auto}
.tour-dots{display:flex;gap:5px}
.tour-dots i{width:7px;height:7px;border-radius:50%;background:var(--line)}
.tour-dots i.on{background:var(--accent);width:18px;border-radius:99px}
@media (prefers-reduced-motion:reduce){.tour-hole,.tour-tip{transition:none}}
/* פס הפעלת התראות במסך הראשי */
.push-nudge{display:flex;gap:14px;align-items:flex-start;border:1.5px solid var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--surface));margin-bottom:16px}
.push-nudge .pn-ico{font-size:26px;line-height:1;padding-top:2px}
.push-nudge .pn-body{flex:1;min-width:0}
.push-nudge .pn-body>b{display:block;font-size:16px;margin-bottom:4px;color:var(--ink)}
.push-nudge p{margin:0 0 10px;color:var(--muted)}
.push-nudge .pn-steps{margin:4px 0 10px;padding-inline-start:20px;line-height:1.8;color:var(--ink)}
.push-nudge .row-actions{align-items:center}
