/* אפליקציית הלקוחות של ש.ל.מ. אותה שפה עיצובית של מערכת הסוכנות:
   רקע כחול כמו בלוגו, משטחי זכוכית כהים, זהב כהדגשה, טקסט שמנת, Heebo. */
:root {
  --navy-deep: #0C2540;
  --navy: #133353;
  --bg: #133353;
  --bg-fx:
    radial-gradient(55% 45% at 85% 4%, #436786 0%, rgb(67 103 134 / 0) 100%),
    radial-gradient(70% 40% at 15% 2%, #2E4E6B 0%, rgb(46 78 107 / 0) 100%),
    radial-gradient(60% 50% at 0% 100%, #0B1522 0%, rgb(11 21 34 / 0) 100%),
    linear-gradient(105deg, #0C2540 0%, #133353 50%, #254767 100%);
  --surface: rgb(28 61 92 / .72);
  --surface-2: rgb(37 71 103 / .8);
  --text: #F7F3EA;
  --muted: #A9BACD;
  --line: rgb(67 103 134 / .55);
  --gold: #D4AF5A;
  --gold-soft: rgb(212 175 90 / .16);
  --on-gold: #0C2540;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(5 12 22 / .3), 0 10px 26px rgb(5 12 22 / .35);
  --nav-bg: #0A1D33;
  --nav-text: #8FA3BF;
  --c-red: #F06A6E; --c-orange: #F7894A; --c-yellow: #E9B634; --c-green: #3CC47C; --c-blue: #6E95F7; --c-purple: #B07FE0; --c-gray: #9AA3B2;
  --font: 'Heebo', system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.5;
  color: var(--text); background: var(--bg-fx), var(--bg); background-attachment: fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: 'בס"ד'; display: block; padding: 8px 18px 0; text-align: right; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.2; margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.i { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* סכומים: ₪ קטן בזהב לפני המספר, כמו במערכת הסוכנות */
.amt { direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: baseline; gap: .08em; font-variant-numeric: tabular-nums; }
.amt i { font-style: normal; font-weight: 700; font-size: .7em; color: var(--gold); margin-inline-end: .06em; }

/* ---------- מבנה ---------- */
.splash { min-height: 90vh; display: grid; place-items: center; }
.splash img { width: 120px; height: 120px; border-radius: 26px; object-fit: cover; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.app { max-width: 640px; margin: 0 auto; padding: 4px 16px calc(112px + env(safe-area-inset-bottom)); }
.top { display: flex; align-items: center; gap: 12px; padding: 8px 0 4px; }
.top__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.top__brand { flex: 1; min-width: 0; }
.top__brand b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .2px; }
.top__brand small { display: block; font-size: 13px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; flex: none; position: relative; }
.icon-btn .dot { position: absolute; top: 9px; inset-inline-end: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--navy-deep); }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.page-title { margin: 12px 0 4px; font-size: 30px; }
.page-sub { margin: 0 0 18px; color: var(--muted); }

.demo-bar { margin: 8px 0 0; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; text-align: center; color: var(--gold); background: var(--gold-soft); border: 1px dashed rgb(212 175 90 / .5); }

/* ברכה + חותמת */
.greet { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.greet h1 { font-size: 30px; }
.greet p { margin: 4px 0 0; color: var(--muted); }
.trust-seal { width: 64px; height: 64px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .35)); }

/* ---------- כרטיס זהב: החיסכון של המשפחה ---------- */
.hero { position: relative; overflow: hidden; padding: 22px 20px 18px; border-radius: 24px; background: linear-gradient(140deg, #E2C277 0%, #D4AF5A 45%, #B8923F 100%); color: var(--on-gold); box-shadow: 0 16px 40px rgb(5 12 22 / .45); }
.hero::after { content: ''; position: absolute; inset-inline-start: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .35), transparent 70%); pointer-events: none; }
.hero__label { font-size: 15px; font-weight: 700; opacity: .85; }
.hero__num { display: block; margin: 4px 0 2px; font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -.5px; }
.hero__num .amt i { color: var(--on-gold); opacity: .7; }
.hero__note { font-size: 13px; font-weight: 600; opacity: .75; }
.hero__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hero__mini { padding: 10px 12px; border-radius: 14px; background: rgb(12 37 64 / .1); }
.hero__mini small { display: block; font-size: 13px; font-weight: 600; opacity: .8; }
.hero__mini b { font-size: 21px; font-weight: 800; }
.hero__mini .amt i { color: var(--on-gold); opacity: .7; }

/* ---------- כרטיסים וקטעים ---------- */
.section { margin-top: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.section__head h2 { font-size: 21px; }
.section__head a, .link-btn { color: var(--gold); font-weight: 700; font-size: 15px; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 0; }
.card { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card + .card { margin-top: 10px; }
.stack { display: grid; gap: 10px; }

/* מחכה לך */
.todo { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; cursor: pointer; text-align: start; width: 100%; min-height: 64px; }
.todo__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--gold-soft); color: var(--gold); border: 1.5px solid rgb(212 175 90 / .55); }
.todo__ic--red { background: rgb(240 106 110 / .14); color: var(--c-red); border-color: rgb(240 106 110 / .5); }
.todo__ic--blue { background: rgb(110 149 247 / .14); color: var(--c-blue); border-color: rgb(110 149 247 / .5); }
.todo__main { flex: 1; min-width: 0; }
.todo__main b { display: block; font-weight: 700; }
.todo__main small { display: block; color: var(--muted); font-size: 14px; }
.todo .chev { color: var(--muted); transform: scaleX(-1); }
.all-good { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); border: 1px solid rgb(60 196 124 / .35); background: rgb(60 196 124 / .08); }
.all-good .i { color: var(--c-green); }

/* בני המשפחה */
.people { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.people::-webkit-scrollbar { display: none; }
.person { flex: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px 6px 8px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 600; white-space: nowrap; }
.person.on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--gold); font-weight: 800; font-size: 14px; flex: none; }
.person.on .avatar { background: rgb(12 37 64 / .15); color: var(--on-gold); }
.person small { font-weight: 500; opacity: .8; font-size: 13px; }

/* איפה הכסף: פסים */
.bars { display: grid; gap: 14px; }
.bar__top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; margin-bottom: 6px; }
.bar__top span:last-child { font-weight: 800; }
.bar__track { height: 10px; border-radius: 99px; background: rgb(247 243 234 / .1); overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #B8923F, #E2C277); }

/* מפת ההגנה */
.shield { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shield__item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; text-align: start; color: var(--text); }
.shield__item .ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(60 196 124 / .16); color: var(--c-green); flex: none; }
.shield__item .ok .i { width: 16px; height: 16px; }
.shield__item--gap { background: transparent; border-style: dashed; color: var(--muted); cursor: pointer; }
.shield__item--gap .ok { background: var(--gold-soft); color: var(--gold); }
.shield__item small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

/* הסוכן שלך */
.agent { display: flex; align-items: center; gap: 14px; }
.agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1.5px var(--gold); }
.agent__main { flex: 1; min-width: 0; }
.agent__main b { display: block; font-size: 17px; }
.agent__main small { color: var(--muted); }
.agent__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 700; cursor: pointer; text-decoration: none; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn--wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn--ghost { background: transparent; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- מסננים ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; white-space: nowrap; font-size: 15px; }
.chip.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ---------- מוצר (פוליסה / חיסכון) ---------- */
.prod { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.prod__head { display: flex; align-items: flex-start; gap: 12px; }
.prod__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--gold-soft); color: var(--gold); }
.prod__title { flex: 1; min-width: 0; }
.prod__title b { display: block; font-size: 17px; font-weight: 800; }
.prod__title small { display: block; color: var(--muted); font-size: 14px; }
.prod__big { text-align: end; }
.prod__big b { display: block; font-size: 22px; font-weight: 800; }
.prod__big small { display: block; color: var(--muted); font-size: 12px; }
.prod__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.prod__facts div small { display: block; color: var(--muted); font-size: 13px; }
.prod__facts div b { font-weight: 700; font-size: 15px; }
.prod__note { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--green { color: var(--c-green); background: rgb(60 196 124 / .12); }
.tag--yellow { color: var(--c-yellow); background: rgb(233 182 52 / .13); }
.tag--orange { color: var(--c-orange); background: rgb(247 137 74 / .13); }
.tag--red { color: var(--c-red); background: rgb(240 106 110 / .13); }
.tag--blue { color: var(--c-blue); background: rgb(110 149 247 / .13); }
.tag--purple { color: var(--c-purple); background: rgb(176 127 224 / .13); }
.tag--gray { color: var(--c-gray); background: rgb(154 163 178 / .13); }
.who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.sum-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.sum-strip .card { padding: 14px; }
.sum-strip small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.sum-strip b { font-size: 24px; font-weight: 800; }
.group-title { margin: 20px 0 10px; font-size: 15px; font-weight: 700; color: var(--muted); }

/* ---------- תביעות: שלבים ---------- */
.steps { display: flex; gap: 4px; margin: 14px 0 6px; }
.steps i { flex: 1; height: 6px; border-radius: 99px; background: rgb(247 243 234 / .12); }
.steps i.on { background: var(--gold); }
.steps i.bad { background: var(--c-gray); }
.steps-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- מסמכים ---------- */
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.doc + .doc { margin-top: 8px; }
.doc__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--gold); flex: none; }
.doc__main { flex: 1; min-width: 0; }
.doc__main b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc__main small { display: block; color: var(--muted); font-size: 13px; }
.sign-card { border: 1.5px solid var(--gold); background: linear-gradient(135deg, rgb(212 175 90 / .16), transparent 70%), var(--surface); }
.upload { display: grid; gap: 12px; }
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kind { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; text-align: start; }
.kind .i { color: var(--gold); width: 20px; height: 20px; }
.kind.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.drop { display: grid; place-items: center; gap: 6px; padding: 22px 16px; border-radius: var(--radius-lg); border: 1.5px dashed rgb(212 175 90 / .55); text-align: center; cursor: pointer; color: var(--muted); }
.drop b { color: var(--text); }
.drop .i { width: 30px; height: 30px; color: var(--gold); }

