/* אותה שפה חזותית של ההדמיה: 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 { 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, [dir=ltr] .ic.back { 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; }
.topbar .tb-logo { flex: none; max-height: 34px; max-width: 76px; }              /* הלוגו של העסק בראש המסך בטלפון; במחשב הוא בראש התפריט */
.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; }

/* ---------- מדדים ---------- */
.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; }

/* ---------- טפסים ---------- */
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); }
/* אחרי כל סוג מעבדה באה שורה שמתארת את טופס הקליטה שלו; מוצגת רק השורה של הסוג שנבחר, מתחת לכל האפשרויות */
/* סוג המעבדה או העסק נבחר מרשימה נפתחת. מתחתיה שורה אחת שמתארת את הסוג שנבחר: לכל אפשרות ברשימה יש שורה באותו מקום בסדר,
   ומוצגת זו של האפשרות המסומנת. ההחלפה ב-CSS בלבד (:has), כך שהיא עובדת גם בלי JavaScript; דפדפן בלי :has לא מציג את השורה. */
.tpl { display: none; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.pick:has(option:nth-child(1):checked) .tpl:nth-child(1), .pick:has(option:nth-child(2):checked) .tpl:nth-child(2), .pick:has(option:nth-child(3):checked) .tpl:nth-child(3), .pick:has(option:nth-child(4):checked) .tpl:nth-child(4), .pick:has(option:nth-child(5):checked) .tpl:nth-child(5), .pick:has(option:nth-child(6):checked) .tpl:nth-child(6), .pick:has(option:nth-child(7):checked) .tpl:nth-child(7), .pick:has(option:nth-child(8):checked) .tpl:nth-child(8), .pick:has(option:nth-child(9):checked) .tpl:nth-child(9), .pick:has(option:nth-child(10):checked) .tpl:nth-child(10), .pick:has(option:nth-child(11):checked) .tpl:nth-child(11), .pick:has(option:nth-child(12):checked) .tpl:nth-child(12), .pick:has(option:nth-child(13):checked) .tpl:nth-child(13), .pick:has(option:nth-child(14):checked) .tpl:nth-child(14), .pick:has(option:nth-child(15):checked) .tpl:nth-child(15), .pick:has(option:nth-child(16):checked) .tpl:nth-child(16) { display: block; }
.tpl-i { color: var(--ink); font-weight: 500; }

/* ---------- כרטיס תיקון ---------- */
/* כרטיס תיקון: בנייד הכרטיסים מסודרים לפי 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; }
/* הבוט של המערכת בטלגרם: פסקאות הסבר, וקישור החיבור עם קוד ה-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 .rates-n a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.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 .shots2 { display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 300px); gap: 14px; margin-top: clamp(28px, 4vw, 52px); padding: 4px 2px 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.is-land .shots2 .shot { margin-top: 0; scroll-snap-align: center; }
.is-land .shots2:focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; border-radius: 12px; }
.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 .prices .sub { display: block; font-size: .92em; color: var(--muted); white-space: normal; }
.is-land .prices thead th { vertical-align: bottom; }
/* תא שגדל לעומת המסלול שמעליו: זה מה שמקבלים כשעוברים מסלול */
.is-land .prices td.up { color: var(--brand); font-weight: 700; }
/* בטלפון יש עד חמש עמודות: ריווח ומחיר קטנים יותר, כדי שהטבלה לא תצא מרוחב המסך */
@media (max-width: 480px) {
  .is-land .prices th, .is-land .prices td { padding: 12px 6px; font-size: 14px; }
  .is-land .prices thead th { font-size: 12.5px; }
  .is-land .prices .pn { font-size: 1.15rem; }
}
.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.two { grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; }
  .is-land .shots2 { grid-auto-columns: minmax(0, 1fr); margin-top: 0; padding: 0; overflow: visible; }
  .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); }
}
@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-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-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; }


