  /* ═══════════════════════════════════════════════════════════════════
     EranSales · Design System v1.1 · 27/09/2026 · ds.css
     ההרחבה של DS v1.0 (המסך הראשי המאושר, כהה + Light C) לכל הרכיבים שנולדו
     בששת ה-Wireframes הקפואים. שמות המחלקות זהים לקיט ה-Wireframes, כך שכל
     עולם עובר ל-hi-fi בהחלפת base.css ב-ds.css ובליטוש ה-css של העולם.
     סדר: טוקנים → בסיס → App Shell → כרום העמוד → משטחים → טבלאות ותגים →
     שדות וכפתורים → שכבות → התקדמות ומדדים → גרפים → מובייל → מעטפת המסמך.
     כללים: Surface ≠ Data · ורוד = מותג ופעולה · כחול = מדידה · צבע סמנטי
     קבוע (היקף ירוק · נפרעים כחול · נקודות צהוב) ≠ צבע הבחנה (סדרות).
     ═══════════════════════════════════════════════════════════════════ */

  /* ── 0 · טוקנים · כהה = baseline (DS v1.0 כלשונו) + טוקני v1.1 ── */
  /* .pv-dk / .pv-lc: אלמנט שמצהיר על הפלטה של התמה הנגדית לעצמו (התצוגה המקדימה בהגדרות, AUD-067) */
  :root, [data-mode="dark"], .pv-dk {
    color-scheme: dark;
    --bg:#0a0e16; --nav:#0f1626; --hdr:#111a2c; --s1:#141c2c; --s2:#1b2641; --s3:#263457;
    --line:rgba(148,168,222,.13); --line-2:rgba(148,168,222,.26); --hi:rgba(255,255,255,.04); --grid:rgba(148,168,222,.12);
    /* v1.2 · משטח דגש (שכבת צבע משנית, לא סמנטית): נייבי עמוק ורווי יותר מהכרטיס; acc-2 = הגרסה העמוקה לכותרות ורצועות */
    --s-acc:#1e2634; --s-acc-2:#27313f; --s-acc-line:rgba(160,180,220,.22); --s-acc-ink:#eaf0fb; --s-acc-muted:#a3aec5; --s-acc-sel:rgba(163,174,197,.55);   /* v1.3: כחול-אפור מעושן, לא נייבי רווי */
    --cx-h:#1e2634; --cx-h-2:#27313f; --cx-h-line:rgba(160,180,220,.22); --cx-h-ink:#eaf0fb; --cx-h-muted:#a3aec5; --cx-h-eye:#ff6fa8;
    --ink:#eaf0fb; --ink-2:#c3cde0; --muted:#8b98b3; --faint:#7d8aa5;   /* faint הובהר ל-AA על bg ו-s1 (ערן 24/10, AUD-057; היה #5f6c86) */
    --pink:#f0538f; --pink-2:#ff6fa8; --pink-bg:rgba(240,83,143,.12); --pink-line:rgba(240,83,143,.45); --pink-shadow:rgba(240,83,143,.9);
    --blue:#5b86ec; --blue-2:#8fb0ff; --blue-bg:rgba(91,134,236,.14); --blue-line:rgba(91,134,236,.45);
    /* v1.2 · משפחות המוצר (הכרעת ערן: ביטוח סגול): גמל טורקיז · פנסיה כחול-שמיים · ביטוח סגול; שלושתן קרות, רחוקות מהמדדים הקבועים */
    --fam-gemel:#22b3a3; --fam-pension:#4fb4e6; --fam-ins:#a78bfa;
    --fam-gemel-bg:rgba(34,179,163,.14); --fam-pension-bg:rgba(79,180,230,.14); --fam-ins-bg:rgba(167,139,250,.15);
    --fam-gemel-2:#1a8a7e; --fam-pension-2:#2f8fc4; --fam-ins-2:#7f62e0;   /* גוון עמוק לסדרה שנייה בתוך המשפחה */
    --ok:#3fbf7a; --ok-bg:rgba(63,191,122,.14); --ok-line:rgba(63,191,122,.4); --warn:#e08a3c; --warn-bg:rgba(224,138,60,.14); --warn-line:rgba(224,138,60,.45); --bad:#f06266; --bad-bg:rgba(229,72,77,.14); --bad-line:rgba(229,72,77,.45);   /* --bad הובהר ל-AA על s2/s-acc בכהה (AUD-082; היה #e5484d) */
    --hero-bg:linear-gradient(135deg,#182548 0%,#151f38 45%,#131b2e 100%); --hero-line:rgba(148,168,222,.2); --hero-div:rgba(148,168,222,.14);
    --hero-ink:#eaf0fb; --hero-ink-2:#c3cde0; --hero-muted:#8b98b3; --hero-label:#8b98b3; --hero-track:rgba(255,255,255,.08);
    --hero-pink:#f0538f; --hero-blue:#5b86ec; --hero-mini:rgba(91,134,236,.42); --hero-mini-cur:#8fb0ff; --hero-ok:#3fbf7a;
    --nav-ink:#eaf0fb; --nav-ink-2:#c3cde0; --nav-hover:rgba(255,255,255,.05); --nav-active:rgba(255,255,255,.06); --nav-line:rgba(148,168,222,.13);
    --search-bg:#0b0f17; --search-line:rgba(148,168,222,.24); --search-shadow:inset 0 1px 2px rgba(0,0,0,.4);
    --track:rgba(255,255,255,.08); --row-hover:rgba(255,255,255,.035); --row-sel:rgba(240,83,143,.07);
    --attn-bg:#141c2c; --avatar:linear-gradient(135deg,#2c3b62,#1b2540); --kbd:#1a2438; --tools:rgba(11,15,23,.9);
    --bnav:rgba(15,22,38,.97); --bnav-line:rgba(148,168,222,.13); --bnav-ink:#8b98b3; --bnav-active:#ff6fa8; --plus-ring:#0b0f17;
    --phhdr:linear-gradient(180deg,#111a2c,#0b0f17); --phhdr-sub:#8b98b3;
    --scrim:rgba(3,6,18,.58); --sheet-shadow:0 -12px 40px rgba(0,0,0,.5);
    --shadow:0 1px 2px rgba(0,0,0,.35), 0 18px 40px -24px rgba(0,0,0,.85);
    --shadow-2:0 2px 4px rgba(0,0,0,.4), 0 24px 56px -22px rgba(3,6,18,.9);
    --note:#8fb0ff; --note-bg:rgba(91,134,236,.1); --brick:#e08a3c; --olive:#0f1626;
    /* v1.1 · מדדים בעלי משמעות קבועה (X-23): היקף ירוק · נפרעים כחול · נקודות צהוב · התקבל (טוקן נפרד, COM-50) */
    --m-scope:#3fbf7a; --m-scope-bg:rgba(63,191,122,.14); --m-trail:#5b86ec; --m-trail-bg:rgba(91,134,236,.14); --m-points:#e8b84a; --m-points-bg:rgba(232,184,74,.14); --m-recv:#5ec8c8; --m-recv-bg:rgba(94,200,200,.14); --m-neg:#d9646a;
    /* טקסט במדד (AUD-059, AUD-122): 4.5:1 ומעלה על s1, על s2 ועל --s-acc. ‎--m-*‎ נשאר לעמודות, לפסים ולרקעים */
    --m-scope-t:#3fbf7a; --m-trail-t:#648ded; --m-points-t:#e8b84a; --m-recv-t:#5ec8c8;
    /* v1.1 · פסי התקדמות (X-24): כחול מדידה · ירוק הושג · אדום הסתיים בלי להשיג; הרמזור (GOA-13) על עמידה עד היום בלבד */
    --prog-measure:#5b86ec; --prog-done:#3fbf7a; --prog-fail:#e5484d;
    /* v1.1 · פלטת הבחנה לסדרות (לא סמנטית): כחול · סגול · טורקיז · ענבר · תכלת · אפור-כחול; אף פעם לא ורוד, אף פעם לא צבע סטטוס */
    /* v1.2 · פלטת ההבחנה: Cool Data ברמות בהירות + ניטרל חם אחד; בלי גוון של משפחה, מדד, סטטוס או מותג */
    --viz-1:#5b86ec; --viz-2:#2f4fc2; --viz-3:#8fb0ff; --viz-4:#6b7fa6; --viz-5:#c9b28a; --viz-6:#3d4a66; --viz-7:#e0a13c; --viz-8:#a7b84a;
    --viz-1-bg:rgba(91,134,236,.16);
    /* צבעי מקור הלקוח (v21 pending 67; עברו מ-kit.css ב-AUD-066): ΔE2000 מינימלי 24.5, ניגודיות 3 ומעלה מול הכרטיס. לא --viz */
    --src-1:#fe8b82; --src-2:#cd7c1f; --src-3:#d3c850; --src-4:#54a85a; --src-5:#1fe1d2; --src-6:#07a1cc; --src-7:#babff8; --src-8:#c36fb7;
    /* v1.6 · צבע חברה (ערן 21/10, רכיב 5 של סבב הליטוש): גוון המותג, בהירות מכוונת לכהה; ניגודיות 3 ומעלה מול --s1.
       רק כשהחברה היא הממד של ההמחשה. נקרא דרך kit.display.companyColor(); PassportCard בגוון משלה (ערן 21/10), אדום (ערן 27/10; היה טורקיז). */
    --co-migdal:#7676e6; --co-harel:#f4c20d; --co-clal:#4db8e8; --co-phoenix:#f47920; --co-menora:#f0a63a; --co-ayalon:#b071d6; --co-hachshara:#e5534b;
    --co-meitav:#2fbf63; --co-mor:#e84393; --co-analyst:#4a95e8; --co-yelin:#e8de7a; --co-altshuler:#5aa05e; --co-infinity:#c9a227; --co-passportcard:#ee2b3b;
    --font:'Rubik','Heebo',system-ui,sans-serif; --mono:'IBM Plex Mono',ui-monospace,Menlo,monospace; --r:14px; --r-s:9px; --r-xs:7px;
  }
  /* ── בהיר · Light C · Italian Warm Pastel (refined 05/09) · לא היפוך: משטחים, גבולות וצללים משלו ── */
  [data-mode="lc"], .pv-lc {
    color-scheme: light;
    --bg:#f7f3ec; --nav:#d7d9c6; --hdr:#fbf8f2; --s1:#fffcf7; --s2:#f3ece2; --s3:#eae2d6;
    --line:rgba(74,52,40,.12); --line-2:rgba(74,52,40,.20); --hi:transparent; --grid:rgba(74,52,40,.09);
    /* v1.2 · משטח דגש בהיר: סיינה שרופה דהויה, רוויה נמוכה מאוד, בתוך Italian Warm Pastel */
    --s-acc:#efe0d6; --s-acc-2:#e5cdbf; --s-acc-line:rgba(127,54,39,.24); --s-acc-ink:#1a2440; --s-acc-muted:#6b5a55; --s-acc-sel:var(--s-acc-line);
    /* v1.3 · פס הכותרת של רכיב מורכב בבהיר: נגזרת בהירה של זית-מרווה של הניווט */
    --cx-h:#e4e7da; --cx-h-2:#d7d9c6; --cx-h-line:rgba(60,70,40,.20); --cx-h-ink:#1a2440; --cx-h-muted:#5c6650; --cx-h-eye:#b9235f;
    --ink:#1a2440; --ink-2:#46536f; --muted:#5f6477; --faint:#6a6e84;   /* faint הוכהה ל-AA על bg ו-s1 (ערן 24/10, AUD-057; היה #8b8e9f) */   /* --muted בבהירה: #666b80 → #5f6477, כדי לעבור 4.5:1 גם על האריח המודגש --s-acc (AUD-126; היה 4.1) */   /* --faint כטקסט רק על s1 ועל bg: על s2 ועל --s-acc הוא מתחת ל-4.5 בשתי התמות (Auditor 27/10) */
    --pink:#d42d76; --pink-2:#b9235f; --pink-bg:rgba(212,45,118,.10); --pink-line:rgba(212,45,118,.40); --pink-shadow:rgba(212,45,118,.55);
    --blue:#3559cf; --blue-2:#3a5ed2; --blue-bg:rgba(53,89,207,.10); --blue-line:rgba(53,89,207,.4);   /* --blue-2 (קישורים) הוכהה ל-AA בבהירה (AUD-083; היה #5f83ea) */
    --fam-gemel:#0f8a7c; --fam-pension:#1f7fb5; --fam-ins:#6d4fd8;
    --fam-gemel-bg:rgba(15,138,124,.12); --fam-pension-bg:rgba(31,127,181,.12); --fam-ins-bg:rgba(109,79,216,.12);
    --fam-gemel-2:#0b6459; --fam-pension-2:#165f88; --fam-ins-2:#4f36b0;
    --ok:#15703f; --ok-bg:#e5efe2; --ok-line:rgba(21,112,63,.35); --warn:#a04b07; --warn-bg:#fbeedb; --warn-line:rgba(160,75,7,.4); --bad:#c02b35; --bad-bg:#f9e3e0; --bad-line:rgba(192,43,53,.4);
    --hero-bg:linear-gradient(135deg,#e9c7b7 0%,#f0d8cb 50%,#f6e8de 100%); --hero-line:rgba(127,54,39,.30); --hero-div:rgba(74,52,40,.14);
    --hero-ink:#1a2440; --hero-ink-2:#3b3f58; --hero-muted:#514c5e; --hero-label:#7f3627; --hero-track:rgba(127,54,39,.16);
    --hero-pink:#d42d76; --hero-blue:#3559cf; --hero-mini:rgba(53,89,207,.34); --hero-mini-cur:#3559cf; --hero-ok:#15703f;
    --nav-ink:#1a2440; --nav-ink-2:#3d4a66; --nav-hover:rgba(60,70,40,.08); --nav-active:rgba(212,45,118,.10); --nav-line:rgba(60,70,40,.16);
    --search-bg:#f7f3ec; --search-line:rgba(74,52,40,.16); --search-shadow:none;
    --track:rgba(74,52,40,.10); --row-hover:#f8f2ea; --row-sel:rgba(212,45,118,.07);
    --attn-bg:#fcf3e6; --avatar:linear-gradient(135deg,#e9c9b8,#d9b3a0); --kbd:#f0e9df; --tools:rgba(247,243,236,.9);
    --bnav:rgba(215,217,198,.97); --bnav-line:rgba(60,70,40,.16); --bnav-ink:#3d4a66; --bnav-active:#d42d76; --plus-ring:#d7d9c6;
    --phhdr:linear-gradient(180deg,#ecd6c9 0%,#f2e4d9 55%,#f7f3ec 100%); --phhdr-sub:#46536f;
    --scrim:rgba(60,45,35,.40); --sheet-shadow:0 -12px 40px rgba(74,52,40,.28);
    --shadow:0 1px 2px rgba(74,52,40,.06), 0 14px 36px -24px rgba(74,52,40,.30);
    --shadow-2:0 2px 6px rgba(74,52,40,.07), 0 30px 60px -30px rgba(74,52,40,.38);
    --note:#3559cf; --note-bg:rgba(53,89,207,.08); --brick:#7f3627; --olive:#d7d9c6;
    --m-scope:#15703f; --m-scope-bg:#e5efe2; --m-trail:#3559cf; --m-trail-bg:rgba(53,89,207,.10); --m-points:#9a6b00; --m-points-bg:#f7edd2; --m-recv:#0e7f8a; --m-recv-bg:#dff0f1; --m-neg:#b3323c;
    --m-scope-t:#15703f; --m-trail-t:#3559cf; --m-points-t:#835b00; --m-recv-t:#0c6e77;   /* 4.5:1 גם על --s-acc #efe0d6, לא רק על s1/s2 (AUD-122) */
    --prog-measure:#3559cf; --prog-done:#15703f; --prog-fail:#c02b35;
    --viz-1:#3559cf; --viz-2:#1f2f8a; --viz-3:#6f8fe8; --viz-4:#6b7690; --viz-5:#a08a5e; --viz-6:#2b3550; --viz-7:#a86a12; --viz-8:#5e6e12;
    --viz-1-bg:rgba(53,89,207,.14);
    --src-1:#c45851; --src-2:#935503; --src-3:#91892d; --src-4:#336336; --src-5:#0c9b90; --src-6:#016f8f; --src-7:#464872; --src-8:#ac6da3;
    /* v1.6 · צבע חברה ב-Light C: אותו גוון, כהה יותר; ניגודיות 3 ומעלה מול --s1 */
    --co-migdal:#2a2a8c; --co-harel:#b88a00; --co-clal:#1a86b8; --co-phoenix:#d4600f; --co-menora:#b5741a; --co-ayalon:#8e44ad; --co-hachshara:#c62828;
    --co-meitav:#178a40; --co-mor:#c8287a; --co-analyst:#1565c0; --co-yelin:#8f8420; --co-altshuler:#2e7d32; --co-infinity:#7a5c00; --co-passportcard:#b0001e;
  }
  [data-mode="lc"] .side { box-shadow:inset -1px 0 0 rgba(60,70,40,.08); }

  /* ── 1 · בסיס ── */
  html { direction:rtl; }
  body { margin:0; background:var(--bg); color:var(--ink); font-family:var(--font); font-size:14px; line-height:1.5; -webkit-font-smoothing:antialiased; }
  * { box-sizing:border-box; }
  button { font:inherit; color:inherit; background:none; border:0; cursor:pointer; padding:0; }
  button:focus-visible, [tabindex]:focus-visible, .fld .in:focus-within { outline:2px solid var(--pink); outline-offset:2px; }
  input, select, textarea { font:inherit; color:inherit; }
  .num, .tbl td, .kv .v, .stat .v, .bigv, .two b, .t-kpi, .t-hero, .tile .v, .hero3 .h .two b, .hb b, .hb .pc, .sl .pc, .sl .v, .answer > b, .answer .subseg b, .kt b, .arow .val, .mpv-r b, .rc .lv, .rc .xa span, .months button span, .strip4 .g .gv b, .fam-list .a, .live b, .ag .r .v, .attn3 .it b, .kc b { font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; font-family:var(--font); }
  /* v1.2 · מספר ברכיב: אף פעם לא נשבר בין הסימן, הספרות והיחידה; היחידה קטנה ומעומעמת, צמודה; סימן ₪ במספרים גדולים קטן ומעומעם צעד אחד */
  .stat .v, .tile .v, .kv .k .two b, .hero3 .h .two b, .fam-list .a, .two b, .live b, .answer > b, .bigv .v { white-space:nowrap; line-height:1.08; }
  .tile .v, .fam-list .a { display:inline-flex; align-items:baseline; gap:5px; }
  .tile .v small, .stat .v small, .hero3 .h .two b small, .fam-list .a small, .live b small, .kv .k .two b small, .answer > b small { font-size:max(.46em, 12.5px); font-weight:400; color:var(--muted); letter-spacing:0; }
  /* .amt = [סימן+ספרות כיחידה LTR] ואז היחידה משמאל, כמו שה-bidi מציב "₪2,400/ח׳" בטקסט עברי; הסימן קטן ומעומעם צעד אחד */
  .amt { display:inline-flex; align-items:baseline; gap:.3em; direction:rtl; unicode-bidi:isolate; white-space:nowrap; }
  .amt .n { direction:ltr; unicode-bidi:isolate; display:inline-flex; align-items:baseline; gap:.05em; }
  .amt i { font-style:normal; font-size:max(.74em, 12.5px); font-weight:500; color:var(--ink-2); }
  .amt small { font-size:max(.46em, 12.5px); font-weight:400; color:var(--muted); }
  .amt.neg { color:var(--bad); } .amt.neg i { color:var(--bad); }
  .m-scope .amt i, .m-trail .amt i, .m-points .amt i, .m-recv .amt i, .amt.m i { color:inherit; }   /* בלי opacity: ה-₪ ירד ל-3.1:1 (AUD-059) */
  .mono { font-family:var(--mono); }
  svg.i { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; flex:none; }
  @media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
  /* סולם הטיפוגרפיה (DS v1.0 + כותרות העמודים של ה-Wireframes) */
  /* שני מספרי תצוגה שמעל .t-hero, בשימוש במספר הנקודות בבית (AUD-065): 60 בדסקטופ, ותקרת ההתאמה 46 בטלפון */
  :root { --fs-display-xl:60px; --fs-display-m:46px; }
  .t-hero { font-size:54px; font-weight:700; letter-spacing:-.02em; line-height:1; }
  .t-kpi { font-size:32px; font-weight:600; letter-spacing:-.015em; line-height:1; }
  .t-kpi-s { font-size:26px; font-weight:600; letter-spacing:-.01em; line-height:1.1; }
  .t-ring { font-size:26px; font-weight:600; line-height:1; }
  .t-page { font-size:22px; font-weight:700; letter-spacing:-.01em; line-height:1.15; }
  .t-h1 { font-size:18px; font-weight:600; color:var(--ink-2); }
  .t-card { font-size:15px; font-weight:600; }
  .t-lbl { font-size:12.5px; font-weight:500; color:var(--muted); letter-spacing:.02em; }
  .t-body { font-size:14px; }
  .t-tbl { font-size:13px; }
  .t-th { font-size:12.5px; font-weight:500; color:var(--muted); letter-spacing:.02em; }
  .t-meta { font-size:12.5px; color:var(--muted); }
  .t-mono { font-family:var(--mono); font-size:12.5px; color:var(--muted); }

  /* ── 2 · App Shell · המסך הראשי המאושר כלשונו ── */
  .frame { position:relative; min-width:1180px; background:var(--bg); color:var(--ink); display:grid; grid-template-columns:68px minmax(0,1fr); grid-template-rows:64px auto; }
  .frame[data-side="pinned"] { grid-template-columns:232px minmax(0,1fr); }
  .frame.bare { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; min-width:1000px; }
  .frame.mini { min-width:640px; }
  .side { grid-row:1 / 3; background:var(--nav); border-inline-end:1px solid var(--nav-line); display:flex; flex-direction:column; padding:14px 10px; gap:2px; z-index:5; position:relative; width:68px; transition:width .16s ease; }
  .frame[data-side="pinned"] .side { width:232px; }
  .frame[data-side="collapsed"] .side.peek { width:232px; position:absolute; top:0; bottom:0; inset-inline-start:0; box-shadow:-22px 0 48px -22px rgba(0,0,0,.95); }
  .brand { display:flex; align-items:center; gap:11px; padding:4px 6px 16px; border-bottom:1px solid var(--nav-line); margin-bottom:10px; min-height:50px; }
  .brand .mark { width:34px; height:34px; border-radius:10px; background:var(--pink); color:#fff; display:grid; place-items:center; font-weight:700; font-size:16px; flex:none; box-shadow:0 6px 16px -8px var(--pink-shadow); }
  .brand .name { font-weight:600; font-size:15.5px; letter-spacing:.01em; white-space:nowrap; opacity:0; transition:opacity .12s; color:var(--nav-ink); }
  .side.peek .brand .name, .frame[data-side="pinned"] .brand .name { opacity:1; }
  .nav { display:flex; flex-direction:column; gap:3px; }
  .nav button { display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:9px; color:var(--nav-ink-2); position:relative; white-space:nowrap; text-align:start; width:100%; font-size:13.5px; font-weight:500; }
  .nav button:hover { background:var(--nav-hover); color:var(--nav-ink); }
  .nav button[aria-current="page"] { background:var(--nav-active); color:var(--nav-ink); }
  .nav button[aria-current="page"]::before { content:''; position:absolute; inset-inline-start:-10px; top:10px; bottom:10px; width:3px; border-radius:2px; background:var(--pink); }
  .nav button .lbl { opacity:0; transition:opacity .12s; }
  .side.peek .nav button .lbl, .frame[data-side="pinned"] .nav button .lbl { opacity:1; }
  .side .spacer { flex:1; }
  .side .foot { border-top:1px solid var(--nav-line); padding-top:8px; }
  .side .foot button { display:flex; align-items:center; gap:12px; padding:9px 14px; border-radius:9px; color:var(--nav-ink-2); opacity:.8; font-size:12.5px; white-space:nowrap; width:100%; }
  .side .foot button:hover { background:var(--nav-hover); color:var(--nav-ink); opacity:1; }
  .side .foot button[aria-pressed="true"] { color:var(--pink-2); opacity:1; }
  .side .foot .lbl { opacity:0; }
  .side.peek .foot .lbl, .frame[data-side="pinned"] .foot .lbl { opacity:1; }
  [data-tip] { position:relative; }
  [data-tip]::after { content:attr(data-tip); position:absolute; top:50%; inset-inline-end:calc(100% + 12px); transform:translateY(-50%); background:var(--s3); color:var(--ink); border:1px solid var(--line-2); border-radius:7px; padding:5px 10px; font-size:12.5px; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .1s; z-index:30; font-weight:400; box-shadow:var(--shadow); }
  [data-tip]:hover::after, .show-tip[data-tip]::after { opacity:1; }
  .side.peek [data-tip]::after, .frame[data-side="pinned"] .side [data-tip]::after { display:none; }
  .tip-b[data-tip]::after { top:auto; bottom:calc(100% + 8px); inset-inline-end:auto; inset-inline-start:0; transform:none; white-space:normal; width:250px; line-height:1.5; }
  .hdr { grid-column:2; display:flex; align-items:center; gap:18px; padding:0 26px; border-bottom:1px solid var(--line); background:var(--hdr); position:relative; z-index:4; box-shadow:inset 0 1px 0 var(--hi); }
  .newsale { position:relative; align-self:flex-start; margin-top:-1px; background:var(--pink); color:#fff; font-weight:600; font-size:13.5px; padding:10px 17px 11px 15px; border-radius:0 0 13px 13px; display:inline-flex; align-items:center; gap:8px; box-shadow:0 10px 24px -12px var(--pink-shadow); }
  .newsale svg.i { stroke-width:2.4; width:16px; height:16px; }
  .newsale:hover { background:var(--pink-2); }
  .newsale[aria-disabled="true"] { opacity:.42; cursor:not-allowed; box-shadow:none; filter:saturate(.5); }
  .search { flex:1; display:flex; justify-content:center; }
  .search .box { width:min(580px,100%); height:42px; background:var(--search-bg); border:1px solid var(--search-line); border-radius:11px; display:flex; align-items:center; gap:10px; padding:0 13px; color:var(--muted); font-size:13.5px; box-shadow:var(--search-shadow); text-align:start; font:inherit; font-size:13.5px; cursor:pointer; }
  .search .box:hover { border-color:var(--line-2); }
  .search .box .ph { flex:1; }
  .search .box kbd { font-family:var(--mono); font-size:12.5px; color:var(--muted); background:var(--kbd); border:1px solid var(--line-2); border-radius:5px; padding:1px 6px; }
  .profile { position:relative; }
  .profile > button { display:flex; align-items:center; gap:10px; padding:6px 8px; border-radius:9px; color:var(--ink); }
  .profile > button:hover { background:var(--row-hover); }
  .avatar { width:32px; height:32px; border-radius:50%; background:var(--avatar); border:1px solid var(--line-2); display:grid; place-items:center; font-weight:600; font-size:13px; color:var(--ink); }
  .profile .pop, .profile .menu { position:absolute; top:calc(100% + 8px); inset-inline-end:0; width:250px; background:var(--s2); border:1px solid var(--line-2); border-radius:12px; padding:6px; box-shadow:var(--shadow-2); z-index:40; display:grid; gap:2px; }
  .profile .pop .me, .profile .menu .who { padding:8px 10px 9px; border-bottom:1px solid var(--line); margin-bottom:4px; display:grid; gap:1px; }
  .profile .pop .me b, .profile .menu .who b { font-size:13.5px; font-weight:600; } .profile .pop .me span, .profile .menu .who span { font-size:12.5px; color:var(--muted); }
  .profile .pop button, .profile .menu button { text-align:start; padding:7px 10px; border-radius:7px; font-size:13px; color:var(--ink-2); display:flex; align-items:center; gap:8px; width:100%; }
  .profile .pop button:hover, .profile .menu button:hover { background:var(--s3); color:var(--ink); }
  .profile .pop button svg.i { width:14px; height:14px; }
  .main { grid-column:2; padding:22px 28px 30px; display:flex; flex-direction:column; gap:16px; min-width:0; position:relative; }
  .frame.bare .main { grid-column:1; padding:16px 20px 20px; }
  .frame.mini .main { padding:10px 12px 12px; gap:10px; }
  .main > * { flex:none; }
  .main, .ph-body, .lreg, .lreg2, .bd { scrollbar-width:none; } .main::-webkit-scrollbar, .ph-body::-webkit-scrollbar, .lreg::-webkit-scrollbar, .bd::-webkit-scrollbar { display:none; }

  /* ── 3 · כרום העמוד: כותרת, תת-ניווט, תקופה, השוואה, טאבים, כלים ── */
  .trow, .ptitle { display:flex; align-items:center; gap:14px; flex-wrap:wrap; row-gap:8px; }
  .trow h1 { margin:0; font-size:18px; font-weight:600; color:var(--ink-2); }
  .ptitle h1 { margin:0; font-size:22px; font-weight:700; letter-spacing:-.01em; color:var(--ink); }
  .trow .grow, .ptitle .grow, .grow { flex:1; }
  .ptitle .desc { color:var(--muted); font-size:13px; flex-basis:100%; max-width:90ch; line-height:1.55; margin-top:-4px; }
  .ptitle .ctx { font-size:12.5px; color:var(--muted); }
  .subnav, .period, .seg { display:inline-flex; background:var(--s1); border:1px solid var(--line); border-radius:10px; padding:3px; gap:2px; box-shadow:inset 0 1px 0 var(--hi); }
  .subnav button, .seg button { padding:6px 13px; border-radius:7px; font-size:13px; color:var(--muted); font-weight:500; display:inline-flex; align-items:center; gap:6px; }
  .subnav button:hover, .seg button:hover { color:var(--ink); }
  .subnav button[aria-current="page"], .seg button[aria-pressed="true"] { background:var(--s3); color:var(--ink); box-shadow:inset 0 0 0 1px var(--line-2); }
  .subnav button svg.i, .seg button svg.i { width:14px; height:14px; }
  .seg button[aria-disabled="true"] { opacity:.5; cursor:not-allowed; }
  .seg button .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); }
  .seg.xs button { padding:4px 10px; font-size:12.5px; } .seg.lg button { padding:8px 16px; font-size:14px; }
  /* רכיב התקופה של כל המערכת (SAL-29, SAL-31): ‹ חודש › · מתחילת השנה · לפי תקופה ▾; פעיל = ורוד */
  .period button { padding:6px 13px; border-radius:7px; font-size:13px; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; font-weight:500; }
  .period button:hover { color:var(--ink); }
  .period button[aria-pressed="true"] { background:var(--pink-bg); color:var(--pink-2); box-shadow:inset 0 0 0 1px var(--pink-line); }
  .period button svg.i { width:14px; height:14px; }
  .period button[disabled] { color:var(--faint); cursor:not-allowed; }
  .period .mstep { display:inline-flex; align-items:center; border-radius:7px; }
  .period .mstep button { padding:6px 7px; }
  .period .mstep button.ml { padding:6px 10px; min-width:128px; justify-content:center; }
  .period .mstep.on { background:var(--pink-bg); box-shadow:inset 0 0 0 1px var(--pink-line); }
  .period .mstep.on button { color:var(--pink-2); }
  /* v1.6 (ערן 21/10): מסגרת אחת סביב קבוצת החודש. כפתור החודש בתוכה לחוץ (aria-pressed) אבל בלי מסגרת ורקע משלו */
  .period .mstep.on button[aria-pressed="true"] { background:transparent; box-shadow:none; }
  .period .mo { min-width:150px; justify-content:center; }
  .trow .period, .perrow .period { position:relative; }
  .trow > .period-mount, .ptitle > .period-mount { margin-inline-start:auto; }   /* כשהשורה נשברת (768, מגמות ב-1024), רכיב התקופה יורד לשורה משלו ונשאר בקצה השמאלי (v21 §30; AUD-014) */
  .perrow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .perrow .period { margin:0; align-self:auto; }
  .perrow .cap, .basis { font-size:12.5px; color:var(--muted); }
  .basis { border:1px dashed var(--line-2); border-radius:7px; padding:3px 9px; }
  .cmpc { position:relative; display:inline-flex; align-items:center; gap:6px; }
  .cmpt { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:9px; border:1px solid var(--line-2); font-size:12.5px; color:var(--muted); background:var(--s1); }
  .cmpt svg.i { width:14px; height:14px; }
  .cmpt[aria-pressed="true"] { background:var(--s3); color:var(--ink); box-shadow:inset 0 0 0 1px var(--blue-line); }
  .cmpl { display:inline-flex; align-items:center; gap:4px; font-size:12.5px; color:var(--blue-2); padding:6px 8px; border-radius:7px; } .cmpl:hover { background:var(--s2); }
  .cmpl.none { color:var(--faint); }
  .cmpl svg.i { width:13px; height:13px; }
  /* בורר חודש (Freeze 2) */
  .mpick { position:absolute; top:calc(100% + 8px); inset-inline-end:0; z-index:9; width:332px; background:var(--s2); border:1px solid var(--line-2); border-radius:12px; box-shadow:var(--shadow-2); padding:12px; text-align:start; }
  .mpick .yh { display:flex; align-items:center; justify-content:space-between; padding:0 2px 8px; margin-bottom:8px; border-bottom:1px solid var(--line); }
  .mpick .yh b { font-size:14px; font-weight:600; }
  .mpick .yh button { padding:2px 6px; border-radius:6px; color:var(--ink-2); display:inline-flex; } .mpick .yh button[disabled] { color:var(--faint); } .mpick .yh button svg.i { width:15px; height:15px; }
  .mpick .grid { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
  .mpick .grid button { display:flex; flex-direction:column; align-items:center; gap:1px; padding:7px 4px 6px; border-radius:8px; border:1px solid transparent; font-size:12.5px; color:var(--ink-2); }
  .mpick .grid button:hover { background:var(--s3); }
  .mpick .grid button small { font-family:var(--mono); font-size:12.5px; color:var(--muted); }
  .mpick .grid button.z, .mpick .grid button.z small { color:var(--faint); } .mpick .grid button.fut { color:var(--faint); opacity:.55; } .mpick .grid button.now { border-color:var(--line-2); }
  .mpick .grid button.cur { background:var(--pink-bg); color:var(--pink-2); border-color:var(--pink-line); } .mpick .grid button.cur small { color:var(--pink-2); }
  .mpick .foot { display:flex; justify-content:space-between; align-items:center; margin-top:10px; font-size:12.5px; color:var(--muted); } .mpick .foot button { color:var(--blue-2); }
  /* טאבים של Explorer / Saved Views */
  .views { display:flex; align-items:center; gap:4px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
  .views button { padding:8px 12px; font-size:13px; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; display:flex; align-items:center; gap:6px; font-weight:500; }
  .views button:hover { color:var(--ink-2); }
  .views button[aria-current="page"], .views button.cur-saved { color:var(--ink); border-bottom-color:var(--pink); }
  .views button .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); background:var(--s2); border-radius:10px; padding:0 6px; font-weight:400; }
  .views .div { width:1px; height:18px; background:var(--line-2); margin:0 6px; }
  .views button.saved, .views button.sys { color:var(--ink-2); } .views button.saved svg.i { width:13px; height:13px; color:var(--muted); }
  .views button.add, .views button.plus { color:var(--muted); font-size:12.5px; margin-inline-start:auto; padding:7px 9px; } .views button.plus svg.i { width:14px; height:14px; }
  .views .dirty { display:inline-flex; align-items:center; gap:6px; margin-inline-start:auto; font-size:12.5px; color:var(--muted); }
  .views .dirty i { width:6px; height:6px; border-radius:50%; background:var(--warn); display:inline-block; }
  .views .dirty button { padding:4px 10px; border-radius:7px; border:1px solid var(--line-2); color:var(--ink-2); font-size:12.5px; margin-bottom:0; } .views .dirty button.pri { background:var(--pink); border-color:var(--pink); color:#fff; }
  .views .dirty .lnk { color:var(--muted); font-size:12.5px; }
  /* שורת כלים: חיפוש ברשימה, סינון, עמודות, ייצוא */
  .tools { display:flex; align-items:center; gap:10px; position:relative; }
  .tools .ls { flex:1; display:flex; align-items:center; gap:10px; height:38px; background:var(--search-bg); border:1px solid var(--search-line); border-radius:10px; padding:0 12px; color:var(--muted); font-size:13.5px; }
  .tools .ls .ph { flex:1; } .tools .ls svg.i { width:16px; height:16px; }
  .tools .btn { height:38px; padding:0 14px; border-radius:10px; }
  .tools .btn[aria-pressed="true"] { background:var(--s2); color:var(--ink); border-color:var(--line-2); }
  .fchips { display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12.5px; margin-top:-4px; }
  .fchips .fc { display:inline-flex; align-items:center; gap:6px; padding:3px 6px 3px 9px; border-radius:999px; background:var(--pink-bg); border:1px solid var(--pink-line); color:var(--ink); }
  .fchips .fc button { color:var(--pink-2); display:inline-flex; } .fchips .fc button svg.i { width:13px; height:13px; }
  .fchips .clr { color:var(--muted); font-size:12.5px; margin-inline-start:4px; } .fchips .lbl { color:var(--muted); font-size:12.5px; }
  .listhead, .lhead { display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--muted); position:relative; flex-wrap:wrap; }
  .lhead b { font-size:14px; color:var(--ink); font-weight:600; } .listhead .gap, .lhead .gap { flex:1; }
  .ro-note { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--muted); } .ro-note svg.i { width:12px; height:12px; }

  /* ── 4 · משטחים: כרטיס, בלוק, אריח, hero, תשומת לב, הערה, ריק ──
     v1.6 (ערן 21/10, סבב הליטוש): הכתב בתוך כרטיסים גדל בדרגה אחת (תוויות 12.5→13.5, שורות 13→14.5, כותרות כרטיס 13.5); טבלאות בלי שינוי */
  .card { background:var(--s1); border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; position:relative; box-shadow:inset 0 1px 0 var(--hi), var(--shadow); min-width:0; }
  .card h2 { margin:0 0 10px; font-size:13.5px; font-weight:500; color:var(--muted); letter-spacing:.02em; display:flex; align-items:center; gap:7px; }
  .card h2 .sub { margin-inline-start:auto; font-weight:400; color:var(--faint); font-size:12.5px; }
  .card h2 .info, .ib.tip { color:var(--faint); display:inline-flex; } .card h2 .info svg.i { width:14px; height:14px; } .card h2 .info:hover { color:var(--ink-2); }
  .blk, .acard, .fcard, .ag, .ovsec { background:var(--s1); border:1px solid var(--line); border-radius:var(--r); box-shadow:inset 0 1px 0 var(--hi), var(--shadow); min-width:0; }
  .blk { display:grid; gap:0; }
  .blk > .bh, .ovsec > .sh { display:flex; align-items:baseline; gap:10px; padding:12px 18px 8px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
  .blk > .bh b, .ovsec > .sh b { font-size:15px; font-weight:600; } .blk > .bh .cap, .ovsec > .sh .hint { font-size:12.5px; color:var(--muted); } .blk > .bh .grow, .ovsec > .sh .grow { flex:1; }
  .blk > .bb, .ovsec > .sb { padding:12px 18px 14px; display:grid; gap:10px; } .blk > .bb.flush, .ovsec > .sb.flush { padding:0; }
  .tile { background:var(--s1); border:1px solid var(--line); border-radius:var(--r); padding:14px 18px; cursor:pointer; position:relative; box-shadow:inset 0 1px 0 var(--hi), var(--shadow); min-width:0; }
  .tile:hover { border-color:var(--line-2); background:var(--s2); }
  .tile .l { font-size:13px; color:var(--muted); letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tile .v { font-size:26px; font-weight:600; letter-spacing:-.01em; margin-top:6px; }
  .tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
  .stat { display:flex; align-items:baseline; gap:9px; margin-top:10px; }
  .stat .v { font-size:32px; font-weight:600; line-height:1; letter-spacing:-.015em; } .stat .u { font-size:13.5px; color:var(--muted); }
  .bigv { display:flex; align-items:baseline; gap:8px; } .bigv .v { font-size:54px; font-weight:700; line-height:1; letter-spacing:-.02em; } .bigv .of { font-size:17px; color:var(--muted); } .bigv .of b { color:var(--ink-2); font-weight:500; }
  .sub { font-size:13.5px; color:var(--muted); display:flex; gap:12px; flex-wrap:wrap; } .sub b { color:var(--ink-2); font-weight:500; }
  .delta { display:inline-flex; align-items:center; gap:3px; font-size:12.5px; color:var(--ok); font-weight:500; } .delta svg.i { width:13px; height:13px; stroke-width:2.2; }
  .delta.neg, em.dl.neg { color:var(--bad); } em.dl { font-style:normal; font-size:12.5px; font-weight:500; color:var(--ok); direction:ltr; unicode-bidi:isolate; display:inline-block; }
  /* KPI תוך-בלוק: קופסה שקטה, מספר אחרי-זכאות ראשי וברוטו משני */
  .kv { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; }
  .kv .k { display:grid; gap:2px; padding:9px 12px; border:1px solid var(--line); border-radius:var(--r-s); background:var(--bg); text-align:start; min-width:0; }
  .kv .k:hover { border-color:var(--line-2); background:var(--s2); }
  .kv .k .l { font-size:12.5px; color:var(--muted); letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .kv .k .two b { font-size:21px; letter-spacing:-.01em; } .kv .k .two small { font-size:12.5px; margin-top:2px; } .kv .k .u { font-size:12.5px; color:var(--faint); }
  .two { display:inline-grid; gap:1px; line-height:1.12; text-align:start; } .two b { font-weight:600; color:var(--ink); white-space:nowrap; } .two small { font-size:12.5px; color:var(--faint); white-space:nowrap; } .two.z b { color:var(--faint); font-weight:500; }
  .kvl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 14px; font-size:13.5px; align-items:baseline; } .kvl .l { color:var(--muted); white-space:nowrap; } .kvl .v { color:var(--ink); }
  /* hero הדשבורד: הגרדיאנט היחיד; hero3 של העמלות: כרטיס עם פס צבע המדד */
  .hero { display:grid; grid-template-columns:1.38fr 1fr 1fr; gap:0; padding:0; overflow:hidden; min-height:250px; background:var(--hero-bg); border:1px solid var(--hero-line); border-radius:var(--r); color:var(--hero-ink); box-shadow:inset 0 1px 0 var(--hi), var(--shadow); }
  .hero > div { padding:24px 26px 22px; display:flex; flex-direction:column; } .hero > div + div { border-inline-start:1px solid var(--hero-div); }
  .hero h2 { margin:0; font-size:12.5px; color:var(--hero-label); font-weight:600; letter-spacing:.03em; display:flex; align-items:center; gap:7px; }
  .hero .sub, .hero .bigv .of, .hero .mini span { color:var(--hero-muted); } .hero .sub b, .hero .bigv .of b { color:var(--hero-ink-2); }
  .hero .prog { background:var(--hero-track); } .hero .prog i { background:var(--hero-blue); }
  .hero3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .hero3 .h { background:var(--s1); border:1px solid var(--line); border-radius:var(--r); padding:14px 18px 12px; box-shadow:inset 0 1px 0 var(--hi), var(--shadow); display:grid; gap:3px; text-align:start; min-width:0; position:relative; overflow:hidden; align-content:start; }
  .hero3 .h::before { content:""; position:absolute; inset-inline-start:0; top:0; bottom:0; width:5px; background:var(--line-2); }
  .hero3 .h.exp::before, .hero3 .h.hx-exp::before { background:var(--m-scope); } .hero3 .h.tr::before, .hero3 .h.hx-tr::before { background:var(--m-trail); opacity:.7; } .hero3 .h.tr2::before, .hero3 .h.hx-tr2::before { background:var(--m-trail); } .hero3 .h.pts::before { background:var(--m-points); }
  .hero3 .h .l { font-size:13.5px; color:var(--muted); } .hero3 .h .two b { font-size:34px; letter-spacing:-.02em; line-height:1.06; padding-top:2px; } .hero3 .h .two small { font-size:13px; margin-top:3px; } .hero3 .h .u { font-size:12.5px; color:var(--faint); }
  .hero3 .h.exp .two b, .hero3 .h.hx-exp .two b { color:var(--m-scope-t); } .hero3 .h.tr .two b, .hero3 .h.tr2 .two b, .hero3 .h.hx-tr .two b, .hero3 .h.hx-tr2 .two b { color:var(--m-trail-t); } .hero3 .h.pts .two b { color:var(--m-points-t); }
  .hero3 .h:hover { border-color:var(--line-2); background:var(--s2); }
  .ring { position:relative; width:132px; height:132px; flex:none; } .ring svg { width:100%; height:100%; transform:rotate(-90deg); display:block; } .ring .c { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; } .ring .c b { font-size:26px; font-weight:600; line-height:1; }
  .ring.sm { width:104px; height:104px; } .ring.sm .c b { font-size:20px; }
  .fam-list { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:8px; }
  .fam-list li { display:grid; grid-template-columns:8px 1fr auto; align-items:center; gap:10px; font-size:14.5px; } .fam-list li i { width:8px; height:8px; border-radius:50%; display:block; }
  .fam-list li .n { color:var(--ink-2); } .fam-list li .a { font-weight:600; } .fam-list li .a small, .fam-list li .n small { color:var(--muted); font-weight:400; font-size:12.5px; margin-inline-start:5px; }
  .g-gemel i { background:var(--fam-gemel); } .g-pension i { background:var(--fam-pension); } .g-ins i { background:var(--fam-ins); }
  /* תשומת לב: פס אחד בדשבורד (בעל תשומת לב ענבר), רשימות "דורש טיפול" בבלוקים */
  .attn.bar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:10px 16px; border-radius:var(--r); background:var(--attn-bg); border:1px solid var(--line); border-inline-start:3px solid var(--warn); box-shadow:inset 0 1px 0 var(--hi), var(--shadow); }
  .attn.bar .t { font-size:12.5px; font-weight:600; color:var(--warn); display:inline-flex; align-items:center; gap:6px; } .attn.bar .t svg.i { width:15px; height:15px; }
  .attn.bar button { font-size:13px; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border-radius:7px; } .attn.bar button:hover { background:var(--s2); color:var(--ink); } .attn.bar button b { color:var(--ink); font-weight:600; }
  .attn3 { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:6px 2px; font-size:12.5px; color:var(--muted); }
  .attn3 .ttl { font-weight:600; color:var(--ink-2); margin-inline-end:4px; }
  .attn3 .it { display:inline-flex; align-items:center; gap:7px; height:28px; padding:0 10px; border-radius:8px; border:1px solid var(--line-2); color:var(--ink-2); font-size:12.5px; }
  .attn3 .it b { font-family:var(--mono); font-size:12.5px; color:var(--ink); background:var(--s2); border-radius:10px; padding:0 7px; } .attn3 .it:hover { background:var(--s2); }
  .ag { display:grid; align-content:start; }
  .ag > .gh { display:flex; align-items:center; gap:8px; padding:10px 14px; border-bottom:1px solid var(--line); font-size:13px; font-weight:600; }
  .ag > .gh .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); background:var(--s2); border-radius:10px; padding:0 7px; font-weight:400; } .ag > .gh .cap { margin-inline-start:auto; font-size:12.5px; color:var(--faint); font-weight:400; }
  .ag .r { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:8px 14px; border-top:1px solid var(--line); font-size:12.5px; } .ag .r:first-of-type { border-top:0; }
  .ag .r .t { color:var(--ink-2); min-width:0; } .ag .r .t small { display:block; font-size:12.5px; color:var(--muted); } .ag .r .v { font-weight:600; white-space:nowrap; } .ag .none { padding:12px 14px; font-size:12.5px; color:var(--faint); }
  .note { display:flex; gap:8px; align-items:flex-start; background:var(--warn-bg); border:1px solid var(--warn-line); border-radius:8px; padding:8px 10px; font-size:12.5px; color:var(--ink-2); line-height:1.45; }
  .note.info { background:var(--note-bg); border-color:var(--blue-line); } .note svg.i { color:var(--warn); margin-top:1px; width:15px; height:15px; } .note.info svg.i { color:var(--blue-2); }
  .empty { border:1px dashed var(--line-2); border-radius:var(--r); padding:36px 20px; text-align:center; color:var(--muted); font-size:13px; display:grid; gap:8px; justify-items:center; }
  .empty b { color:var(--ink-2); font-size:14.5px; font-weight:600; } .empty svg.i { width:24px; height:24px; color:var(--faint); }
  .live { background:var(--s2); border:1px solid var(--line); border-radius:var(--r-s); padding:9px 12px; display:grid; gap:2px; } .live .l { font-size:12.5px; color:var(--muted); } .live b { font-size:18px; font-weight:600; } .live small { color:var(--muted); font-size:12.5px; }
  .strip4 { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
  .strip4 .g { background:var(--s1); border:1px solid var(--line); border-radius:11px; padding:9px 14px 10px; min-width:0; box-shadow:inset 0 1px 0 var(--hi); }
  .strip4 .g .gl { font-size:12.5px; color:var(--muted); letter-spacing:.04em; margin-bottom:6px; } .strip4 .g .gv { display:flex; gap:18px; flex-wrap:wrap; } .strip4 .g .gv > span { display:flex; flex-direction:column; min-width:0; }   /* v1.6: רק הילדים הישירים (מספר ותווית); לא ה-span של רכיב הסכום, שאחרת ה-₪ עלה לשורה מעל הספרות (ממצא מכירות 12) */
  .strip4 .g .gv b { font-size:17px; font-weight:600; line-height:1.15; white-space:nowrap; } .strip4 .g .gv b > i { font-style:normal; font-size:12.5px; color:var(--muted); font-weight:400; margin-inline-start:3px; } .strip4 .g .gv small { font-size:12.5px; color:var(--muted); white-space:nowrap; } .strip4 .g .gv span.z b { color:var(--faint); }

  /* ── 4c · v1.3 · שפת הרכיבים המורכבים: פס כותרת › קבוצות עם קווי מחברת › footer. משמשת סינון, drawer, מכירה חדשה ודיאלוגים גדולים ──
     היררכיה טיפוגרפית: eye 10.5/600 ורוד · כותרת 15/700 · קבוצה 11.5/600 מעומעם · אפשרות 13/400 · נבחר 13/500 בדיו מלא + ורוד בתיבה */
  .cx { background:var(--s1); border:1px solid var(--line-2); border-radius:var(--r); box-shadow:var(--shadow-2); overflow:hidden; display:grid; }
  .cx-h { display:flex; align-items:center; gap:10px; padding:9px 16px; min-height:46px; background:var(--cx-h); border-bottom:1px solid var(--cx-h-line); color:var(--cx-h-ink); }
  .cx-h .eye { font-size:12.5px; font-weight:600; letter-spacing:.07em; color:var(--cx-h-eye); }
  .cx-h .t, .cx-h h2 { margin:0; font-size:15px; font-weight:700; color:var(--cx-h-ink); }
  .cx-h .meta { font-size:12.5px; color:var(--cx-h-muted); } .cx-h .sp { flex:1; }
  .cx-h .x { color:var(--cx-h-muted); display:inline-grid; place-items:center; width:30px; height:30px; border-radius:8px; } .cx-h .x:hover { background:var(--cx-h-2); color:var(--cx-h-ink); } .cx-h .x svg.i { width:16px; height:16px; }
  .cx-b { display:grid; }
  .cx-g { padding:12px 16px 14px; border-top:1px solid var(--line); display:grid; gap:8px; align-content:start; } .cx-g:first-child { border-top:0; }
  .cx-g > .gt { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--muted); }
  .cx-g > .gt .ctxt { margin-inline-start:auto; font-size:12.5px; font-weight:400; color:var(--faint); letter-spacing:0; }
  .cx-g > .gt .cnt { font-size:12.5px; color:var(--pink-2); background:var(--pink-bg); border-radius:10px; padding:0 7px; font-weight:600; }
  .cx-rows { display:grid; } .cx-rows.two { grid-template-columns:1fr 1fr; column-gap:18px; }
  .cx-opt { display:flex; align-items:center; gap:10px; min-height:32px; padding:0 4px; border-top:1px solid var(--line); font-size:13px; color:var(--ink-2); cursor:pointer; text-align:start; width:100%; border-radius:0; }
  .cx-rows > .cx-opt:first-child, .cx-rows.two > .cx-opt:nth-child(2) { border-top:0; }
  .cx-opt:hover { color:var(--ink); background:var(--row-hover); }
  .cx-opt .cb { width:14px; height:14px; border-color:var(--line-2); background:transparent; border-radius:4px; flex:none; }
  .cx-opt.on, .cx-opt[aria-checked="true"], .cx-opt[aria-pressed="true"] { color:var(--ink); font-weight:500; }
  .cx-opt.on .cb, .cx-opt[aria-checked="true"] .cb, .cx-opt[aria-pressed="true"] .cb { background:var(--pink); border-color:var(--pink); }
  .cx-opt .cb.r { border-radius:50%; } .cx-opt .cb.r.on::after { content:""; position:absolute; inset:3px; border-radius:50%; background:#fff; border:0; width:auto; height:auto; transform:none; left:auto; top:auto; }
  .cx-opt .sub { margin-inline-start:auto; font-size:12.5px; color:var(--faint); font-weight:400; } .cx-opt .tag { margin-inline-start:auto; }
  .cx-opt.head { font-size:12.5px; color:var(--muted); min-height:26px; cursor:default; gap:6px; font-weight:500; } .cx-opt.head:hover { background:transparent; color:var(--muted); } .cx-opt.head i { width:8px; height:8px; border-radius:2px; display:inline-block; }
  .cx-opt svg.i { width:13px; height:13px; color:var(--faint); }
  .cx-f { display:flex; align-items:center; gap:8px; padding:10px 16px; border-top:1px solid var(--line-2); background:var(--s1); } .cx-f .sp { flex:1; } .cx-f .hint { font-size:12.5px; color:var(--muted); margin-inline-end:auto; }
  .queue { background:var(--s2); }
  /* ── 5 · טבלאות, תגים, צ'יפים ── */
  .tblwrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--r); background:var(--s1); box-shadow:inset 0 1px 0 var(--hi), var(--shadow); }
  .tblwrap.flat { border:0; box-shadow:none; border-radius:0; background:transparent; }
  .tblwrap.scrolly { max-height:640px; overflow:auto; }
  table.tbl { width:100%; border-collapse:collapse; font-size:13px; }
  .tbl th { text-align:start; font-weight:500; font-size:12.5px; color:var(--muted); padding:9px 10px; border-bottom:1px solid var(--line-2); letter-spacing:.02em; white-space:nowrap; position:relative; }
  .tbl thead th { position:sticky; top:0; background:var(--s1); z-index:3; }
  .tbl th.sortable { cursor:pointer; } .tbl th.sortable:hover { color:var(--ink); }
  .tbl th.sort { color:var(--ink-2); } .tbl th.sort::after { content:" ↓"; color:var(--pink-2); } .tbl th.sort.asc::after { content:" ↑"; }
  .tbl th .mk { display:block; font-size:12.5px; color:var(--faint); font-weight:400; letter-spacing:0; }
  .tbl td { padding:10px 10px; border-bottom:1px solid var(--line); white-space:nowrap; vertical-align:middle; }
  .tbl tbody tr { cursor:pointer; } .tbl tbody tr:hover td { background:var(--row-hover); }
  .tbl.ro tbody tr { cursor:default; }
  .tbl tr:last-child td { border-bottom:0; }
  .tbl tr.cur td, .tbl tr.foc td { background:var(--blue-bg); } .tbl tr.sel td { background:var(--row-sel); }
  .tbl tr.x td, .tbl tr.fc td { color:var(--muted); } .tbl tr.canc td { color:var(--faint); } .tbl tr.now td { background:var(--s2); }
  .tbl tr.x td .tag.pr, .tbl tr.x td .tag.co, .tbl tr.x td .tag.srctag { opacity:.6; }
  .tbl td.chk, .tbl th.chk { width:34px; padding-inline-end:4px; } .tbl th.chk button, .tbl td.chk button { display:inline-flex; padding:2px; }
  .tbl td.d { color:var(--muted); font-size:12.5px; } .tbl td.c { font-weight:500; } .tbl td.m { color:var(--ink-2); } .tbl td.a, .tbl td.num { text-align:start; } .tbl td.q { color:var(--warn); font-family:var(--mono); } .tbl td.dash { color:var(--faint); }
  .tbl td.cl button { color:var(--ink); font-weight:500; } .tbl td.cl button:hover { color:var(--blue-2); text-decoration:underline; text-underline-offset:3px; }
  .tbl td.am small { color:var(--muted); font-size:12.5px; } .tbl td .sub { display:block; font-size:12.5px; color:var(--muted); }
  .tbl td.wrap { white-space:normal; min-width:180px; font-size:12.5px; line-height:1.45; }
  .tbl td.in input { width:110px; border:1px solid var(--line-2); border-radius:7px; padding:4px 8px; background:var(--bg); color:var(--ink); font:inherit; font-size:13px; outline:none; text-align:start; }
  .tbl td.in input:focus { outline:2px solid var(--pink); outline-offset:1px; } .tbl td.in input[disabled] { opacity:.6; border-style:dashed; }
  .tbl td.acts { width:120px; text-align:left; } .tbl td.acts .ra { display:inline-flex; gap:4px; opacity:0; transition:opacity .12s; }
  .tbl tr:hover td.acts .ra, .tbl tr.cur td.acts .ra, .tbl tr:focus-within td.acts .ra { opacity:1; }
  .tbl td.acts .ra button { padding:2px 8px; border-radius:6px; border:1px solid var(--line-2); font-size:12.5px; color:var(--ink-2); } .tbl td.acts .ra button.pri { border-color:var(--pink-line); color:var(--pink-2); }
  .tbl tr.gh td, .tbl tr.setg td { background:var(--s3); color:var(--ink-2); font-weight:500; font-size:12.5px; padding:5px 10px; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); cursor:default; }
  .tbl tr.gh:hover td { background:var(--s3); }
  .tbl tr.gh td .ghx { display:flex; align-items:center; gap:8px; } .tbl tr.gh td .ghx .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); background:var(--s2); border-radius:10px; padding:0 6px; font-weight:400; } .tbl tr.gh td .ghx .gap { flex:1; } .tbl tr.gh td .ghx .btn.sm { padding:2px 9px; font-size:12.5px; font-weight:500; pointer-events:auto; }
  .tbl tfoot td { border-top:1px solid var(--line-2); background:var(--s2); font-weight:600; color:var(--ink); }
  .tbl.tt { font-size:13.5px; } .tbl.tt td, .tbl.tt th { padding:9px 12px; }
  .tbl.pv td.num, .tbl.pv th { white-space:nowrap; }
  .tfoot { display:flex; justify-content:space-between; align-items:center; padding:8px 12px; font-size:12.5px; color:var(--muted); border-top:1px solid var(--line); } .tfoot button { color:var(--blue-2); } .tfoot .scope i { font-style:normal; color:var(--faint); margin:0 5px; }
  .tbl-foot { margin-top:10px; display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--muted); }
  .mindw { position:sticky; top:42px; height:0; z-index:4; display:flex; justify-content:flex-start; padding-inline-start:12px; pointer-events:none; }
  .mind { display:inline-flex; align-items:center; background:var(--s3); border:1px solid var(--line-2); border-radius:999px; padding:2px 10px; font-size:12.5px; color:var(--ink-2); box-shadow:var(--shadow); } .mind[hidden] { display:none; }
  .bulk, .selbar { display:flex; align-items:center; gap:10px; padding:8px 12px; border-radius:10px; font-size:12.5px; color:var(--ink); }
  .bulk { background:var(--s3); border:1px solid var(--line-2); box-shadow:var(--shadow); } .selbar { background:var(--pink-bg); border:1px solid var(--pink-line); }
  .bulk b, .selbar b { font-weight:600; } .bulk .gap, .selbar .sp { flex:1; } .bulk .btn, .selbar .btn { height:30px; padding:0 10px; font-size:12.5px; } .selbar .lnk { color:var(--muted); font-size:12.5px; }
  /* משפחת tag אחת (Freeze 2, חלופה A): גובה 22, רדיוס 7; סטטוס מלא › מוצר tint › חברה מסגרת בצבע החברה */
  .tag { display:inline-flex; align-items:center; justify-content:center; gap:6px; height:24px; padding:0 10px; border-radius:var(--r-xs); font-size:12.5px; font-weight:500; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border:1px solid transparent; vertical-align:middle; }
  .tag.w-st { width:92px; } .tag.w-pr { width:138px; } .tag.w-co { width:122px; }
  .tag i.d { width:6px; height:6px; border-radius:50%; background:currentColor; flex:none; }
  .tag.st.ok { background:var(--ok-bg); color:var(--ok); } .tag.st.wip { background:var(--s3); color:var(--ink); } .tag.st.wip i.d { background:var(--warn); } .tag.st.off { background:var(--s2); color:var(--muted); } .tag.st.off i.d { background:var(--faint); }
  .tag.st.ap { background:var(--warn-bg); color:var(--warn); width:auto; padding:0 9px; } .tag.st.ap i.d { background:var(--warn); } .tag.st.c1 { background:var(--s3); color:var(--muted); width:auto; padding:0 9px; } .tag.st.c1 i.d { background:var(--faint); }
  .tag.st .dt { font-family:var(--mono); font-size:12.5px; font-weight:400; opacity:.85; }
  .tag.A.pr.gemel, .tag.A.pr.hish { background:var(--fam-gemel-bg); } .tag.A.pr.pension { background:var(--fam-pension-bg); } .tag.A.pr.ins, .tag.A.pr.travel { background:var(--fam-ins-bg); }
  .tag.A.co { border-width:1px; border-style:solid; background:transparent; border-color:var(--line-2); }   /* צבע החברה נכנס ב-style="border-color" */
  .tag.pay { background:var(--s2); color:var(--ink-2); border-color:var(--line-2); width:118px; } .tag.pay.received { background:var(--s3); color:var(--ink); } .tag.pay.none { color:var(--muted); }
  .tag.flag { background:transparent; border:1px solid var(--line-2); color:var(--muted); height:22px; padding:0 7px; font-size:12.5px; border-radius:6px; } .tag.flag.calc { font-family:var(--mono); } .tag.flag.ex { border-style:dashed; }
  .tag.sm { height:22px; padding:0 7px; font-size:12.5px; border-radius:6px; } .tag.m { height:22px; padding:0 8px; font-size:12.5px; width:auto; min-width:0; }
  .tag.st2 { background:var(--s2); color:var(--ink-2); border-color:var(--line-2); } .tag.st2.s-done { background:var(--s3); color:var(--ink); } .tag.st2.none { color:var(--muted); }
  .tag.open { background:var(--blue-bg); color:var(--blue-2); border-color:transparent; }
  .tag.rec { background:var(--note-bg); color:var(--note); } .tag.flag.gap { color:var(--warn); border-color:var(--warn-line); }
  .flags { display:inline-flex; gap:4px; flex-wrap:wrap; }
  .pill { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:500; padding:2.5px 9px; border-radius:999px; } .pill i { width:6px; height:6px; border-radius:50%; display:inline-block; background:currentColor; }
  .pill.ok { color:var(--ok); background:var(--ok-bg); } .pill.wip { color:var(--ink-2); background:var(--s3); } .pill.wip i { background:var(--warn); } .pill.off { color:var(--muted); background:var(--s2); }
  .pf { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; --pfc:var(--faint); }
  .pf.gemel, .pf.hish { --pfc:var(--fam-gemel); } .pf.pension { --pfc:var(--fam-pension); } .pf.ins, .pf.travel { --pfc:var(--fam-ins); }
  .pf.mark::before { content:""; width:11px; height:4px; border-radius:2px; background:var(--pfc); flex:none; }
  .sig { display:inline-flex; color:var(--warn); } .sig.calc { color:var(--muted); } .sig button { color:inherit; display:inline-flex; padding:2px; border-radius:6px; } .sig button:hover { background:var(--warn-bg); } .sig svg.i { width:16px; height:16px; }
  .chip { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--ink-2); background:var(--s1); border:1px solid var(--line); border-radius:999px; padding:5px 11px; } .chip svg.i { width:14px; height:14px; }
  .chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
  .chips .ch { padding:4px 11px; border-radius:999px; border:1px solid var(--line-2); font-size:12.5px; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; background:var(--bg); }
  .chips .ch:hover { border-color:var(--ink-2); color:var(--ink); }
  .chips .ch.on { background:var(--s-acc); border-color:var(--s-acc-sel); color:var(--s-acc-ink); font-weight:600; }   /* בחירה על משטח הדגש; ורוד רק לפעולה הראשית (v21 pending 77). בכהה המשטח והרקע באותו גוון נייבי, ולכן מסגרת בהירה (--s-acc-sel) ומשקל 600 (ממצא היעדים: ניגודיות 1.12) */
  .chips .ch i { width:7px; height:7px; border-radius:2px; display:inline-block; }
  .chips .ch .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); } .chips .ch.on .cnt { color:var(--s-acc-muted); }
  .chips .ch.x { border-style:dashed; color:var(--muted); } .chips .ch.x svg.i { width:12px; height:12px; }
  .chips.quick .ch, .chips.sq .ch { border-radius:var(--r-xs); padding:4px 10px; }
  .chips .ch.ot { border-style:dashed; } .chips .ch.ot.on { border-style:solid; }
  .chips .d { font-size:12.5px; color:var(--faint); margin-inline-start:auto; }
  .scope { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
  .scope .a { display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 9px; border-radius:var(--r-xs); font-size:12.5px; border:1px solid var(--line-2); color:var(--ink-2); background:var(--s2); }
  .scope .a i { width:8px; height:8px; border-radius:2px; display:inline-block; } .scope .a button { color:var(--muted); display:inline-flex; } .scope .a button:hover { color:var(--bad); } .scope .a button svg.i { width:12px; height:12px; }
  .scope .add { display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 9px; border-radius:var(--r-xs); border:1px dashed var(--line-2); font-size:12.5px; color:var(--blue-2); } .scope .add svg.i { width:12px; height:12px; } .scope .none { color:var(--faint); font-size:12.5px; }

  /* ── 6 · שדות, בוררים, כפתורים ── */
  .btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; height:32px; padding:0 13px; border-radius:var(--r-s); border:1px solid var(--line-2); color:var(--ink-2); font-size:13px; font-weight:500; white-space:nowrap; background:var(--s1); }
  .btn:hover { background:var(--s2); color:var(--ink); border-color:var(--line-2); }
  .btn.pri { background:var(--pink); border-color:var(--pink); color:#fff; font-weight:600; box-shadow:0 8px 18px -10px var(--pink-shadow); } .btn.pri:hover { background:var(--pink-2); border-color:var(--pink-2); }
  .btn.sec { background:var(--blue-bg); border-color:var(--blue-line); color:var(--blue-2); } .btn.sec:hover { color:var(--ink); }
  .btn.sm { height:28px; padding:0 10px; font-size:12.5px; border-radius:var(--r-xs); } .btn.lg { height:40px; padding:0 18px; font-size:14px; border-radius:11px; }
  .btn.ghost { border-color:transparent; background:transparent; color:var(--muted); } .btn.ghost:hover { background:var(--s2); color:var(--ink); }
  .btn.warn { color:var(--warn); border-color:var(--warn-line); background:transparent; } .btn.warn:hover { background:var(--warn-bg); color:var(--warn); } .btn.warn.pri { background:var(--warn); border-color:var(--warn); color:#0b0f17; }
  .btn.dng { color:var(--bad); border-color:var(--bad-line); background:transparent; } .btn.dng:hover { background:var(--bad-bg); color:var(--bad); } .btn.dng.pri { background:var(--bad); border-color:var(--bad); color:#fff; }
  .btn[disabled], .btn[aria-disabled="true"] { opacity:.45; cursor:not-allowed; box-shadow:none; }
  .btn .cnt { font-family:var(--mono); font-size:12.5px; background:var(--pink); color:#fff; border-radius:10px; padding:0 6px; } .btn.pri .cnt { background:rgba(255,255,255,.22); }
  .btn svg.i { width:15px; height:15px; }
  .ib { width:30px; height:30px; border-radius:8px; display:inline-grid; place-items:center; color:var(--muted); border:1px solid var(--line); background:var(--bg); } .ib:hover { color:var(--ink); border-color:var(--line-2); background:var(--s2); }
  .ib.sm { width:24px; height:24px; border-radius:6px; border-color:transparent; background:transparent; } .ib.sm.tip { cursor:help; } .ib svg.i { width:15px; height:15px; } .ib.sm svg.i { width:14px; height:14px; }
  .ib[aria-expanded="true"] { background:var(--s3); color:var(--ink); border-color:var(--line-2); }
  .lnk { font-size:12.5px; color:var(--pink-2); display:inline-flex; align-items:center; gap:4px; font-weight:500; } .lnk:hover { text-decoration:underline; text-underline-offset:3px; } .lnk svg.i { width:13px; height:13px; }
  .lk { color:var(--blue-2); } .lk:hover { text-decoration:underline; text-underline-offset:3px; }
  .flds { display:grid; grid-template-columns:1fr 1fr; gap:10px 12px; }
  .fld { display:grid; gap:4px; min-width:0; } .fld.w { grid-column:span 2; }
  .fld label { font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:6px; } .fld label .hint { margin-inline-start:auto; font-family:var(--mono); font-size:12.5px; color:var(--faint); }
  .fld .in { border:1px solid var(--line-2); border-radius:8px; padding:6px 10px; font-size:13px; background:var(--bg); min-height:34px; display:flex; align-items:center; gap:6px; min-width:0; }   /* min-width:0: בתא רשת צר העטיפה מתכווצת (תאריך + לוח היה 231px ונכנס לשדה השכן; ממצא המכירות 24/10) */
  .fld .in input, .fld .in select, .fld .in textarea { flex:1; min-width:0; background:transparent; border:0; color:var(--ink); font:inherit; outline:none; padding:0; } .fld .in input::placeholder { color:var(--faint); }
  .fld .in:focus-within, .fld .in.focus { outline:2px solid var(--pink); outline-offset:1px; border-color:transparent; }
  .fld .in.ro, .fld .in.auto { background:transparent; border-style:dashed; color:var(--ink-2); } .fld .in.miss { border-color:var(--warn); color:var(--muted); } .fld .in.miss .u { color:var(--warn); }
  .fld .in .u { color:var(--muted); font-size:12.5px; margin-inline-start:auto; } .fld .in .ph { color:var(--faint); } .fld .in .sel { margin-inline-start:auto; color:var(--faint); display:inline-flex; } .fld .in .sel svg.i { width:13px; height:13px; }
  .fld.err .in { border-color:var(--bad); } .fld .msg { font-size:12.5px; color:var(--bad); display:flex; align-items:center; gap:5px; } .fld .msg svg.i { width:12px; height:12px; } .fld .help { font-size:12.5px; color:var(--muted); line-height:1.45; }
  .fld textarea { min-height:60px; resize:vertical; line-height:1.45; }
  select.in, .fw select { width:100%; background:var(--bg); border:1px solid var(--line-2); border-radius:8px; padding:6px 10px; color:var(--ink); font:inherit; font-size:13px; outline:none; min-height:34px; } .fw select:focus { outline:2px solid var(--pink); outline-offset:1px; }
  .pick { position:relative; } .pick .pv { border:1px solid var(--line-2); border-radius:8px; padding:5px 10px; min-height:34px; display:flex; align-items:center; gap:8px; background:var(--bg); font-size:13px; width:100%; text-align:start; }
  .pick .pv .sel { margin-inline-start:auto; color:var(--faint); display:inline-flex; } .pick .pv .sel svg.i { width:13px; height:13px; } .pick .pv[aria-expanded="true"] { outline:2px solid var(--pink); outline-offset:1px; } .pick .pv .ph { color:var(--faint); }
  .grp { display:grid; gap:8px; } .grp > .gl { font-size:12.5px; color:var(--muted); letter-spacing:.03em; display:flex; align-items:center; gap:8px; } .grp > .gl .ctxt { margin-inline-start:auto; font-family:var(--mono); font-size:12.5px; color:var(--faint); }
  .grp.ap { border:1px dashed var(--warn-line); border-radius:var(--r-s); padding:10px 12px; } .grp.ap .gl { color:var(--warn); } .grp.danger { border:1px dashed var(--bad-line); border-radius:var(--r-s); padding:10px 12px; } .grp.danger .gl { color:var(--bad); }
  .cb { width:16px; height:16px; border-radius:4px; border:1.5px solid var(--line-2); display:inline-grid; place-items:center; color:#fff; font-size:12.5px; vertical-align:middle; position:relative; flex:none; background:var(--bg); }
  .cb.on, [role="checkbox"][aria-checked="true"] > .cb, button[aria-selected="true"] > .cb { background:var(--pink); border-color:var(--pink); }
  .cb.on::after, [role="checkbox"][aria-checked="true"] > .cb::after { content:""; position:absolute; left:4.5px; top:1.5px; width:4px; height:8px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
  .cb.r { border-radius:50%; }
  .rads { display:grid; gap:6px; } .rads.h { grid-template-columns:repeat(3,1fr); }
  .rad { display:grid; grid-template-columns:18px minmax(0,1fr); gap:9px; align-items:start; padding:9px 11px; border:1px solid var(--line-2); border-radius:var(--r-s); text-align:start; width:100%; background:var(--bg); }
  .rad .o { width:16px; height:16px; border-radius:50%; border:1.5px solid var(--line-2); margin-top:2px; position:relative; }
  .rad[aria-checked="true"] { border-color:var(--pink-line); background:var(--pink-bg); } .rad[aria-checked="true"] .o { border-color:var(--pink); } .rad[aria-checked="true"] .o::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--pink); }
  .rad b { font-size:13px; font-weight:600; color:var(--ink); display:block; } .rad span.d { font-size:12.5px; color:var(--muted); line-height:1.45; display:block; } .rad[aria-disabled="true"] { opacity:.5; cursor:not-allowed; }
  .sw { width:34px; height:20px; border-radius:999px; background:var(--s3); border:1px solid var(--line-2); position:relative; display:inline-block; vertical-align:middle; }
  .sw::after { content:''; position:absolute; top:2px; inset-inline-start:2px; width:14px; height:14px; border-radius:50%; background:var(--muted); transition:.15s; }
  .sw[aria-checked="true"] { background:var(--pink-bg); border-color:var(--pink-line); } .sw[aria-checked="true"]::after { background:var(--pink); transform:translateX(-14px); }
  .seg3 { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line-2); border-radius:8px; overflow:hidden; background:var(--bg); }
  .seg3 button { padding:7px 6px; font-size:13px; color:var(--muted); border-inline-start:1px solid var(--line); } .seg3 button:first-child { border:0; }
  .seg3 button[aria-pressed="true"] { background:var(--s3); color:var(--ink); font-weight:500; } .seg3 button[aria-pressed="true"].closed { color:var(--ok); }
  .step .no { width:24px; height:24px; border-radius:50%; background:var(--pink-bg); color:var(--pink-2); border:1px solid var(--pink-line); display:inline-grid; place-items:center; font-family:var(--mono); font-size:12.5px; font-weight:600; }

  /* ── 7 · שכבות: פופאובר, תפריט, דיאלוג, drawer, Pattern B, toast ── */
  .popw { position:relative; }
  .period .pp, .popw .pp, .pp { position:absolute; top:calc(100% + 4px); inset-inline-start:0; min-width:220px; width:max-content; max-width:460px; max-height:320px; overflow:auto; background:var(--s2); border:1px solid var(--line-2); border-radius:12px; box-shadow:var(--shadow-2); padding:6px; z-index:12; display:grid; gap:1px; text-align:start; }
  .pp .g { font-size:12.5px; color:var(--faint); letter-spacing:.04em; padding:6px 8px 2px; }
  .pp button.it, .pp .it { text-align:start; padding:7px 10px; border-radius:7px; font-size:13px; color:var(--ink-2); display:flex; align-items:center; gap:8px; white-space:nowrap; width:100%; }
  .pp button.it:hover, .pp button.it[aria-selected="true"] { background:var(--s3); color:var(--ink); }
  .pp button.it .cnt { margin-inline-start:auto; font-family:var(--mono); font-size:12.5px; color:var(--muted); }
  .pp button.it .cb { width:14px; height:14px; } .pp .sep { height:1px; background:var(--line); margin:4px 2px; }
  .pp .foot { display:flex; gap:8px; justify-content:space-between; padding:6px 6px 2px; font-size:12.5px; color:var(--muted); } .pp .foot button { color:var(--blue-2); }
  .pp .mgrid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:2px; max-height:260px; overflow:auto; padding:4px; }
  .menu { position:relative; }
  .menu .pop { position:absolute; top:calc(100% + 6px); inset-inline-end:0; width:290px; background:var(--s2); border:1px solid var(--line-2); border-radius:12px; box-shadow:var(--shadow-2); padding:6px; z-index:9; display:grid; gap:2px; }
  .menu .pop button { text-align:start; padding:7px 10px; border-radius:7px; font-size:13px; color:var(--ink-2); display:flex; align-items:center; gap:8px; width:100%; } .menu .pop button:hover { background:var(--s3); color:var(--ink); }
  .menu .pop .sep { height:1px; background:var(--line); margin:4px 2px; } .menu .pop .lbl { font-size:12.5px; color:var(--faint); padding:4px 10px 0; letter-spacing:.04em; } .menu .pop button.warn { color:var(--warn); } .menu .pop button svg.i { width:14px; height:14px; }
  .cols { position:absolute; top:calc(100% + 8px); inset-inline-end:0; width:250px; background:var(--s2); border:1px solid var(--line-2); border-radius:12px; box-shadow:var(--shadow-2); padding:8px; z-index:8; display:grid; gap:2px; font-size:12.5px; }
  .cols .c { display:flex; align-items:center; gap:8px; padding:5px 6px; border-radius:6px; } .cols .c .h { color:var(--faint); font-family:var(--mono); font-size:12.5px; cursor:grab; } .cols .c .lk { margin-inline-start:auto; font-family:var(--mono); font-size:12.5px; color:var(--faint); } .cols .c.off { color:var(--muted); }
  .cols .foot { display:flex; justify-content:space-between; padding:6px 6px 2px; border-top:1px solid var(--line); margin-top:4px; color:var(--muted); font-size:12.5px; } .cols .foot button { color:var(--blue-2); }
  .filt { position:absolute; top:calc(100% + 8px); inset-inline-end:0; width:min(920px,100%); background:var(--s2); border:1px solid var(--line-2); border-radius:12px; box-shadow:var(--shadow-2); padding:14px 16px 12px; z-index:8; display:grid; gap:12px; }
  .filt .cols4 { display:grid; grid-template-columns:1.1fr 1fr 1fr .9fr; gap:16px; }
  .filt .fg .fl { font-size:12.5px; color:var(--muted); letter-spacing:.03em; margin-bottom:6px; display:flex; justify-content:space-between; } .filt .fg .fl span { color:var(--faint); font-family:var(--mono); font-size:12.5px; }
  .filt .ck { display:flex; align-items:center; gap:8px; padding:4px 2px; font-size:12.5px; color:var(--ink-2); } .filt .ck .cb { flex:none; } .filt .ck.grp { color:var(--muted); font-size:12.5px; margin-top:4px; } .filt .ck.grp i { width:8px; height:8px; border-radius:2px; display:inline-block; }
  .filt .seg { display:grid; gap:4px; padding:0; border:0; background:transparent; box-shadow:none; } .filt .seg button { text-align:start; padding:5px 9px; border-radius:7px; font-size:12.5px; color:var(--ink-2); border:1px solid transparent; } .filt .seg button[aria-pressed="true"] { background:var(--pink-bg); color:var(--pink-2); border-color:var(--pink-line); box-shadow:none; }
  .filt .more { display:flex; align-items:center; gap:8px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:10px; font-size:12.5px; } .filt .more .lbl { color:var(--muted); font-size:12.5px; } .filt .more .mf { padding:4px 10px; border:1px solid var(--line-2); border-radius:8px; color:var(--ink-2); font-size:12.5px; }
  .filt .ff { display:flex; align-items:center; gap:8px; justify-content:flex-end; } .filt .ff .hint { margin-inline-end:auto; color:var(--muted); font-size:12.5px; }
  .scrim { position:absolute; inset:0; background:var(--scrim); display:flex; align-items:center; justify-content:center; z-index:9; }
  .dlg { width:440px; max-width:94%; background:var(--s1); border:1px solid var(--line-2); border-radius:16px; box-shadow:var(--shadow-2); padding:18px 20px; display:grid; gap:12px; }
  .dlg.wide { width:640px; } .dlg.xwide { width:720px; }
  .dlg h3 { margin:0; font-size:16px; font-weight:600; } .dlg h3.dng { color:var(--bad); } .dlg h3.warn { color:var(--warn); }
  .dlg .sub { font-size:12.5px; color:var(--muted); line-height:1.5; } .dlg .row { display:flex; gap:8px; justify-content:flex-end; margin-top:4px; } .dlg .row .sp { flex:1; }
  .dlg ul { margin:0; padding:0 18px 0 0; color:var(--ink-2); font-size:13px; }
  .dlg .cons { background:var(--s2); border:1px solid var(--line); border-radius:8px; padding:8px 12px; font-size:12.5px; color:var(--ink-2); display:grid; gap:4px; } .dlg .cons b { color:var(--ink); } .dlg .cons.warn { border-color:var(--bad-line); } .dlg .cons.warn b, .dlg .cons .left { color:var(--bad); }
  .dlg .opts { display:grid; gap:6px; } .dlg .opt { display:flex; align-items:center; gap:10px; text-align:start; font-size:12.5px; color:var(--ink-2); padding:7px 9px; border-radius:8px; border:1px solid var(--line); background:var(--s1); } .dlg .opt[aria-checked="true"] { border-color:var(--pink-line); background:var(--pink-bg); } .dlg .opt i { display:block; font-style:normal; font-size:12.5px; color:var(--faint); }
  .ovl { width:min(760px,90%); min-height:340px; background:var(--s1); border:1px solid var(--line-2); border-radius:16px; box-shadow:var(--shadow-2); padding:18px 22px; display:grid; align-content:start; gap:10px; }
  .ovl .oh { display:flex; align-items:center; gap:10px; } .ovl .oh h3 { margin:0; font-size:18px; font-weight:600; } .ovl .oh .x { margin-inline-start:auto; color:var(--muted); display:inline-flex; }
  .ovl.big { width:min(980px,94%); min-height:0; padding:0; } .ovl.big .oh { padding:14px 22px; border-bottom:1px solid var(--line); } .ovl.big .ob { padding:16px 22px; display:grid; grid-template-columns:1fr 1fr; gap:18px 26px; } .ovl.big .of { padding:12px 22px 14px; border-top:1px solid var(--line); display:flex; gap:8px; align-items:center; } .ovl.big .of .sp { flex:1; }
  .drawer { background:var(--s1); border:1px solid var(--line-2); border-radius:var(--r); display:flex; flex-direction:column; box-shadow:var(--shadow-2); position:sticky; top:12px; }
  .drawer .dh { padding:12px 16px 10px; border-bottom:1px solid var(--line); display:grid; gap:4px; } .drawer .dh .row { display:flex; align-items:center; gap:8px; }
  .drawer .dh .mode { font-size:12.5px; font-weight:500; color:var(--pink); letter-spacing:.02em; } .drawer .dh .x { margin-inline-start:auto; color:var(--muted); display:inline-flex; }
  .drawer .dh h2 { margin:0; font-size:16px; font-weight:600; display:flex; align-items:center; gap:8px; } .drawer .dh h2 .id { font-family:var(--mono); font-size:12.5px; color:var(--faint); font-weight:400; }
  .drawer .dh .meta { color:var(--muted); font-size:12.5px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; } .drawer .dh .meta i { display:inline-block; width:8px; height:8px; border-radius:2px; }
  .drawer .db { padding:12px 16px; display:grid; gap:14px; flex:1; } .drawer .df { padding:10px 16px; border-top:1px solid var(--line); display:flex; align-items:center; gap:8px; } .drawer .df .sp { flex:1; } .drawer .df .lnk { color:var(--muted); font-size:12.5px; } .drawer .acts2 { display:grid; gap:6px; } .drawer .acts2 .btn { justify-content:flex-start; }
  .queue { display:grid; gap:6px; padding:10px 16px; background:var(--s2); border-bottom:1px solid var(--line); } .queue .row { display:flex; align-items:center; gap:6px; font-size:12.5px; } .queue .row b { font-family:var(--mono); font-weight:500; margin-inline-end:auto; } .queue .bar2 { height:4px; background:var(--track); border-radius:2px; overflow:hidden; } .queue .bar2 i { display:block; height:100%; background:var(--blue); }
  .done { background:var(--s1); border:1px solid var(--line-2); border-radius:var(--r); padding:18px; display:grid; gap:12px; box-shadow:var(--shadow-2); } .done h3 { margin:0; font-size:16px; font-weight:600; } .done .st { display:flex; gap:10px; } .done .st div { flex:1; background:var(--s2); border:1px solid var(--line); border-radius:9px; padding:8px 12px; } .done .st .l { font-size:12.5px; color:var(--muted); } .done .st .v { font-size:22px; font-weight:600; } .done .row { display:flex; gap:8px; justify-content:flex-end; }
  /* Pattern B · overlay עם header קבוע ושני אזורי גלילה (תיק לקוח, התחשבנות) */
  .frame.file .main, .frame.com .main { padding:22px 28px 30px; position:relative; height:var(--h, 820px); overflow:hidden; }
  .bd { display:flex; flex-direction:column; gap:16px; } .bd.dim { position:absolute; inset:22px 28px 30px; overflow:hidden; opacity:.45; filter:saturate(.6); pointer-events:none; }
  .fscrim { position:absolute; inset:0; z-index:20; background:var(--scrim); display:flex; justify-content:center; align-items:stretch; padding:16px 24px; }
  .ovfile { width:min(1180px,100%); height:100%; min-height:0; background:var(--s1); border:1px solid var(--line-2); border-radius:16px; box-shadow:var(--shadow-2); display:flex; flex-direction:column; position:relative; overflow:hidden; }
  .fh { flex:none; padding:12px 20px 10px; border-bottom:1px solid var(--line-2); display:grid; gap:5px; position:relative; z-index:7; background:var(--s1); }
  .fh .r1 { display:flex; align-items:center; gap:14px; } .fh .who { display:flex; align-items:center; gap:12px; flex-wrap:wrap; min-width:0; flex:1; }
  .fh .eye { font-family:var(--mono); font-size:12.5px; color:var(--faint); letter-spacing:.08em; } .fh h1 { margin:0; font-size:25px; font-weight:700; letter-spacing:-.01em; line-height:1.1; } .fh .tz { font-family:var(--mono); font-size:12.5px; color:var(--muted); }
  .fh .chip.left { display:inline-flex; align-items:center; gap:6px; height:25px; padding:0 11px; border-radius:7px; font-size:12.5px; font-weight:600; color:var(--bad); background:var(--bad-bg); border:1px solid var(--bad-line); } .fh .chip.left svg.i { width:13px; height:13px; }
  .fh .acts { display:flex; align-items:center; gap:8px; } .fh .acts .btn[aria-pressed="true"] { background:var(--s2); color:var(--ink); border-color:var(--line-2); } .fh .acts .x { color:var(--muted); display:inline-flex; padding:5px; border-radius:7px; margin-inline-start:2px; } .fh .acts .x:hover { background:var(--s2); color:var(--ink); }
  .fh .r2 { font-size:12.5px; color:var(--muted); display:flex; flex-wrap:wrap; align-items:center; gap:3px 0; } .fh .r2 b { color:var(--ink-2); font-weight:500; } .fh .r2 .sp { color:var(--faint); margin:0 10px; } .fh .r2 .mixd { color:var(--warn); }
  .ovbody { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr); position:relative; } .ovbody.open { grid-template-columns:minmax(0,1fr) 430px; }
  .lreg { min-height:0; overflow:auto; padding:14px 20px 22px; display:flex; flex-direction:column; gap:14px; } .lreg > * { flex:none; }
  .dreg { min-height:0; border-inline-start:1px solid var(--line-2); background:var(--s1); display:flex; flex-direction:column; } .dreg .drawer, .dreg .done { position:static; height:100%; min-height:0; border:0; border-radius:0; box-shadow:none; background:var(--s1); } .dreg .drawer .db { overflow:auto; min-height:0; } .dreg .drawer .df { flex:none; background:var(--s1); }
  .ovfile .tblwrap { overflow:visible; background:var(--s2); } .ovfile .tbl thead th { top:-14px; }
  .ff { flex:none; border-top:1px solid var(--line-2); background:var(--s1); padding:10px 20px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; } .ff .sums { display:flex; gap:18px; flex-wrap:wrap; font-size:12.5px; color:var(--muted); } .ff .sums b { color:var(--ink); font-weight:600; margin-inline-start:4px; } .ff .sums .bad b { color:var(--bad); } .ff .sp { flex:1; } .ff .why { font-size:12.5px; color:var(--muted); flex-basis:100%; }
  .toast { position:absolute; bottom:18px; inset-inline-start:50%; transform:translateX(50%); background:var(--s3); border:1px solid var(--line-2); border-radius:10px; padding:8px 14px; font-size:12.5px; color:var(--ink); box-shadow:var(--shadow-2); z-index:30; max-width:80%; }
  .toast b { color:var(--pink-2); font-size:12.5px; margin-inline-end:8px; font-weight:600; }

  /* ── 8 · התקדמות ומדדים (X-23, X-24, GOA-13) ── */
  .prog { height:6px; background:var(--track); border-radius:999px; overflow:hidden; }
  .prog i { display:block; height:100%; border-radius:999px; background:var(--prog-measure); }
  .prog.done i { background:var(--prog-done); } .prog.fail i { background:var(--prog-fail); } .prog.pink i { background:var(--pink); }
  .prog.thin { height:4px; } .prog.thick { height:10px; }
  .prog .today { position:relative; } .prog-wrap { position:relative; } .prog-wrap .tick { position:absolute; top:-3px; bottom:-3px; width:2px; background:var(--ink-2); border-radius:1px; }
  .tl { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; } .tl i { width:9px; height:9px; border-radius:50%; display:inline-block; }
  .tl.ok { color:var(--ok); } .tl.ok i { background:var(--ok); } .tl.warn { color:var(--warn); } .tl.warn i { background:var(--warn); } .tl.bad { color:var(--bad); } .tl.bad i { background:var(--bad); }
  .m-scope { color:var(--m-scope-t); } .m-trail { color:var(--m-trail-t); } .m-points { color:var(--m-points-t); } .m-recv { color:var(--m-recv-t); }
  .bar3 { display:inline-block; width:calc(100% - 44px); height:10px; background:var(--track); border-radius:5px; overflow:hidden; vertical-align:middle; } .bar3 i { display:block; height:100%; border-radius:5px; background:var(--blue); }

  /* ── 9 · גרפים: מנוע ה-SVG הנמתח עם טקסט HTML (Wireframe הדוחות V3), עמודות החודשים, קו המגמה, דונאט, פילוחים ── */
  .rc { position:relative; height:190px; overflow:visible; margin:6px 0 22px; } .rc svg { position:absolute; inset:0; width:100%; height:100%; display:block; overflow:visible; }
  .rc.sec { height:74px; margin-bottom:6px; } .rc.sec.bars { height:88px; } .rc.sec.ev2 { height:92px; } .rc.empty { height:auto; }
  .rc .lv { position:absolute; transform:translate(-50%,-160%); font-family:var(--font); font-size:12.5px; font-weight:600; color:var(--ink); white-space:nowrap; direction:ltr; pointer-events:none; } .rc .lv.sm { font-size:12.5px; font-weight:500; color:var(--ink-2); transform:translate(-50%,-150%); }
  .rc .lv.up { transform:translate(-50%,-300%); } .rc .lv.sm.up { transform:translate(-50%,-290%); }
  .rc .pt { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--s1); border:2.5px solid var(--viz-1); transform:translate(-50%,-50%); box-sizing:border-box; } .rc .pt.cur { background:var(--viz-1); } .rc .pt.z { opacity:.4; }
  .rc .pt.sm { width:6px; height:6px; border-width:1.5px; border-color:var(--muted); } .rc .pt.ev { width:8px; height:8px; border-color:var(--ink-2); }
  .rc .pt.s1 { border-color:var(--viz-2); } .rc .pt.s2 { border-color:var(--viz-3); } .rc .pt.s3 { border-color:var(--viz-4); } .rc .pt.s1.cur { background:var(--viz-2); } .rc .pt.s2.cur { background:var(--viz-3); } .rc .pt.s3.cur { background:var(--viz-4); }
  .rc .xa { position:absolute; left:0; right:0; top:100%; height:18px; } .rc .xa span { position:absolute; transform:translateX(-50%); font-size:12.5px; color:var(--muted); white-space:nowrap; direction:ltr; }
  .rc .ln { stroke:var(--viz-1); stroke-width:2.5px; fill:none; stroke-linejoin:round; stroke-linecap:round; } .rc .ln.s1 { stroke:var(--viz-2); } .rc .ln.s2 { stroke:var(--viz-3); } .rc .ln.s3 { stroke:var(--viz-4); }
  .rc .area { fill:var(--viz-1); fill-opacity:.14; } .rc .ln2 { stroke:var(--muted); stroke-width:1.5px; fill:none; } .rc .cmp { stroke:var(--muted); stroke-width:2px; fill:none; stroke-dasharray:5 5; }
  .rc .grid { stroke:var(--grid); stroke-width:1px; } .rc .axis { stroke:var(--line-2); stroke-width:1px; } .rc .stem { stroke:var(--muted); stroke-width:1.5px; }
  .rc .rbar { fill:var(--viz-1); rx:4; } .rc .cmpbar { fill:none; stroke:var(--muted); stroke-dasharray:4 3; stroke-width:1px; }
  .rc .seg { fill:var(--viz-1); } .rc .seg.k1 { fill:var(--viz-2); } .rc .seg.k2 { fill:var(--viz-3); } .rc .seg.k3 { fill:var(--viz-4); } .rc .seg.k4 { fill:var(--viz-5); } .rc .seg.k5 { fill:var(--viz-6); }
  .lg { display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; color:var(--muted); align-items:center; } .lg span { display:inline-flex; align-items:center; gap:6px; } .lg i { width:10px; height:10px; border-radius:3px; display:inline-block; background:var(--viz-1); }
  .lg i.k1 { background:var(--viz-2); } .lg i.k2 { background:var(--viz-3); } .lg i.k3 { background:var(--viz-4); } .lg i.k4 { background:var(--viz-5); } .lg i.k5 { background:var(--viz-6); } .lg .d { color:var(--faint); font-size:12.5px; }
  .months { display:flex; align-items:flex-end; gap:8px; height:120px; padding-top:6px; }
  .months button { flex:1; display:flex; flex-direction:column; align-items:center; gap:5px; height:100%; justify-content:flex-end; }
  .months button i { width:100%; background:var(--viz-1-bg); border:1px solid var(--blue-line); border-radius:4px 4px 0 0; display:block; } .months button.cur i { background:var(--viz-1); border-color:var(--viz-1); } .months button.z i { background:transparent; border-style:dashed; }
  .months button > span:not(.kit-stip) { font-size:12.5px; color:var(--muted); }   /* ישיר בלבד: לא התוויות שבתוך חלונית הריחוף (Clients 23/10) */ .months button b { font-size:12.5px; font-weight:500; color:var(--ink-2); }
  .months.big { height:170px; gap:10px; padding:10px 6px 0; }
  .linec svg { width:100%; height:300px; display:block; overflow:visible; } .linec .grid { stroke:var(--grid); stroke-width:1; } .linec .ln { fill:none; stroke:var(--m-trail); stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round; }
  .linec .pt { fill:var(--s1); stroke:var(--m-trail); stroke-width:2.5; } .linec .pt.cur { fill:var(--m-trail); } .linec .pt.z { opacity:.35; } .linec .v { fill:var(--ink); font-family:var(--font); font-size:12.5px; font-weight:600; text-anchor:middle; } .linec .x { fill:var(--muted); font-family:var(--font); font-size:12.5px; text-anchor:middle; }
  .spark { height:44px; margin-top:10px; } .spark svg { width:100%; height:100%; overflow:visible; }
  .mini { display:flex; align-items:flex-end; gap:8px; height:86px; margin-top:auto; padding-top:20px; } .mini div { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; } .mini i { display:block; width:100%; background:var(--hero-mini); border-radius:4px 4px 0 0; } .mini div.cur i { background:var(--hero-mini-cur); } .mini span { font-size:12.5px; color:var(--muted); }
  .hb { display:grid; gap:4px; } .hb .row { display:grid; grid-template-columns:minmax(120px,1.1fr) minmax(60px,1fr) auto auto auto; gap:10px; align-items:center; font-size:13.5px; padding:4px 6px; border-radius:7px; } .hb .row:hover { background:var(--row-hover); }
  .hb .k { font-weight:500; white-space:normal; } .hb .k i { display:block; font-style:normal; font-size:12.5px; color:var(--faint); } .hb .tr { height:10px; background:var(--track); border-radius:5px; overflow:hidden; } .hb .tr i { display:block; height:100%; background:var(--viz-1); border-radius:5px; }
  .hb b { font-weight:600; text-align:end; font-size:12.5px; } .hb .pc { font-size:12.5px; color:var(--muted); text-align:end; } .hb .n { font-size:12.5px; color:var(--faint); text-align:end; }
  .hb.compact .row { grid-template-columns:minmax(110px,1fr) minmax(40px,1fr) auto auto; } .hb.compact .row .n { display:none; }
  .sl { display:grid; gap:4px; } .sl .row { display:grid; grid-template-columns:minmax(110px,1fr) 46px minmax(50px,1.2fr) auto; gap:10px; align-items:center; font-size:13.5px; padding:4px 6px; border-radius:7px; } .sl .row:hover { background:var(--row-hover); }
  .sl .k { font-weight:500; white-space:normal; } .sl .pc { font-size:14px; font-weight:700; text-align:end; color:var(--ink); } .sl .tr { height:8px; background:var(--track); border-radius:4px; overflow:hidden; } .sl .tr i { display:block; height:100%; border-radius:4px; background:var(--viz-1); } .sl .v { font-size:12.5px; color:var(--muted); text-align:end; white-space:nowrap; }
  .sl.compact .row { font-size:12.5px; gap:8px; padding:3px 4px; } .sl.compact .pc { font-size:13px; }
  .bars { display:grid; gap:7px; } .bars .b { display:grid; grid-template-columns:120px 1fr 66px 40px; align-items:center; gap:10px; font-size:13.5px; cursor:pointer; padding:3px 4px; border-radius:6px; } .bars .b:hover { background:var(--row-hover); }
  .bars .b .t { height:8px; background:var(--track); border-radius:4px; overflow:hidden; } .bars .b .t i { display:block; height:100%; background:var(--viz-1); border-radius:4px; } .bars .b .t i.g { background:var(--fam-gemel); } .bars .b .t i.p { background:var(--fam-pension); } .bars .b .t i.s { background:var(--fam-ins); }
  .bars .b .a { text-align:left; color:var(--muted); font-size:12.5px; } .bars .b .c { text-align:left; } .bars .b.z, .bars .b.z .a, .bars .b.z .c { color:var(--faint); }
  .dwrap { display:flex; align-items:center; gap:22px; } .dchart { position:relative; width:170px; height:170px; flex:none; } .dchart svg { width:100%; height:100%; overflow:visible; } .dchart path { cursor:pointer; transition:opacity .12s; } .dchart.hov path:not(.on) { opacity:.45; }
  .dcenter { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; pointer-events:none; } .dcenter b { font-size:24px; font-weight:600; line-height:1; } .dcenter span { font-size:12.5px; color:var(--muted); margin-top:3px; }
  .dlegend { display:grid; gap:6px; font-size:13.5px; } .dlegend div { display:flex; align-items:center; gap:8px; } .dlegend i { width:10px; height:10px; border-radius:3px; display:inline-block; } .dlegend .n { color:var(--muted); font-family:var(--mono); font-size:12.5px; margin-inline-start:auto; }
  /* v1.5 fix: פס ה-split של המובייל (חדש · קיים · העברה) תחום ל-.phone; לפני כן .split button דרס כפתורים בפריסת .bd.split (הגדרות, עמלות): צבע לבן וטאבים שבורים */
  .phone .split { display:flex; height:34px; border-radius:9px; overflow:hidden; gap:2px; margin:4px 0 12px; } .phone .split button { display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; color:#fff; font-weight:500; } .phone .split button.new { background:var(--viz-1); } .phone .split button.ex { background:var(--viz-3); } .phone .split button.tr { background:var(--s3); color:var(--ink-2); } .phone .split button small { font-weight:400; opacity:.85; font-family:var(--mono); font-size:12.5px; }
  .chart-h { display:flex; align-items:center; gap:12px; } .chart-h .lg { margin-inline-start:auto; } .chart-h .lg i.t { background:none; border-top:2px dashed var(--muted); height:0; border-radius:0; width:14px; }
  .ctip { position:absolute; pointer-events:none; background:var(--s3); border:1px solid var(--line-2); border-radius:8px; padding:6px 10px; font-size:12.5px; box-shadow:var(--shadow); white-space:nowrap; z-index:6; } .ctip b { display:block; font-size:13px; } .ctip span { color:var(--muted); }

  /* ── 10 · מובייל: מעטפת הטלפון, ראש, ניווט תחתון, כרטיסים, שורות, sheets ── */
  .phones { display:grid; grid-template-columns:repeat(auto-fit,390px); gap:22px; justify-content:center; margin-top:14px; } .pcol { display:grid; gap:8px; justify-items:center; } .pcol .pcap { font-family:var(--mono); font-size:12.5px; color:var(--muted); letter-spacing:.04em; text-align:center; } .pcol .pcap b { color:var(--pink); font-weight:600; }
  .phone { position:relative; width:390px; height:844px; border-radius:46px; border:1px solid var(--line-2); background:var(--bg); color:var(--ink); overflow:hidden; box-shadow:var(--shadow-2); display:flex; flex-direction:column; }
  .phone * { scrollbar-width:none; } .phone *::-webkit-scrollbar { display:none; }
  .ph-hdr { padding:56px 20px 12px; display:flex; align-items:center; gap:12px; background:var(--phhdr); }
  .ph-hdr .avatar { width:38px; height:38px; } .ph-hdr .hi { flex:1; min-width:0; } .ph-hdr .hi b { display:block; font-size:19px; font-weight:600; } .ph-hdr .hi span { font-size:13px; color:var(--phhdr-sub); }
  .ph-hdr button.rb { width:40px; height:40px; border-radius:50%; background:var(--s1); border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-2); box-shadow:var(--shadow); } .ph-hdr button.back { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--ink-2); } .ph-hdr .back svg.i { width:18px; height:18px; }
  .ph-body { flex:1; overflow:hidden; padding:4px 0 120px; display:flex; flex-direction:column; gap:12px; } .ph-body > * { flex:none; }
  .phone .px { padding:0 16px; } .phone .card { padding:12px 14px; margin:0 16px; } .phone .card h2 { margin-bottom:8px; }
  .phone .subnav, .phone .period { align-self:flex-start; margin:0 16px; } .phone .period button, .phone .subnav button { padding:6px 12px; font-size:12.5px; }
  .phone .gseg { display:grid; grid-template-columns:1fr 1fr; background:var(--s1); border:1px solid var(--line-2); border-radius:11px; padding:3px; gap:2px; margin:0 0 4px; box-shadow:inset 0 1px 0 var(--hi); } .phone .gseg.three { grid-template-columns:1fr 1fr 1fr; }
  .phone .gseg button { padding:9px; border-radius:8px; font-size:13.5px; color:var(--muted); font-weight:500; } .phone .gseg button[aria-current="page"] { background:var(--s3); color:var(--ink); box-shadow:inset 0 0 0 1px var(--line-2); }
  .phone .mperiod { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:2px; }
  .phone .mperiod .mstep { display:inline-flex; align-items:center; gap:2px; border:1px solid var(--line-2); border-radius:10px; background:var(--s1); padding:2px; } .phone .mperiod .mstep b { min-width:96px; text-align:center; font-size:13.5px; } .phone .mperiod .mstep.on { border-color:var(--pink-line); background:var(--pink-bg); } .phone .mperiod .mstep.on b { color:var(--pink-2); }
  .phone .mperiod .ms { width:32px; height:32px; display:grid; place-items:center; color:var(--muted); border-radius:8px; } .phone .mperiod .ms svg.i { width:14px; height:14px; }
  .phone .mperiod .pm { height:36px; padding:0 12px; border:1px solid var(--line-2); border-radius:10px; background:var(--s1); font-size:12.5px; color:var(--muted); display:inline-flex; align-items:center; gap:5px; font-weight:500; } .phone .mperiod .pm[aria-pressed="true"] { background:var(--pink-bg); color:var(--pink-2); border-color:var(--pink-line); } .phone .mperiod .pm svg.i { width:12px; height:12px; }
  .phone .mper2 { display:inline-flex; align-items:center; height:36px; border-radius:10px; border:1px solid var(--pink-line); background:var(--pink-bg); color:var(--pink-2); font-size:14px; font-weight:500; } .phone .mper2 button { display:grid; place-items:center; width:34px; height:100%; color:var(--pink-2); } .phone .mper2 button svg.i { width:15px; height:15px; } .phone .mper2 b { min-width:118px; text-align:center; font-weight:500; }
  .carousel { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 16px 6px; scroll-padding-inline:16px; }
  .kcard { flex:0 0 84%; scroll-snap-align:start; background:var(--s1); border:1px solid var(--line); border-radius:18px; padding:18px 18px 16px; min-height:218px; display:flex; flex-direction:column; box-shadow:inset 0 1px 0 var(--hi), var(--shadow); }
  .kcard.hero-m { background:var(--hero-bg); border-color:var(--hero-line); color:var(--hero-ink); } .kcard.hero-m h3, .kcard.hero-m .sub, .kcard.hero-m .bigv .of { color:var(--hero-muted); } .kcard.hero-m h3 { color:var(--hero-label); font-weight:600; letter-spacing:.03em; }
  .kcard h3 { margin:0; font-size:12.5px; color:var(--muted); font-weight:500; letter-spacing:.02em; display:flex; align-items:center; gap:6px; } .kcard .top { display:flex; align-items:center; gap:16px; margin-top:14px; } .kcard .bigv .v { font-size:40px; } .kcard .bigv .of { font-size:14px; } .kcard .stat .v { font-size:38px; } .kcard .bottom { margin-top:auto; padding-top:12px; display:flex; align-items:center; gap:10px; }
  .dots { display:flex; justify-content:center; gap:6px; margin-top:-2px; } .dots i { width:6px; height:6px; border-radius:999px; background:var(--faint); transition:.18s; display:inline-block; } .dots i.on { width:20px; background:var(--pink); }
  .ph-list { padding:0 16px; } .ph-list h3 { margin:6px 0 10px; font-size:14.5px; font-weight:600; display:flex; align-items:center; } .ph-list h3 .lnk { margin-inline-start:auto; font-weight:500; }
  .row.m { display:flex; align-items:center; gap:12px; background:var(--s1); border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:8px; box-shadow:inset 0 1px 0 var(--hi); }
  .row.m .ini { width:38px; height:38px; border-radius:50%; background:var(--s3); display:grid; place-items:center; font-weight:600; font-size:13px; color:var(--ink-2); flex:none; } .row.m .tx { flex:1; min-width:0; } .row.m .tx b { display:block; font-size:13.5px; font-weight:600; } .row.m .tx span { display:block; font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .row.m .am { text-align:end; } .row.m .am b { display:block; font-size:13.5px; font-weight:600; margin-bottom:3px; }
  .mlist { padding:0 16px; display:grid; gap:10px; }
  .mcard, .mcard2, .mcard3, .mc, .fcard.m, .arow, .mpv-r, .kt { background:var(--s1); border:1px solid var(--line); border-radius:14px; box-shadow:inset 0 1px 0 var(--hi), var(--shadow); }
  .mcard { padding:11px 12px 11px 14px; display:grid; grid-template-columns:1fr auto; gap:4px 10px; position:relative; }
  .mcard .nm { font-size:14.5px; font-weight:600; display:flex; align-items:center; gap:8px; } .mcard .sub { font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; } .mcard .am { text-align:end; font-size:14px; font-weight:600; } .mcard .am small { color:var(--muted); font-weight:400; font-size:12.5px; } .mcard .st { text-align:end; display:flex; justify-content:flex-end; gap:6px; align-items:center; }
  .mcard.sel, .mc.sel { border-color:var(--pink-line); background:var(--row-sel); }
  .mcard3 { padding:13px 16px 12px; display:grid; gap:6px; } .mcard3 .l1 { display:flex; align-items:baseline; gap:10px; } .mcard3 .l1 b { font-size:16px; font-weight:600; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .mcard3 .l1 .dt { font-size:12.5px; color:var(--muted); } .mcard3 .l2 { font-size:13px; color:var(--muted); }
  .mcard3 .l3 { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; padding-top:8px; border-top:1px solid var(--line); } .mcard3 .l3 span { display:grid; gap:2px; } .mcard3 .l3 i { font-style:normal; font-size:12.5px; color:var(--muted); } .mcard3 .l3 b { font-size:16px; font-weight:600; white-space:nowrap; }
  .mc { padding:11px 14px 10px; cursor:pointer; } .mc .l1 { display:flex; align-items:center; gap:8px; } .mc .l1 b { font-size:15px; font-weight:600; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .mc .l1 .amt { font-size:14px; font-weight:600; white-space:nowrap; } .mc .l1 .amt small { color:var(--muted); font-weight:400; font-size:12.5px; }
  .mc .l2 { display:flex; align-items:center; gap:6px; margin-top:7px; min-width:0; } .mc .l2 .dt { color:var(--muted); font-size:12.5px; margin-inline-start:auto; } .mc .l2 .chev { width:14px; height:14px; color:var(--faint); flex:none; transition:transform .15s; } .mc.open .l2 .chev { transform:rotate(180deg); color:var(--ink-2); } .mc.open { border-color:var(--line-2); }
  .mx { margin-top:10px; padding-top:10px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:8px 12px; } .mx .kv { display:grid; gap:1px; min-width:0; grid-template-columns:none; } .mx .kv span { font-size:12.5px; color:var(--muted); letter-spacing:.02em; } .mx .kv b { font-size:13px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .mx .mact { grid-column:span 2; display:flex; justify-content:flex-end; padding-top:4px; }
  .mtiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:0 16px; } .mtiles .tile { padding:10px 12px; border-radius:12px; } .mtiles .tile .v { font-size:20px; } .mtiles .tile:last-child { grid-column:span 2; }
  .phone .kgrid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; } .kt { grid-column:span 2; padding:8px 10px; display:grid; gap:1px; text-decoration:none; color:var(--ink); min-width:0; border-radius:12px; } .kt.sales, .kt.clients { grid-column:span 3; } .kt .l { font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .kt b { font-size:16px; font-weight:600; white-space:nowrap; letter-spacing:-.01em; }
  .arow { display:flex; align-items:center; gap:10px; width:100%; text-align:start; padding:11px 14px; color:var(--ink); } .arow .tt { flex:1; min-width:0; display:grid; gap:2px; } .arow b { font-size:14.5px; font-weight:600; } .arow small { font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .arow .val { font-size:15px; font-weight:600; white-space:nowrap; } .arow > svg.i { width:16px; height:16px; color:var(--muted); flex:none; }
  .phone .msels { display:flex; gap:8px; } .msel { flex:1; min-width:0; display:flex; align-items:center; gap:6px; height:40px; padding:0 12px; border:1px solid var(--line-2); border-radius:10px; background:var(--s1); text-align:start; color:var(--ink); box-shadow:inset 0 1px 0 var(--hi); } .msel .l { font-size:12.5px; color:var(--muted); flex:none; } .msel b { flex:1; min-width:0; font-size:13.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .msel svg.i { width:14px; height:14px; color:var(--muted); flex:none; } .msel[aria-expanded="true"] { border-color:var(--pink-line); }
  .mtabs { display:flex; gap:4px; overflow-x:auto; padding:0 16px; border-bottom:1px solid var(--line); margin:0; } .mtabs button { padding:8px 10px; font-size:13px; color:var(--muted); white-space:nowrap; border-bottom:2px solid transparent; margin-bottom:-1px; display:flex; align-items:center; gap:5px; } .mtabs button[aria-current="page"] { color:var(--ink); border-bottom-color:var(--pink); } .mtabs button .cnt { font-family:var(--mono); font-size:12.5px; color:var(--muted); background:var(--s2); border-radius:10px; padding:0 5px; }
  .mtools { display:flex; gap:8px; padding:0 16px; align-items:center; } .mtools .ls { flex:1; height:44px; border-radius:12px; display:flex; align-items:center; gap:8px; padding:0 12px; background:var(--search-bg); border:1px solid var(--search-line); color:var(--muted); font-size:14px; } .mtools .btn { height:44px; width:44px; padding:0; border-radius:12px; }
  .phone .mq { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; font-size:13px; background:var(--s1); border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:0; align-items:baseline; box-shadow:inset 0 1px 0 var(--hi); } .phone .mq .l { color:var(--muted); } .phone .mq b { font-weight:500; } .phone .mq .edit { grid-column:1 / -1; justify-self:start; margin-top:4px; }
  .mpv { display:grid; gap:8px; padding:0 16px; } .mpv-r { padding:10px 12px; display:grid; gap:6px; border-radius:12px; } .mpv-r .h { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:13.5px; font-weight:600; } .mpv-r .h b { font-weight:600; } .mpv-r .cells { display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; border-top:1px dashed var(--line); padding-top:6px; } .mpv-r .cells span { display:flex; justify-content:space-between; gap:6px; font-size:12.5px; min-width:0; } .mpv-r .cells i { font-style:normal; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .mpv-r .cells b { font-weight:600; white-space:nowrap; }
  .mfoot { text-align:center; font-size:12.5px; color:var(--muted); padding:4px 0; } .mfoot button { color:var(--blue-2); }
  .bnav { position:absolute; bottom:0; inset-inline:0; height:86px; padding:10px 8px 24px; background:var(--bnav); border-top:1px solid var(--bnav-line); display:grid; grid-template-columns:repeat(5,1fr); backdrop-filter:blur(10px); z-index:3; }
  .bnav button { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:12.5px; color:var(--bnav-ink); padding-top:3px; font-weight:500; } .bnav button[aria-current="page"] { color:var(--bnav-active); } .bnav svg.i { width:22px; height:22px; }
  .plus-c { position:absolute; bottom:38px; left:50%; transform:translateX(-50%); width:62px; height:62px; border-radius:50%; background:var(--pink); color:#fff; display:grid; place-items:center; box-shadow:0 0 0 7px var(--plus-ring), 0 14px 30px -10px var(--pink-shadow); z-index:4; } .plus-c svg.i { width:28px; height:28px; stroke-width:2.5; } .plus-c:hover { background:var(--pink-2); }
  .dim, .mscrim { position:absolute; inset:0; background:var(--scrim); z-index:5; }
  .sheet { position:absolute; inset-inline:0; bottom:0; background:var(--s1); border:1px solid var(--line-2); border-bottom:0; border-radius:26px 26px 0 0; z-index:6; box-shadow:var(--sheet-shadow); display:flex; flex-direction:column; max-height:86%; } .sheet.tall { max-height:92%; }
  .sheet .hd, .msheet .grab { width:40px; height:5px; border-radius:3px; background:var(--line-2); margin:10px auto 6px; }
  .sheet .sh { padding:4px 18px 10px; border-bottom:1px solid var(--line); display:grid; gap:2px; } .sheet .sh .mode { font-size:12.5px; color:var(--pink); font-weight:600; letter-spacing:.02em; } .sheet .sh h3 { margin:0; font-size:17px; font-weight:600; } .sheet .sh .meta { font-size:12.5px; color:var(--muted); }
  .sheet .sb { padding:12px 18px; display:grid; gap:12px; overflow:auto; } .sheet .sf { padding:10px 18px 26px; border-top:1px solid var(--line); display:flex; gap:8px; } .sheet .sf .btn { flex:1; justify-content:center; height:46px; border-radius:12px; font-size:14.5px; }
  .phone .msheet { position:absolute; left:0; right:0; bottom:0; background:var(--s1); border-top:1px solid var(--line-2); border-radius:24px 24px 0 0; padding:10px 16px 28px; z-index:6; box-shadow:var(--sheet-shadow); display:grid; gap:4px; max-height:78%; overflow:auto; } .phone .msheet.tall { top:96px; max-height:none; padding-bottom:12px; }
  .phone .msheet .sh { display:flex; align-items:center; justify-content:space-between; padding:2px 4px 8px; } .phone .msheet .sh b { font-size:16px; font-weight:600; } .phone .msheet .sh .ib.sm.x { border:0; width:30px; height:30px; }
  .phone .msheet button { text-align:start; padding:12px 8px; font-size:15px; color:var(--ink-2); border-bottom:1px solid var(--line); display:flex; align-items:center; gap:12px; min-height:48px; } .phone .msheet button svg.i { width:17px; height:17px; } .phone .msheet button.warn { color:var(--warn); border-bottom:0; }
  .phone .msheet button[aria-selected="true"] { color:var(--ink); } .phone .msheet .cb { width:20px; height:20px; border-radius:6px; } .phone .msheet .cb.r { border-radius:50%; } .phone .msheet .cb svg.i { width:12px; height:12px; }
  .phone .msheet .lbl { font-size:12.5px; color:var(--faint); padding:10px 8px 2px; letter-spacing:.04em; } .phone .msheet .lbl.s { color:var(--muted); padding-top:6px; }
  .phone .msheet .grp { display:grid; gap:6px; padding:4px 0 8px; border-bottom:1px solid var(--line); } .phone .msheet .grp .chips { padding:0 4px; } .phone .msheet .chips .ch { border-bottom:1px solid var(--line-2); padding:7px 13px; font-size:13.5px; display:inline-flex; color:var(--ink-2); min-height:36px; } .phone .msheet .chips .ch.on { color:var(--s-acc-ink); }
  .phone .msheet .btn.pri.apply { justify-content:center; border-bottom:0; margin-top:8px; font-size:15px; height:48px; border-radius:12px; position:sticky; bottom:0; z-index:1; }
  .phone .msheet .rngf { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 8px 10px; border-bottom:1px solid var(--line); font-size:13px; color:var(--muted); } .phone .msheet .rngf input { width:112px; margin-inline-start:4px; border:1px solid var(--line-2); border-radius:8px; padding:8px; background:var(--bg); color:var(--ink); font-size:13px; font-variant-numeric:tabular-nums; } .phone .msheet .rngf .btn.sm.pri { height:34px; padding:0 14px; border-bottom:0; }
  .phone .chips.scroll, .phone .chips.wrap { flex-wrap:wrap; overflow:visible; } .phone .chips .ch { min-height:34px; padding:6px 13px; font-size:13px; }
  .mform { padding:0 16px; display:grid; gap:12px; } .mform .flds { grid-template-columns:1fr 1fr; } .mform .fld.w { grid-column:span 2; } .phone .fld .in { min-height:44px; font-size:15px; border-radius:11px; } .phone .fld label { font-size:12.5px; }
  .phone .btn { height:40px; font-size:14px; border-radius:11px; } .phone .btn.sm { height:30px; font-size:12.5px; border-radius:8px; }
  .phone .tag { height:24px; font-size:12.5px; } .phone .tag.w-co, .phone .tag.w-pr, .phone .tag.w-st { width:auto; max-width:160px; }
  .phone .fcard.m { padding:12px 14px 10px; gap:6px; } .phone .fcard.m > header { display:flex; align-items:flex-start; gap:12px; } .phone .fcard.m > header .t { display:grid; gap:2px; flex:1; min-width:0; } .phone .fcard.m > header .t b { font-size:15px; font-weight:700; } .phone .fcard.m > header .t i { font-style:normal; font-size:12.5px; color:var(--muted); } .phone .fcard.m > header .tot { display:grid; gap:1px; text-align:end; } .phone .fcard.m > header .tot b { font-family:var(--font); font-variant-numeric:tabular-nums; font-size:19px; font-weight:600; } /* v1.5 fix (28/09, דוחות): היה מונו */ .phone .fcard.m > header .tot em { font-style:normal; font-size:12.5px; color:var(--muted); } .phone .fcard.m > header .ib { width:32px; height:32px; }
  .phone .rc { height:150px; margin:4px 0 20px; } .phone .rc .lv { font-size:12.5px; } .phone .rc .xa span { font-size:12.5px; } .phone .rc.sec, .phone .rc.sec.bars { height:44px; margin:0 0 2px; } .phone .rc.sec.ev2 { height:70px; }
  .phone .secline { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--muted); border-top:1px dashed var(--line); padding-top:6px; } .phone .secline b { font-family:var(--mono); color:var(--ink-2); font-size:12.5px; }
  .phone .hb .row { grid-template-columns:minmax(96px,1fr) minmax(40px,1fr) auto auto; } .phone .hb .n { display:none; } .phone .hb.card-like { margin:0 16px; padding:10px 14px; border-radius:14px; background:var(--s1); border:1px solid var(--line); }
  .phone .three.m { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; margin-bottom:8px; } .phone .three.m .kc { padding:8px 10px; border:1px solid var(--line); border-radius:12px; background:var(--s1); display:grid; gap:2px; } .phone .three.m .kc .l { font-size:12.5px; color:var(--muted); } .phone .three.m .kc b { font-size:20px; font-weight:600; } .phone .three.m .kc i { font-style:normal; font-size:12.5px; color:var(--faint); } .phone .three.m .kc.off { opacity:.7; border-style:dashed; }
  .phone .answer.m.c { text-align:center; justify-items:center; padding:14px 12px; margin:0; } .phone .answer.m.c > b { font-size:28px; }
  .phone .mbtns { display:flex; gap:8px; padding:0 16px; } .phone .mbtns .btn { flex:1; justify-content:center; }
  .phone .anx { margin:0 16px; font-size:12.5px; color:var(--ink-2); border-top:1px dashed var(--line); padding-top:8px; }
  .phone .idm { padding:0 16px; display:grid; gap:4px; } .phone .idm h1 { margin:0; font-size:21px; font-weight:700; display:flex; align-items:center; gap:8px; flex-wrap:wrap; } .phone .idm .tz { font-family:var(--mono); font-size:12.5px; color:var(--muted); font-weight:400; } .phone .idm .facts { font-size:12.5px; color:var(--muted); display:flex; flex-wrap:wrap; gap:2px 0; } .phone .idm .facts b { color:var(--ink-2); font-weight:500; } .phone .idm .facts .sp { color:var(--faint); margin:0 7px; }
  .phone .mrow { display:grid; grid-template-columns:32px minmax(0,1fr) 14px; gap:11px; align-items:center; padding:11px 0; border-bottom:1px solid var(--line); width:100%; text-align:start; } .phone .mgh { font-size:12.5px; color:var(--muted); letter-spacing:.03em; padding:10px 0 2px; }
  .phone .mrows { margin:0 16px; background:var(--s1); border:1px solid var(--line); border-radius:14px; } .phone .mrow2 { display:flex; align-items:center; gap:10px; padding:12px 14px; border-top:1px solid var(--line); font-size:13.5px; min-height:48px; } .phone .mrow2:first-child { border-top:0; } .phone .mrow2 .n { font-weight:600; } .phone .mrow2 .v { flex:1; font-size:12.5px; color:var(--muted); text-align:end; } .phone .mrow2 .v b { color:var(--ink); font-weight:500; } .phone .mrow2 .cnt { flex:1; text-align:end; font-family:var(--mono); font-size:12.5px; color:var(--ink); } .phone .mrow2 svg.i { width:14px; height:14px; color:var(--faint); flex:none; }
  .phone .answer, .answer { display:grid; gap:3px; padding:12px 16px; border-radius:var(--r); background:var(--s2); border:1px solid var(--line-2); } .answer .q { font-size:12.5px; color:var(--muted); } .answer > b { font-size:30px; font-weight:600; letter-spacing:-.015em; } .answer .d { font-size:12.5px; color:var(--muted); } .answer.c { text-align:center; justify-items:center; padding:16px; } .answer.c > b { font-size:36px; }
  .answer .subseg { display:inline-flex; gap:3px; background:var(--bg); border:1px solid var(--line-2); border-radius:10px; padding:3px; margin:6px 0 4px; } .answer .subseg button { display:grid; gap:1px; padding:5px 14px; border-radius:8px; font-size:12.5px; color:var(--muted); text-align:center; min-width:96px; } .answer .subseg button b { font-size:12.5px; color:var(--ink-2); font-weight:600; } .answer .subseg button[aria-pressed="true"] { background:var(--pink-bg); color:var(--pink-2); box-shadow:inset 0 0 0 1px var(--pink-line); } .answer .subseg button[aria-pressed="true"] b { color:var(--ink); }
  .phone .answer .subseg { display:grid; grid-template-columns:1fr 1fr 1fr; width:100%; } .phone .answer .subseg button { min-width:0; padding:5px 6px; }

  /* ── 11 · מעטפת המסמך (Wireframe / hi-fi doc): כותרת דביקה, מסטהד, סעיפים, פריימים ──
     ‎.bar‏ כאן הוא הכותרת הדביקה של מסמך; ‎.attn.bar‏ (סעיף 5) ו-‎path.bar‏ של גרף אינם היא (AUD-063) */
  .doc { max-width:1440px; margin:0 auto; padding:0 22px 110px; }
  .bar:not(.attn):not(path) { position:sticky; top:0; z-index:60; background:var(--tools); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); padding:10px 0; margin-bottom:8px; display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; }
  .bar .ttl { font-weight:600; font-size:14.5px; } .bar .ttl small { color:var(--muted); font-family:var(--mono); font-size:12.5px; font-weight:400; margin-inline-start:8px; }
  .bar nav { display:flex; flex-wrap:wrap; gap:4px; } .bar nav a { color:var(--ink-2); text-decoration:none; font-size:12.5px; padding:5px 9px; border-radius:7px; border:1px solid transparent; } .bar nav a:hover { background:var(--s2); color:var(--ink); }
  .bar label { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-2); }
  .mast { padding:30px 0 16px; border-bottom:1px solid var(--line); } .mast .eye { font-family:var(--mono); font-size:12.5px; color:var(--pink); letter-spacing:.08em; } .mast h1 { margin:8px 0 0; font-size:30px; font-weight:700; letter-spacing:-.01em; line-height:1.15; text-wrap:balance; } .mast p { margin:10px 0 0; color:var(--ink-2); max-width:72ch; font-size:14.5px; line-height:1.65; }
  .changes { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:6px 20px; margin-top:12px; padding:0; list-style:none; } .changes li { font-size:13px; color:var(--ink-2); padding:4px 0; border-bottom:1px solid var(--line); display:flex; gap:8px; } .changes li b { color:var(--ink); font-weight:600; white-space:nowrap; }
  .legend { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:12px; font-size:12.5px; color:var(--muted); align-items:center; }
  section.sec { padding-top:44px; } section.sec h2 { font-size:22px; font-weight:600; margin:0 0 4px; letter-spacing:-.005em; } section.sec h2 .n { font-family:var(--mono); font-size:12.5px; color:var(--pink); margin-inline-end:10px; vertical-align:4px; font-weight:500; }
  section.sec > p.lead { margin:0 0 6px; color:var(--ink-2); max-width:78ch; font-size:14px; line-height:1.65; } h3.sub { font-size:15px; font-weight:600; margin:26px 0 4px; } h3.sub small { color:var(--muted); font-weight:400; font-size:12.5px; margin-inline-start:8px; }
  .wf { border:1px solid var(--line-2); border-radius:16px; overflow:hidden; background:var(--bg); margin-top:12px; box-shadow:var(--shadow-2); }
  .wf-h { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:7px 12px; background:var(--s2); border-bottom:1px solid var(--line); font-family:var(--mono); font-size:12.5px; color:var(--muted); } .wf-h b { color:var(--ink-2); font-weight:500; }
  .wf-h .tog { display:flex; gap:4px; align-items:center; flex-wrap:wrap; } .wf-h .tog button { padding:3px 8px; border-radius:6px; border:1px solid var(--line-2); font-family:var(--mono); font-size:12.5px; color:var(--muted); } .wf-h .tog button[aria-pressed="true"] { background:var(--s3); color:var(--ink); }
  .wf-body { overflow-x:auto; }
  .alts { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:12px; margin-top:12px; } .alt { border:1px dashed var(--line-2); border-radius:var(--r); padding:12px 14px; background:var(--s1); display:grid; gap:8px; align-content:start; min-width:0; } .alt .ah { display:flex; align-items:center; gap:8px; } .alt .ah b { font-size:14px; } .alt .ah .tag { font-family:var(--mono); font-size:12.5px; padding:1px 7px; border-radius:6px; background:var(--s3); color:var(--muted); height:auto; } .alt p { margin:0; color:var(--ink-2); font-size:12.5px; line-height:1.5; } .alt ul { margin:0; padding:0 16px 0 0; color:var(--ink-2); font-size:12.5px; line-height:1.55; }
  .foot-doc { margin-top:44px; padding-top:14px; border-top:1px solid var(--line); font-size:12.5px; color:var(--muted); }
  i.co { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:var(--note); color:#0b0f17; font-family:var(--mono); font-size:12.5px; font-weight:500; font-style:normal; vertical-align:middle; margin-inline-start:6px; flex:none; }

  /* ── 4b · v1.2 · משטח הדגש: אזור מודגש אחד בכל מסך, לא סמנטי, לא פעולה ──
     v1.3: הבלוק הועבר לסוף הקובץ. קודם הוא ישב לפני כללי הטבלאות, בלוק התשובה וה-sheet, והם דרסו אותו (שורת קיבוץ קיבלה --s3, בלוק התשובה --s2). הדגש הוא שכבת override ולכן חייב להיות אחרון.
     משמש: בלוק "התשובה" ורצועות סיכום (.answer, .sethead .k, .strip4 .g.acc), כותרת overlay ו-sheet (.fh, .sheet .sh), שורת קיבוץ דביקה (.tbl tr.gh),
     ומיכל של קבוצה (.band). לא משמש: כרטיס רגיל, פופאובר, מצב נבחר (ורוד), התראות. */
  .acc, .band { background:var(--s-acc); border:1px solid var(--s-acc-line); color:var(--s-acc-ink); }
  .acc .l, .acc .q, .acc .d, .acc .cap, .band > .bh .cap { color:var(--s-acc-muted); }
  .band { border-radius:var(--r); padding:14px 16px; display:grid; gap:12px; }
  .band > .bh { display:flex; align-items:baseline; gap:10px; } .band > .bh b { font-size:14px; font-weight:600; } .band .card, .band .blk, .band .acard { box-shadow:var(--shadow); }
  .answer { background:var(--s-acc); border-color:var(--s-acc-line); } .answer .q, .answer .d { color:var(--s-acc-muted); }
  .sethead .k.acc, .strip4 .g.acc, .kv .k.acc { background:var(--s-acc); border-color:var(--s-acc-line); } .kv .k.acc:hover { background:var(--s-acc-2); }
  .tbl tr.gh td, .tbl tr.setg td { background:var(--s-acc); color:var(--s-acc-ink); border-top-color:var(--s-acc-line); border-bottom-color:var(--s-acc-line); } .tbl tr.gh:hover td { background:var(--s-acc); }
  .tbl tr.gh td .ghx .cnt { background:var(--s-acc-2); color:var(--s-acc-ink); }
  .fh, .sheet .sh, .phone .msheet .sh { background:var(--s-acc); } .fh { border-bottom-color:var(--s-acc-line); } .sheet .sh { border-bottom-color:var(--s-acc-line); padding-top:8px; margin:0 -1px; }
  .phone .msheet .sh { margin:-10px -16px 4px; padding:10px 20px 10px; border-bottom:1px solid var(--s-acc-line); border-radius:24px 24px 0 0; }
  /* v1.3: כותרת ה-drawer עברה לשפת הרכיבים המורכבים (--cx-h), ראו בסוף הקובץ */
  .dreg .drawer .dh { border-radius:0; }
  .ph-hdr { background:var(--phhdr); }

  /* v1.3 · יישום על ה-drawer של המכירה (הועבר לסוף הקובץ: כללי הבסיס של ה-drawer בסעיף 7 דרסו אותו) (כל העולמות): כותרת בפס, קבוצות בקווי מחברת, footer; מחובר לטבלה, לא חלון זר */
  .drawer { box-shadow:var(--shadow); border-color:var(--line-2); }
  .drawer .dh { padding:10px 16px; background:var(--cx-h); border-bottom:1px solid var(--cx-h-line); color:var(--cx-h-ink); border-radius:var(--r) var(--r) 0 0; }
  .drawer .dh .mode { font-size:12.5px; font-weight:600; letter-spacing:.07em; color:var(--cx-h-eye); }
  .drawer .dh h2 { font-size:16px; color:var(--cx-h-ink); } .drawer .dh h2 button { color:var(--cx-h-ink); } .drawer .dh h2 .id { color:var(--cx-h-muted); }
  .drawer .dh .meta { color:var(--cx-h-muted); } .drawer .dh .x { color:var(--cx-h-muted); width:30px; height:30px; border-radius:8px; display:inline-grid; place-items:center; } .drawer .dh .x:hover { background:var(--cx-h-2); color:var(--cx-h-ink); }
  .drawer .db { padding:0; gap:0; } .drawer .db > .grp { padding:12px 16px 14px; border-top:1px solid var(--line); } .drawer .db > .grp:first-child { border-top:0; }
  .drawer .db > .grp.ap, .drawer .db > .grp.danger { margin:10px 16px; padding:10px 12px; border-top:1px dashed; }
  .grp > .gl { font-size:12.5px; font-weight:600; letter-spacing:.04em; } .grp > .gl .ctxt { font-family:var(--font); font-size:12.5px; font-weight:400; letter-spacing:0; }
  .drawer .df { border-top:1px solid var(--line-2); background:var(--s1); padding:10px 16px; }

  /* ── v1.5 · עמודות מספריות (ערן 28/09): ציר אחיד לספרות. בטבלה RTL הספרות מיושרות לימין (start), כך שספרת היחידות יושבת על ציר אחד בכל השורות;
     ₪ והיחידה נצמדים לספרות ואינם מזיזים אותן; ספרות טבלאיות בכל מספר. חל על כל הטבלאות במערכת. */
  .tbl td.a, .tbl td.num, .tbl td.am, .tbl td.big, .tbl td.tr, .tbl td.rec, .tbl td.exp, .tbl td.cexp, .tbl td.basis, .tbl td.ctx, .tbl td.val2 { text-align:start; }
  .tbl td .two, .two { justify-items:start; text-align:start; }
  .amt, .amt .n, .num, .tbl td { font-variant-numeric:tabular-nums; }
  .tbl td .dash, .tbl td.dash { display:inline-block; min-width:1.2em; text-align:start; }
  /* ── v1.5 · שכבת הדגש (ערן 28/09): לא משטח אחד במסך אלא שכבה עקבית לרובריקות מרכזיות, אזורי סיכום וכותרות מקטעים;
     עדין: קנבס › כרטיס › רובריקה חשובה. כרטיס רגיל, פופאובר, בחירה והתראה לא. ── */
  .hero3 .h { background:var(--s-acc); border-color:var(--s-acc-line); color:var(--s-acc-ink); }
  .hero3 .h .l, .hero3 .h .u, .hero3 .h .two small { color:var(--s-acc-muted); }
  .blk > .bh, .ovsec > .sh { background:color-mix(in srgb, var(--s-acc) 62%, var(--s1)); border-bottom-color:var(--s-acc-line); border-radius:var(--r) var(--r) 0 0; }
  .blk > .bh b, .ovsec > .sh b { color:var(--s-acc-ink); } .blk > .bh .cap, .ovsec > .sh .hint { color:var(--s-acc-muted); }
