/* ALBA — Sales system. Monochrome: white, greys, black. Logical properties throughout (EN LTR / HE RTL). */
:root {
  --ink: #141414; --ink2: #36383a; --mute: #6b6e70; --faint: #9a9c9e;
  --line: #e6e6e8; --line2: #efeff1; --soft: #f7f7f8; --soft2: #f1f1f2; --hov: #f5f5f6;
  --f: "Inter", "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --e: cubic-bezier(.22, .61, .36, 1);
  --r: 10px;
  --hatch: repeating-linear-gradient(135deg, rgba(20, 20, 20, .34) 0 1px, transparent 1px 5px);
  --dots: radial-gradient(rgba(20, 20, 20, .42) 1px, transparent 1.4px) 0 0 / 5px 5px;
}
html[lang="he"] { --f: "Heebo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.5 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: start; }
a { color: inherit; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -80px; inset-inline-start: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.num, .kpi__v, .dc__v, .col__v b, .pstats dd, time, .ps__v, .ps__n, .src__n, .fun__n, .vb__v, .st td { font-variant-numeric: tabular-nums; }

/* ---------------- page ---------------- */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top__in { display: flex; align-items: center; gap: 14px; height: 60px; }
.top__brand { display: inline-flex; }
.top__brand img { height: 14px; width: auto; display: block; }
.top__sep { width: 1px; height: 18px; background: var(--line); }
.top__product { font-size: 13.5px; font-weight: 500; color: var(--mute); }
.top__end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.top__demo { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--mute); }
.top__demo i { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--ink); }
.lang { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.intro { padding-top: 52px; padding-bottom: 28px; }
.intro__k { font-size: 13.5px; font-weight: 500; color: var(--mute); }
.intro__h { margin: 10px 0 12px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.04; font-weight: 600; letter-spacing: -.028em; }
html[lang="he"] .intro__h { letter-spacing: -.01em; }
.intro__p { max-width: 42em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--mute); }
.intro__try { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink2); }
.intro__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; }
.motion .intro__dot { animation: pulse 2.4s var(--e) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 20, 20, .35); } 70% { box-shadow: 0 0 0 7px rgba(20, 20, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 20, 20, 0); } }

.stage { padding-bottom: 36px; }
.frame { max-width: 1380px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .04); }
.frame__bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; height: 40px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); direction: ltr; }
.frame__dots { display: flex; gap: 7px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcde; }
.frame__url { justify-self: center; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; color: var(--mute); }
.frame__url svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.inc { padding-top: 28px; padding-bottom: 56px; }
.inc__h { font-size: 13.5px; font-weight: 600; color: var(--mute); margin-bottom: 14px; }
.inc__l { display: flex; flex-wrap: wrap; gap: 8px; }
.inc__l li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 88px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot a { color: var(--ink); text-underline-offset: 3px; }
.nojs { padding: 40px; color: var(--mute); }