.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; }
.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; }
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, .qform select { flex: 1; min-width: 0; }
.qform.wide { flex-direction: column; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.qform.wide.first { margin-top: 12px; padding-top: 0; border-top: 0; }
.qrow { display: flex; gap: 8px; }

/* ---------- יומן התורים ----------
   "מסילת היום": שעה בצד, נקודה בצבע השלב על מסילה אנכית, ולידה התור. אותו רכיב במסך "היום", ביומן ובכרטיס הלקוח.
   המסילה היא אותה מסילה של יומן הפעילות ושל דף המעקב במערכת המעבדות: קו דק של 2px ונקודות בצבעי הטון. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.agenda { padding: 2px 18px 10px; }
.agenda.flat { padding-inline: 0; }
.ag { display: grid; grid-template-columns: 46px 10px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; position: relative; min-height: 60px; padding: 8px 0; }
.ag::before { content: ''; position: absolute; inset-inline-start: 62px; top: 0; bottom: 0; width: 2px; background: var(--line2); }
.ag:first-child::before { top: 50%; }
.ag:last-child::before { bottom: 50%; }
.ag:only-child::before { display: none; }
.ag-t { display: flex; flex-direction: column; align-items: flex-end; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.ag-d { font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--n-dot); box-shadow: 0 0 0 3px var(--card); position: relative; z-index: 1; }
.ag-dot.t-good { background: var(--good-dot); } .ag-dot.t-warn { background: var(--warn-dot); } .ag-dot.t-bad { background: var(--bad-dot); } .ag-dot.t-info { background: var(--info-dot); }
.ag-b { display: flex; flex-direction: column; min-width: 0; padding-block: 2px; }
.ag-n { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-s { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-w { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; color: var(--warn-ink); }
.ag-w .ic { width: 14px; height: 14px; }
.ag-e { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; max-width: 46vw; }
.ag-e .btn { min-height: 40px; padding: 0 12px; }
/* הרשימה מתאימה את עצמה לרוחב של הכרטיס שהיא בתוכו (ולא של המסך): בכרטיס צר שתי תגיות עומדות אחת מעל השנייה,
   והכפתורים של התור יורדים לשורה משלהם, כדי שהשם לא ייחתך. */
.agenda { container-type: inline-size; }
@container (max-width: 480px) {
  .ag-e .chip + .chip { flex-basis: 100%; width: fit-content; margin-inline-start: auto; }
  .ag.stack { grid-template-columns: 46px 10px minmax(0, 1fr); row-gap: 8px; }
  .ag.stack .ag-e { grid-column: 3; justify-content: flex-start; max-width: none; }
  .ag.stack .ag-e .btn { flex: 1 1 0; }
}
@container (max-width: 330px) {
  .ag.acts { grid-template-columns: 46px 10px minmax(0, 1fr); row-gap: 8px; }
  .ag.acts .ag-e { grid-column: 3; justify-content: flex-start; max-width: none; }
}
.tk-time { display: block; margin-top: 2px; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
a.ag-b:active .ag-n { color: var(--ac-ink); }
.ag.s-cancelled .ag-n, .ag.s-no_show .ag-n, .ag.s-expired .ag-n { color: var(--muted); }
.ag.s-cancelled .ag-n, .ag.s-expired .ag-n { text-decoration: line-through; }
/* רווח פנוי וחסימה הם לא תורים: בלי שם, בצבע שקט, והנקודה שלהם חלולה */
.ag-gap .ag-t, .ag-off .ag-t { font-weight: 500; color: var(--muted); }
.ag-gap .ag-dot, .ag-off .ag-dot { background: var(--card); border: 2px solid var(--ctl); }
.ag-off .ag-dot { border-color: var(--n-dot); background: var(--n-bg); }
.ag-gap .ag-s { font-size: 14px; color: var(--ink2); }
/* "עכשיו": קו כחול דק בין מה שעבר למה שלפנינו, עם השעה. אותו כחול של השלב הנוכחי בדף המעקב. */
.ag-now { display: flex; align-items: center; gap: 8px; height: 18px; margin-inline: -18px; padding-inline: 18px; font-size: 11.5px; font-weight: 600; color: var(--ac-ink); }
.ag-now::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: var(--ac); }
.ag-now span { min-width: 46px; text-align: end; }
.card-h a.inl, .card-h .inl { font-size: 13.5px; font-weight: 500; white-space: nowrap; }
a.card-h { color: inherit; }
.pad-b { padding-bottom: 14px; }

/* סרגל היומן: ניווט בין ימים, יום או שבוע, ונותני השירות */
.calbar { display: flex; flex-direction: column; gap: 10px; }
.calnav { display: flex; align-items: center; gap: 8px; }
.btn.icon { padding: 0; width: 44px; flex: none; }
.btn.icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.btn.icon .ic { width: 20px; height: 20px; }
[dir=ltr] .ic.back { transform: scaleX(-1); }
.caljump { display: none; gap: 8px; margin-inline-start: auto; }
.caljump input { width: 160px; }
.daygrid { display: grid; gap: 16px; align-items: start; }
.daynote { display: flex; align-items: center; gap: 8px; margin: 14px 18px 4px; padding: 9px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; font-weight: 500; }
.daynote .ic { width: 18px; height: 18px; }
.daycol > .agenda:first-child, .daycol > .card-empty:first-child { padding-top: 12px; }

/* השבוע בעמודות (views/calendar.js, weekView): עמודה לכל יום, השעות לאורך, תור כמלבן בגובה של השעות שלו.
   המיקום מגיע במחלקות, כי ה-CSP אוסר style בתוך הדף: fr = השעה הראשונה בלוח, th/tm = שעת ההתחלה וחמש הדקות שבתוכה,
   dh/dm = המשך, ln/lt = הנתיב ומספר הנתיבים כשתורים חופפים, cn = מספר העמודות. בטלפון רואים שלושה ימים וגוללים לצד. */
.wkg-card { padding: 0; overflow: hidden; min-width: 0; }
.wkg-scroll { --axis: 52px; overflow-x: auto; overscroll-behavior-x: contain; container-type: inline-size; scroll-snap-type: x proximity; scroll-padding-inline-start: var(--axis); }
.wkg { --hh: 52px; --col: minmax(0, 1fr); display: grid; grid-template-columns: var(--axis) repeat(var(--cn, 7), var(--col)); }
@container (max-width: 719px) { .wkg { --col: calc((100cqi - var(--axis)) / min(3, var(--cn, 7))); } }
.wkg-corner { grid-row: 1; grid-column: 1; position: sticky; inset-inline-start: 0; z-index: 5; background: var(--card); border-block-end: 1px solid var(--line); }
.wkg-d { grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 12px 4px 11px;
  border-block-end: 1px solid var(--line); border-inline-start: 1px solid var(--line2); scroll-snap-align: start; text-align: center; }
.wkg-dw { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.wkg-dn { min-width: 44px; padding: 1px 8px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.wkg-d.now .wkg-dw { color: var(--ac-ink); }
.wkg-d.now .wkg-dn { background: var(--ac); color: var(--on-ac); }
.wkg-hol { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--warn-ink); }
.wkg-hours { grid-row: 2; grid-column: 1; position: sticky; inset-inline-start: 0; z-index: 5; background: var(--card); }
.wkg-h { position: relative; display: block; block-size: var(--hh); }
.wkg-h span { position: absolute; inset-block-start: -8px; inset-inline: 0; display: block; font-size: 12px; line-height: 16px; color: var(--muted); text-align: center; }
.wkg-h:first-child span { inset-block-start: 5px; }
.wkg-col { grid-row: 2; position: relative; min-width: 0; border-inline-start: 1px solid var(--line2); scroll-snap-align: start; }
.wkg-cell { display: block; block-size: var(--hh); border-block-start: 1px solid var(--line2); }
.wkg-cell:first-child { border-block-start: 0; }
a.wkg-cell:focus-visible { outline-offset: -2px; border-radius: 8px; }
.wkg-off, .wkg-a, .wkg-now, .wkg-nowt { position: absolute; inset-block-start: calc((var(--th) - var(--fr)) * var(--hh) + var(--tm, 0) * var(--hh) / 12); }
.wkg-off { z-index: 1; inset-inline: 0; block-size: calc(var(--dh, 0) * var(--hh) + var(--dm, 0) * var(--hh) / 12); background: var(--bg); pointer-events: none; }
.wkg-a { --tbg: var(--n-bg); --tdot: var(--n-dot); --tink: var(--n-ink); z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; gap: 1px; overflow: hidden;
  margin-block-start: 1px; block-size: calc(var(--dh, 0) * var(--hh) + var(--dm, 0) * var(--hh) / 12 - 2px); min-block-size: 20px;
  inset-inline-start: calc(var(--ln, 0) * 100% / var(--lt, 1) + 2px); inline-size: calc(100% / var(--lt, 1) - 4px);
  padding: 4px 7px; border-radius: 8px; border-inline-start: 3px solid var(--tdot); background: var(--tbg); color: var(--ink); font-size: 12.5px; line-height: 1.3; }
.wkg-a.t-info { --tbg: var(--info-bg); --tdot: var(--info-dot); --tink: var(--info-ink); }
.wkg-a.t-good { --tbg: var(--good-bg); --tdot: var(--good-dot); --tink: var(--good-ink); }
.wkg-a.t-warn { --tbg: var(--warn-bg); --tdot: var(--warn-dot); --tink: var(--warn-ink); }
.wkg-a.t-bad { --tbg: var(--bad-bg); --tdot: var(--bad-dot); --tink: var(--bad-ink); }
.wkg-at, .wkg-an, .wkg-as { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wkg-at { font-size: 11.5px; font-weight: 500; color: var(--tink); }
.wkg-an { font-weight: 500; }
.wkg-as { font-size: 12px; color: var(--tink); }
.wkg-a.s1 { justify-content: center; padding-block: 1px; }
.wkg-a.s1 .wkg-at, .wkg-a.s1 .wkg-as, .wkg-a.s2 .wkg-at { display: none; }
.wkg-a:is(.lt3, .lt4, .lt5, .lt6) { padding-inline: 5px 3px; }
.wkg-a:is(.lt3, .lt4, .lt5, .lt6) .wkg-as { display: none; }
.wkg-now { z-index: 3; inset-inline: 0; border-block-start: 2px solid var(--ac); pointer-events: none; }
.wkg-now::before { content: ""; position: absolute; inset-inline-start: -4px; inset-block-start: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
.wkg-nowt { z-index: 1; inset-inline: 5px; margin-block-start: -9px; border-radius: 6px; background: var(--ac); color: var(--on-ac); font-size: 11.5px; font-weight: 600; line-height: 18px; text-align: center; }
@container (max-width: 719px) {
  .wkg-a:not(.lt1) { padding-inline: 5px 3px; }
  .wkg-a:not(.lt1) .wkg-at, .wkg-a:not(.lt1) .wkg-as { display: none; }
}
.fr0{--fr:0}.fr1{--fr:1}.fr2{--fr:2}.fr3{--fr:3}.fr4{--fr:4}.fr5{--fr:5}.fr6{--fr:6}.fr7{--fr:7}.fr8{--fr:8}.fr9{--fr:9}.fr10{--fr:10}.fr11{--fr:11}
.fr12{--fr:12}.fr13{--fr:13}.fr14{--fr:14}.fr15{--fr:15}.fr16{--fr:16}.fr17{--fr:17}.fr18{--fr:18}.fr19{--fr:19}.fr20{--fr:20}.fr21{--fr:21}.fr22{--fr:22}.fr23{--fr:23}
.th0{--th:0}.th1{--th:1}.th2{--th:2}.th3{--th:3}.th4{--th:4}.th5{--th:5}.th6{--th:6}.th7{--th:7}.th8{--th:8}.th9{--th:9}.th10{--th:10}.th11{--th:11}.th12{--th:12}
.th13{--th:13}.th14{--th:14}.th15{--th:15}.th16{--th:16}.th17{--th:17}.th18{--th:18}.th19{--th:19}.th20{--th:20}.th21{--th:21}.th22{--th:22}.th23{--th:23}.th24{--th:24}
.tm0{--tm:0}.tm1{--tm:1}.tm2{--tm:2}.tm3{--tm:3}.tm4{--tm:4}.tm5{--tm:5}.tm6{--tm:6}.tm7{--tm:7}.tm8{--tm:8}.tm9{--tm:9}.tm10{--tm:10}.tm11{--tm:11}
.dh0{--dh:0}.dh1{--dh:1}.dh2{--dh:2}.dh3{--dh:3}.dh4{--dh:4}.dh5{--dh:5}.dh6{--dh:6}.dh7{--dh:7}.dh8{--dh:8}.dh9{--dh:9}.dh10{--dh:10}.dh11{--dh:11}.dh12{--dh:12}
.dh13{--dh:13}.dh14{--dh:14}.dh15{--dh:15}.dh16{--dh:16}.dh17{--dh:17}.dh18{--dh:18}.dh19{--dh:19}.dh20{--dh:20}.dh21{--dh:21}.dh22{--dh:22}.dh23{--dh:23}.dh24{--dh:24}
.dm0{--dm:0}.dm1{--dm:1}.dm2{--dm:2}.dm3{--dm:3}.dm4{--dm:4}.dm5{--dm:5}.dm6{--dm:6}.dm7{--dm:7}.dm8{--dm:8}.dm9{--dm:9}.dm10{--dm:10}.dm11{--dm:11}
.ln0{--ln:0}.ln1{--ln:1}.ln2{--ln:2}.ln3{--ln:3}.ln4{--ln:4}.ln5{--ln:5}.lt1{--lt:1}.lt2{--lt:2}.lt3{--lt:3}.lt4{--lt:4}.lt5{--lt:5}.lt6{--lt:6}
.cn1{--cn:1}.cn2{--cn:2}.cn3{--cn:3}.cn4{--cn:4}.cn5{--cn:5}.cn6{--cn:6}.cn7{--cn:7}
a.wkg-cell { display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) {
  a.wkg-cell:hover { background: var(--fill); }
  a.wkg-cell:hover::after { content: "+"; color: var(--ac-ink); font-size: 18px; line-height: 1; }
  a.wkg-d:hover .wkg-dw { color: var(--ink); }
  .wkg-a:hover { box-shadow: inset 0 0 0 1px var(--tdot); }
}
@media print { .wkg-scroll { overflow: visible; } .wkg { --col: minmax(0, 1fr); } }

/* רשימת שורות בתוך כרטיס: שירותים, יומנים, חסימות, רשימת המתנה */
.rowlist { padding: 4px 18px 6px; }
.rowlist li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); min-height: 60px; }
.rowlist li:last-child { border-bottom: 0; }
.rowlist li.off { opacity: .6; }
.rl-t { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rl-n { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
a.rl-n { color: var(--ink); }
.rl-t .sub { font-size: 13px; color: var(--muted); }
.rl-t .hr { display: inline-block; margin-inline-end: 10px; white-space: nowrap; }
.rl-a { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rl-a .btn { min-height: 40px; padding: 0 12px; }
.rl-a .btn.icon { width: 40px; padding: 0; }
.rl-link { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 44px; }
.rl-link .rl-n { flex: 1; }
.rl-link .ic:first-child { color: var(--muted); }
.rl-link .ic:last-child { color: var(--faint); width: 18px; height: 18px; }
.nav-rows li { padding: 4px 0; }

/* תיבות סימון, שעות עבודה, שעות פנויות לבחירה */
.chk { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; font-size: 14.5px; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ac); }
.chk span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 16px; }
input[type=time] { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--ctl); border-radius: 10px; background: #fff; font-size: 16px; font-variant-numeric: tabular-nums; direction: ltr; }
.hours { padding: 6px 18px 14px; display: flex; flex-direction: column; }
.hrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.hrow:last-child { border-bottom: 0; }
.hrow.hhead { display: none; }
.hday { padding: 0; min-height: 32px; font-weight: 500; }
.hpair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; color: var(--muted); }
.hrow.bad input { border-color: var(--bad-dot); }
/* יום שלא עובדים בו: השעות נשארות בטופס אבל שקטות */
.hrow:has(.hday input:not(:checked)) .hpair { opacity: .45; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks .btn { min-width: 76px; }
.linkbox { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--fill); font-size: 14px; overflow-wrap: anywhere; direction: ltr; text-align: start; user-select: all; -webkit-user-select: all; }
[dir=rtl] .linkbox { text-align: end; }
.form.narrow { max-width: 760px; }
button:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }
.tk-alert.t-neutral { background: var(--n-bg); color: var(--n-ink); }
.tk-links .btn { flex: 1 1 auto; }

/* עסק חדש: שלושה צעדים לפני הלקוח הראשון */
.steps { padding: 0 18px 16px; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 4px 12px; padding: 12px 0; padding-inline-start: 40px; border-bottom: 1px solid var(--line2); counter-increment: step; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ac-tint); color: var(--ac-ink); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps li > b { font-weight: 600; }
.steps li > span { font-size: 14px; color: var(--ink2); }
.steps .row { display: flex; flex-wrap: wrap; gap: 8px; }
.steps .linkbox { margin: 4px 0; }

/* ---------- הצד של הלקוח: דף העסק, קביעת תור ודף התור ---------- */
/* המעטפת: פס עליון (או ראש דף העסק) לכל הרוחב, התוכן בעמודה אחת באמצע, והתחתית נשארת בתחתית המסך */
.pub { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.pub main { flex: 1 0 auto; }
.pub-w { width: 100%; max-width: 520px; margin-inline: auto; padding-inline: 16px; }
.pub-body { display: flex; flex-direction: column; gap: 16px; padding-block: 16px 20px; }
.pub-h { background: var(--card); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.pub-h .pub-w { display: flex; align-items: center; min-height: 60px; }
.pub-brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; }
.pub-brand b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-brand .logo { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.pub-logo { max-height: 36px; max-width: 120px; object-fit: contain; }
.pub-f { padding: 4px 0 calc(20px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 12.5px; color: var(--muted); }
.pub-f a { text-decoration: underline; text-underline-offset: 3px; }
.pub h2.pub-sub, .pub .card-h h2 { font-size: 17px; font-weight: 600; }
.pub .card-h h1 { font-size: 22px; margin: 0; }
.pub-sub { margin-bottom: 10px; }
.pub-flash, .pub-warn { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 500; }
.pub-warn { margin-bottom: 14px; }
.pub-ok { margin: 0 0 14px; }
.ic.wa-ic { color: var(--wa); }
/* בחירה מתוך רשימה: שירות, או איש צוות. כל שורה היא קישור בגובה של אצבע. */
.choices { padding: 0 8px 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px; border-radius: 10px; transition: background-color .12s; }
.choices li + li .choice { border-top: 1px solid var(--line2); border-radius: 0 0 10px 10px; }
.choice:active { background: var(--ac-tint); }
.ch-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ch-t b { font-size: 16px; font-weight: 500; }
.ch-t span { font-size: 13.5px; color: var(--muted); }
.ch-t .ic { width: 14px; height: 14px; margin-inline-end: 5px; vertical-align: -2px; }
.ch-p { font-size: 15.5px; font-weight: 600; }
.choice > .ic { color: var(--faint); width: 18px; height: 18px; }
/* לוח הימים: שבועות שלמים, ראשון עד שבת. יום עם שעה פנויה בכחול בהיר, היום שנבחר בכחול מלא, יום מלא בלי רקע. נקודה מתחת = היום. */
.cal { padding: 0 18px 16px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; margin-bottom: 4px; }
.cal-m { font-size: 15px; font-weight: 600; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav .btn.icon { width: 40px; min-height: 40px; }
.cal-nav .off { opacity: .4; box-shadow: none; cursor: default; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { display: grid; place-items: center; height: 28px; font-size: 12px; font-weight: 500; color: var(--muted); }
.dayt { position: relative; display: grid; place-items: center; height: 44px; border-radius: 10px; background: var(--ac-tint); color: var(--ac-ink);
  transition: transform .12s var(--ease), background-color .12s, color .12s; }
.dayt b { font-size: 16px; font-weight: 600; }
.dayt.none { background: none; color: var(--muted); }
.dayt.none b { font-weight: 400; }
.dayt.on { background: var(--ac); color: var(--on-ac); }
.dayt.today::after { content: ''; position: absolute; bottom: 5px; inset-inline: 0; width: 4px; height: 4px; margin-inline: auto; border-radius: 50%; background: currentColor; }
.dayt:active { transform: scale(.94); }
/* השעות של היום שנבחר: אותו כחול בהיר של "פנוי", בלי מסגרות, כדי שעשרות שעות לא ייראו כמו טבלה */
.times { padding: 14px 18px 18px; border-top: 1px solid var(--line2); }
.times-h { font-size: 17px; font-weight: 600; }
.slot-h { margin: 18px 0 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.times-h + .slot-h { margin-top: 10px; }
/* תמיד ארבע עמודות: בשעות של רבע שעה כל שורה היא שעה אחת (09:00, 09:15, 09:30, 09:45), ואין שורות עם תא בודד באמצע */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { display: grid; place-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: var(--ac-tint); color: var(--ac-ink); font-size: 15.5px; font-weight: 500; cursor: pointer;
  transition: transform .12s var(--ease), background-color .12s, color .12s; }
.slot:active { transform: scale(.97); background: var(--ac); color: var(--on-ac); }
.times > .muted { margin-top: 8px; }
.waitform .slot-h { margin: 6px 0 -6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.waitform { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line2); }
.btn.wide { width: 100%; }
.pub .fgrid.one { padding-top: 4px; }
/* דף התור: היום והשעה הם העיקר */
.appt h1 { font-size: 22px; }
.appt-t { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
.appt-t b { font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.gone { color: var(--muted); text-decoration: line-through; }
.appt-ch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line2); }
.appt-ch .btn, .appt-ch details { flex: 1 1 auto; }
.appt-ch details summary { width: 100%; }
.pub-act form { display: contents; }

/* ---------- רחב יותר ---------- */
@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; }
  .more-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(4, 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; }
  .side .pub-logo { flex: none; max-height: 40px; max-width: 88px; }
  .topbar .tb-logo { display: none; }
  .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; }
  .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; }
  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); }
}
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: no-preference) { .pick .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; }
}

