/* מנוע המערכות של קלוד לעצלנים: רכיבים מובייל פירסט + חמש ערכות נושא (library/styles.md).
   כל ערכת נושא מגדירה את אותם משתנים. המבנה זהה, והאופי משתנה. */

:root, [data-theme="clean-pro"] {
  --bg: #F4F5F7;
  --bg-fx: none;
  --surface: #FFFFFF;
  --surface-2: #F1F2F5;
  --text: #111827;
  --muted: #6B7280;
  --line: #E5E7EB;
  --accent: #2563EB;
  --on-accent: #FFFFFF;
  --hero: #111827;
  --on-hero: #FFFFFF;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(17 24 39 / .05), 0 8px 22px rgb(17 24 39 / .06);
  --glass: none;
  --nav-bg: #FFFFFF;
  --nav-text: #9CA3AF;
  --nav-active: #111827;
  --nav-active-bg: transparent;
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 800;
  --num-weight: 800;
  --tile-1: var(--surface); --tile-2: var(--surface); --tile-3: var(--surface); --tile-4: var(--surface);
}

[data-theme="bold-dark"] {
  --bg: #0C0C0F;
  --surface: #18181D;
  --surface-2: #232329;
  --text: #F4F4F6;
  --muted: #8E8E99;
  --line: #2B2B33;
  --accent: #FFE14D;
  --on-accent: #111111;
  --hero: var(--accent);
  --on-hero: var(--on-accent);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 30px rgb(0 0 0 / .35);
  --nav-bg: #1E1E24;
  --nav-text: #8E8E99;
  --nav-active: var(--on-accent);
  --nav-active-bg: var(--accent);
  --font-head: 'Rubik', 'Heebo', sans-serif;
  --head-weight: 900;
  --num-weight: 900;
}