/* ---------- טפסים ---------- */
.f { display: grid; gap: 6px; }
.f label, .f > span { font-weight: 700; font-size: 15px; }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: rgb(10 29 51 / .55); font-size: 16px; }
.f textarea { min-height: 110px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: var(--muted); }
.f small { color: var(--muted); font-size: 13px; }
.form { display: grid; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); margin-top: 2px; flex: none; }
.note-err { color: var(--c-red); font-weight: 600; min-height: 1.5em; margin: 0; }

/* ---------- כניסה ---------- */
.login { min-height: calc(100vh - 21px); display: grid; place-items: center; padding: 16px; background: radial-gradient(120% 80% at 50% 0%, #24456F 0%, var(--navy-deep) 70%); }
.login__box { width: 100%; max-width: 420px; text-align: center; }
.login__logo { width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 26px; object-fit: cover; object-position: 50% 42%; box-shadow: 0 10px 30px rgb(5 12 22 / .45); }
.login h1 { font-size: 28px; margin-bottom: 6px; }
.login .lead { color: var(--muted); margin: 0 0 20px; }
.login .card { text-align: start; border-top: 3px solid var(--gold); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 99px; background: rgb(10 29 51 / .6); }
.tabs button { min-height: 44px; border: 0; border-radius: 99px; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.tabs button.on { background: var(--gold); color: var(--on-gold); }
.login__foot { margin-top: 16px; font-size: 14px; color: var(--muted); }
.login__foot button { background: none; border: 0; color: var(--gold); font-weight: 700; cursor: pointer; padding: 8px; }

/* ---------- ניווט תחתון ---------- */
.nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--nav-bg); border-top: 1px solid var(--line); }
.nav a { display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 2px; color: var(--nav-text); text-decoration: none; font-size: 12px; font-weight: 600; position: relative; }
.nav a.on { color: var(--gold); }
.nav a.on::before { content: ''; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.nav .badge { position: absolute; top: 4px; inset-inline-start: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.fab { position: fixed; z-index: 41; inset-inline-end: max(16px, calc(50% - 304px)); bottom: calc(84px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 99px; border: 0; background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 16px; box-shadow: 0 10px 28px rgb(5 12 22 / .5); cursor: pointer; }

/* ---------- חלון מלמטה ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgb(5 12 22 / .6); animation: fade .18s ease; }
.sheet { width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #17395C, #0F2A47); border-top: 2px solid var(--gold); box-shadow: 0 -10px 40px rgb(0 0 0 / .4); animation: up .22s ease; }
.sheet__grip { width: 44px; height: 5px; border-radius: 99px; background: rgb(247 243 234 / .25); margin: 0 auto 12px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet__head h2 { font-size: 22px; }
.sheet__x { width: 48px; height: 48px; border: 0; background: none; color: var(--muted); font-size: 30px; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }

/* חתימה */
.pad { position: relative; border-radius: var(--radius-lg); background: #FBF8F1; touch-action: none; }
.pad canvas { display: block; width: 100%; height: 190px; border-radius: var(--radius-lg); cursor: crosshair; }
.pad__line { position: absolute; inset-inline: 22px; bottom: 44px; border-top: 1.5px dashed #B9AE96; pointer-events: none; }
.pad__hint { position: absolute; inset-inline: 0; bottom: 14px; text-align: center; color: #8A7F68; font-size: 13px; pointer-events: none; }
.pad__clear { position: absolute; top: 8px; inset-inline-start: 8px; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid #D9CFB8; background: #fff; color: #0C2540; font-weight: 700; font-size: 13px; cursor: pointer; }

/* תפריט */
.menu-list { display: grid; gap: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; text-decoration: none; cursor: pointer; width: 100%; text-align: start; }
.menu-item .i { color: var(--gold); }
.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts b { font-weight: 700; text-align: end; }

.empty { padding: 26px 18px; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line); color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.empty .btn { margin-top: 14px; }

.toast { position: fixed; z-index: 80; inset-inline: 0; bottom: calc(150px + env(safe-area-inset-bottom)); margin: 0 auto; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 99px; background: #F7F3EA; color: #0C2540; font-weight: 700; box-shadow: 0 10px 30px rgb(0 0 0 / .35); opacity: 0; transform: translateY(12px); transition: .22s; pointer-events: none; text-align: center; }
.toast.show { opacity: 1; transform: none; }

/* ---------- מחשב: תפריט צד ---------- */
@media (min-width: 960px) {
  body::before { padding-right: 262px; }
  .nav { inset-inline-start: 0; inset-inline-end: auto; top: 0; bottom: 0; width: 240px; grid-template-columns: 1fr; align-content: start; gap: 4px; padding: 100px 14px 20px; border-top: 0; border-inline-end: 1px solid var(--line); }
  .nav::before { content: ''; position: absolute; top: 24px; inset-inline-start: 18px; width: 56px; height: 56px; border-radius: 50%; background: url(logo.jpeg) center/cover; }
  .nav a { grid-auto-flow: column; justify-content: start; gap: 12px; min-height: 52px; padding: 0 14px; font-size: 16px; border-radius: 14px; align-items: center; }
  .nav a.on { background: var(--gold-soft); }
  .nav a.on::before { display: none; }
  .nav .badge { position: static; }
  .app { margin-inline-start: max(256px, calc(50% - 320px + 120px)); padding-bottom: 60px; }
  .fab { bottom: 28px; inset-inline-end: 32px; }
  .shield { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