/* ---------------- app shell ---------------- */
.app { position: relative; display: grid; grid-template-columns: 228px minmax(0, 1fr); height: 780px; overflow: hidden; background: #fff; font-size: 13px; line-height: 1.45; color: var(--ink); isolation: isolate; }
.app:not(.is-ready) { opacity: 0; }
.motion .app { transition: opacity .4s var(--e); }
.side { display: flex; flex-direction: column; min-height: 0; padding: 12px 10px 10px; background: var(--soft); border-inline-end: 1px solid var(--line); overflow: auto; }
.ws { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; }
.ws__logo { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; flex: none; }
.ws__logo img { height: 17px; width: auto; }
.ws__t b { display: block; font-size: 13px; font-weight: 600; }
.ws__t small { display: block; font-size: 11.5px; color: var(--mute); }
.qs { display: flex; align-items: center; gap: 8px; height: 32px; margin: 2px 0 12px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); font-size: 12.5px; }
.qs span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs kbd { font: 500 11px/1 var(--f); padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); color: var(--mute); }
.nav ul { display: grid; gap: 1px; }
.nav__i, .nav__s { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.nav__i svg { color: var(--mute); }
.nav__i:hover, .nav__s:hover { background: #ededee; }
.nav__i[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04); }
.nav__i[aria-current="page"] svg { color: var(--ink); }
.nav__b { margin-inline-start: auto; padding: 1px 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
.nav__h { padding: 18px 10px 6px; font-size: 11.5px; font-weight: 500; color: var(--faint); }
.nav__s { font-weight: 400; }
.nav__s i { width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--faint); }
.nav__s em { margin-inline-start: auto; font-style: normal; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.me { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 8px 2px; border-top: 1px solid var(--line); }
.me b { display: block; font-size: 12.5px; font-weight: 500; }
.me small { display: block; font-size: 11px; color: var(--mute); }
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mbar { display: none; }
.view { flex: 1; min-height: 0; overflow: auto; padding: 22px 28px 28px; outline: none; overscroll-behavior: contain; }
.tabbar, .sheet { display: none; }
.scrim { position: absolute; inset: 0; z-index: 25; background: rgba(20, 20, 20, .28); opacity: 0; pointer-events: none; }
.motion .scrim { transition: opacity .3s var(--e); }

/* view header */
.vh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.vh__t { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.vh__s { margin-top: 3px; font-size: 13px; color: var(--mute); }
.vh__a { display: flex; align-items: center; gap: 8px; flex: none; }

/* shared bits */
.av { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ececee; color: var(--ink2); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; flex: none; line-height: 1; }
.av--xs { width: 20px; height: 20px; font-size: 8.5px; }
.av--sm { width: 28px; height: 28px; font-size: 10.5px; }
.av--lg { width: 44px; height: 44px; font-size: 14px; }
.av--me { width: 28px; height: 28px; background: var(--ink); color: #fff; font-size: 10.5px; }
.sc { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 11.5px; font-weight: 600; flex: none; line-height: 1; }
.sc--A { background: var(--ink); color: #fff; }
.sc--B { background: #e4e4e6; color: var(--ink); }
.sc--C { background: #fff; color: var(--mute); box-shadow: inset 0 0 0 1px #d2d2d4; }
.sc--lg { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-block; padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 11.5px; line-height: 1.45; color: var(--ink2); white-space: nowrap; }
.ch { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); white-space: nowrap; }
.ch svg { width: 14px; height: 14px; color: var(--mute); }
.stg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.stg__d { display: inline-flex; gap: 2px; }
.stg__d i { width: 5px; height: 5px; border-radius: 50%; background: #dadadc; }
.stg__d i.on { background: var(--ink); }
.stg--lost { color: var(--mute); }
.stg--lost svg { width: 13px; height: 13px; }
.own { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.own--av span:last-child { display: none; }
.muted { color: var(--mute); }
.lnk { font-size: 12.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: #c9c9cb; text-underline-offset: 3px; }
.lnk:hover { text-decoration-color: var(--ink); }
.ib { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--mute); flex: none; }
.ib:hover { background: var(--hov); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.btn:hover { background: var(--hov); }
.btn--pri { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--pri:hover { background: #2b2b2c; }
.btn--sm { height: 30px; }
.btn--done { color: var(--mute); border-style: dashed; cursor: default; }
.btn--done svg { width: 14px; height: 14px; }
.btn[aria-pressed="true"] { background: var(--soft2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.card__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line2); }
.card__h h3 { font-size: 13.5px; font-weight: 600; }
.card__h p { margin-top: 1px; font-size: 12px; color: var(--mute); }
.card__f { padding: 10px 16px 12px; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line2); }
.live { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.motion .live:not(.is-off) i { animation: pulse 2s var(--e) infinite; }
.live.is-off { color: var(--mute); }
.live.is-off i { background: #fff; box-shadow: inset 0 0 0 1.5px var(--mute); }
.card__h .live { display: none; }

/* ================= overview ================= */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kpi { background: #fff; padding: 14px 16px 13px; min-width: 0; display: flex; flex-direction: column; }
.kpi__l { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__v { margin-top: 4px; font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.kpi__v.is-tick { animation: tick .7s var(--e); }
@keyframes tick { 0% { opacity: .2; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
.kpi__f { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.kpi__n { font-size: 11.5px; color: var(--mute); min-width: 0; }
.spark { direction: ltr; display: inline-flex; align-items: flex-end; gap: 2px; height: 24px; flex: none; }
.spark i { width: 4px; border-radius: 1px; background: #d6d6d8; }
.spark i.on { background: var(--ink); }
.seg { direction: ltr; display: flex; gap: 2px; width: 92px; flex: none; margin-bottom: 3px; }
.seg i { height: 8px; min-width: 4px; border-radius: 1.5px; background: #e6e6e8; }
.seg .s-sold { background: var(--ink); }
.seg .s-reserved { background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #8b8c8e; }
.seg .s-held { background: #fff var(--dots); box-shadow: inset 0 0 0 1px #b4b5b7; }
.hatchs { display: inline-flex; gap: 3px; flex: none; }
.hatchs i { width: 11px; height: 11px; border-radius: 2px; background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #8b8c8e; }

.ov { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.feed { display: flex; flex-direction: column; height: 0; min-height: 100%; overflow: hidden; }
.feed__l { flex: 1; min-height: 0; overflow: hidden; }
.fi { border-bottom: 1px solid var(--line2); }
.motion .fi { transition: opacity .6s var(--e), transform .6s var(--e), background-color 1.6s var(--e); }
.fi.is-enter { opacity: 0; transform: translateY(-10px); background: var(--soft2); }
.fi__btn { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 12px 16px; }
.fi__btn:hover, .fi__btn.is-sel { background: var(--hov); }
.fi__b { display: grid; gap: 3px; min-width: 0; }
.fi__t { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fi__t b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi__t .ch { font-size: 12px; color: var(--mute); }
.fi__t time { margin-inline-start: auto; font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.fi__m { font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi .chips { margin-top: 3px; }
.fi.is-new .fi__t b::after, .mr.is-new .mr__t b::after, tr.is-new .nmc b::after, .dc.is-new .dc__t b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 7px; border-radius: 50%; background: var(--ink); vertical-align: 2px; }
.ov__side { display: grid; gap: 16px; align-content: start; }
.ag__l { padding: 6px 8px; }
.ag { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 8px; }
.ag:hover { background: var(--hov); }
.ag time { font-size: 12.5px; font-weight: 500; }
.ag__b { min-width: 0; }
.ag__b b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag__b small { display: block; font-size: 11.5px; color: var(--mute); }
.ag.is-past { color: var(--faint); }
.ag.is-past b { color: var(--mute); }
.ag__c { color: var(--faint); }
.ag__l .muted { padding: 10px 8px; }
.ps__l { padding: 8px 16px 12px; }
.ps { direction: ltr; display: grid; grid-template-columns: 92px minmax(0, 1fr) 26px 62px; align-items: center; gap: 10px; padding: 6px 0; }
.ps__l .ps:not(:last-child) { border-bottom: 1px solid var(--line2); }
.ps__l > .ps { border: 0; }
.ps__l { display: grid; }
.ps__l .ps__l, .ps .ps__l { padding: 0; }
.ps span.ps__l { padding: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ps__bar { height: 6px; background: var(--soft2); border-radius: 3px; overflow: hidden; }
.ps__bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.ps__n { font-size: 12px; color: var(--mute); text-align: end; }
.ps__v { font-size: 12.5px; font-weight: 500; text-align: end; }

/* ================= leads ================= */
.view[data-view="leads"], .view[data-view="pipeline"] { display: flex; flex-direction: column; }
.view[data-view="leads"] .vh, .view[data-view="pipeline"] .vh { margin-bottom: 12px; }
.vtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: none; }
.vtabs::-webkit-scrollbar { display: none; }
.vt { display: inline-flex; align-items: center; gap: 7px; padding: 9px 10px 10px; font-size: 13px; font-weight: 500; color: var(--mute); white-space: nowrap; border-radius: 6px 6px 0 0; }
.vt:hover { color: var(--ink); }
.vt[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.vt em { font-style: normal; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 5px; background: var(--soft2); color: var(--mute); font-variant-numeric: tabular-nums; }
.tools { display: flex; align-items: center; gap: 8px; padding: 12px 0; flex: none; }
.sf { display: flex; align-items: center; gap: 8px; width: 290px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); }
.sf:focus-within { border-color: var(--ink); color: var(--ink); }
.sf input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; color: var(--ink); }
.sf input::placeholder { color: var(--faint); }
.sf input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fbs { display: flex; gap: 6px; flex-wrap: nowrap; }
.fb { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.fb:hover { background: var(--hov); }
.fb svg { width: 14px; height: 14px; color: var(--faint); }
.fb.is-on { border-color: var(--ink); color: var(--ink); }
.fb em { font-style: normal; font-size: 10.5px; font-weight: 600; min-width: 17px; padding: 1px 5px; border-radius: 5px; background: var(--ink); color: #fff; text-align: center; }
.fb--clear { border-color: transparent; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.tools__n { margin-inline-start: auto; font-size: 12px; color: var(--mute); white-space: nowrap; }
.tw { flex: 1; min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--r); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { position: sticky; top: 0; z-index: 1; background: #fff; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); text-align: start; font-size: 12px; font-weight: 500; color: var(--mute); white-space: nowrap; }
.tbl th button { display: inline-flex; align-items: center; gap: 5px; height: 26px; margin-inline-start: -6px; padding: 0 6px; border-radius: 6px; }
.tbl th button:hover { background: var(--hov); color: var(--ink); }
.so { width: 8px; height: 10px; position: relative; opacity: 0; }
.so::before { content: ""; position: absolute; inset: 1px 0 0; border-inline: 4px solid transparent; border-block-end: 5px solid currentColor; }
th[aria-sort="ascending"] .so, th[aria-sort="descending"] .so { opacity: 1; }
th[aria-sort="descending"] .so::before { transform: rotate(180deg); }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--ink); }
.tbl td { height: 50px; padding: 0 12px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover { background: #fafafb; }
.tbl tbody tr.is-sel { background: var(--soft2); }
.tbl tbody tr:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.nmc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nmc b { display: block; font-weight: 500; }
.nmc small { display: block; font-size: 11.5px; color: var(--mute); direction: ltr; text-align: start; unicode-bidi: plaintext; }
.c-score { width: 60px; } .c-budget { text-align: end; } th.c-budget button { margin-inline-start: auto; } th.c-budget { text-align: end; }
.c-last { width: 1%; }
.tbl .empty { height: 140px; text-align: center; color: var(--mute); }
.menu { position: absolute; z-index: 40; min-width: 230px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px -8px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .05); }
.motion .menu:not([hidden]) { animation: pop .18s var(--e); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.mo { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; cursor: pointer; font-size: 12.5px; }
.mo:hover { background: var(--hov); }
.mo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mo__x { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c6c6c8; color: transparent; flex: none; }
.mo__x svg { width: 12px; height: 12px; stroke-width: 2.4; }
.mo input:checked + .mo__x { background: var(--ink); box-shadow: none; color: #fff; }
.mo input:focus-visible + .mo__x { outline: 2px solid var(--ink); outline-offset: 2px; }
.mo__i { display: inline-flex; color: var(--mute); }
.mo__t { flex: 1; }
.mo em { font-style: normal; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* lead panel */
.panel { position: absolute; z-index: 30; inset-block: 0; inset-inline-end: 0; width: 452px; max-width: 100%; display: flex; flex-direction: column; background: #fff; border-inline-start: 1px solid var(--line); box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .25); transform: translateX(104%); visibility: hidden; outline: none; }
[dir="rtl"] .panel { transform: translateX(-104%); box-shadow: 24px 0 60px -30px rgba(0, 0, 0, .25); }
.motion .panel { transition: transform .42s var(--e), visibility 0s linear .42s; }
.has-panel .panel { transform: none; visibility: visible; }
.motion .has-panel .panel { transition: transform .42s var(--e), visibility 0s; }
.pn__h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; padding-inline: 18px 12px; border-bottom: 1px solid var(--line2); }
.pn__id { flex: 1; min-width: 0; }
.pn__id h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn__id p { font-size: 12px; color: var(--mute); }
.pn__back { display: none; }
[dir="rtl"] .pn__back svg { transform: scaleX(-1); }
.pn__s { flex: 1; min-height: 0; overflow: auto; padding: 14px 18px 28px; overscroll-behavior: contain; }
.chips--pn { margin-bottom: 14px; }
.nba { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.nba__h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.nba__h b { font-weight: 600; }
.nba__h span { margin-inline-start: auto; font-size: 11.5px; color: var(--mute); }
.nba__t { margin: 8px 0 12px; font-size: 13.5px; line-height: 1.5; }
.nba__a { display: flex; flex-wrap: wrap; gap: 8px; }
.pn__sec { margin-top: 20px; }
.pn__sec h4, .ud h4 { font-size: 11.5px; font-weight: 600; color: var(--mute); letter-spacing: .02em; margin-bottom: 10px; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.dl > div { min-width: 0; }
.dl dt { font-size: 11.5px; color: var(--mute); }
.dl dd { margin-top: 3px; font-size: 13px; min-height: 30px; display: flex; align-items: center; }
.dl dd .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
.sel__w { position: relative; display: inline-flex; width: 100%; }
.sel { appearance: none; -webkit-appearance: none; width: 100%; height: 30px; padding-inline: 10px 28px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12.5px; cursor: pointer; }
.sel:hover { border-color: #cfcfd1; }
.sel__w svg { position: absolute; inset-inline-end: 7px; top: 7px; width: 15px; height: 15px; color: var(--mute); pointer-events: none; }
.nt { display: grid; justify-items: end; gap: 8px; }
.nt textarea { width: 100%; min-height: 58px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; font-size: 13px; line-height: 1.45; }
.nt textarea:focus { outline: 0; border-color: var(--ink); }
.tl { position: relative; }
.ev { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
.ev:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--line); }
.ev__i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink2); }
.ev__i svg { width: 14px; height: 14px; }
.ev__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 4px; }
.ev__h b { font-weight: 500; font-size: 13px; }
.ev__h time { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.ev__b > p { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--ink2); }
.ev.is-added { animation: tick .6s var(--e); }
.call { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 7px 10px 7px 7px; padding-inline: 7px 12px; border: 1px solid var(--line); border-radius: 999px; direction: ltr; }
.call__p { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.call__p svg { width: 14px; height: 14px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { flex: 1; border-radius: 1px; background: #d3d3d5; }
.wave i.on { background: var(--ink); }
.call__t { font-size: 11.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.tr { margin-top: 10px; display: grid; gap: 2px; }
.tr li { display: grid; gap: 1px; padding: 6px 8px; border-radius: 7px; }
.tr b { font-size: 11px; font-weight: 500; color: var(--faint); }
.tr span { font-size: 12.5px; color: var(--ink2); line-height: 1.45; }
.tr.is-on li { opacity: .45; }
.motion .tr li { transition: opacity .3s var(--e), background-color .3s var(--e); }
.tr.is-on li.is-said { opacity: 1; }
.tr li.is-now { background: var(--soft2); }
.wa { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.wa p { max-width: 86%; padding: 7px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
.wa__in { align-self: flex-start; background: var(--soft2); border-end-start-radius: 4px; }
.wa__out { align-self: flex-end; background: var(--ink); color: #fff; border-end-end-radius: 4px; }

/* ================= pipeline ================= */
.pstats { display: flex; gap: 32px; margin: -2px 0 14px; flex: none; }
.pstats dt { font-size: 11.5px; color: var(--mute); }
.pstats dd { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.board { flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 10px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; overscroll-behavior-x: contain; }
.col { display: flex; flex-direction: column; min-height: 0; background: var(--soft); border: 1px solid transparent; border-radius: var(--r); }
.motion .col { transition: background-color .2s var(--e), border-color .2s var(--e); }
.col.is-over { background: var(--soft2); border-color: #c9c9cb; border-style: dashed; }
.col__h { padding: 12px 12px 10px; }
.col__t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.col__t b { font-size: 12.5px; font-weight: 600; }
.col__t span { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 5px; background: #fff; color: var(--mute); box-shadow: 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.col__v { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.col__v b { font-size: 13px; font-weight: 500; }
.col__v span { font-size: 11px; color: var(--mute); }
.col__bar { display: block; height: 3px; margin-top: 9px; border-radius: 2px; background: #e5e5e7; overflow: hidden; }
.col__bar i { display: block; height: 100%; background: var(--ink); }
.col__l { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding: 2px 8px 10px; }
.dc { position: relative; flex: none; padding: 10px 11px 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .03); cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.dc:hover { border-color: #cfcfd1; }
.dc:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.dc__t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dc__t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc .sc { width: 20px; height: 20px; font-size: 10.5px; border-radius: 5px; }
.dc__u { margin: 2px 0 9px; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc__f { display: flex; align-items: center; gap: 8px; }
.dc__v { font-size: 12.5px; font-weight: 500; }
.dc__d { font-size: 11px; color: var(--faint); }
.dc__f .av { margin-inline-start: auto; }
.dc.is-lifted { display: none; }
.dc.is-grabbed { border-color: var(--ink); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .3); }
.dc.is-dropped { animation: drop .7s var(--e); }
@keyframes drop { 0% { box-shadow: 0 0 0 3px rgba(20, 20, 20, .18); } 100% { box-shadow: 0 1px 1px rgba(0, 0, 0, .03); } }
.motion .col .dc.is-new { animation: tick .6s var(--e); }
.dc-ph { flex: none; border: 1.5px dashed #bfc0c2; border-radius: 8px; background: rgba(255, 255, 255, .7); }
.dc--ghost { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; margin: 0; cursor: grabbing; font: 400 13px/1.45 var(--f); color: var(--ink); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .35); border-color: #cfcfd1; }
.is-dragging, .is-dragging * { cursor: grabbing !important; }

/* ================= inventory ================= */
.inv { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.plan { padding: 14px 16px 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; font-size: 12px; color: var(--ink2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend em { font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 16px; height: 11px; border-radius: 3px; flex: none; }
.sw--available { background: #fff; box-shadow: inset 0 0 0 1px #a3a4a6; }
.sw--reserved { background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #7d7e80; }
.sw--sold { background: var(--ink); }
.sw--held { background: #fff var(--dots); box-shadow: inset 0 0 0 1px #9fa0a2; }
.tower { display: flex; flex-direction: column; gap: 3px; }
.fl { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: stretch; height: 30px; }
.fl--ph { height: 63px; }
.fl--band { height: 24px; }
.fl__n { align-self: center; font-size: 11px; color: var(--faint); text-align: end; font-variant-numeric: tabular-nums; }
.fl__u { display: flex; gap: 3px; min-width: 0; }
.fl__band { display: flex; align-items: center; padding: 0 10px; border-radius: 5px; font-size: 11px; color: var(--mute); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line2); }
.fl--g .fl__band { background: var(--soft); border-top: 2px solid #d4d5d7; }
.un { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 9px; border-radius: 5px; font-size: 11.5px; overflow: hidden; white-space: nowrap; }
.un b { font-weight: 600; font-size: 12px; }
.un span { color: var(--mute); }
.un em { margin-inline-start: auto; font-style: normal; color: var(--ink2); font-variant-numeric: tabular-nums; }
.fl--ph .un { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.fl--ph .un em { margin-inline-start: 0; }
.un--available { background: #fff; box-shadow: inset 0 0 0 1px #b4b5b7; }
.un--reserved { background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #7d7e80; }
.un--reserved b, .un--reserved em, .un--reserved span, .un--held b, .un--held em, .un--held span { background: #fff; border-radius: 3px; padding: 0 3px; }
.un--sold { background: var(--ink); color: #fff; }
.un--sold span, .un--sold em { color: #b8b9bb; }
.un--held { background: #fff var(--dots); box-shadow: inset 0 0 0 1px #9fa0a2; }
.un:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.un--sold:hover { box-shadow: inset 0 0 0 1.5px #6b6e70; }
.un.is-sel { outline: 2px solid var(--ink); outline-offset: 2px; }
.un.is-dim { opacity: .2; }
.motion .un { transition: opacity .3s var(--e), box-shadow .2s var(--e); }
.inv__side { display: grid; gap: 12px; }
.segc__l { display: block; margin-bottom: 5px; font-size: 11.5px; color: var(--mute); }
.segc__o { display: flex; flex-wrap: wrap; gap: 2px; padding: 2px; background: var(--soft2); border-radius: 8px; }
.segc__o button { flex: 1 0 auto; padding: 5px 9px; border-radius: 6px; font-size: 12px; color: var(--ink2); text-align: center; white-space: nowrap; }
.segc__o button:hover { color: var(--ink); }
.segc__o button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.isum { padding: 14px 16px; }
.isum h3 { font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.isum h3 + .vb { margin-top: 4px; }
.isum .st + h3 { margin-top: 18px; }
.st { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.st th, .st td { padding: 6px 0; border-bottom: 1px solid var(--line2); text-align: start; }
.st thead th { font-size: 11px; font-weight: 400; color: var(--mute); }
.st tbody th { font-weight: 500; }
.st .num, .st th.num { text-align: end; }
.st td:nth-child(2), .st td:nth-child(3), .st thead th:nth-child(2), .st thead th:nth-child(3) { text-align: center; }
.vb li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 58px; gap: 8px; align-items: center; padding: 5px 0; font-size: 12px; }
.vb__l { display: inline-flex; align-items: center; gap: 7px; }
.vb__b { height: 9px; border-radius: 3px; background: var(--soft2); overflow: hidden; }
.vb__b i { display: block; height: 100%; border-radius: 3px; }
.vb__b .sw--available { box-shadow: inset 0 0 0 1px #a3a4a6; }
.vb__v { text-align: end; font-weight: 500; }
.hint { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--mute); }
.ud { padding: 14px 16px 16px; }
.motion .ud { animation: tick .35s var(--e); }
.ud__h { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.ud__h > div { flex: 1; min-width: 0; }
.ud__k { font-size: 11.5px; color: var(--mute); }
.ud__h h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.stb { display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; white-space: nowrap; }
.ud .ib { margin-top: -2px; margin-inline-end: -6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 18px; }
.facts dt { font-size: 11px; color: var(--mute); }
.facts dd { font-size: 13px; }
.lk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 4px; }
.lk:hover { background: var(--hov); }
.lk b { display: block; font-weight: 500; }
.lk small { display: block; font-size: 11.5px; color: var(--mute); }
.lk > svg { margin-inline-start: auto; color: var(--faint); }
.ud__i { font-size: 12px; margin-top: 6px; }
.ud h4 { margin-top: 16px; }
.hist li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 5px 0; font-size: 12.5px; border-bottom: 1px solid var(--line2); }
.hist li:last-child { border-bottom: 0; }
.hist time { color: var(--mute); }

/* ================= visits ================= */
.wk { display: flex; align-items: center; gap: 4px; }
.wk__r { margin-inline-start: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.evl { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -4px 0 12px; font-size: 12px; color: var(--ink2); }
.evl li { display: inline-flex; align-items: center; gap: 7px; }
.evk { display: inline-block; width: 14px; height: 12px; border-radius: 3px; }
.evk--first { background: #fff; box-shadow: inset 0 0 0 1px #c3c4c6, inset 3px 0 0 var(--ink); }
[dir="rtl"] .evk--first { box-shadow: inset 0 0 0 1px #c3c4c6, inset -3px 0 0 var(--ink); }
.evk--second { background: #e9e9eb; box-shadow: inset 0 0 0 1px #d6d6d8, inset 3px 0 0 var(--mute); }
[dir="rtl"] .evk--second { box-shadow: inset 0 0 0 1px #d6d6d8, inset -3px 0 0 var(--mute); }
.evk--show { background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #a9aaac; }
.evk--signing { background: var(--ink); color: #fff; }
.cal { overflow: hidden; }
.cal__hd, .cal__g { display: grid; grid-template-columns: 52px repeat(6, minmax(0, 1fr)); }
.cal__hd { border-bottom: 1px solid var(--line); }
.cal__d { display: flex; align-items: baseline; gap: 6px; padding: 9px 10px; border-inline-start: 1px solid var(--line2); }
.cal__d span { font-size: 11.5px; color: var(--mute); }
.cal__d b { font-size: 15px; font-weight: 500; }
.cal__d em { margin-inline-start: auto; font-style: normal; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cal__d.is-today b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }
.cal__g { position: relative; height: 540px; margin: 10px 0 12px; }
.cal__h { position: relative; }
.cal__h span { position: absolute; inset-inline-end: 9px; transform: translateY(-50%); font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cal__c { position: relative; border-inline-start: 1px solid var(--line2); }
.cal__c > i { position: absolute; inset-inline: 0; height: 1px; background: var(--line2); }
.cal__c.is-today { background: #fbfbfc; }
.closed { position: absolute; inset-inline: 0; bottom: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(20, 20, 20, .05) 6px 7px); }
.evb { position: absolute; inset-inline: 4px; z-index: 1; display: block; padding: 4px 7px; border-radius: 6px; overflow: hidden; text-align: start; font-size: 11px; line-height: 1.3; }
.evb b { display: block; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evb span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .72; }
.evb.evk--first { background: #fff; }
.evb.evk--show span, .evb.evk--show b { background: rgba(255, 255, 255, .86); border-radius: 3px; width: fit-content; max-width: 100%; }
.evb:hover { z-index: 2; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--ink); }
.evb.evk--signing:hover { box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.evb.is-past { opacity: .5; }
.nowl { position: absolute; inset-inline: 0; z-index: 3; height: 0; border-top: 1.5px solid var(--ink); pointer-events: none; }
.nowl::before { content: ""; position: absolute; inset-inline-start: -4px; top: -4.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.nowl b { position: absolute; inset-inline-end: 4px; top: -9px; padding: 1px 5px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 500; }
.dchips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.dchips button { display: grid; justify-items: center; gap: 1px; padding: 7px 0 6px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.dchips span { font-size: 11px; color: var(--mute); }
.dchips b { font-size: 16px; font-weight: 500; }
.dchips em { font-style: normal; font-size: 10.5px; color: var(--faint); }
.dchips .is-today b { text-decoration: underline; text-underline-offset: 3px; }
.dchips [aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dchips [aria-selected="true"] span, .dchips [aria-selected="true"] em { color: #b9babc; }
.agenda { display: grid; gap: 8px; }
.ag2 { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 58px; padding: 9px 12px; border-radius: 10px; }
.ag2 time { font-size: 13px; font-weight: 500; }
.ag2 time small { display: block; font-size: 10.5px; opacity: .7; font-weight: 400; }
.ag2 b { display: block; font-weight: 500; font-size: 13.5px; }
.ag2 span small { display: block; font-size: 11.5px; opacity: .72; }
.ag2.evk--show b, .ag2.evk--show small, .ag2.evk--show time { background: rgba(255, 255, 255, .86); border-radius: 3px; width: fit-content; }
.ag2.evk--signing .av { background: #3a3b3c; color: #fff; }
.ag2.is-past { opacity: .5; }
.agenda .empty { padding: 30px 0; text-align: center; }

/* ================= reports ================= */
.rg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rc { display: flex; flex-direction: column; min-width: 0; }
.chart { flex: 1; padding: 12px 16px 14px; min-height: 240px; }
.svg { display: block; width: 100%; height: auto; overflow: visible; direction: ltr; }
.gl { stroke: var(--line2); stroke-width: 1; }
.ax { fill: #8a8c8e; font: 400 10.5px var(--f); }
.a-sold { fill: rgba(20, 20, 20, .055); }
.l-sold { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.l-res { fill: none; stroke: #7f8183; stroke-width: 1.5; stroke-linejoin: round; }
.l-plan { fill: none; stroke: #b5b6b8; stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-sold { fill: var(--ink); }
.d-res { fill: #fff; stroke: #7f8183; stroke-width: 1.5; }
.el { font: 500 11px var(--f); }
.el--sold { fill: var(--ink); }
.el--res { fill: #6b6e70; }
.el--plan { fill: #9a9c9e; }
.b-c { fill: var(--ink); }
.b-r { stroke: #6b6e70; stroke-width: 1; }
.hp-bg { fill: #fff; }
.hp { stroke: #6b6e70; stroke-width: 1.4; }
.b-0 { fill: #e2e2e4; }
.vl { fill: var(--ink2); font: 500 10.5px var(--f); }
.clg { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font-size: 11.5px; color: var(--mute); max-width: 55%; }
.clg li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.clg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.clg .k-sold { background: var(--ink); }
.clg .k-res { height: 2px; width: 14px; background: #7f8183; border-radius: 0; }
.clg .k-plan { height: 0; width: 14px; border-top: 1.5px dashed #b5b6b8; border-radius: 0; }
.clg .k-l1 { background: #e7e7e9; }
.clg .k-l2 { background: #a9aaac; }
.clg .k-l3 { background: var(--ink); }
.clg .k-hatch { background: #fff var(--hatch); box-shadow: inset 0 0 0 1px #6b6e70; }
.src li { direction: ltr; display: grid; grid-template-columns: 116px minmax(0, 1fr) 104px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.src li:last-child { border-bottom: 0; }
.src__l { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.src__l svg { width: 14px; height: 14px; color: var(--mute); }
.src__b { position: relative; height: 16px; }
.src__b i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 3px; }
.src__b .b1 { background: #e7e7e9; }
.src__b .b2 { background: #a9aaac; }
.src__b .b3 { background: var(--ink); }
.src__n { display: flex; justify-content: flex-end; gap: 10px; font-size: 12px; color: var(--mute); }
.src__n b { color: var(--ink); font-weight: 500; }
.src__n span { min-width: 18px; text-align: end; }
.fun li { direction: ltr; display: grid; grid-template-columns: 104px minmax(0, 1fr) 76px; gap: 12px; align-items: center; padding: 5px 0; }
.fun__l { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fun__b { display: flex; justify-content: center; height: 24px; }
.fun__b i { display: block; height: 100%; border-radius: 3px; }
.fun li:nth-child(1) i { background: #dadadc; }
.fun li:nth-child(2) i { background: #c1c2c4; }
.fun li:nth-child(3) i { background: #9d9ea0; }
.fun li:nth-child(4) i { background: #6f7173; }
.fun li:nth-child(5) i { background: #3f4042; }
.fun li:nth-child(6) i { background: var(--ink); }
.fun__n { display: flex; justify-content: flex-end; gap: 8px; font-size: 12px; }
.fun__n b { font-weight: 500; }
.fun__n span { color: var(--mute); min-width: 30px; text-align: end; }
/* data charts are never mirrored: bars start at the left in Hebrew too; only the labels are set right-to-left */
[dir="rtl"] span.ps__l, [dir="rtl"] .src__l, [dir="rtl"] .fun__l { direction: rtl; unicode-bidi: isolate; }

/* ================= settings ================= */
.sg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.sl li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line2); }
.sl li:last-child { border-bottom: 0; }
.sr2 > span:not(.av):not(.ok):not(.ig__i):not(.tm__n) { flex: 1; min-width: 0; }
.sr2 b { display: block; font-weight: 500; }
.sr2 small { display: block; font-size: 12px; color: var(--mute); }
.sg { justify-content: space-between; }
.sg b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ig__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink2); flex: none; }
.ok { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.tm__n { font-size: 12px; color: var(--mute); white-space: nowrap; }
.tm__n b { display: inline; color: var(--ink); }
.sw2 { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d6d6d8; flex: none; }
.sw2 i { position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.motion .sw2, .motion .sw2 i { transition: background-color .25s var(--e), transform .25s var(--e); }
.sw2[aria-checked="true"] { background: var(--ink); }
.sw2[aria-checked="true"] i { transform: translateX(14px); }
[dir="rtl"] .sw2[aria-checked="true"] i { transform: translateX(-14px); }

/* toasts */
.toasts { position: absolute; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); max-width: 100%; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast svg { width: 14px; height: 14px; }
.motion .toast { transition: opacity .35s var(--e), transform .35s var(--e); }
.toast.is-in { opacity: 1; transform: none; }

/* ================= app, compact (mobile CRM) ================= */
.app.m { grid-template-columns: minmax(0, 1fr); font-size: 13.5px; }
.m .side { display: none; }
.m .mbar { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.mbar__logo { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.mbar__logo img { height: 15px; width: auto; }
.mbar__t { flex: 1; font-size: 16px; font-weight: 600; }
.m .view { padding: 16px 16px 84px; }
.m .vh { margin-bottom: 14px; flex-wrap: wrap; }
.m .vh__t { display: none; }
.m .vh__s { margin-top: 0; }
.m .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: absolute; z-index: 35; inset-inline: 0; bottom: 0; height: 64px; padding-bottom: 4px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--faint); text-align: center; }
.tab svg { width: 21px; height: 21px; }
.tab[aria-current="page"] { color: var(--ink); }
.tab__b { position: absolute; top: 7px; left: 50%; margin-left: 6px; min-width: 16px; padding: 1px 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 600; line-height: 14px; box-shadow: 0 0 0 2px #fff; }
.m .sheet { display: block; position: absolute; z-index: 34; inset-inline: 0; bottom: 0; padding: 8px 12px 76px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .3); transform: translateY(105%); visibility: hidden; }
.motion .m .sheet { transition: transform .38s var(--e), visibility 0s linear .38s; }
.m.has-sheet .sheet { transform: none; visibility: visible; }
.motion .m.has-sheet .sheet { transition: transform .38s var(--e), visibility 0s; }
.sheet__g { width: 36px; height: 4px; margin: 2px auto 8px; border-radius: 2px; background: #d9d9db; }
.sheet__i { display: flex; align-items: center; gap: 14px; width: 100%; height: 52px; padding: 0 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line2); }
.sheet__i svg { width: 19px; height: 19px; }
.sheet__i .i--end { margin-inline-start: auto; color: var(--faint); width: 16px; }
.m.has-panel .scrim, .m.has-sheet .scrim { opacity: 1; pointer-events: auto; }
.m .panel { width: 100%; z-index: 38; border: 0; }
.m .pn__back { display: inline-grid; margin-inline-start: -8px; }
.m .pn__x { display: none; }
.m .pn__s { padding: 14px 16px 32px; }
.m .toasts { bottom: 78px; }
.m .dl { grid-template-columns: 1fr 1fr; }

.m .kpis { grid-template-columns: 1fr 1fr; }
.m .kpi--rev { order: -1; grid-column: 1 / -1; }
.m .kpi--rev .kpi__v { font-size: 30px; }
.m .kpi { padding: 12px 13px; }
.m .kpi__v { font-size: 22px; }
.m .kpi__l { white-space: normal; }
.m .kpi__f { flex-direction: column; align-items: flex-start; gap: 6px; }
.m .ov { grid-template-columns: minmax(0, 1fr); }
.m .feed { height: auto; min-height: 0; }
.m .fi__btn { padding: 12px 14px; }
.m .card__h .live { display: inline-flex; }
.m .vh__a .live { display: none; }
.m .fi .chips .chip:nth-child(n+3) { display: none; }

.m .tools { flex-wrap: wrap; }
.m .sf { width: 100%; height: 38px; }
.m .fbs { width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.m .fbs::-webkit-scrollbar { display: none; }
.m .fb { height: 34px; }
.m .tools__n { display: none; }
.ml { flex: 1; min-height: 0; overflow-y: auto; margin-inline: -16px; }
.mr { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.mr:active, .mr.is-sel { background: var(--hov); }
.mr .av { width: 36px; height: 36px; }
.mr__b { display: grid; gap: 3px; min-width: 0; }
.mr__t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mr__t b { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr__t time { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.mr__m { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--mute); }
.mr__m .ch { color: var(--mute); }
.mr__s { font-size: 12px; margin-top: 2px; }
.ml .empty { padding: 40px 16px; text-align: center; color: var(--mute); }

.m .pstats { gap: 18px; overflow-x: auto; scrollbar-width: none; }
.m .pstats div { flex: none; }
.m .pstats dd { font-size: 16px; }
.m .board { grid-auto-columns: 82%; gap: 10px; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.m .board::-webkit-scrollbar { display: none; }
.m .col { scroll-snap-align: start; }
.m .view[data-view="pipeline"] { padding-bottom: 76px; }

.m .inv { grid-template-columns: minmax(0, 1fr); }
.m .inv__side { order: -1; }
.m .plan { padding: 12px; }
.m .fl { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; height: 32px; }
.m .fl--ph { height: 60px; }
.m .fl--band { height: 22px; }
.m .un em { display: none; }
.m .fl--ph .un em { display: block; }
.m .un { padding: 0 7px; gap: 6px; }
.m .segc__o { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.m .segc__o::-webkit-scrollbar { display: none; }
.m .isum .hint { display: none; }
.m #unitbox .ud { position: absolute; z-index: 36; inset-inline: 0; bottom: 0; max-height: 78%; overflow: auto; border-radius: 18px 18px 0 0; border: 0; padding: 18px 16px 84px; box-shadow: 0 -20px 50px -18px rgba(0, 0, 0, .35); }
.motion .m #unitbox .ud { animation: up .4s var(--e); }
@keyframes up { from { transform: translateY(40%); opacity: 0; } }

.m .rg, .m .sg2 { grid-template-columns: minmax(0, 1fr); }
.m .src li { grid-template-columns: 92px minmax(0, 1fr) 84px; gap: 10px; }
.m .fun li { grid-template-columns: 88px minmax(0, 1fr) 66px; gap: 10px; }
.m .clg { max-width: none; justify-content: flex-start; }
.m .rc .card__h { flex-direction: column; }
.m .wk__r { display: none; }

/* ---------------- page, small screens ---------------- */
@media (max-width: 760px) {
  .top__demo { display: none; }
  .top__product { font-size: 13px; }
  .intro { padding-top: 32px; padding-bottom: 20px; }
  .intro__try { font-size: 13px; border-radius: 14px; align-items: flex-start; }
  .intro__dot { margin-top: 6px; }
  .frame { border-radius: 20px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .25); }
  .frame__bar { display: none; }
  .app { height: min(760px, calc(100svh - 84px)); min-height: 560px; }
  .inc__l { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .inc__l li { font-size: 14px; padding: 13px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.kpi--sold .kpi__n { white-space: nowrap; }

.m .inv { display: flex; flex-direction: column; gap: 14px; }
.m .inv__side { display: contents; }
.m .inv__side .segc { order: 1; }
.m .inv .plan { order: 2; }
.m #unitbox { order: 3; }
.m .fl--ph .fl__n { white-space: nowrap; font-size: 9.5px; letter-spacing: -.02em; }
