/* אותה שפה חזותית של ההדמיה: RTL תחילה, בלי גרדיאנטים, הצללה עדינה בלבד. נייד תחילה. */
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/rubik-hebrew-400_800.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/rubik-latin-400_800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/rubik-cyrillic-400_800.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --ink: #14183a; --ink2: #4b5278; --muted: #646b8e; --faint: #8089b0;
  --bg: #f3f4fb; --card: #fff; --line: #e1e4f2; --line2: #eaecf6; --fill: #f7f8fd; --ctl: #cbd0e6;
  --shadow: 0 1px 2px rgba(20, 24, 58, .06);
  --r: 12px;
  --ac: #2d5bff; --ac-ink: #1d40c8; --ac-tint: #e4ebff; --ac-line: #c3cffa; --on-ac: #fff;
  --n-ink: #4b5278; --n-bg: #eef0fa; --n-dot: #8e98c2;
  --good-ink: #066a49; --good-bg: #ddf6eb; --good-dot: #0b8f63;
  --warn-ink: #7a4800; --warn-bg: #fff0cc; --warn-dot: #b76e00;
  --bad-ink: #b02020; --bad-bg: #fde8ec; --bad-dot: #c92a2a;
  --info-ink: #1d40c8; --info-bg: #e4ebff; --info-dot: #2d5bff;
  --wa: #128c4a; --wa-ink: #0e7a40;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --fwd: 6px;
  --tabs-h: 60px;
}

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Rubik, system-ui, sans-serif; font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
bdi { unicode-bidi: isolate; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary, label.tog, .vert { touch-action: manipulation; }
button, summary, .btn, .tab, .navi, .seg, .chip { user-select: none; -webkit-user-select: none; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 6px; }
.num, .kpi-v, .atm { font-variant-numeric: tabular-nums; }
.dt { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[dir=rtl] .ic.flip, [dir=rtl] .next .ic { transform: scaleX(-1); }
[dir=ltr] { --fwd: -6px; }
form.inline { display: contents; }

/* ---------- כפתורים, תגיות, אווטארים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--ctl); background: #fff; font-weight: 500; font-size: 14.5px; color: var(--ink2); white-space: nowrap; box-shadow: var(--shadow);
  cursor: pointer; transition: transform .12s var(--ease), background-color .12s, border-color .12s; }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); background: var(--fill); }
.btn.primary { background: var(--ac-ink); border-color: var(--ac-ink); color: var(--on-ac); font-weight: 700; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 2px 4px rgba(33, 71, 216, .28), 0 8px 18px rgba(33, 71, 216, .22); }
.btn.primary:active { background: #1735ac; }
.btn.soft { background: var(--ac-tint); border-color: var(--ac-line); color: var(--ac-ink); box-shadow: none; }
.btn.soft:active { background: #d3deff; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:active { background: var(--wa-ink); }
.btn.big { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 14px; }
.linkbtn { border: 0; background: none; padding: 6px 4px; min-height: 44px; color: var(--ac-ink); font-weight: 500; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 24px; padding: 0 10px 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  white-space: nowrap; background: var(--n-bg); color: var(--n-ink); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--n-dot); flex: none; }
.chip.t-good { background: var(--good-bg); color: var(--good-ink); } .chip.t-good i { background: var(--good-dot); }
.chip.t-warn { background: var(--warn-bg); color: var(--warn-ink); } .chip.t-warn i { background: var(--warn-dot); }
.chip.t-bad { background: var(--bad-bg); color: var(--bad-ink); } .chip.t-bad i { background: var(--bad-dot); }
.chip.t-info { background: var(--info-bg); color: var(--info-ink); } .chip.t-info i { background: var(--info-dot); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.soon-tag { font-size: 11px; font-weight: 500; color: var(--muted); border: 1px dashed #c3c9e2; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 13px; font-weight: 600; flex: none; }
.av.sm { width: 22px; height: 22px; font-size: 10.5px; }
.av.a0 { background: #e4ebff; color: #1d40c8; } .av.a1 { background: #dbf2f8; color: #0c7e9e; } .av.a2 { background: #ece6ff; color: #6741d9; }
.av.a3 { background: #ddf6eb; color: #066a49; } .av.a4 { background: #ffe9dd; color: #b23c0a; } .av.a5 { background: #ffe3ee; color: #b01e54; }
.av.ua { background: var(--ac-tint); color: var(--ac-ink); border: 1px solid var(--ac-line); }

/* ---------- מעטפת: נייד = סרגל תחתון, מחשב = תפריט צד ---------- */
.app { min-height: 100dvh; padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px)); }
.side { display: none; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ac); color: var(--on-ac); font-weight: 700; font-size: 15px; flex: none; }
.logo.mark { display: block; background: none; object-fit: contain; }
.bn { min-width: 0; display: flex; flex-direction: column; }
.bn b { font-size: 15px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn span { font-size: 12.5px; color: var(--muted); }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; min-height: 60px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.tb-title { min-width: 0; flex: 1; }
.tb-title h1 { font-size: 19px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-title p { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-actions { display: flex; gap: 8px; flex: none; }
.tb-actions .btn:not(.primary) span { display: none; }
.tb-actions .btn:not(.primary) { padding: 0 12px; }
.content { padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tabs { position: fixed; inset-inline: 0; bottom: 0; z-index: 6; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabs-h); font-size: 11px; font-weight: 500; color: var(--muted); min-width: 0; }
.tab .nl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.tab .ic { width: 22px; height: 22px; }
.tab.on { color: var(--ac-ink); font-weight: 600; }
.tab:active { background: var(--fill); }
.banner, .flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; font-size: 14px; }
.banner { background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid #f3dfa6; }
/* הקישור שבפס הוא הדרך לתשלום ולמסלולים: שטח הלחיצה שלו גדל ל-44px בלי להגביה את הפס */
.banner a { margin-block: -12px; padding-block: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.banner.b-blocked { background: var(--bad-bg); color: var(--bad-ink); border-color: #f6caca; }
.flash { background: var(--ink); color: #fff; }
.flash .linkbtn { color: #fff; }

/* ---------- כרטיסים ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card.pad { padding: 18px; }
.pad-x { padding-inline: 18px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 12px; }
.card-h h3, .card-h h1 { font-size: 16px; font-weight: 600; min-width: 0; }
.card-h h1 { font-size: 20px; }
.card-empty { padding: 4px 18px 18px; color: var(--muted); font-size: 14px; }
.card-acts { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line2); }
.sec-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.empty { padding: 36px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h2 { font-size: 19px; font-weight: 600; }
.empty .btn { margin-top: 8px; }
.columns, .col, .stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-more { display: block; padding: 10px 18px 14px; font-size: 13.5px; font-weight: 500; color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.card-h .cnt { background: var(--n-bg); }
.pre { white-space: pre-line; overflow-wrap: anywhere; }

/* רשימה קצרה של תיקונים שדורשים פעולה (להתקשר, לא שולם, מחכה לחלק, תיקונים קודמים) */
.mini { padding: 0 18px 10px; }
.mini li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.mini li:last-child { border-bottom: 0; }
.mini-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-t > a { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-t .sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-t .sub a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.mini .btn { min-height: 40px; padding: 0 14px; flex: none; }
.mini .chips { flex: none; justify-content: flex-end; }
.card.pad .mini { padding-inline: 0; }
.mini-n { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.inl { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.pad-top { padding-top: 16px; }

/* ---------- חלפים ומלאי ---------- */
.qty { font-weight: 600; }
.qty.neg { color: var(--bad-ink); }
.stock-n { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.stock-n b { font-size: 34px; line-height: 1.1; color: var(--ink); }
.stock-n b.neg { color: var(--bad-ink); }
.rrows { display: flex; flex-direction: column; gap: 10px; padding: 0 18px 16px; }
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line2); }
.rrow.rhead { display: none; }
.rrow .fe { grid-column: 1 / -1; }
.rrow.bad input { border-color: var(--bad-dot); }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.stepper b { min-width: 28px; text-align: center; font-size: 15px; }
.btn.step { min-height: 40px; min-width: 40px; padding: 0; font-size: 20px; line-height: 1; }
.plines { margin-bottom: 10px; }
.plines .mini-t .chips { justify-content: flex-start; align-items: center; margin-top: 4px; }
.newpart { margin-top: 8px; min-height: 44px; padding-block: 8px; white-space: normal; text-align: start; }
#part-results:empty { display: none; }
#part-results { margin-bottom: 8px; }
details.fix summary { font-size: 12.5px; font-weight: 400; color: var(--ac-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
details.fix summary::-webkit-details-marker { display: none; }
.fixform { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; min-width: 150px; }

/* ---------- מדדים ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px 13px; min-width: 0; }
a.kpi:active { background: var(--fill); }
.kpi-l { display: block; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-v { display: block; font-size: 30px; font-weight: 600; line-height: 1.2; margin: 4px 0 6px; letter-spacing: -.01em; }
.kpi-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.kpi-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--n-dot); flex: none; }
.kpi-h.t-good { color: var(--good-ink); } .kpi-h.t-good i { background: var(--good-dot); }
.kpi-h.t-warn { color: var(--warn-ink); } .kpi-h.t-warn i { background: var(--warn-dot); }
.kpi-h.t-bad { color: var(--bad-ink); } .kpi-h.t-bad i { background: var(--bad-dot); }
.kpi-h.t-neutral i { display: none; }

/* ---------- טבלאות ---------- */
.tbl-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--fill); color: var(--muted); font-size: 12.5px; font-weight: 500; text-align: start; padding: 9px 14px; border-block: 1px solid var(--line2); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; font-size: 14px; max-width: 260px; }
tbody tr:last-child td { border-bottom: 0; }
td .tx { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.first .tx { font-weight: 500; color: var(--ink); }
td .sub, .atx .sub { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.hide-sm { display: none; }

/* ---------- יומן פעילות ---------- */
.acts { padding: 2px 18px 14px; }
.card.pad .acts { padding: 0; }
.act { display: flex; align-items: flex-start; gap: 12px; position: relative; padding: 8px 0; }
.act:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 13px; top: 38px; bottom: -6px; width: 2px; background: var(--line2); }
.adot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--n-bg); color: var(--n-ink); flex: none; position: relative; z-index: 1; }
.adot .ic { width: 15px; height: 15px; stroke-width: 2; }
.adot.t-good { background: var(--good-bg); color: var(--good-ink); } .adot.t-warn { background: var(--warn-bg); color: var(--warn-ink); }
.adot.t-bad { background: var(--bad-bg); color: var(--bad-ink); } .adot.t-info { background: var(--info-bg); color: var(--info-ink); }
.atx { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; padding-top: 4px; overflow-wrap: anywhere; }
.atm { font-size: 12px; color: var(--muted); padding-top: 6px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }

/* ---------- לוח סטטוסים ---------- */
.jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump .chip { height: 34px; padding-inline: 12px; flex: none; }
.board { display: grid; gap: 14px; align-items: start; }
.bcol { background: #eceef2; border-radius: var(--r); padding: 13px 10px 10px; min-width: 0; box-shadow: inset 0 3px 0 var(--n-dot); scroll-margin-top: 76px; }
.bcol.t-good { box-shadow: inset 0 3px 0 var(--good-dot); } .bcol.t-warn { box-shadow: inset 0 3px 0 var(--warn-dot); } .bcol.t-info { box-shadow: inset 0 3px 0 var(--info-dot); }
.bh { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.bh .bn { font-weight: 600; font-size: 14.5px; flex: 1; min-width: 0; }
.cnt { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.bcards { display: flex; flex-direction: column; gap: 9px; }
.bempty { padding: 10px 6px 12px; font-size: 13px; color: var(--muted); }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.bt { font-weight: 500; font-size: 15px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bm { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.bact { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line2); }
.bact .btn { flex: 1 1 auto; padding: 0 12px; }
.bact .next { flex: 2 1 auto; }
.pair { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; min-width: 0; }
details.quote { flex: 1 1 auto; }
details.quote summary { list-style: none; width: 100%; }
details.quote summary::-webkit-details-marker { display: none; }
details.quote[open] { flex-basis: 100%; }
details.quote[open] summary { display: none; }
.qform { display: flex; gap: 8px; }
.qform input { flex: 1; min-width: 0; }
.qform.wide { flex-direction: column; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.qrow { display: flex; gap: 8px; }

/* ---------- טפסים ---------- */
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--ctl); border-radius: 10px; background: #fff; font-size: 16px; transition: border-color .12s; }
textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-inline-end: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6477' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 10px center / 18px; }
[dir=ltr] select { background-position: right 10px center; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ac); outline-offset: 0; border-color: var(--ac); border-radius: 10px; }
[aria-invalid=true] { border-color: var(--bad-dot); }
input[dir=ltr] { text-align: end; }
[dir=ltr] input[dir=ltr] { text-align: start; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 16px; padding: 4px 18px 18px; }
.form > .fgrid:first-child { padding-top: 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.more summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--ac-ink); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; font-size: 18px; line-height: 1; width: 14px; text-align: center; }
.more[open] summary::before { content: '−'; }
.more-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 16px; padding-top: 6px; }
.fld.row { flex-direction: row; align-items: flex-end; }
.fl { font-size: 13.5px; font-weight: 500; color: var(--ink2); }
.fh { font-size: 12.5px; color: var(--muted); }
.fe, .form-err { font-size: 13px; color: var(--bad-ink); font-weight: 500; }
.form-err { margin: 0 18px 10px; padding: 10px 12px; background: var(--bad-bg); border-radius: 9px; }
.fld.tog { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--fill); cursor: pointer; }
.tl { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tl b { font-weight: 500; font-size: 14px; }
.sw { appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: #c8cfda; flex: none; cursor: pointer; transition: background-color .15s; }
.sw::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .25); transition: inset-inline-start .15s var(--ease); }
.sw:checked { background: var(--ac); }
.sw:checked::after { inset-inline-start: 21px; }
.form-f { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line2); background: #fbfbfc; border-radius: 0 0 var(--r) var(--r); }
.verts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vert { position: relative; display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--ctl); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.vert input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vert:has(input:checked) { border-color: var(--ac); background: var(--ac-tint); color: var(--ac-ink); box-shadow: inset 0 0 0 1px var(--ac); }
.vert:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: 2px; }
/* אחרי כל סוג מעבדה באה שורה שמתארת את טופס הקליטה שלו; מוצגת רק השורה של הסוג שנבחר, מתחת לכל האפשרויות */
.tpl { display: none; grid-column: 1 / -1; order: 1; padding: 2px 2px 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tpl-i { color: var(--ink); font-weight: 500; }
.vert:has(input:checked) + .tpl { display: block; }

/* ---------- כרטיס תיקון ---------- */
/* כרטיס תיקון: בנייד הכרטיסים מסודרים לפי o1..o7 (פעולות לפני היסטוריה), במחשב בשתי עמודות */
.tk { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tk > .col { display: contents; }
.o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .o4 { order: 4; } .o5 { order: 5; } .o6 { order: 6; } .o7 { order: 7; }
.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-head .chips { justify-content: flex-end; }
.tk-head .sec-h { margin-bottom: 0; }
.tk-alert { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--info-bg); color: var(--info-ink); font-size: 14px; font-weight: 500; }
.tk-alert .ic { width: 18px; height: 18px; }
.btn.toggle.on { font-weight: 600; box-shadow: none; }
.btn.toggle.on.t-bad { background: var(--bad-bg); border-color: #f3b8b8; color: var(--bad-ink); }
.btn.toggle.on.t-warn { background: var(--warn-bg); border-color: #efd28a; color: var(--warn-ink); }
.workform { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.workform:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sub-acts { align-items: center; }
.sub-acts .fl { flex-basis: 100%; }
details.prev summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
details.prev summary::-webkit-details-marker { display: none; }
details.prev summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--muted); }
details.prev[open] summary::after { content: '−'; }
.fstatic { min-height: 44px; display: flex; align-items: center; font-size: 16px; font-weight: 500; }
.tk-n { font-size: 15px; font-weight: 600; color: var(--muted); }
.tk-title { font-size: 22px; font-weight: 600; line-height: 1.25; margin-top: 6px; overflow-wrap: anywhere; }
.tk-problem { color: var(--ink2); margin-top: 4px; white-space: pre-line; overflow-wrap: anywhere; }
.meta { margin-top: 14px; border-top: 1px solid var(--line2); }
.meta-r { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.meta-r dt { flex: 0 0 104px; color: var(--muted); }
.meta-r dd { flex: 1; min-width: 0; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta-r a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.tk-links, .moves { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-links { margin-top: 16px; }
.moves .btn.primary { flex: 1 1 100%; min-height: 52px; font-size: 16px; }
.noteform { display: flex; gap: 8px; margin-bottom: 8px; }
.noteform input { flex: 1; min-width: 0; }
.wa-box { background: #e9efea; padding: 16px 14px; }
.bub { max-width: 92%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 9px 12px; box-shadow: 0 1px 1px rgba(16, 24, 40, .1); }
[dir=ltr] .bub { border-radius: 12px 4px 12px 12px; }
.bx { white-space: pre-line; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.secret { font-size: 24px; font-weight: 600; letter-spacing: .08em; padding: 10px 14px; background: var(--fill); border: 1px dashed var(--ctl); border-radius: 10px; margin-bottom: 8px; text-align: center; }
p.fh { margin-top: 8px; }

/* ---------- חיפוש ורשימה ---------- */
.searchbar { display: flex; flex-direction: column; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; padding-inline-start: 12px; border: 1px solid var(--ctl); border-radius: 10px; background: #fff; color: var(--muted); }
.search:focus-within { border-color: var(--ac); outline: 2px solid var(--ac); }
.search input { border: 0; padding-inline-start: 0; background: none; outline: none; }
.segs { display: inline-flex; padding: 3px; gap: 2px; background: #e9ecf1; border-radius: 10px; align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg { flex: none; white-space: nowrap; }
.seg { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ---------- הגדרות ומסלולים ---------- */
.team { padding: 0 18px 6px; }
.team li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.team li.off { opacity: .55; }
.un { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.un b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-act { display: flex; gap: 10px; }
.temp-pw { margin: 4px 18px 12px; padding: 10px 12px; background: var(--good-bg); color: var(--good-ink); border-radius: 9px; font-size: 14px; }
.usage-l { font-size: 14px; margin-bottom: 8px; }
progress.bar { display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); appearance: none; -webkit-appearance: none; margin-bottom: 16px; }
progress.bar::-webkit-progress-bar { background: var(--line); }
progress.bar::-webkit-progress-value { background: var(--good-dot); }
progress.bar::-moz-progress-bar { background: var(--good-dot); }
progress.bar.b-warn::-webkit-progress-value, progress.bar.b-grace::-webkit-progress-value { background: var(--warn-dot); }
progress.bar.b-warn::-moz-progress-bar, progress.bar.b-grace::-moz-progress-bar { background: var(--warn-dot); }
progress.bar.b-blocked::-webkit-progress-value { background: var(--bad-dot); }
progress.bar.b-blocked::-moz-progress-bar { background: var(--bad-dot); }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 18px 14px; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.plan.on { border-color: var(--ac); box-shadow: inset 0 0 0 1px var(--ac); background: var(--ac-tint); }
.plan-n { font-size: 16px; font-weight: 600; }
.plan-p { font-size: 26px; font-weight: 600; line-height: 1.2; }
.plan-p span { font-size: 13px; font-weight: 400; color: var(--muted); margin-inline-start: 6px; }
.plan-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink2); flex: 1; margin-bottom: 6px; }
.plan-f li { padding-inline-start: 18px; position: relative; }
.plan-f li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--good-dot); }
.plan-s { font-size: 13.5px; font-weight: 600; color: var(--ac-ink); min-height: 44px; display: flex; align-items: center; }
.stack.narrow { max-width: 860px; }
.logo-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 16px; }
.logo-preview { max-width: 140px; max-height: 80px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; }
.logo-form { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 220px; }
input[type=file] { font-size: 14px; max-width: 100%; min-height: 44px; }
input[type=file]::file-selector-button { min-height: 40px; margin-inline-end: 12px; padding: 0 14px; border: 1px solid var(--ctl); border-radius: 10px; background: #fff;
  font: inherit; font-weight: 500; color: var(--ink2); cursor: pointer; }
/* בקשת תשלום בראש כרטיס המסלול: כמה, לאן משלמים, ודיווח "שילמתי". מקטע שטוח עם קווי הפרדה, לא כרטיס בתוך כרטיס. */
.pay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 18px 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }
.pay-m { font-size: 14.5px; text-wrap: pretty; }
.pay-m.good, .pay-m.bad, .sub-l.warn { padding: 10px 12px; border-radius: 9px; font-weight: 500; }
.pay-m.good { background: var(--good-bg); color: var(--good-ink); }
.pay-m.bad { background: var(--bad-bg); color: var(--bad-ink); }
.pay-sum { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink2); }
.pay-sum b { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.pay-for { margin-top: -8px; font-size: 14px; color: var(--muted); }
.pay-ref { justify-self: start; padding: 10px 12px; border-radius: 9px; background: var(--ac-tint); font-size: 14px; color: var(--ink2); }
.pay-ref b { margin-inline-start: 4px; font-size: 18px; font-weight: 700; color: var(--ink); user-select: all; -webkit-user-select: all; }
.pay-way, .pay-f { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line2); min-width: 0; }
.pay-way > b { font-size: 14px; font-weight: 600; }
.pay-qr { display: flex; align-items: center; gap: 12px; }
.qr { width: 128px; height: 128px; flex: none; fill: #000; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.pay-f .btn { width: 100%; }
.pay .linkbtn { justify-self: start; }
.sub-l { margin-bottom: 10px; font-size: 14.5px; font-weight: 500; }
.sub-l.warn { background: var(--warn-bg); color: var(--warn-ink); }
.sub-a { margin-bottom: 16px; }
.more .mini { padding-inline: 0; }

/* ---------- דפים פשוטים: כניסה, הרשמה, ניהול ---------- */
.simple { max-width: 460px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(40px + env(safe-area-inset-bottom, 0px)); }
.simple.wide { max-width: 680px; }
.simple.admin { max-width: 1000px; }
.simple main { display: flex; flex-direction: column; gap: 16px; }
.simple-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.simple .card.center { padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.simple .card.center h1 { font-size: 20px; }
.langs { display: inline-flex; gap: 2px; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.langs a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; color: var(--ink2); border-radius: 999px; font-weight: 500; }
.langs a[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
/* "מבית LevelUp": החברה שמאחורי המוצר, בתחתית דף הבית ובדפי הכניסה וההרשמה. הסימן מוצג בצבעים שלו, בלי שינוי. */
.house { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13.5px; color: var(--muted); }
.house img { width: 20px; height: 20px; flex: none; }
.simple-f { display: flex; justify-content: center; margin-top: 14px; }
.admin-t { font-size: 22px; font-weight: 600; }
.shop-row .banner { margin: 10px 18px; border: 1px solid #f3dfa6; border-radius: 10px; }
.shop-row .pad-x, .pay-row .pad-x { padding-bottom: 10px; font-size: 14px; }
.admin-s { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--ink2); scroll-margin-top: 16px; }
/* רשימת החנויות במסך הניהול: חיפוש מעליה, ומעבר בין עמודים מתחתיה */
.admin-find { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.admin-find .fld { flex: 1 1 240px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; }
.admin > main > .banner { border: 1px solid #f3dfa6; border-radius: 10px; }
.admin > main > .form-err { margin: 0; }
/* שלבי ההפעלה של האימות הדו-שלבי */
.steps { margin: 0 0 12px; padding-inline-start: 40px; list-style: decimal; font-size: 14px; line-height: 1.7; }
.shop-row, .admin .card { scroll-margin-top: 16px; }
/* הבוט של המערכת בטלגרם: פסקאות הסבר, וקישור החיבור עם קוד ה-QR שלו */
.tg > .pad-x { padding-bottom: 12px; font-size: 14px; }
.tg > .pad-x:first-child { padding-top: 16px; }
.tg-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
/* צילום המסך שהחנות שלחה: מוצג בתוך הכרטיס, ולחיצה פותחת אותו בגודל מלא */
.proof-a { display: block; width: fit-content; max-width: calc(100% - 36px); margin: 0 18px 12px; border-radius: 10px; }
.proof { display: block; max-width: 100%; max-height: 440px; border: 1px solid var(--line); border-radius: 10px; background: var(--fill); }

/* ---------- דף הבית ----------
   המסך הראשון הוא שדה כחול מלא: המחירון, ולצידו טופס ההרשמה עצמו. אחריו מקטעים בהירים, והדף נסגר שוב בשדה כחול.
   כל הכללים כאן תחומים ב-.is-land, כדי שלא יתנגשו עם מסכי האפליקציה (שם .board הוא לוח הסטטוסים, ו-th/td הם טבלאות העבודה). */
.is-land { --field: var(--bg); --on-field: var(--ink); --on-field2: var(--ink2); --field-line: var(--line); --lshadow: 0 24px 48px -28px rgba(20, 24, 58, .45);
  background: #fff; font-size: 17px; line-height: 1.6; caret-color: var(--ac); }
.is-land ::selection { background: var(--ac-line); color: var(--ink); }
.is-land .closing ::selection { background: #fff; color: var(--field); }
.is-land .closing :focus-visible { outline-color: #fff; }
.is-land figure, .is-land blockquote { margin: 0; }
.is-land p, .is-land li, .is-land dd { text-wrap: pretty; }
.is-land figcaption { text-wrap: balance; }
.is-land [id] { scroll-margin-top: 16px; }
.is-land .wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 48px); }

.is-land .lt { background: var(--field); color: var(--on-field); padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--line); }
.is-land .lt .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; padding-top: 6px; }
.is-land .lt .bn b { font-size: 16px; }
/* בטלפון הדף ארוך, ולכן קישורי המקטעים נשארים: שורה אחת מתחת לסרגל, שנגללת לרוחב כשהיא לא נכנסת (ברוסית) */
.is-land .lt-nav { order: 9; flex: 1 0 100%; display: flex; margin-inline: calc(-1 * clamp(18px, 4vw, 48px)); padding-inline: calc(clamp(18px, 4vw, 48px) - 10px);
  overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.is-land .lt-nav::-webkit-scrollbar { display: none; }
.is-land .lt-nav a, .is-land .lt-langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 15px; }
.is-land .lt-langs { display: inline-flex; gap: 2px; padding: 3px; margin-inline-start: auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.is-land .lt-langs a { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink2); }
.is-land .lt-langs a[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
/* בטלפון מוצג השם הקצר של השפה; השם המלא מוסתר מהעין בלבד, כך שלקישור יש תמיד שם שקורא מסך קורא */
.is-land .lg-f { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-land .lt .btn { border-color: var(--ctl); background: #fff; color: var(--ink); font-weight: 600; box-shadow: none; }
.is-land .closing .btn { border-color: #fff; background: #fff; color: #14183a; font-weight: 700; box-shadow: none; }

/* השדה הכחול ממלא את המסך הראשון עד למטה (עד גובה סביר), כדי שלא יציץ מתחתיו פס לבן. כשנשאר מקום, התוכן ממורכז בגובה.
   שתי העמודות באותו גובה: בעמודת ההצעה המחירון נצמד לתחתית, ובטופס הרווח מתחלק בין השורות. הצל של הטופס נחתך בקצה השדה. */
.is-land .hero { display: grid; align-content: center; min-height: min(calc(100svh - 68px), 900px); background: var(--field) radial-gradient(circle, #c3c9e2 1px, transparent 1.4px) 0 0 / 22px 22px; color: var(--on-field);
  padding: clamp(18px, 2.4vw, 32px) 0 clamp(32px, 4vw, 52px); overflow: hidden; overflow: clip; }
.is-land .hero-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.is-land .offer { display: flex; flex-direction: column; }
.is-land h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.is-land .lead { margin: 14px 0 clamp(18px, 2.4vw, 30px); max-width: 36em; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.55; color: var(--on-field2); text-wrap: pretty; }
.is-land .rates { margin-top: auto; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 32px); }
.is-land .rates li { grid-column: 1 / -1; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: inherit; align-items: center;
  padding: clamp(10px, 1.2vw, 15px) 0; border-top: 1px solid var(--field-line); }
.is-land .rates li:last-child { border-bottom: 1px solid var(--field-line); }
.is-land .pr { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.is-land .pn { display: inline-flex; align-items: flex-start; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.is-land .rates li:first-child .pn { font-size: clamp(4.2rem, 8vw, 6rem); }
.is-land .pn b { font-weight: inherit; }
.is-land .cur { margin-top: .16em; margin-inline-end: .08em; font-size: .42em; font-weight: 600; letter-spacing: 0; }
.is-land .pr small { margin-top: 5px; font-size: 14px; font-weight: 500; color: var(--on-field2); }
.is-land .pd { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.is-land .pd b { font-size: clamp(1.05rem, 1.55vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.is-land .pd span { font-size: 15px; line-height: 1.4; color: var(--on-field2); }
.is-land .rates-n { margin-top: 14px; font-size: 15px; color: var(--on-field2); }

.is-land .sheet { display: flex; flex-direction: column; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.1vw, 26px); font-size: 15px; line-height: 1.45;
  box-shadow: var(--lshadow); }
.is-land .sheet h2 { font-size: clamp(1.35rem, 1.9vw, 1.55rem); line-height: 1.2; letter-spacing: -.01em; }
.is-land .sheet .fgrid { flex: 1 0 auto; align-content: space-between; margin-top: 16px; padding: 0; gap: 12px 14px; }
.is-land .sheet-f { display: grid; justify-items: center; gap: 2px; margin-top: 16px; }
.is-land .sheet-f .btn { width: 100%; }
.is-land .sheet-f a { display: inline-flex; align-items: center; min-height: 44px; }

.is-land .sec { padding: clamp(56px, 8vw, 104px) 0; }
.is-land .sec.tint { background: var(--bg); }
.is-land h2 { max-width: 24em; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.is-land h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
/* אורך שורה: ch הוא רוחב הספרה 0, שרחבה מאות ממוצעת, ולכן 54ch הם בערך 72 תווים בשורה */
.is-land .sec-l { margin-top: 14px; max-width: 54ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink2); text-wrap: pretty; }
.is-land .sec-n { margin-top: 18px; max-width: 54ch; font-size: 15.5px; color: var(--muted); }

/* תיקון אחד, חמישה שלבים: המסילה לאורך הצד היא אותה מסילה של דף המעקב של הלקוח */
.is-land .jr { margin-top: clamp(28px, 4vw, 48px); margin-inline-start: 7px; }
.is-land .st { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 36px; align-items: start;
  padding: 0 0 clamp(28px, 3.4vw, 44px); padding-inline-start: 30px; border-inline-start: 1px solid var(--line); view-timeline: --st block; }
/* המסילה מתחילה במרכז הנקודה הראשונה ונגמרת במרכז האחרונה (12px מראש כל שלב), בלי זנב מעל או מתחת */
.is-land .st:first-child { border-image: linear-gradient(transparent 12px, var(--line) 0) 1; }
.is-land .st:last-child { padding-bottom: 0; border-image: linear-gradient(var(--line) 12px, transparent 0) 1; }
.is-land .st::before { content: ''; position: absolute; top: 0; bottom: -12px; inset-inline-start: -2px; width: 3px; background: var(--ac); transform-origin: top; }
.is-land .st:first-child::before { top: 12px; }
.is-land .st:last-child::before { display: none; }
.is-land .st::after { content: ''; position: absolute; top: 5px; inset-inline-start: -8px; width: 15px; height: 15px; border-radius: 50%; background: var(--ac); border: 3px solid #fff; box-sizing: border-box; }
.is-land .st-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.is-land .st-x { max-width: 48ch; color: var(--ink2); }
.is-land .msg figcaption { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.is-land .msg figcaption .ic { width: 16px; height: 16px; }
.is-land .msg .wa-box { border-radius: var(--r); }
.is-land .msg-q { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--fill); font-size: 15px; color: var(--ink2); }

.is-land .shot { margin-top: clamp(28px, 4vw, 52px); }
/* בטלפון מוצג צילום של המסך בטלפון, ברוחב של טלפון; במסך רחב מוצג הצילום הרחב (picture בוחר את הקובץ) */
.is-land .shot img { display: block; width: 100%; max-width: 320px; height: auto; margin-inline: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--lshadow); }
.is-land .shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.is-land .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; }
.is-land .ticks { display: grid; gap: 10px; max-width: 54ch; margin-top: 20px; }
.is-land .ticks li { display: flex; align-items: flex-start; gap: 10px; }
.is-land .ticks .ic { margin-top: 4px; color: var(--good-dot); stroke-width: 2.25; }

.is-land .rows { margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.is-land .rows > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.is-land .rows dt { font-size: 1.1rem; font-weight: 600; }
.is-land .rows dd { max-width: 56ch; color: var(--ink2); }

.is-land .prices { width: 100%; max-width: 760px; margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
.is-land .prices caption { padding-bottom: 10px; text-align: start; font-size: 14px; color: var(--muted); }
/* בטלפון צר הטבלה חייבת להיכנס ברוחב המסך: התאים נשברים לשורות, והריווח והאות קטנים מעט */
.is-land .prices th, .is-land .prices td { max-width: none; padding: 14px clamp(8px, 2.8vw, 18px); border: 0; border-bottom: 1px solid var(--line2); text-align: start; font-size: clamp(14.5px, 4vw, 16px); white-space: normal; }
.is-land .prices thead th { border-bottom-color: var(--line); font-size: 13.5px; }
.is-land .prices tbody th { background: none; color: var(--ink); font-weight: 600; }
.is-land .prices tbody tr:last-child > * { border-bottom: 0; }
.is-land .prices .pn { font-size: clamp(1.3rem, 5vw, 1.75rem); line-height: 1.1; }
.is-land .prices .cur { font-size: .5em; }
.is-land .sub-h { margin-top: clamp(28px, 4vw, 44px); }
.is-land .incl { max-width: 1000px; margin-top: 12px; column-gap: 56px; color: var(--ink2); }
.is-land .incl li { position: relative; padding: 7px 0; padding-inline-start: 18px; break-inside: avoid; }
.is-land .incl li::before { content: ''; position: absolute; top: 1.05em; inset-inline-start: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.is-land .sec .btn.big { margin-top: 28px; }
/* תווית ארוכה (ברוסית) נשברת לשתי שורות במקום לגלוש מהמסך בטלפון צר */
.is-land .btn.big { max-width: 100%; padding-block: 8px; white-space: normal; text-align: center; line-height: 1.25; }

.is-land .faq { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 64px; margin-top: clamp(24px, 3vw, 36px); }
.is-land .faq > div { padding: 20px 0; border-top: 1px solid var(--line); }
.is-land .faq p { max-width: 54ch; margin-top: 6px; color: var(--ink2); }

.is-land .closing { --field: #14183a; --on-field: #fff; --on-field2: #c6ccee; --field-line: rgba(255, 255, 255, .22); background: var(--field); color: var(--on-field); padding: clamp(56px, 8vw, 96px) 0; }
.is-land .closing-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.is-land .closing .rates { margin-top: 0; }
.is-land .closing p { max-width: 46ch; margin-top: 12px; font-size: 1.15rem; color: var(--on-field2); }
.is-land .closing-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.is-land .closing-a a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.is-land .lfoot { padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.is-land .lfoot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.is-land .lfoot-b { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.is-land .lfoot-l { display: flex; gap: 4px; }
.is-land .lfoot-l a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.is-land .lfoot-l a[aria-current] { color: var(--ink); font-weight: 600; }

@supports (grid-template-columns: subgrid) {
  .is-land .rates li { grid-template-columns: subgrid; }
}
/* טלפון צר: הסרגל העליון מצטמצם כדי ששם המוצר לא ייחתך; בצר מאוד נשאר רק הסמל */
@media (max-width: 400px) {
  .is-land .lt .wrap { column-gap: 8px; }
  .is-land .lt-langs a { padding: 0 9px; }
  .is-land .lt .btn { padding: 0 12px; }
}
@media (max-width: 340px) {
  .is-land .lt .bn { display: none; }
}
@media (min-width: 760px) {
  .is-land .rows > div { grid-template-columns: 260px minmax(0, 1fr); }
  .is-land .incl { columns: 2; }
  .is-land .shot:not(.phone) img { max-width: none; border-radius: var(--r); }
  .is-land .shot:not(.phone) figcaption { text-align: start; }
}
@media (min-width: 900px) {
  .is-land .lt .wrap { min-height: 68px; padding-top: 0; }
  .is-land .lt-nav { order: 0; flex: 0 1 auto; gap: 2px; margin-inline: auto 0; padding-inline: 0; overflow: visible; }
  .is-land .lt-langs { margin-inline-start: 6px; }
  .is-land .lg-f { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .is-land .lg-s { display: none; }
  .is-land .st { grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1fr); }
  .is-land .split { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
  .is-land .split.wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .is-land .split .shot { margin-top: 0; }
  .is-land .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-land .closing-g { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; }
}
@media (min-width: 1000px) {
  .is-land .hero-g { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 84px); }
  .is-land .sheet .verts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .is-land .sheet .vert { min-height: 44px; padding: 6px 10px; font-size: 13.5px; line-height: 1.3; }
}
@media (hover: hover) and (pointer: fine) {
  .is-land .lt-nav a:hover, .is-land .lt-langs a:not([aria-current]):hover { background: #e6e9f7; }
  .is-land .closing a:not(.btn):hover { background: rgba(255, 255, 255, .14); }
  .is-land .lt .btn:hover { background: var(--ac-tint); border-color: var(--ac-line); }
  .is-land .closing .btn:hover { background: var(--ac-tint); border-color: var(--ac-tint); }
  .is-land .lfoot-l a:hover { color: var(--ink); }
}
/* התנועה היחידה בדף הולכת בכיוון שתיקון מתקדם: קדימה, בכיוון הקריאה. בלי תנועה הכול כבר מוצג במצבו הסופי. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .is-land .st::before { animation: rail linear both; animation-timeline: --st; animation-range: cover 18% cover 58%; }
  }
}
@keyframes rail { from { transform: scaleY(0); } }

/* ---------- דף המעקב של הלקוח ---------- */
.pub { max-width: 480px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; }
.pub-h { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.pub-logo { max-height: 44px; max-width: 120px; object-fit: contain; }
.pub-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; color: var(--ink2); }
.pub-note .ic { width: 18px; height: 18px; color: var(--muted); }
.pub-work { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--fill); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.pub-n { font-size: 14px; color: var(--muted); }
.pub h1 { font-size: 24px; font-weight: 600; line-height: 1.25; margin-top: 2px; overflow-wrap: anywhere; }
.pub-ok { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--good-bg); color: var(--good-ink); font-weight: 500; }
.track { margin: 20px 0 6px; display: flex; flex-direction: column; }
.track li { display: flex; align-items: center; gap: 12px; position: relative; padding: 9px 0; color: var(--faint); font-size: 15.5px; }
.track li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 11px; top: 34px; bottom: -8px; width: 2px; background: var(--line); }
.track .dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex: none; position: relative; z-index: 1; }
.track .dot .ic { width: 14px; height: 14px; stroke-width: 2.5; }
.track li.done { color: var(--ink2); }
.track li.done .dot { background: var(--good-dot); border-color: var(--good-dot); color: #fff; }
.track li.done::before { background: var(--good-dot); }
.track li.now { color: var(--ink); font-weight: 600; }
.track li.now .dot { border-color: var(--ac); box-shadow: 0 0 0 4px var(--ac-tint); }
.track li.now .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ac); }
.pub-quote, .pub-ready { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--fill); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pub-quote b { font-size: 32px; font-weight: 600; line-height: 1.1; }
.pub-changed { padding: 10px 12px; border-radius: 9px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 500; }
.pub-quote .btn { width: 100%; }
.pub-ready { background: var(--good-bg); border-color: #bfe6cb; color: var(--good-ink); }
.pub-act { display: grid; gap: 10px; margin-top: 18px; }
.pub-f { text-align: center; font-size: 12.5px; color: var(--muted); }
.pub-f a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- טופס קליטה להדפסה ---------- */
.slip { max-width: 420px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.slip-main, .slip-label { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.slip-main header { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.slip-logo { max-height: 56px; max-width: 110px; object-fit: contain; flex: none; }
.slip-shop { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.slip-shop b { font-size: 18px; }
.slip-shop span { font-size: 13px; color: var(--muted); }
.slip-terms { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--ink2); }
.slip-n { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.slip-n b { font-size: 34px; font-weight: 700; }
.slip-qr { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 13.5px; color: var(--ink2); }
.slip-qr svg { width: 110px; height: 110px; flex: none; }
.slip-label { display: flex; flex-direction: column; gap: 2px; border-style: dashed; }
.slip-label b { font-size: 26px; }

/* ---------- רחב יותר ---------- */
@media (min-width: 620px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid.one { grid-template-columns: minmax(0, 1fr); }
  .fld.full, .more { grid-column: 1 / -1; }
  .rrow { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); padding-bottom: 0; border-bottom: 0; }
  .rrow.rhead { display: grid; font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .more-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-sm { display: table-cell; }
  .tb-actions .btn:not(.primary) span { display: inline; }
  .tb-actions .btn:not(.primary) { padding: 0 16px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* ביט והעברה בנקאית זה לצד זה; כל השאר לרוחב המקטע */
  .pay { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .pay > * { grid-column: 1 / -1; }
  .pay > .pay-way { grid-column: auto; }
  .pay > .pay-way ~ .pay-way { padding-inline-start: 28px; }
  .pay-way .btn { align-self: flex-start; min-width: 220px; }
  .pay-f .btn { width: auto; min-width: 220px; }
  .searchbar { flex-direction: row; align-items: center; }
  .search { flex: 1; }
  .moves .btn.primary { flex: 0 1 auto; min-height: 44px; font-size: 14.5px; }
  .pub-act { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  body { font-size: 14.5px; }
  .app { display: grid; grid-template-columns: 240px minmax(0, 1fr); padding-bottom: 0; }
  .tabs { display: none; }
  .side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100dvh; padding: 20px 14px 16px; background: #fff; border-inline-end: 1px solid var(--line); }
  .side .brand { padding: 2px 6px; }
  .nav { display: flex; flex-direction: column; gap: 3px; flex: 1; min-height: 0; overflow: auto; }
  .navi { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink2);
    font-size: 14.5px; font-weight: 500; text-align: start; cursor: pointer; }
  .navi .ic { color: var(--muted); }
  .navi.on { background: var(--ac-tint); color: var(--ac-ink); font-weight: 600; }
  .navi.on .ic { color: var(--ac-ink); }
  .side-f { display: flex; flex-direction: column; gap: 8px; }
  .userchip { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
  .topbar { min-height: 76px; padding: 12px 28px; }
  .tb-title h1 { font-size: 21px; }
  .content { padding: 24px 28px 40px; }
  .banner, .flash { padding-inline: 28px; }
  .columns.r2-1, .tk { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
  .tk > .col { display: flex; }
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jump { display: none; }
  .pay { scroll-margin-top: 92px; }
  .fgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  input[type=text], input[type=tel], input[type=email], input[type=password], input[type=search], input[type=date], input:not([type]), select, textarea { font-size: 15px; }
}
@media (pointer: coarse) {
  input[type=text], input[type=tel], input[type=email], input[type=password], input[type=search], input[type=date], input:not([type]), select, textarea { font-size: 16px; }
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: #b9c0cc; }
  .btn.primary:hover { background: var(--ac-ink); border-color: var(--ac-ink); }
  .btn.wa:hover { background: var(--wa-ink); border-color: var(--wa-ink); }
  .btn.soft:hover { background: #d3deff; border-color: var(--ac-line); }
  .navi:hover { background: var(--fill); }
  .navi.on:hover { background: var(--ac-tint); }
  a.kpi:hover { border-color: #cfd5df; }
  tbody tr:hover td { background: #fafbfc; }
  .bt:hover, td.first a:hover, a.atx:hover { color: var(--ac-ink); }
  .seg:hover { color: var(--ink); }
  .langs a:not([aria-current]):hover, .house:hover { color: var(--ink); }
  .vert:hover { border-color: #b9c0cc; }
}
@media (prefers-reduced-motion: no-preference) {
  .vert:has(input:checked) + .tpl { animation: tpl-in .16s var(--ease); }
}
@keyframes tpl-in { from { opacity: 0; transform: translateX(var(--fwd)); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  body { background: #fff; }
  .noprint { display: none !important; }
  .slip { max-width: none; padding: 0; }
  .slip-main, .slip-label { border-color: #999; box-shadow: none; break-inside: avoid; }
}