/* ---------- יומן התורים: רחב יותר ---------- */
@media (min-width: 620px) {
  .caljump { display: flex; }
  .calbar { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ag-e { max-width: none; }
  .hrow { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; }
  .hrow.hhead { display: grid; padding-block: 4px 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .hrow .fe { grid-column: 2 / -1; }
}
@media (min-width: 960px) {
  .daygrid.many { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .wkg { --hh: 60px; }
  input[type=time] { font-size: 15px; }
}
@media (pointer: coarse) {
  input[type=time] { font-size: 16px; }
}
@media (hover: hover) and (pointer: fine) {
  a.ag-b:hover .ag-n, a.rl-n:hover { color: var(--ac-ink); }
  .choice:hover { background: var(--fill); }
  .slot:hover, .dayt:not(.on):hover { background: var(--ac-line); }
  .dayt.none:hover { background: var(--fill); }
  .rl-link:hover .rl-n { color: var(--ac-ink); }
}
@media print {
  .side, .tabs, .topbar .tb-actions, .calbar, .ag-e .btn, .flash, .banner { display: none !important; }
  .app { display: block; padding: 0; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* הלוגו של המוצר (brandLogo ב-views/ui.js): הסמל, ולידו השם המצויר (img.wm, wordmark.svg, ביחס 4.2:1).
   הגובה הוא גובה האותיות הגבוהות (t, l), כשליש פחות מהסמל, כמו בקובץ logo.svg של מערכת המותג. */
:root { --brand: #5b3df5; }
.bn img.wm { display: block; height: 26px; width: auto; max-width: 100%; }
.bn img.wm:not(:last-child) { height: 21px; margin-bottom: 4px; }   /* עם שורה קטנה מתחת (מסך הניהול) */
.is-land .lt .bn img.wm { height: clamp(21px, 5.4vw, 27px); }
@media (max-width: 356px) {
  .is-land .lt .bn img.wm { height: 18px; }
}
/* בלי השם המצויר (שם אחר ב-BRAND_NAME): השם באותיות הלוגו, Rubik 800, והמילה האחרונה בצבע המותג. */
.bn b.wm { font-size: 24px; font-weight: 800; letter-spacing: -.022em; line-height: 1.15; color: var(--ink); }
.bn b.wm em { font-style: normal; color: var(--brand); }
.bn b.wm:not(:last-child) { font-size: 20px; }   /* עם שורה קטנה מתחת (מסך הניהול) */
.is-land .lt .bn b.wm { font-size: clamp(18px, 4.9vw, 25px); }
/* טלפון: השם בשתי שורות ליד הסמל (מילה מעל מילה), כדי שהסרגל העליון יישאר בשורה אחת */
@media (max-width: 480px) {
  .is-land .lt .bn b.wm { font-size: 17px; line-height: 1.04; white-space: normal; overflow: visible; }
  .is-land .lt .bn b.wm em { display: block; }
}
@media (max-width: 356px) {
  .is-land .lt .bn b.wm { font-size: 14.5px; }
}
/* ---------- דילוג לתוכן, קישורים משפטיים, הסכמה בהרשמה, מסמכים משפטיים ---------- */
.skip { position: absolute; inset-inline-start: 8px; top: 0; z-index: 100; padding: 10px 16px; border-radius: 0 0 10px 10px; background: var(--ink); color: #fff; font-weight: 600;
  transform: translateY(-120%); }
.skip:focus { transform: none; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; font-size: 13.5px; color: var(--muted); }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; }
.legal-links.min { font-size: 12.5px; }
.legal-links.min a { min-height: 36px; }
.simple-f { flex-direction: column; align-items: center; }
.pub-f .legal-links { margin-top: 4px; }
.is-land .lfoot-legal { flex-basis: 100%; justify-content: flex-start; }
.legal-links.in-app { justify-content: flex-start; margin-top: 8px; }
.fld.agree { margin-top: 2px; }
.agree-l { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.agree-l input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--ac-ink); }
.agree-l a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: 20px 18px; display: flex; flex-direction: column; gap: 16px; }
.legal-he { padding: 10px 12px; border-radius: 9px; background: var(--info-bg); color: var(--info-ink); font-weight: 500; }
.legal-draft { padding: 10px 12px; border-radius: 9px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; border-inline-start: 4px solid var(--warn-dot); }
.legal-doc { font-size: 16px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.legal-doc h1 { font-size: 26px; line-height: 1.25; margin: 16px 0 8px; }
.legal-doc h2 { font-size: 19px; line-height: 1.3; margin: 26px 0 6px; }
.legal-doc h3 { font-size: 16.5px; margin: 18px 0 4px; }
.legal-doc p { margin: 8px 0; }
.legal-doc ul, .legal-doc ol { margin: 8px 0; padding-inline-start: 24px; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li { margin: 4px 0; }
.legal-doc a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .tbl { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.legal-doc table { border-collapse: collapse; min-width: 480px; width: 100%; font-size: 14.5px; line-height: 1.5; }
.legal-doc th, .legal-doc td { padding: 8px 10px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line2); }
.legal-doc th { background: var(--fill); font-weight: 600; }
.legal-upd { margin-top: 24px; color: var(--muted); font-size: 14px; }
.legal-nav { border-top: 1px solid var(--line); padding-top: 12px; }
.legal-nav ul { display: flex; flex-wrap: wrap; gap: 0 8px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
@media print { .skip, .legal-links { display: none !important; } }

/* ---------- דף ההרשמה: פאנל מותג והמחשה, וטופס בשלושה שלבים ---------- */
.simple.su-wide { max-width: 1120px; }
.su { display: grid; gap: 18px; }
.su-side { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 24px 22px; border-radius: 24px; background: #14183a; color: #fff; }
.su-side::before { content: ""; position: absolute; z-index: -1; inset-inline-end: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 91, 255, .7) 0, rgba(45, 91, 255, 0) 68%); }
.su-side::after { content: ""; position: absolute; z-index: -1; inset-inline-start: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 140, 255, .28) 0, rgba(120, 140, 255, 0) 70%); }
.su-k { align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.su-ph { font-size: clamp(24px, 6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.su-pts { display: grid; gap: 10px; }
.su-pts li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.4; }
.su-pts .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #2d5bff; color: #fff; stroke-width: 2.4; margin-top: 1px; }
.su-demo { display: none; }
.su-form { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px 20px 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 24, 58, .05), 0 18px 40px -22px rgba(20, 24, 58, .28); }
.su-form h1 { font-size: clamp(24px, 5.5vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.su-sub { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.su-form .form-err { margin: 0 0 10px; }
.su-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding-bottom: 22px; }
.su-step:not(:last-of-type)::before { content: ""; position: absolute; inset-inline-start: 17px; top: 42px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line); }
.su-n { grid-row: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ac-tint); color: var(--ac-ink); border: 1px solid var(--ac-line); font-weight: 800; font-size: 15px; }
.su-st { grid-row: 1; align-self: center; font-size: 17px; font-weight: 700; }
.su-g { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 14px; padding-top: 14px; }
.su-form .fl { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.su-form input[type=text], .su-form input[type=tel], .su-form input[type=email], .su-form input[type=password], .su-form input:not([type]) {
  min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--fill); font-size: 16px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.su-form select { min-height: 52px; padding-inline: 16px 42px; border: 1.5px solid var(--line); border-radius: 14px; background-color: var(--fill); background-position: left 14px center; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
[dir=ltr] .su-form select { background-position: right 14px center; }
.su-form select:hover { border-color: var(--ctl); }
.su-form select:focus-visible { outline: none; border-color: var(--ac); background-color: #fff; box-shadow: 0 0 0 4px rgba(45, 91, 255, .15); border-radius: 14px; }
.su-form input:hover { border-color: var(--ctl); }
.su-form input:focus-visible { outline: none; border-color: var(--ac); background: #fff; box-shadow: 0 0 0 4px rgba(45, 91, 255, .15); border-radius: 14px; }
.su-form input[aria-invalid=true] { border-color: var(--bad-dot); background: var(--bad-bg); }
.su-form .fld.agree { margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.su-act { display: grid; gap: 12px; margin-top: 4px; justify-items: center; }
.su-go { width: 100%; min-height: 56px; border-radius: 16px; font-size: 17px; letter-spacing: .01em; }
.su-go .ic { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.su-go:hover .ic { transform: translateX(calc(var(--fwd) * 1.5)); }
.su-alt { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.su-fine { text-align: center; color: var(--muted); font-size: 13px; }
@media (min-width: 760px) {
  .su-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .su-g .full { grid-column: 1 / -1; }
  .su-form { padding: 32px 36px 28px; }
}
@media (min-width: 980px) {
  .su { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
  .su-side { padding: 40px 36px; gap: 26px; justify-content: space-between; position: sticky; top: 16px; align-self: start; min-height: 640px; }
  .su-ph { font-size: 38px; }
  .su-pts li { font-size: 16px; }
  .su-demo { display: block; position: relative; }
  .su-demo ul { display: grid; gap: 10px; }
  .su-d { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
  .su-d b { font-size: 15px; font-weight: 700; }
  .su-d span { grid-column: 1; font-size: 13px; color: rgba(255, 255, 255, .7); }
  .su-d em { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
  .su-d2 em { background: #ffd98a; color: #5c3a00; }
  .su-d3 em { background: #7be3b7; color: #05482f; }
  .su-d1 { margin-inline-end: 18px; } .su-d3 { margin-inline-start: 18px; }
  .su-msg { display: flex; align-items: center; gap: 10px; margin-top: 12px; margin-inline-start: 36px; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #e7fbef; color: #0b3d27; font-size: 14px; font-weight: 500; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .5); }
  [dir=rtl] .su-msg { border-radius: 16px 16px 4px 16px; }
  .su-msg .ic { color: #128c4a; flex: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .su-side, .su-form { animation: su-in .5s var(--ease) both; }
  .su-form { animation-delay: .06s; }
  @keyframes su-in { from { opacity: 0; transform: translateY(10px); } }
}

/* אותו טופס בשלושה שלבים, בתוך המסך הראשון של דף הבית (העמודה שם צרה יותר מדף ההרשמה) */
.is-land .sheet.su-form { gap: 4px; padding: 22px 18px 20px; border-radius: 24px; box-shadow: 0 1px 2px rgba(20, 24, 58, .05), 0 22px 48px -24px rgba(20, 24, 58, .32); }
.is-land .sheet.su-form > h2 { font-size: clamp(24px, 5.5vw, 28px); line-height: 1.15; font-weight: 800; }
.is-land .sheet.su-form .su-sub { margin: 2px 0 16px; }
.is-land .sheet.su-form .su-step { padding-bottom: 18px; }
@media (min-width: 760px) { .is-land .sheet.su-form { padding: 28px 28px 24px; } }
.is-land .sheet.su-form .su-g { gap: 12px 12px; padding-top: 12px; }
.is-land .sheet.su-form input[type=text], .is-land .sheet.su-form input[type=tel], .is-land .sheet.su-form input[type=email], .is-land .sheet.su-form input[type=password] { min-height: 48px; }
.is-land .sheet.su-form select { min-height: 48px; }
/* הטופס בשלבים גבוה מעמודת ההצעה: במסך רחב ההצעה והמחירון נשארים צמודים למעלה (ולא נמתחים לגובה הטופס), ונשארים בעין בזמן שגוללים את הטופס */
@media (min-width: 1000px) {
  .is-land .hero-g { align-items: start; }
  .is-land .offer { position: sticky; top: 28px; }
  .is-land .rates { margin-top: clamp(8px, 2vh, 28px); }
}

/* בטלפון השדות תופסים את כל רוחב הטופס: מספר השלב והכותרת בשורה משלהם, בלי הקו המחבר ובלי הזחה */
@media (max-width: 559px) {
  .su-step:not(:last-of-type)::before { display: none; }
  .su-g { grid-column: 1 / -1; }
}

/* ---------- הצד של הלקוח, עיצוב 14/11/2026: דף העסק כפרופיל, והתור ככרטיס כהה שמתמלא ---------- */
.pub { --tk: #14183a; --tk-2: #c9d2ff; --tk-line: rgba(255, 255, 255, .14); --lift: 0 1px 2px rgba(20, 24, 58, .05), 0 18px 40px -22px rgba(20, 24, 58, .28); }
.pub ::selection { background: var(--ac-line); color: var(--ink); }
.pub .tkt ::selection { background: #fff; color: var(--tk); }
.pub-w { max-width: 592px; }
.pub.biz .pub-w { max-width: 932px; }
.pub.duo .pub-w { max-width: 1012px; }
.pub .card { border-radius: 20px; box-shadow: var(--lift); }
.pub .card-h { padding: 18px 18px 10px; }
.pub .card-h h1 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }

/* דף העסק: רצועה כהה מנוקדת עם הילה כחולה אחת, וגיליון הזהות עולה עליה */
.biz-cover { position: relative; isolation: isolate; overflow: hidden; height: calc(132px + env(safe-area-inset-top, 0px)); background: var(--tk); }
.biz-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.biz-cover::after { content: ""; position: absolute; z-index: -1; inset-inline-end: 6%; top: -170px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 91, 255, .75), rgba(45, 91, 255, 0)); }
.biz-id { position: relative; display: grid; gap: 16px; margin-top: -58px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--lift); }
.biz-top { display: flex; align-items: flex-start; gap: 14px; }
/* הסמל בולט מעל שפת הגיליון במידה קבועה (18px בטלפון, 28px במסך רחב), בלי קשר לגובה השם */
.biz-top .logo, .biz-top .pub-logo { flex: none; width: 76px; height: 76px; max-width: none; max-height: none; margin-top: -36px; border-radius: 20px; border: 3px solid #fff; box-shadow: 0 10px 24px -12px rgba(20, 24, 58, .5); }
.biz-top .pub-logo { object-fit: contain; background: #fff; }
.biz-top .logo { font-size: 26px; }
.biz-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.biz h1 { margin: 0; font-size: 27px; font-weight: 800; line-height: 1.12; letter-spacing: -.015em; overflow-wrap: anywhere; text-wrap: balance; }
.biz-addr { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 32px; font-size: 14.5px; color: var(--ink2);
  text-decoration: underline; text-decoration-color: var(--ctl); text-underline-offset: 4px; }
.biz-addr .ic { width: 16px; height: 16px; color: var(--muted); }
.biz-about { max-width: 56ch; color: var(--ink2); line-height: 1.55; text-wrap: pretty; }
.biz-links { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-links .btn { flex: 1 1 calc(50% - 4px); min-height: 46px; border-radius: 12px; }
.pub.biz .pub-body { padding-top: 6px; }
.svc-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin: 14px 2px 12px; }
.svc-h h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.svc-h p { font-size: 13.5px; color: var(--muted); }

/* שורת בחירה (שירות, או איש צוות): שם, משך, השעה הפנויה הקרובה, מחיר, וסימן "קדימה" */
.pub .choices { padding: 6px; }
.pub .choice { min-height: 72px; padding: 12px; border-radius: 0; }
.pub .choices li:first-child .choice { border-radius: 14px 14px 0 0; }
.pub .choices li:last-child .choice { border-radius: 0 0 14px 14px; }
.pub .choices li:only-child .choice { border-radius: 14px; }
.pub .ch-t b { font-size: 16.5px; font-weight: 600; }
.ch-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 3px; }
.ch-d { display: inline-flex; align-items: center; }
.ch-t .near { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; background: var(--good-bg); color: var(--good-ink); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ch-t .near::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good-dot); }
.pub .ch-p { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ch-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ac-tint); color: var(--ac-ink); transition: background-color .12s, color .12s; }
.ch-go .ic { width: 18px; height: 18px; }
.choice:active .ch-go { background: var(--ac); color: var(--on-ac); }

/* "התור שלך": הכרטיס הכהה. בטלפון הוא מעל הצעד ומציג רק מה שכבר נבחר, שורה לכל בחירה. */
.pub-duo { display: flex; flex-direction: column; gap: 14px; }
.pub-step { min-width: 0; }
/* הכרטיס בנוי משני חלקים, גוף וספח, וביניהם חיתוך אמיתי: שני חצאי עיגול שקופים בכל צד (mask), כך שהרקע של הדף נראה דרכם.
   הצל הוא שכבה מטושטשת מתחת לכרטיס בלבד (כמו הצל של הגיליונות הלבנים): הצדדים נשארים נקיים, והרקע שנראה דרך החיתוך לא נצבע. */
.tkt { position: relative; isolation: isolate; color: #fff; }
.tkt::after { content: ""; position: absolute; z-index: -1; inset-inline: 22px; bottom: -10px; height: 36px; border-radius: 50%; background: rgba(20, 24, 58, .5); filter: blur(14px); }
.tk-body { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px 20px 0 0; background: var(--tk);
  -webkit-mask: radial-gradient(circle 11px at 0 100%, transparent 10.5px, #000 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 10.5px, #000 11px) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 100%, transparent 10.5px, #000 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 10.5px, #000 11px) 100% 0 / 51% 100% no-repeat; }
.tk-body:last-child { border-radius: 20px; -webkit-mask: none; mask: none; }
/* ההילה נגמרת בתוך הגוף גם בכרטיס הקצר ביותר (שורה אחת בטלפון), כדי שלא ייחתך מעבר צבע על קו החיתוך */
.tk-body::before { content: ""; position: absolute; z-index: -1; inset-inline-end: -90px; top: -120px; width: 300px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 91, 255, .7), rgba(45, 91, 255, 0)); }
.tkt.appt .tk-body::before { inset-inline-end: -130px; top: -170px; width: 380px; height: 340px; }
.tk-h { padding: 14px 16px 10px; }
.tk-h h2 { font-size: 15px; font-weight: 600; }
.tk-h > p:not(.appt-t) { display: none; }
.tk-rows { margin: 0; padding: 0 16px 10px; }
.tk-row { display: grid; grid-template-columns: 24px auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 44px; border-top: 1px solid var(--tk-line); font-size: 14.5px; }
.tk-row:not(.done) { display: none; }
.tk-i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ac-ink); }
.tk-i .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.tk-row dt { font-size: 12.5px; color: var(--tk-2); }
.tk-row dd { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.tk-sub { font-weight: 400; color: var(--tk-2); }
.tk-at { white-space: nowrap; }
.tk-ch { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 13.5px; font-weight: 500; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.tkt a:focus-visible { outline-color: #fff; }
/* הספח: מתחת לקו המקווקו. בקביעה: מחיר השירות, ובמסך רחב גם עד מתי אפשר לבטל. בדף התור: עד מתי אפשר לשנות. */
.tk-stub { position: relative; margin-top: -1px; padding: 15px 16px 14px; border-radius: 0 0 20px 20px; background: var(--tk);
  -webkit-mask: radial-gradient(circle 11px at 0 0, transparent 10.5px, #000 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, transparent 10.5px, #000 11px) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 0, transparent 10.5px, #000 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, transparent 10.5px, #000 11px) 100% 0 / 51% 100% no-repeat; }
.tk-stub::before { content: ""; position: absolute; inset-inline: 22px; top: 0; border-top: 2px dashed rgba(255, 255, 255, .32); }
.tk-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tk-price span { font-size: 13.5px; color: var(--tk-2); }
.tk-price b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.tk-rule { font-size: 13px; line-height: 1.5; color: var(--tk-2); text-wrap: pretty; }
.tk-price + .tk-rule { margin-top: 8px; }
/* הספח של דף "שינוי מועד": המועד הנוכחי, וחזרה לדף התור */
.tk-now { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk-now p { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tk-now p > span { font-size: 12.5px; color: var(--tk-2); }
.tk-now b { font-size: 14.5px; font-weight: 500; }
.tk-now .tk-at b { font-weight: 700; }
/* בטלפון, בזמן הקביעה, הכרטיס קצר: בלי שורת הכללים, ובלי ספח כשאין מחיר */
@media (max-width: 899.98px) {
  .pub-duo .tk-rule { display: none; }
  .pub-duo .tk-stub.only-rule { display: none; }
  .pub-duo .tk-body:has(+ .tk-stub.only-rule) { border-radius: 20px; -webkit-mask: none; mask: none; }
}

/* דף התור האישי: התור עצמו הוא הכרטיס */
.tkt.appt .tk-h { padding: 20px 20px 16px; }
.appt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.tkt.appt h1 { margin: 0; font-size: 22px; font-weight: 600; }
.tkt.appt .appt-t { margin-top: 2px; }
.tkt.appt .tk-stub { padding: 16px 20px 16px; }
.tkt.appt .tk-rule { font-size: 13.5px; }
.tkt.appt .appt-t b { font-size: 52px; font-weight: 700; letter-spacing: -.02em; }
.tkt.appt .appt-t span { color: var(--tk-2); }
.tkt .gone { color: rgba(255, 255, 255, .55); }
.tk-rows.plain { padding: 0 20px 12px; }
.tk-rows.plain .tk-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); min-height: 46px; }
.appt-do > :first-child { margin-top: 0; }

@media (min-width: 620px) {
  .biz-links .btn { flex: 0 1 auto; }
}
@media (min-width: 760px) {
  .biz-cover { height: 220px; }
  .biz-id { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 28px; margin-top: -84px; padding: 28px 30px; }
  .biz-n { padding-top: 6px; }
  .biz-top { gap: 20px; }
  .biz-top .logo, .biz-top .pub-logo { width: 104px; height: 104px; margin-top: -56px; border-radius: 26px; }
  .biz-top .logo { font-size: 36px; }
  .biz h1 { font-size: 38px; }
  .biz-about { grid-column: 1; font-size: 16px; }
  .biz-links { grid-column: 2; grid-row: 1 / span 2; align-self: center; flex-wrap: nowrap; }
  /* במסך רחב אינסטגרם וניווט הם כפתורי סמל; השם נשאר לקוראי מסך */
  .biz-links .btn.sq { width: 46px; padding: 0; flex: none; }
  .biz-links .btn.sq span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .svc-h { margin-top: 24px; }
  .svc-h h2 { font-size: 24px; }
  .pub.biz .choice { min-height: 84px; padding: 16px 20px; gap: 16px; }
  .pub.biz .ch-t b { font-size: 18px; }
  .pub.biz .ch-p { font-size: 22px; }
}
/* מסך רחב: הצעד בעמודה הראשית, והכרטיס עומד לצידו ונשאר בעין. כאן מוצגות כל שלוש השורות, גם מה שעוד לא נבחר. */
@media (min-width: 900px) {
  .pub.duo .pub-body { padding-top: 28px; }
  .pub-duo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
  .pub-duo .pub-step { grid-column: 1; grid-row: 1; }
  .pub-duo .tkt { grid-column: 2; grid-row: 1; position: sticky; top: 20px; }
  .pub-duo .tk-body::before { inset-inline-end: -130px; top: -170px; width: 380px; height: 340px; }
  .pub-duo .tk-h { padding: 24px 24px 16px; }
  .pub-duo .tk-h h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
  .pub-duo .tk-h > p:not(.appt-t) { display: block; margin-top: 4px; font-size: 14px; color: var(--tk-2); }
  .pub-duo .tk-rows { padding: 0 24px 12px; }
  .pub-duo .tk-row, .pub-duo .tk-row:not(.done) { display: grid; grid-template: "i l c" auto "i v c" auto / 34px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; padding: 12px 0; min-height: 0; }
  .pub-duo .tk-i { grid-area: i; width: 34px; height: 34px; }
  .pub-duo .tk-i .ic { width: 17px; height: 17px; }
  .pub-duo .tk-row dt { grid-area: l; }
  .pub-duo .tk-row dd { grid-area: v; font-size: 15.5px; }
  .pub-duo .tk-ch { grid-area: c; }
  .pub-duo .tk-row:not(.done) .tk-i { background: none; border: 1.5px solid rgba(255, 255, 255, .3); color: var(--tk-2); }
  .pub-duo .tk-row:not(.done) .tk-i .ic { stroke-width: 1.75; }
  .pub-duo .tk-row:not(.done) dd { font-weight: 400; color: rgba(255, 255, 255, .62); }
  .pub-duo .tk-row.now .tk-i { background: #fff; border-color: #fff; color: var(--ac-ink); box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
  .pub-duo .tk-row.now dd { font-weight: 600; color: #fff; }
  .pub-duo .tk-stub { padding: 20px 24px 22px; }
  .pub-duo .tk-price b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
  .pub-duo .tk-at { display: block; margin-top: 1px; font-size: 17px; }
  .pub-duo .tk-at b { font-weight: 700; }
  .pub-duo .tk-dot { display: none; }
  .pub-duo .tk-now { align-items: flex-end; }
  .pub.duo .book-rules { display: none; }
  .tkt.appt .tk-stub { padding: 18px 26px 20px; }
  .pub.duo .card-h { padding: 24px 26px 12px; }
  .pub.duo .card-h h1 { font-size: 26px; }
  .pub.duo .choices { padding: 6px 12px 12px; }
  .pub.duo .cal { padding: 0 26px 18px; }
  .pub.duo .times { padding: 16px 26px 24px; }
  .pub.duo .fgrid.one, .pub.duo .pad-x { padding-inline: 26px; }
  .tkt.appt .tk-h { padding: 26px 26px 18px; }
  .tk-rows.plain { padding: 0 26px 14px; }
}
@media (hover: hover) and (pointer: fine) {
  .choice:hover .ch-go { background: var(--ac); color: var(--on-ac); }
  .biz-addr:hover, .tk-ch:hover { text-decoration-color: currentColor; }
}
/* השורה שנבחרה בלחיצה האחרונה נכנסת לכרטיס בתנועה קלה, בכיוון הקריאה */
@media (prefers-reduced-motion: no-preference) {
  .tk-row.fresh dd, .tk-row.fresh .tk-i { animation: tk-in .45s var(--ease) both; }
  @keyframes tk-in { from { opacity: 0; transform: translateX(var(--fwd)); } }
  /* רגע הקביעה: הכרטיס של התור שנקבע עכשיו עולה למקומו */
  .tkt.arrive { animation: tk-arrive .6s var(--ease) both; }
  @keyframes tk-arrive { from { opacity: 0; transform: translateY(16px) scale(.98); } }
}
/* בדף התור: "אני מגיע/ה" לכל הרוחב, ומתחתיו שני הכפתורים המשניים זה לצד זה */
.appt-do .pub-act > form > .btn { grid-column: 1 / -1; }
/* כרטיס "הודעות ללקוח" כשההודעות יוצאות אוטומטית: ההתראה על כשל, והשליחה הידנית המקופלת */
.wa-alert { padding: 0 18px 8px; }
.wa-alert .tk-alert { margin-top: 4px; background: var(--bad-bg); color: var(--bad-ink); }
.wa-more { padding-inline: 18px; border-top: 1px solid var(--line2); }
.wa-more .wa-box { border-radius: 10px; margin-top: 4px; }
.wa-more .card-acts { border-top: 0; padding-inline: 0; }

/* ===== הסברים ומדריך התחלה (server/help.js, server/guide.js, views/help.js, views/guide.js). בלוק נפרד: מיזוג פשוט ===== */
/* "?" ליד כותרת מסך או כרטיס: שקט, ועדיין מטרה של 40 פיקסלים בנייד. בכותרת הוא לא מגדיל את השורה (שוליים שליליים). */
.hq { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-block: -8px; border-radius: 50%; color: var(--faint); }
.hq .ic { width: 20px; height: 20px; }
.hq:focus-visible { outline: 2px solid var(--ac); outline-offset: -2px; }
.tb-help { flex: none; }
.tb-help .hq { margin-block: 0; }
.card:has(> .hq.corner) { position: relative; }
.hq.corner { position: absolute; inset-block-start: 2px; inset-inline-end: 6px; margin: 0; z-index: 1; }
.gs-t .hq { margin-block: -10px; }
@media (hover: hover) and (pointer: fine) { .hq:hover { color: var(--ac-ink); background: var(--ac-tint); } }

/* האינדקס ודף הנושא: קריאה נוחה, צעדים כרשימה ממוספרת אמיתית */
.help-area .card-h h2, .help-rel .card-h h2 { font-size: 16px; font-weight: 600; }
.help-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; }
.hg-t { display: grid; gap: 2px; }
.help-doc { padding: 20px 18px 22px; font-size: 16px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.hd-lead p { margin: 0 0 10px; font-size: 17px; }
.hd-sec { margin-top: 24px; }
.hd-sec h2 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.hd-sec p, .hd-lead p { margin-block: 8px; }
.hd-sec ol, .hd-sec ul { margin: 8px 0; padding-inline-start: 26px; }
.hd-sec ol { list-style: decimal; }
.hd-sec ul { list-style: disc; }
.hd-sec li { margin: 8px 0; padding-inline-start: 4px; }
.hd-sec ol li::marker { color: var(--ac-ink); font-weight: 600; }
.help-doc a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 3px; }
.help-doc strong { font-weight: 600; }
.hd-q { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.hd-q h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.hd-q p { margin-block: 4px; }
.hd-go { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .help-doc { padding: 28px 32px 30px; } }

/* מדריך ההתחלה במסך הראשי: שלבים מחוברים בקו, הנוכחי בטבעת, שנגמרו בסימן וי */
.guide progress.bar { width: calc(100% - 36px); margin: 0 18px 6px; }
.gsteps { padding: 10px 18px 6px; }
.gs { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 14px; padding-bottom: 18px; }
.gs::before { content: ''; position: absolute; inset-inline-start: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.gs:last-child { padding-bottom: 8px; }
.gs:last-child::before { display: none; }
.gs-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ctl); color: var(--muted); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gs-n .ic { width: 16px; height: 16px; }
.gs.now .gs-n { border-color: var(--ac); background: var(--ac-tint); color: var(--ac-ink); }
.gs.done .gs-n { border-color: var(--good-dot); background: var(--good-bg); color: var(--good-ink); }
.gs-b { min-width: 0; padding-top: 2px; }
.gs-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 24px; }
.gs-t b { font-size: 15.5px; font-weight: 600; }
.gs.done .gs-t b { color: var(--muted); font-weight: 500; }
.gs-w { margin: 4px 0 10px; font-size: 14px; color: var(--ink2); line-height: 1.5; }
.gs-a { margin-top: 8px; }
.gs.done .gs-a { margin-top: 0; }
.gs .row { display: flex; flex-wrap: wrap; gap: 8px; }
.gs .linkbox { margin: 4px 0 10px; }
.btn.quiet { border-color: transparent; background: none; color: var(--ac-ink); font-weight: 500; padding-inline: 0; text-decoration: underline; text-underline-offset: 3px; }
.guide .form-f { align-items: center; }

/* הפס שבראש מסך שנפתח מהמדריך */
.gbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: var(--ac-tint); border-bottom: 1px solid var(--ac-line); }
.gb-t { flex: 1 1 320px; display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.45; }
.gb-t b { font-weight: 600; color: var(--ac-ink); }
.gb-t span { color: var(--ink2); }
.gb-a { display: flex; flex-wrap: wrap; gap: 8px; }
.card-h-r { display: inline-flex; align-items: center; gap: 8px; }
.link-l { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.link-l .hq { margin-block: -10px; }
/* הפס של המדריך נשאר בראש המסך בגלילה, מעל הסרגל העליון, והכרטיס שאליו קופצים (עוגן) נעצר מתחתיו */
.gbar { position: sticky; top: 0; z-index: 7; }
.main:has(.gbar) .content [id] { scroll-margin-top: 150px; }
@media (min-width: 960px) { .main:has(.gbar) .content [id] { scroll-margin-top: 96px; } }

/* שורת "בשלבי פיתוח" מתחת לקישורים המשפטיים */
.legal-beta { margin: 2px auto 0; max-width: 60ch; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: balance; }
.legal-links.in-app + .legal-beta { margin-inline: 0; text-align: start; }
.pub-wa { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* דף הבית: התורים ביומן של הטלפון. כרטיס יום בסגנון יומן של טלפון, עם התורים כפי שהם מופיעים שם (שם הלקוח · השירות) */
.is-land .pcal { margin: clamp(28px, 4vw, 40px) 0 0; }
.is-land .pcal-card { max-width: 340px; margin-inline: auto; padding: 18px 16px 8px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--lshadow); }
.is-land .pcal-d { padding: 0 4px 10px; font-size: 15px; font-weight: 700; }
.is-land .pcal li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 4px; border-top: 1px solid var(--line2); }
.is-land .pcal time { padding-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.is-land .pcal li span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--ac); color: #fff; }
.is-land .pcal b { font-size: 14.5px; font-weight: 600; }
.is-land .pcal small { font-size: 12.5px; color: rgba(255, 255, 255, .82); }
.is-land .pcal figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .is-land #phone .pcal { margin-top: 0; } }
.lfoot-legal + .legal-beta { max-width: none; margin-inline: 0; text-align: start; }

/* ---------- מסך הניהול: לשוניות, טבלאות, גרפים, יומן וכותרת עסק ----------
   מוקד העבודה של מנהל הפלטפורמה: סריקה מהירה לפני עיצוב. אותם כללים ואותם שמות מחלקות במעבדה בקליק ובתור בקליק. */
.simple.admin { max-width: 1120px; }
.simple.admin main { gap: 14px; }
.simple.admin .segs { align-self: stretch; display: flex; }
.simple.admin .segs .seg { flex: none; }
.admin > main > .banner { border: 1px solid #f3dfa6; border-radius: 10px; }
.admin > main > .form-err { margin: 0; }
.admin .card { scroll-margin-top: 16px; }
.crumb { font-size: 13.5px; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; }
.pager .btn { min-width: 84px; }

/* טבלת ניהול: בטלפון כל שורה הופכת לכרטיסון, ושם העמודה (data-l) מופיע לפני הערך */
.atable td { max-width: none; }
.atable td .sub { white-space: normal; overflow: visible; }
.atable .strong { font-weight: 600; }
.atable td.tacts { white-space: nowrap; text-align: end; }
.atable td.tacts .inline { display: inline-block; margin-inline-start: 6px; }
.atable tr.off { opacity: .6; }
.atable td .chips { flex-wrap: wrap; }
@media (max-width: 639px) {
  .atable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .atable, .atable tbody, .atable tr, .atable td { display: block; width: 100%; }
  .atable tr { padding: 12px 16px; border-bottom: 1px solid var(--line2); }
  .atable tbody tr:last-child { border-bottom: 0; }
  .atable td { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 4px 0; border: 0; text-align: end; }
  .atable td::before { content: attr(data-l); flex: none; color: var(--muted); font-size: 12.5px; text-align: start; }
  .atable td.first, .atable td.tacts { display: block; text-align: start; }
  .atable td.first::before, .atable td.tacts::before { content: none; }
  .atable td.tacts { padding-top: 8px; white-space: normal; }
}

/* גרף עמודות (SVG בצד השרת) */
.charts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.chart .card-h { padding-bottom: 4px; }
.chart .pad-x { padding-bottom: 14px; }
.bars { display: block; width: 100%; height: auto; direction: ltr; }
.bars rect { fill: var(--ac-line); }
.bars rect.hi { fill: var(--ac); }
.bars .ax { stroke: var(--line); stroke-width: 1; }
.bars .mk { fill: var(--good-dot); }
.bars text { font-size: 9px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.bars .mx { fill: var(--ink2); font-weight: 600; }
.bars-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.bars-cap b { color: var(--ink2); font-weight: 600; }

/* שלבי ההפעלה של האימות הדו-שלבי */
.asteps { margin: 0 0 12px; padding-inline-start: 40px; list-style: decimal; font-size: 14px; line-height: 1.7; }

/* כותרת העסק */
.bdl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; padding-bottom: 18px; margin: 0; }
.bdl dt { font-size: 12.5px; color: var(--muted); }
.bdl dd { margin: 2px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.note-f { padding-bottom: 6px; }
.packrow .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* יומן העסק */
.tline { list-style: none; margin: 0; padding: 2px 18px 8px; }
.tline li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.tline li:last-child { border-bottom: 0; }
.tl-k { font-size: 12px; color: var(--muted); }
.tl-t b { display: block; font-size: 14px; font-weight: 500; }
.tl-t .sub { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.tl-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tline .k-log .tl-k { color: var(--ac-ink); }
.tline .k-login .tl-k { color: var(--good-ink); }
@media (max-width: 479px) {
  .tline li { grid-template-columns: minmax(0, 1fr) auto; }
  .tl-k { display: none; }
}
@media (min-width: 620px) {
  .charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