[data-theme="soft-air"] {
  --bg: #EEECF5;
  --bg-fx: linear-gradient(165deg, #E7E4F1 0%, #F7F6FB 55%, #ECE9F5 100%);
  --surface: rgb(255 255 255 / .62);
  --surface-2: rgb(255 255 255 / .45);
  --text: #1F1C2E;
  --muted: #7B7792;
  --line: rgb(31 28 46 / .08);
  --accent: #5B5BD6;
  --on-accent: #FFFFFF;
  --hero: rgb(255 255 255 / .72);
  --on-hero: #1F1C2E;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgb(80 70 140 / .10);
  --glass: blur(16px);
  --nav-bg: rgb(255 255 255 / .82);
  --nav-text: #8E8AA5;
  --nav-active: #FFFFFF;
  --nav-active-bg: #1F1C2E;
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 700;
  --num-weight: 300;
}

[data-theme="photo-immersive"] {
  --bg: #0E1714;
  --surface: rgb(255 255 255 / .08);
  --surface-2: rgb(255 255 255 / .13);
  --text: #F3F6F4;
  --muted: #A9B8B1;
  --line: rgb(255 255 255 / .12);
  --accent: #FFFFFF;
  --on-accent: #0E1714;
  --hero: rgb(255 255 255 / .1);
  --on-hero: #FFFFFF;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 16px 40px rgb(0 0 0 / .35);
  --glass: blur(14px);
  --nav-bg: rgb(20 32 28 / .72);
  --nav-text: #A9B8B1;
  --nav-active: var(--on-accent);
  --nav-active-bg: var(--accent);
  --font-head: 'Heebo', system-ui, sans-serif;
  --head-weight: 500;
  --num-weight: 300;
}

[data-theme="playful-blocks"] {
  --bg: #FFF9EF;
  --surface: #FFFFFF;
  --surface-2: #FFF1DC;
  --text: #1C1B1F;
  --muted: #6E6A75;
  --line: #F0E6D6;
  --accent: #1C1B1F;
  --on-accent: #FFFFFF;
  --hero: #FFE48A;
  --on-hero: #1C1B1F;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 2px 0 rgb(28 27 31 / .06), 0 10px 24px rgb(120 90 40 / .08);
  --nav-bg: #FFFFFF;
  --nav-text: #9A95A2;
  --nav-active: #FFFFFF;
  --nav-active-bg: #1C1B1F;
  --font-head: 'Rubik', 'Heebo', sans-serif;
  --head-weight: 800;
  --num-weight: 800;
  --tile-1: #FFE48A; --tile-2: #E3DAFF; --tile-3: #CDEFDF; --tile-4: #FFD8C6;
}

/* צבעי סטטוס */
:root { --c-red: #E5484D; --c-orange: #F76B15; --c-yellow: #E0A100; --c-green: #12A150; --c-teal: #0E9F9A; --c-blue: #3B6CF6; --c-purple: #8E4EC6; --c-gray: #8B8D98; }

/* ---------- בסיס ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-fx, none), var(--bg);
  background-attachment: fixed;
  overflow-x: clip;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.15; text-wrap: balance; }
.i { width: 22px; height: 22px; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- מבנה ---------- */
.app { padding: 0 16px calc(110px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; margin-bottom: 4px; background: linear-gradient(var(--bg) 70%, transparent); }
[data-theme="soft-air"] .top { background: transparent; backdrop-filter: blur(10px); }
[data-theme="photo-immersive"] .top { background: linear-gradient(rgb(14 23 20 / .9) 60%, transparent); }
.top__title { flex: 1; min-width: 0; }
.top__title h1 { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__title small { display: block; font-size: 13px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow); backdrop-filter: var(--glass); cursor: pointer; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; font-weight: 800; color: var(--on-accent); background: var(--accent); }
.brand-logo { height: 34px; width: auto; }

/* ---------- ניווט ---------- */
.nav { position: fixed; z-index: 30; display: flex; justify-content: space-around; gap: 4px; }
.nav a { display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 8px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--nav-text); }
.nav a.on { color: var(--nav-active); background: var(--nav-active-bg); }
/* סרגל מלא: נקי וצבעוני */
.nav { left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--nav-bg); border-top: 1px solid var(--line); }
[data-theme="clean-pro"] .nav a.on { color: var(--accent); }
/* גלולה צפה: כהה, רך, תמונתי */
[data-theme="bold-dark"] .nav, [data-theme="soft-air"] .nav, [data-theme="photo-immersive"] .nav {
  left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto;
  padding: 8px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
[data-theme="bold-dark"] .nav a span, [data-theme="soft-air"] .nav a span, [data-theme="photo-immersive"] .nav a span { display: none; }
[data-theme="bold-dark"] .nav a, [data-theme="soft-air"] .nav a, [data-theme="photo-immersive"] .nav a { min-width: 52px; height: 52px; place-content: center; }
[data-theme="soft-air"] .nav a.on { border-radius: 16px; }
[data-theme="playful-blocks"] .nav a.on { padding-inline: 14px; }

/* כפתור צף */
.fab { position: fixed; z-index: 31; left: 18px; bottom: calc(92px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--on-accent); background: var(--accent); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 45%, transparent); cursor: pointer; }
[data-theme="bold-dark"] .fab, [data-theme="soft-air"] .fab, [data-theme="photo-immersive"] .fab { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- כרטיסים ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.section { margin-top: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section__head h2 { font-size: 19px; }
.section__head a { font-size: 14px; font-weight: 700; color: var(--accent); }
[data-theme="photo-immersive"] .section__head a, [data-theme="playful-blocks"] .section__head a { color: var(--text); text-decoration: underline; }

/* ---------- דשבורד ---------- */
.greet h1 { font-size: 28px; }
.greet p { margin-top: 4px; color: var(--muted); }
.cover { position: relative; margin: 0 -16px; padding: 90px 20px 24px; min-height: 240px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .65)), var(--cover, linear-gradient(135deg, #1D3A30, #0E1714)); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.cover h1 { font-size: 36px; font-weight: 300; line-height: 1.05; }
.cover h1 b { font-weight: 700; }
.cover p { margin-top: 8px; color: rgb(255 255 255 / .8); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.kpi b { display: block; font-family: var(--font-head); font-weight: var(--num-weight); font-size: 32px; line-height: 1.1; letter-spacing: -.5px; }
.kpi span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.kpi:first-child { grid-column: 1 / -1; background: var(--hero); color: var(--on-hero); border-color: transparent; }
.kpi:first-child span { color: color-mix(in srgb, var(--on-hero) 72%, transparent); }
.kpi:first-child b { font-size: 42px; }
.kpis:has(.kpi:nth-child(4)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis:has(.kpi:nth-child(4)) .kpi:not(:first-child) { padding: 14px 12px; }
.kpis:has(.kpi:nth-child(4)) .kpi:not(:first-child) b { font-size: 28px; }
[data-theme="playful-blocks"] .kpi:nth-child(1) { background: var(--tile-1); }
[data-theme="playful-blocks"] .kpi:nth-child(2) { background: var(--tile-2); }
[data-theme="playful-blocks"] .kpi:nth-child(3) { background: var(--tile-3); }
[data-theme="playful-blocks"] .kpi:nth-child(4) { background: var(--tile-4); }
[data-theme="playful-blocks"] .kpi span { color: color-mix(in srgb, var(--text) 70%, transparent); }
[data-theme="soft-air"] .kpi b { font-size: 38px; }
[data-theme="soft-air"] .kpi:first-child b { font-size: 52px; }
.quick { display: flex; gap: 8px; overflow-x: auto; margin: 18px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }

/* ---------- רשימות ---------- */
.search { position: relative; margin-top: 4px; }
.search input { width: 100%; height: 50px; padding: 0 46px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: var(--glass); outline: none; }
.search input:focus { border-color: var(--accent); }
.search .i { position: absolute; top: 14px; right: 16px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap; backdrop-filter: var(--glass); }
.chip-btn.on { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.chip-btn em { font-style: normal; font-size: 12px; opacity: .7; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.toolbar small { color: var(--muted); font-weight: 600; }
.seg-view { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.seg-view button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg-view button.on { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.seg-view .i { width: 18px; height: 18px; }

.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: var(--glass); cursor: pointer; }
.item__av { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; font-weight: 800; color: var(--text); background: var(--surface-2); overflow: hidden; }
.item__av img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="bold-dark"] .item__av { border-radius: 50%; }
.item__main { flex: 1; min-width: 0; }
.item__main b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__main small { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__end { display: grid; justify-items: end; gap: 6px; flex: none; }
.item__end small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.money { font-family: var(--font-head); font-weight: 800; }

.status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; color: color-mix(in srgb, var(--c) 78%, var(--text)); background: color-mix(in srgb, var(--c) 16%, transparent); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
[data-theme="bold-dark"] .status { color: #fff; background: var(--c); }
[data-theme="bold-dark"] .status::before { background: rgb(255 255 255 / .8); }

.empty { padding: 40px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--text); }

/* לוח עמודות */
.board { display: flex; gap: 12px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.board::-webkit-scrollbar { display: none; }
.col { flex: none; width: 78%; max-width: 320px; scroll-snap-align: start; padding: 12px; border-radius: var(--radius-lg); background: var(--surface-2); }
.col__head { display: flex; align-items: center; gap: 8px; margin: 2px 4px 12px; font-weight: 800; }
.col__head em { margin-inline-start: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.col .item { padding: 12px; margin-bottom: 8px; box-shadow: none; }
.col .empty { padding: 20px 10px; font-size: 14px; }

/* ---------- כרטיס פרטים ---------- */
.detail-hero { padding: 20px; margin-top: 6px; }
.detail-hero h2 { font-size: 26px; }
.detail-hero p { margin-top: 4px; color: var(--muted); }
.statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.statuses button { height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.statuses button.on { border-color: transparent; color: #fff; background: var(--c); }
.actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 14px; }
.action { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.action .i { color: var(--accent); }
[data-theme="photo-immersive"] .action .i, [data-theme="playful-blocks"] .action .i { color: var(--text); }
.action--wa .i { color: #25D366 !important; }
.fields { margin-top: 14px; padding: 4px 16px; }
.fields div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fields div:last-child { border-bottom: 0; }
.fields dt { color: var(--muted); font-size: 14px; font-weight: 600; flex: none; }
.fields dd { margin: 0; font-weight: 600; text-align: left; overflow-wrap: anywhere; }
.fields dd.long { text-align: right; font-weight: 400; }
.fields img { max-width: 160px; border-radius: 12px; }

/* ---------- טפסים ---------- */
.form { display: grid; gap: 16px; margin-top: 8px; }
.f { display: grid; gap: 7px; }
.f > label, .f > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.f > label i { font-style: normal; color: var(--c-red); }
.f input, .f textarea, .f select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 17px; outline: none; backdrop-filter: var(--glass); }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.f select option { color: #111; }
.f .money-in { position: relative; }
.f .money-in input { padding-left: 40px; }
.f .money-in b { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.f .err { font-size: 13.5px; font-weight: 700; color: var(--c-red); }
.f.bad input, .f.bad textarea, .f.bad select { border-color: var(--c-red); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; cursor: pointer; backdrop-filter: var(--glass); }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label:has(input:checked) { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.pills label.st:has(input:checked) { color: #fff; background: var(--c); }
.switch { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 700; }
.switch input { flex: none; width: 48px !important; height: 28px; min-height: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; appearance: none; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(-20px); }
.photo-in { display: flex; align-items: center; gap: 12px; }
.photo-in img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.savebar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.savebar > * { flex: 1; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap; }
.btn--primary { color: var(--on-accent); background: var(--accent); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--ghost { color: var(--text); background: var(--surface); border: 1.5px solid var(--line); backdrop-filter: var(--glass); }
.btn--danger { color: var(--c-red); background: transparent; border: 1.5px solid color-mix(in srgb, var(--c-red) 40%, transparent); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row > * { flex: 1; }

/* ---------- הגדרות ---------- */
.set { padding: 16px; margin-top: 12px; display: grid; gap: 14px; }
.set h3 { font-size: 17px; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-card { display: grid; gap: 8px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; text-align: right; }
.theme-card.on { border-color: var(--accent); }
.theme-card b { font-size: 14px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .08); }

/* ---------- הודעה ---------- */
.toast { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-radius: 999px; color: #fff; background: #1C1B22; box-shadow: 0 12px 30px rgb(0 0 0 / .3); font-weight: 700; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s; }
.toast.on { transform: none; opacity: 1; pointer-events: auto; }
.toast button { border: 0; background: none; color: #FFE14D; font-weight: 800; cursor: pointer; }

/* ---------- כניסה ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: min(420px, 100%); padding: 28px 22px; display: grid; gap: 14px; text-align: center; }
.login h1 { font-size: 30px; }
.demo-note { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius); font-size: 13.5px; background: color-mix(in srgb, var(--c-yellow) 16%, transparent); }

/* ---------- מחשב: ניווט בצד ---------- */
@media (min-width: 960px) {
  .app { max-width: 1060px; padding: 0 32px 60px; margin-right: 260px; margin-left: auto; }
  .nav, [data-theme="bold-dark"] .nav, [data-theme="soft-air"] .nav, [data-theme="photo-immersive"] .nav {
    top: 16px; bottom: 16px; right: 16px; left: auto; width: 220px; max-width: none; margin: 0;
    flex-direction: column; justify-content: flex-start; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  }
  .nav a, [data-theme="bold-dark"] .nav a, [data-theme="soft-air"] .nav a, [data-theme="photo-immersive"] .nav a { display: flex; grid-template-columns: none; place-content: initial; align-items: center; gap: 12px; height: 48px; padding: 0 14px; font-size: 15px; border-radius: 14px; }
  .nav a span, [data-theme="bold-dark"] .nav a span, [data-theme="soft-air"] .nav a span, [data-theme="photo-immersive"] .nav a span { display: inline; }
  .fab { bottom: 28px !important; left: 32px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi:first-child { grid-column: auto; }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col { width: 300px; }
  .savebar { right: 260px; }
  .toast { bottom: 28px; }
  .cover { margin: 0; border-radius: var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- ערכת נושא: ירוק וזהב (צבעי המותג של אבקסיס) ---------- */
[data-theme="brand-teal"] {
  --bg: #0B2A2C;
  --bg-fx: radial-gradient(700px 380px at 100% -10%, #15494C 0%, transparent 60%);
  --surface: #12393B;
  --surface-2: #184446;
  --text: #FAF8F3;
  --muted: #A8BDBA;
  --line: rgb(250 248 243 / .1);
  --accent: #B8863B;
  --on-accent: #FFFFFF;
  --hero: linear-gradient(135deg, #C99A4E 0%, #A7772F 100%);
  --on-hero: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 30px rgb(0 0 0 / .28);
  --nav-bg: #0E3335;
  --nav-text: #8FA8A5;
  --nav-active: #E2B670;
  --nav-active-bg: transparent;
  --font-head: 'Rubik', 'Heebo', sans-serif;
  --head-weight: 900;
  --num-weight: 900;
}
[data-theme="brand-teal"] .item__av { border-radius: 50%; color: #E2B670; background: rgb(184 134 59 / .16); }
[data-theme="brand-teal"] .status { color: #fff; background: var(--c); }
[data-theme="brand-teal"] .status::before { background: rgb(255 255 255 / .8); }
[data-theme="brand-teal"] .section__head a, [data-theme="brand-teal"] .action .i { color: #E2B670; }
[data-theme="brand-teal"] .kpi:not(:first-child) b { color: #E2B670; }

/* ---------- תוספות למערכת של אבקסיס ---------- */
.brand-chip { display: inline-grid; place-items: center; height: 46px; padding: 4px 10px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); flex: none; }
.brand-chip img { height: 38px; width: auto; display: block; }
.extra { padding: 16px; margin-top: 14px; display: grid; gap: 12px; }
.extra h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.extra p { color: var(--muted); font-size: 14.5px; }
.extra .btn-row { margin-top: 0; flex-wrap: wrap; }
.extra .btn-row > * { flex: 1 1 140px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips span { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--surface-2); }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc div { padding: 12px; border-radius: var(--radius); background: var(--surface-2); }
.calc b { display: block; font-family: var(--font-head); font-weight: var(--num-weight); font-size: 24px; }
.calc span { font-size: 13px; font-weight: 600; color: var(--muted); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 2px 0; }
.day-head h2 { font-size: 18px; }
.day-head small { color: var(--muted); font-weight: 600; }
.meet-tools { display: flex; gap: 8px; margin: 6px 4px 0; }
.meet-tools a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--surface-2); }
.meet-tools a .i { width: 18px; height: 18px; }
.meet-tools a.wa .i { color: #25D366; }
.fields dd .tel-links { display: inline-flex; gap: 6px; margin-inline-start: 8px; vertical-align: middle; }
.fields dd .tel-links a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); }
.fields dd .tel-links a .i { width: 18px; height: 18px; color: var(--accent); }
.fields dd .tel-links a.wa .i { color: #25D366; }
.fields dd a.ext { color: var(--accent); text-decoration: underline; font-weight: 700; }
[data-theme="brand-teal"] .fields dd a.ext { color: #E2B670; }
.market-gap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--text) !important; }
.market-gap b { font-family: var(--font-head); font-weight: var(--num-weight); font-size: 30px; color: var(--c); }
.market-gap span { font-weight: 700; }
.market-badge { color: var(--c) !important; font-weight: 800; }
.market-hint { font-size: 14px; font-weight: 600; color: var(--muted); }
.market-hint b { color: var(--c); }
.extra a.ext { color: var(--accent); text-decoration: underline; font-weight: 700; }
[data-theme="brand-teal"] .extra a.ext { color: #E2B670; }
.add-link { justify-self: start; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: underline; }
[data-theme="brand-teal"] .add-link { color: #E2B670; }
.fields dd > a[href^="#/t/contacts"] { text-decoration: underline; }
.remind__hint { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.remind__row { display: flex; align-items: center; gap: 12px; }
.remind__row .item__main { flex: 1; min-width: 0; }
.remind__row .btn { flex: none; }

.zoom-link { word-break: break-all; margin: 0 0 10px; }
.summary-text { white-space: pre-wrap; line-height: 1.7; font-size: 16px; }
.invite-row { flex-wrap: wrap; }
.invite-btns { display: flex; gap: 6px; flex: none; }
@media (max-width: 520px) { .invite-row .item__main { flex: 1 1 100%; } .invite-row .item__main b { white-space: normal; } .invite-btns { width: 100%; } .invite-btns .btn { flex: 1; justify-content: center; } }
.summary-more summary { cursor: pointer; font-weight: 700; color: var(--muted); margin-bottom: 8px; }

/* מחשבון תקציב */
.calc-step { margin-top: 14px; }
.calc-step__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.calc-step__head h2 { margin: 0; font-size: 20px; }
.calc-step__head p { margin: 2px 0 0; }
.calc-step__n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 900; font-size: 18px; color: var(--ink, #0F3A3C); background: linear-gradient(135deg, #E2B670, #B8863B); }
.calc-sub { margin: 16px 0 8px; font-size: 16px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.calc-out, .calc-final { margin-top: 14px; }
.calc .muted { display: block; font-size: 12px; }
.calc-out b, .calc-final b { white-space: nowrap; font-size: clamp(18px, 5.2vw, 26px); }
.calc-limit { margin: 12px 0 0; font-size: 16px; }
.calc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* דף ה-PDF (נבנה מחוץ למסך ומצולם לקובץ) */
.calc-pdf { width: 794px; min-height: 1123px; box-sizing: border-box; padding: 56px 60px; background: #fff; color: #0F3A3C; font-family: Arial, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; }
.calc-pdf header { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #D9A65A; padding-bottom: 12px; }
.calc-pdf header b { display: block; font-size: 19px; }
.calc-pdf header span { color: #9A6E2C; font-weight: 700; font-size: 13px; }
.calc-pdf header img { height: 74px; }
.calc-pdf .doc-contacts { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #0F3A3C; color: #fff; border-radius: 8px; padding: 7px 14px; margin-top: 10px; font-size: 13px; }
.calc-pdf .doc-contacts b { display: inline; font-size: 13px; color: #D9B26A; }
.calc-pdf .doc-contacts bdi { font-weight: 700; }
.calc-pdf h1 { font-size: 27px; margin: 22px 0 4px; }
.calc-pdf .sub { margin: 0 0 16px; color: #5C6E6C; }
.calc-pdf .big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc-pdf .big div { background: #FAF8F3; border: 1px solid #E4E0D6; border-radius: 12px; padding: 12px 14px; }
.calc-pdf .big span { display: block; color: #5C6E6C; font-size: 13px; }
.calc-pdf .big b { font-size: 24px; }
.calc-pdf h2 { font-size: 17px; margin: 22px 0 6px; border-right: 4px solid #D9A65A; padding-right: 8px; }
.calc-pdf table { width: 100%; border-collapse: collapse; }
.calc-pdf td { padding: 7px 4px; border-bottom: 1px solid #E4E0D6; }
.calc-pdf td:last-child { text-align: left; font-weight: 700; unicode-bidi: isolate; }
.calc-pdf .limit { margin-top: 16px; font-size: 16px; }
.calc-pdf footer { margin-top: 28px; padding-top: 8px; border-top: 1px solid #E4E0D6; font-size: 11px; color: #5C6E6C; }
.calc-pdf .bsd { text-align: right; font-size: 11px; color: #5C6E6C; margin: -30px 0 14px; }

/* כלים: ניתוח עסקה, תמהיל משכנתא, הצעת ליווי, השוואת ערים */
.calc-final .pos b { color: var(--c-green, #1E8E5A); }
.calc-final .neg b { color: var(--c-red, #C0392B); }
.mix-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mix-row:last-of-type { border-bottom: 0; }
@media (max-width: 520px) { .mix-row { grid-template-columns: 1fr 1fr 1fr; } .mix-row > .f:first-child { grid-column: 1 / -1; } }
.tool-warn { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius); background: color-mix(in srgb, #D9A65A 18%, transparent); font-weight: 600; }
.tool-warn p { margin: 4px 0; }
.tbl-wrap { overflow-x: auto; margin-top: 12px; }
.tool-tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.tool-tbl th { text-align: right; font-size: 13px; color: var(--muted); padding: 8px 6px; border-bottom: 2px solid var(--line); }
.tool-tbl td { padding: 9px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tool-tbl tr.mine td { font-weight: 800; background: var(--surface-2); }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; }
.svc.on { border-color: #D9A65A; }
.svc__head { display: flex; gap: 10px; align-items: center; font-size: 17px; cursor: pointer; }
.svc__head input { width: 20px; height: 20px; }
.svc__body { display: none; margin-top: 10px; }
.svc.on .svc__body { display: block; }
.svc textarea, .calc-step textarea { width: 100%; box-sizing: border-box; font: inherit; }

.calc-pdf.tool-doc { min-height: 0; padding: 30px 60px 40px; letter-spacing: 0.01px; } /* כל אות במקום שהדפדפן קבע: עברית ומספרים בסדר הנכון */
.calc-pdf.tool-doc .bsd { margin: 0 0 6px; }
.calc-pdf .lead { font-size: 16px; margin: 0 0 14px; }
.calc-pdf table.grid { font-size: 13px; }
.calc-pdf table.grid th { text-align: right; padding: 6px 4px; border-bottom: 2px solid #D9A65A; font-size: 12px; color: #5C6E6C; }
.calc-pdf table.grid td { text-align: right; font-weight: 400; unicode-bidi: isolate; }
.calc-pdf table.grid td:first-child { font-weight: 700; }
.calc-pdf table.grid tr.mine td { background: #FAF8F3; font-weight: 700; }
.calc-pdf .prop-li { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; }
.calc-pdf .prop-li img { width: 150px; height: 100px; object-fit: cover; border-radius: 10px; }
.calc-pdf .prop-li b { display: block; font-size: 17px; }
.calc-pdf .prop-li span { display: block; color: #5C6E6C; }
.calc-pdf .svc-doc { margin-top: 14px; }
.calc-pdf .svc-doc__head { display: flex; justify-content: space-between; align-items: baseline; border-right: 4px solid #D9A65A; padding-right: 8px; }
.calc-pdf .svc-doc__head h2 { border: 0; padding: 0; margin: 0; }
.calc-pdf .svc-doc__head b { font-size: 17px; color: #9A6E2C; }
.calc-pdf ul { margin: 6px 0 0; padding-right: 22px; }
.calc-pdf li { margin: 3px 0; }
.calc-pdf .sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.calc-pdf .sign div { border-top: 1px solid #0F3A3C; padding-top: 6px; font-size: 13px; color: #5C6E6C; }
.calc-pdf .bars { margin-top: 22px; }
.calc-pdf .bars div { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; margin: 6px 0; }
.calc-pdf .bars i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #E2B670, #B8863B); }
.calc-pdf .bars b { text-align: left; }
.calc-pdf.tool-doc ul { list-style: none; padding-right: 4px; }
.calc-pdf.tool-doc li::before { content: '•'; color: #D9A65A; font-weight: 900; margin-left: 8px; }
.calc-pdf .qmeta { display: flex; gap: 28px; margin: 0 0 12px; color: #5C6E6C; }
.calc-pdf .qmeta b { color: #0F3A3C; }
.calc-pdf table.qtable td:last-child { text-align: left; }
.calc-pdf table.qtable tr.sum td { color: #5C6E6C; }
.calc-pdf table.qtable tr.total td { font-size: 17px; font-weight: 900; border-top: 2px solid #D9A65A; border-bottom: 0; background: #FAF8F3; }
.calc-pdf table.qtable th:last-child { text-align: left; }
.calc-pdf .qlist { border-top: 2px solid #D9A65A; }
.calc-pdf .qrow { display: flex; justify-content: space-between; gap: 16px; padding: 8px 4px; border-bottom: 1px solid #E4E0D6; }
.calc-pdf .qrow span { font-weight: 700; }
.calc-pdf .qrow.sum span, .calc-pdf .qrow.sum b { font-weight: 400; color: #5C6E6C; }
.calc-pdf .qrow.total { background: #FAF8F3; border-bottom: 0; font-size: 18px; }
.calc-pdf .qrow.total span, .calc-pdf .qrow.total b { font-weight: 900; }
.inc-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 140px; margin-top: 16px; }
.inc-bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.inc-bars i { display: block; width: 100%; min-height: 3px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #E2B670, #B8863B); }
.inc-bars span { font-size: 11px; color: var(--muted); }
.quote-soon { margin: 0; padding-right: 18px; }
.quote-soon li { margin: 8px 0; }
.quote-soon .ext { margin-right: 8px; font-weight: 700; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.post.used { opacity: .6; }
.post__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 17px; }
.post__tag { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, #D9A65A 25%, transparent); }
.post__text { white-space: pre-wrap; font-size: 16px; line-height: 1.6; margin: 10px 0; }
.post__kind { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #E8542F; color: #fff; }
.post__src { font-size: 13px; margin: 0 0 8px; }
.plog-tabs { display: flex; gap: 6px; margin: 4px 0 14px; flex-wrap: wrap; }
.plog-tabs button { font: inherit; font-size: 16px; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.plog-tabs button.on { background: #D9A65A; border-color: #D9A65A; color: #1a1a1a; }
.plog-plats { display: flex; flex-wrap: wrap; gap: 8px; }
.plog-chk { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; }
.plog-chk:has(input:checked) { border-color: #D9A65A; background: color-mix(in srgb, #D9A65A 18%, transparent); font-weight: 700; }
.plog-chk { white-space: nowrap; }
.plog-chk input { margin: 0; width: 18px !important; height: 18px !important; min-height: 0 !important; padding: 0 !important; flex: none; accent-color: #D9A65A; }
.plog-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
@media (max-width: 520px) { .plog-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
button.plog-day { min-width: 0; min-height: 0; width: 100%; }
.plog-day { position: relative; aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
button.plog-day { font: inherit; color: inherit; background: transparent; cursor: pointer; padding: 0; }
.plog-day.sel { box-shadow: 0 0 0 3px #E8542F; }
.plog-day small { font-size: 11px; opacity: .65; }
.plog-day b { font-size: 14px; }
.plog-day.on { background: #D9A65A; border-color: #D9A65A; color: #1a1a1a; }
.plog-day.on small { opacity: .85; }
.plog-day.today { outline: 2px solid currentColor; outline-offset: 1px; }
.plog-media { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.plog-media img, .plog-media video { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.plog-thumb { position: relative; }
.plog-thumb button { position: absolute; top: 4px; left: 4px; min-width: 28px; padding: 0 8px; background: var(--surface, #fff); }
.plog-text { max-height: 9.6em; overflow: auto; }
.plog-back { margin-bottom: 10px; }
.pv-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pv-thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2, rgba(255,255,255,.07)); }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-thumb > span { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.pv-thumb__btns { position: absolute; bottom: 4px; left: 4px; display: flex; gap: 4px; }
.pv-thumb__btns button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; cursor: pointer; }
.pv-thumb--add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--line); background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); }
.iq-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.iq-bar i { display: block; height: 100%; background: #D9A65A; margin-left: auto; }
.iq-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.iq-scale button { font: inherit; font-weight: 800; font-size: 17px; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.iq-scale button.on, .plog-chk.iq-on { background: #D9A65A; border-color: #D9A65A; color: #1a1a1a; }
button.plog-chk { font: inherit; background: transparent; color: inherit; }
.idea__hook { font-size: 18px; font-weight: 800; margin: 8px 0 0; color: #D9A65A; }
.va-video { width: 100%; max-height: 60vh; border-radius: 12px; background: #000; margin: 6px 0; }
.pst-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (max-width: 520px) { .pst-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pst-tile { background: var(--surface-2, rgba(255,255,255,.06)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; }
.pst-tile b { display: block; font-size: 34px; font-weight: 900; color: #D9A65A; line-height: 1.1; }
.pst-tile span { font-size: 14px; font-weight: 700; opacity: .8; }
.pst-days { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 130px; }
.pst-day { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 3px; }
.pst-day i { display: block; width: 100%; min-height: 3px; background: #D9A65A; border-radius: 4px 4px 0 0; }
.pst-day small { font-size: 10px; opacity: .6; }
.pst-day.today small { opacity: 1; font-weight: 800; }
.pst-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pst-table th, .pst-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.pst-table th:first-child, .pst-table td:first-child { text-align: start; font-weight: 700; }
.pst-table th { font-size: 13px; opacity: .75; }
.pv-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-bottom: 14px; }
.pv-theme { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pv-theme.on { border-color: #D9A65A; }
.pv-sw { position: relative; width: 100%; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pv-sw i { position: absolute; inset-inline: 0; bottom: 0; height: 8px; }
.pv-sw b { font-size: 22px; font-weight: 900; }
.pv-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pv-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; }
.pv-item .pv-thumb { width: 84px; }
.pv-item .pv-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-vid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.pv-item__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pv-item__f input, .pv-item__f select { width: 100%; min-height: 40px; font-size: 15px; }
.pv-item__btns { display: flex; flex-direction: column; gap: 6px; }
.pv-item__btns button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; font-size: 17px; cursor: pointer; }
.pv-add { cursor: pointer; }
.pv-types { margin-top: 0; }
.pv-rec { color: var(--c-red); font-weight: 800; align-self: center; animation: pvblink 1s infinite; }
@keyframes pvblink { 50% { opacity: .35; } }
.pv-tracks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pv-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; margin-inline-start: -4px; margin-inline-end: 6px; }
.pv-stage { margin-top: 12px; display: flex; justify-content: center; }
.pv-stage canvas, .pv-stage video { max-width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
.f--wide { grid-column: 1 / -1; }
.plog-daysec { margin: 18px 0 0; }
.plog-dayh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 17px; }
.plog-dayh small { font-size: 14px; font-weight: 500; opacity: .7; }
.plog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 700px) { .plog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.plog-tile { position: relative; aspect-ratio: 1; overflow: hidden; border: 0; border-radius: 8px; padding: 0; cursor: pointer; font: inherit; color: inherit; background: var(--surface-2, rgba(255,255,255,.07)); display: flex; align-items: center; justify-content: center; }
.plog-tile img, .plog-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.plog-tile__text { padding: 10px 8px 22px; font-size: 13px; line-height: 1.35; text-align: center; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.plog-tile__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; padding-inline-start: 3px; }
.plog-tile__more { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.plog-tile__where { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 6px 5px; font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.plog-tile--add { border: 2px dashed var(--line); background: transparent; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14px; color: var(--muted); }
.plog-tile:focus-visible { outline: 3px solid #D9A65A; outline-offset: 2px; }
.plog-viewer .pick-ov__card { max-width: 560px; }
.plog-viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plog-viewer .post { border: 0; padding: 0; }
.plog-media--big img, .plog-media--big video { width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #000; }
.plog-sum { padding: 12px 14px; margin: 0 0 12px; }
.plog-sum summary { cursor: pointer; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.plog-month { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.plog-month h3 { margin: 0 0 4px; font-size: 16px; }
.plog-month__nums { margin: 0 0 8px; font-size: 15px; }
.plog-bar { display: grid; grid-template-columns: 7.5em 1fr 2em; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0; }
.plog-bar i { display: block; height: 10px; border-radius: 5px; border: 1px solid var(--line); overflow: hidden; }
.plog-bar i::before { content: ''; display: block; height: 100%; width: var(--w); margin-left: auto; background: #D9A65A; border-radius: 5px; }
[data-pl-row] .item__main { min-width: 0; }
[data-pl-row] .item__main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plog-where { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }
.plog-where .post__tag { font-size: 12.5px; padding: 2px 9px; }
.plog-bar b { text-align: start; }
a.post-cta { display: block; text-decoration: none; color: inherit; border: 1px solid #D9A65A; }
.lead { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.lead__head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 17px; }
.lead__price { margin: 6px 0; font-size: 18px; font-weight: 800; }
.lead__why { margin: 0 0 10px; padding-right: 18px; font-size: 15px; }
.gap { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.gap--good { background: color-mix(in srgb, #1E8E5A 22%, transparent); }
.gap--mid { background: color-mix(in srgb, #D9A65A 22%, transparent); }
.gap--bad { background: color-mix(in srgb, #C0392B 20%, transparent); }
.gap--na { background: var(--surface-2); }
.lead__match a { font-weight: 800; }
.bm { margin: 12px 0; padding: 10px 14px; border: 1px dashed var(--line); border-radius: var(--radius); }
.bm summary { cursor: pointer; font-weight: 700; }
.bm ol { margin: 8px 0; padding-right: 20px; }
.bm__btn { cursor: grab; }
.lead__img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: calc(var(--radius) - 4px); margin-bottom: 10px; }
.lead__img--new { max-width: 320px; margin-top: 10px; }
.lead__wa { margin-right: 6px; font-weight: 800; white-space: nowrap; }
.lead__wa .i { width: 16px; height: 16px; vertical-align: -3px; }
.lead-filter { margin-bottom: 4px; }
.mic-row { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.mic-row p { margin: 0; }
.mic { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px; color: #0F3A3C; background: linear-gradient(135deg, #E2B670, #B8863B); cursor: pointer; }
.mic.on { background: #C0392B; color: #fff; animation: micpulse 1.2s infinite; }
@keyframes micpulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, #C0392B 25%, transparent); } }
@media (max-width: 520px) { .mic-row { flex-direction: column; align-items: stretch; } }
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.task__check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.task__check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.task.done .task__check span { text-decoration: line-through; opacity: .6; }
.task__meta { grid-column: 1; padding-right: 30px; color: var(--muted); }
.task__meta .late { color: var(--c-red, #C0392B); font-weight: 700; }
.task__del { grid-row: 1 / span 2; grid-column: 2; background: none; border: 0; color: var(--muted); cursor: pointer; }
.draft { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-top: 8px; }
.draft__text { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; }
.draft__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.draft__row select, .draft__row input { font: inherit; }
.tasks-done summary { cursor: pointer; margin-top: 12px; color: var(--muted); }
.lead__sent { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, #1E8E5A 22%, transparent); }
.link-btn { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--accent, #B8863B); text-decoration: underline; cursor: pointer; }
.pw-reset { outline: 2px solid #D9A65A; }
/* מסמך שכמעט נכנס לעמוד אחד: מצמצמים קצת */
.calc-pdf.tool-doc.compact { font-size: 14px; line-height: 1.45; padding-top: 20px; padding-bottom: 20px; }
.calc-pdf.tool-doc.compact header img { height: 60px; }
.calc-pdf.tool-doc.compact h1 { font-size: 23px; margin: 14px 0 2px; }
.calc-pdf.tool-doc.compact h2 { margin: 14px 0 4px; }
.calc-pdf.tool-doc.compact .svc-doc { margin-top: 8px; }
.calc-pdf.tool-doc.compact .qrow { padding: 6px 4px; }
.calc-pdf.tool-doc.compact .sign { margin-top: 28px; }
.calc-pdf.tool-doc.compact footer { margin-top: 16px; }
.calc-pdf.tool-doc.compact2 { font-size: 13px; line-height: 1.38; }
.calc-pdf.tool-doc.compact2 li { margin: 1px 0; }
.calc-pdf.tool-doc.compact2 .big b { font-size: 20px; }

/* מחשב: המערכת ממלאת את כל הרוחב שליד התפריט, ולא רק חצי מסך */
@media (min-width: 960px) {
  .app { max-width: 1400px; width: auto; margin-right: 260px; margin-left: 24px; }
  .list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}
@media (min-width: 1700px) { .app { margin-left: auto; } }

/* ---------- תפריט עם כותרות (לידים / נדל״ן) ---------- */
.nav--menu .side, .nav--menu .nav__title, .nav--menu .nav__sep { display: none; }
.menu__title { margin: 22px 4px 10px; font-size: 15px; letter-spacing: .02em; color: var(--accent, #E2A64A); }
.menu__title:first-of-type { margin-top: 6px; }
@media (min-width: 960px) {
  .nav.nav--menu { overflow-y: auto; gap: 2px; scrollbar-width: thin; }
  .nav--menu .tab { display: none !important; }
  .nav--menu .side { display: flex !important; }
  .nav.nav--menu a { height: 40px; min-height: 40px; flex: none; font-size: 14px; }
  .nav--menu .nav__title { display: block; flex: none; margin: 14px 14px 4px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--accent, #E2A64A); opacity: .9; }
  .nav--menu .nav__sep { display: block; flex: 1 0 8px; }
}

/* ---------- המאגרים שלי (נכסים לבדיקה) ---------- */
.dbs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.dbs__item { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: color-mix(in srgb, var(--accent, #E2A64A) 10%, transparent); text-decoration: none; color: inherit; }
.dbs__item b { font-size: 16px; }
.dbs__item small { font-size: 13px; opacity: .75; }
.dbs__item:hover { border-color: var(--accent, #E2A64A); }
.dbs textarea { width: 100%; }

/* ---------- הצעות מחיר בכרטיס הלקוח ---------- */
.quote-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.quote-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.quote-list__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.q-badge { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent, #E2A64A) 18%, transparent); }
.q-badge.q-ok { background: #1F7A4D; color: #fff; }
.q-badge.q-no { background: #8E2F2F; color: #fff; }
.q-badge.q-paid { background: #2C5E8A; color: #fff; }

/* הסכמים */
.calc-pdf .page-break { page-break-before: always; break-before: page; height: 0; }
.calc-pdf .clause { margin: 0 0 8px; line-height: 1.6; }
.calc-pdf .clause b { color: #0F3A3C; margin-left: 4px; }
.calc-pdf .parties p { margin: 0 0 8px; line-height: 1.7; }
.calc-pdf .fill { display: inline-block; border-bottom: 1px solid #0F3A3C; height: 1.1em; vertical-align: bottom; }
.calc-pdf .agr-t td:first-child { width: 32%; font-weight: 700; }

/* לקוחות: דף של יצחק ודף של תהילה */
.case-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c-green) 16%, transparent); font-weight: 700; }
.case-strip .btn { margin-inline-start: auto; }
.cls-closed { color: var(--c-green); }
.who-tabs { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin: 0 0 12px; padding: 4px; border-radius: 14px; background: var(--surface-2, rgba(255,255,255,.06)); }
.who-tabs button { font: inherit; font-size: 15px; font-weight: 700; padding: 10px 8px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.who-tabs button.on { background: var(--accent); color: var(--on-accent); }
.who-tabs em { font-style: normal; opacity: .75; font-weight: 500; }
/* רשימת הלקוחות מחולקת לעמודות לפי הצד בעסקה. בטלפון גוללים לצדדים, במחשב כולן גלויות */
.side-board { display: grid; gap: 14px; overflow: visible; margin: 14px 0 0; padding: 0 0 10px; }
.side-board .col { width: auto; max-width: none; }
.side-board .col__head { font-size: 17px; }
.side-board .col__head em { font-size: 15px; }
.side-board .col[hidden] { display: none; }
.cls-btn { display: block; margin-top: 6px; padding: 4px 10px; font: inherit; font-size: 14px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.cls-btn--empty { border-color: var(--accent); color: var(--accent); }
.cls-h { margin: 14px 0 8px; font-size: 16px; }
.cls-del { color: var(--c-red); }
.mini-cal { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.mini-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 16px; }
.mini-cal__head button { font: inherit; font-size: 22px; line-height: 1; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--surface-2); color: inherit; cursor: pointer; }
.mini-cal__head button:disabled { opacity: .3; cursor: default; }
.mini-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mini-cal__grid em { font-style: normal; font-size: 13px; color: var(--muted); padding: 2px 0; }
.mini-cal__grid button { font: inherit; font-size: 16px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.mini-cal__grid button:not(:disabled):hover { background: var(--accent); color: var(--on-accent); }
.mini-cal__grid button:disabled { opacity: .3; cursor: default; }
.mini-cal__grid button.is-today { outline: 1.5px solid var(--line); }
.cls-props { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.cls-prop { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: start; font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.cls-prop small { color: var(--muted); font-size: 13px; }
.cls-prop.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cls-q { width: 100%; margin-bottom: 8px; }
.cls-home { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.pp-row { display: flex; align-items: center; gap: 8px; }
.pp-row .item__main { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.pp-x { color: var(--c-red); }
.cls-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cls-row .cls-btn { display: inline-block; margin-top: 0; }
.cls-del--sure { background: var(--c-red); color: #fff; border-color: transparent; }
.col__sum { margin: -6px 4px 12px; font-size: 15px; color: var(--muted); }
.col__sum b { color: var(--text); }
.col__sum small { font-size: 13px; }
.cls-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cls-grid .btn { flex: 0 1 auto; max-width: 100%; white-space: normal; }
@media (min-width: 960px) {
  .side-board { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
}
a.item[hidden] { display: none !important; }

/* חתימה על המסך */
.calc-pdf .sign.signed div { border-top: 0; }
.calc-pdf .sign .sig { display: block; height: 58px; width: 100%; object-fit: contain; object-position: right center; border-bottom: 1px solid #0F3A3C; margin-bottom: 6px; }
.calc-pdf .sign .sig-date { display: flex; align-items: flex-end; font-size: 15px; color: #0B2A2C; padding-bottom: 4px; box-sizing: border-box; }
.sign-ov { position: fixed; inset: 0; z-index: 2147483000; background: var(--bg, #0B2A2C); display: flex; flex-direction: column; }
.sign-ov__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; }
.sign-ov__doc { flex: 1; overflow: auto; padding: 0 12px; }
.sign-ov__paper { background: #fff; border-radius: 8px; max-width: 794px; margin: 0 auto 12px; overflow: hidden; }
.sign-ov__paper .calc-pdf { width: auto !important; min-height: 0 !important; padding: 18px 16px 24px !important; box-shadow: none !important; }
.sign-ov__paper .calc-pdf header img { height: 54px; }
.sign-ov__paper .calc-pdf .sign { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.sign-ov__go { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.sign-ov__go .btn { width: 100%; }
.sign-ov__panel { display: none; }
.sign-ov.signing .sign-ov__go { display: none; }
.sign-ov.signing .sign-ov__doc { flex: 0 0 22vh; }
.sign-ov__panel { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface, #12393B); gap: 10px; overflow: auto; }
.sign-ov.signing .sign-ov__panel { display: grid; flex: 1; }
.sign-box p { margin: 0 0 6px; }
.sign-box canvas { display: block; width: 100%; height: 150px; background: #fff; border-radius: 10px; touch-action: none; }
.sign-box .btn { margin-top: 6px; }
.sign-ok { display: flex; gap: 8px; align-items: center; font-size: 16px; }

.calc-pdf .sig-audit { margin-top: 22px; font-size: 12px; color: #5C6E6C; }

/* נכס: תמונות, סרטונים ותיאור */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.media-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,.25); }
.media-item img, .media-item video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.media-item--video, .media-item--link { grid-column: 1 / -1; }
.media-item--video video { aspect-ratio: 16 / 9; object-fit: contain; }
.media-item iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.media-item figcaption { padding: 6px 8px; font-size: 15px; }
.media-item__tools { position: absolute; top: 6px; left: 6px; display: flex; gap: 6px; }
.media-item__tools button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 15px; display: grid; place-items: center; cursor: pointer; }
.media-item__tools svg { width: 16px; height: 16px; }
.media-link { display: flex; gap: 8px; align-items: center; padding: 18px; font-weight: 700; }
.prop-about__text { font-size: 16px; line-height: 1.6; margin: 4px 0 10px; }

/* נכסים: מתחת / במחיר / מעל השוק */
.mkt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.mkt-tabs button { font: inherit; font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line, rgba(255,255,255,.15)); background: transparent; color: inherit; cursor: pointer; }
.mkt-tabs button em { font-style: normal; opacity: .75; font-weight: 500; }
.mkt-tabs button.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.mkt-tabs .mkt-below:not(.on) { border-color: var(--c-green); }
.mkt-tabs .mkt-above:not(.on) { border-color: var(--c-red); }
.mkt-note { flex-basis: 100%; margin: 4px 0 0; color: var(--c-red); font-weight: 700; }

/* שיחות מהטלפון */
.call-item { align-items: flex-start; }
.call-item .item__main small { display: block; }
.calls-steps { padding-inline-start: 20px; line-height: 1.7; margin: 8px 0 14px; }
.calls-steps li { margin-bottom: 6px; }
.calls-set input.ltr { font-size: 13px; }

.copy-box { width: 100%; box-sizing: border-box; font-size: 14px; direction: ltr; text-align: left; word-break: break-all; }

/* כרטיס לקוח: שיחות, וקישור נכס קיים */
.call-hist { list-style: none; padding: 0; margin: 4px 0 0; }
.call-hist li { padding: 6px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.1)); }
.link-btn { font: inherit; font-weight: 700; background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; }
.pick-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.pick-ov__card { background: var(--surface, #12393B); color: var(--text, #fff); width: 100%; max-width: 560px; max-height: 80vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.pick-ov__card h3 { margin: 0 0 10px; }
.pick-ov__card input[type=search] { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line, rgba(255,255,255,.2)); background: transparent; color: inherit; margin-bottom: 10px; }
.pick-ov__list .item { width: 100%; text-align: right; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.call-hist__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.call-hist__note { margin-top: 4px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 15px; white-space: pre-line; }
.client-calls details summary { cursor: pointer; font-weight: 700; color: var(--accent); margin-top: 6px; }

.call-hist__ai { border-right: 3px solid var(--accent); }
.call-hist__tr { max-height: 240px; overflow: auto; font-size: 14px; white-space: pre-line; margin-top: 6px; opacity: .85; }

.edit-ta { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.6; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line, rgba(255,255,255,.2)); background: transparent; color: inherit; margin: 4px 0 12px; resize: vertical; }
.call-del { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; }
.call-del .i { width: 18px; height: 18px; color: #c0392b; }
.rec-item { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.rec-item input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.rec-item .item__main small { display: block; }
.rec-old { color: #E8A33D; }
.rec-bar { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); padding: 12px 0; }
.rec-bar .btn { width: 100%; justify-content: center; }
.task__tel { display: inline-flex; gap: 6px; grid-column: 1; margin-top: 4px; }
.task__tel a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); }
.task__tel a .i { width: 18px; height: 18px; color: var(--accent); }
.task__tel a.wa .i { color: #25D366; }
.src-chip { margin: 6px 0 0; }
.src-chip button { background: var(--surface-2); color: inherit; border: 0; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 15px; cursor: pointer; }
.src-chip--empty { border: 1px dashed currentColor !important; background: transparent !important; opacity: .85; }
.fu-date { position: relative; justify-content: center; }
.fu-date input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.src-grid .btn { justify-content: center; }
