
@font-face { font-family: Rubik; src: url(rubik.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
:root {
  --ease: cubic-bezier(.16,1,.3,1);
  --paper: #F4EFE8; --warm: #EAE3D8; --card: #FBF8F3; --white: #FFFDF9; --ink: #14110F;
  --ink70: rgba(20,17,15,.72); --ink50: rgba(20,17,15,.52); --ink30: rgba(20,17,15,.30); --line: rgba(20,17,15,.09);
  --acc: #D9692F; --acc-ink: #B9531F; --acc-soft: rgba(217,105,47,.12); --acc-soft2: rgba(217,105,47,.20);
  --ok: #2F7A3A; --ok-soft: rgba(47,122,58,.11); --dor: #2D5FB3; --dor-soft: rgba(45,95,179,.11);
  --r-xl: 30px; --r-l: 22px; --r-m: 16px;
  --sh1: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(60,40,20,.06), 0 18px 44px -30px rgba(60,40,20,.38);
  --sh2: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 6px rgba(60,40,20,.06), 0 30px 60px -34px rgba(60,40,20,.45);
  --font: Rubik, system-ui, -apple-system, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 16px/1.45 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; min-height: 100vh; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
svg { display: block; }
.ex { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink50); background: var(--warm); border-radius: 999px; padding: 1px 7px; margin-inline-start: 6px; vertical-align: 2px; }

/* ======== bubbles ======== */
body { background: radial-gradient(900px 520px at 85% -10%, rgba(217,105,47,.13), transparent 60%), radial-gradient(700px 500px at 0% 110%, rgba(47,122,58,.07), transparent 60%), var(--paper); }
.top { position: sticky; top: 0; z-index: 20; padding: 16px 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 36px; height: 36px; border-radius: 12px; background: var(--acc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; box-shadow: 0 8px 18px -8px rgba(217,105,47,.8); }
.brand b { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand small { display: block; font-size: 12px; color: var(--ink50); margin-top: -2px; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(251,248,243,.72); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 30px -18px rgba(60,40,20,.4); border: 1px solid rgba(255,255,255,.6); }
.nav a { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 17px; border-radius: 999px; color: var(--ink70); font-weight: 500; font-size: 15px; }
.nav a svg { width: 18px; height: 18px; }
.nav a[aria-current] { background: var(--ink); color: var(--paper); box-shadow: 0 8px 18px -10px rgba(20,17,15,.7); }
.nav em { font-style: normal; font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--acc); color: #fff; display: grid; place-items: center; }
.who { justify-self: end; display: flex; align-items: center; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 14px; border: 2.5px solid var(--paper); }
.av.i { background: #F6D9C6; color: var(--acc-ink); }
.av.d { background: #D4E0F3; color: var(--dor); margin-inline-start: -9px; }
main { max-width: 900px; margin: 0 auto; padding: 18px 24px 120px; }
h1 { margin: 10px 0 4px; font-size: 40px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.lead { margin: 0 0 22px; color: var(--ink50); font-size: 17px; }
.bubble { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh1); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s; }
.bubble.open { box-shadow: var(--sh2); }
.bh { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 16px; align-items: center; padding: 16px 18px 16px 22px; text-align: start; }
.pic { width: 64px; height: 64px; border-radius: 22px; background: linear-gradient(160deg, #fff, var(--warm)); display: grid; place-items: center; overflow: hidden; position: relative; }
.pic img { width: 120%; height: 120%; object-fit: contain; }
.pic.duo img { position: absolute; width: 70%; height: 90%; bottom: -4px; }
.pic.duo img:first-child { right: -4px; } .pic.duo img:last-child { left: -2px; }
.pic.web { background: linear-gradient(160deg, #FCE6D7, #F7D2BB); color: var(--acc-ink); }
.pic.web svg { width: 30px; height: 30px; }
.bh b { font-size: 19px; font-weight: 650; letter-spacing: -.01em; display: block; }
.bh small { color: var(--ink50); font-size: 14.5px; }
.stat { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.stat.quiet { background: var(--warm); color: var(--ink50); }
.chev { width: 38px; height: 38px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; color: var(--ink70); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.chev svg { width: 16px; height: 16px; }
.open .chev { transform: rotate(180deg); background: var(--ink); color: var(--paper); }
.bb { padding: 0 18px 18px; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.tag { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.tag.them { background: var(--ok-soft); color: var(--ok); }
.tag.us { background: var(--acc-soft); color: var(--acc-ink); }
.row .t { min-width: 0; }
.row .t b { font-weight: 600; font-size: 15px; }
.row .t code { display: block; font: 12.5px/1.3 var(--mono); color: var(--ink50); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; margin-top: 2px; }
.acts { display: flex; gap: 6px; }
.ib { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--warm); color: var(--ink70); }
.ib.dark { background: var(--ink); color: var(--paper); }
.ib svg { width: 17px; height: 17px; }
.client { border-radius: 24px; background: linear-gradient(180deg, #FFF7F0, var(--white)); border: 1px solid rgba(217,105,47,.18); padding: 14px; display: grid; gap: 10px; }
.ch { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; }
.ch .pic { width: 54px; height: 54px; border-radius: 18px; }
.ch b { font-size: 16.5px; font-weight: 650; display: block; }
.ch small { color: var(--ink50); font-size: 13.5px; }
.ring { position: relative; width: 54px; height: 54px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring span { font-size: 15px; font-weight: 700; line-height: 1; text-align: center; }
.ring span small { display: block; font-size: 9.5px; font-weight: 500; color: var(--ink50); margin-top: 1px; }
.prog { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink70); padding: 2px 4px; }
.bar { flex: 1; height: 7px; border-radius: 99px; background: var(--warm); overflow: hidden; }
.bar i { display: block; height: 100%; width: 57%; border-radius: 99px; background: linear-gradient(270deg, var(--acc), #E98A55); }
.client .row { background: rgba(255,255,255,.8); }
.add { height: 52px; border-radius: 999px; border: 1.5px dashed rgba(217,105,47,.45); color: var(--acc-ink); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tabbar { display: none; }
@media (max-width: 760px) {
  .top { grid-template-columns: 1fr auto; padding: 12px 16px; background: rgba(244,239,232,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .top .nav { display: none; }
  main { padding: 6px 16px 120px; }
  h1 { font-size: 32px; }
  .lead { font-size: 15px; margin-bottom: 16px; }
  .bh { grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; padding: 14px 14px 14px 16px; }
  .bh .stat { display: none; }
  .bh .sub2 { display: inline-flex; margin-top: 6px; padding: 4px 10px; font-size: 12.5px; }
  .pic { width: 54px; height: 54px; border-radius: 18px; }
  .bh b { font-size: 17px; }
  .bh small { font-size: 13.5px; }
  .bb { padding: 0 10px 12px; }
  .row { padding: 10px 10px 10px 12px; gap: 10px; }
  .row .tag { display: none; }
  .row .t b::before { content: attr(data-tag); font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; margin-inline-end: 6px; }
  .row.us .t b::before { background: var(--acc-soft); color: var(--acc-ink); }
  .row.them .t b::before { background: var(--ok-soft); color: var(--ok); }
  .row { grid-template-columns: minmax(0,1fr) auto; }
  .tabbar { display: flex; position: fixed; z-index: 30; bottom: max(14px, env(safe-area-inset-bottom)); left: 14px; right: 14px; justify-content: space-around; padding: 6px; border-radius: 30px; background: rgba(251,248,243,.78); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -16px rgba(60,40,20,.45); border: 1px solid rgba(255,255,255,.7); }
  .tabbar a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 24px; font-size: 11px; font-weight: 500; color: var(--ink50); }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a[aria-current] { background: var(--ink); color: var(--paper); }
  }
@media (min-width: 761px) { .sub2 { display: none; } }


/* ======== screens ======== */

/* מסכים נוספים בכיוון א׳ */
.add { width: 100%; }
.hello { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--warm); }
.seg button { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink70); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.tile { border-radius: 26px; padding: 16px 18px; background: var(--card); box-shadow: var(--sh1); display: grid; gap: 2px; }
.tile .k { font-size: 13.5px; color: var(--ink50); display: flex; align-items: center; gap: 7px; }
.tile .k i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.tile b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile small { font-size: 13px; color: var(--ink50); }
.tile.hot { background: linear-gradient(160deg, #FFF1E6, #FCE2D0); }
.tile.hot b { color: var(--acc-ink); }
.list { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 12px 11px 14px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.item .em { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: var(--acc-soft); }
.item .em.g { background: var(--ok-soft); } .item .em.b { background: var(--dor-soft); }
.item b { font-weight: 600; font-size: 15px; display: block; }
.item small { color: var(--ink50); font-size: 13px; }
.item time { font-size: 12.5px; color: var(--ink50); white-space: nowrap; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--warm); color: var(--ink70); }
.chip.i { background: var(--acc-soft); color: var(--acc-ink); } .chip.d { background: var(--dor-soft); color: var(--dor); } .chip.g { background: var(--ok-soft); color: var(--ok); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 14px; align-items: start; }
.bubble.pad { padding: 16px 18px 18px; }
.bubble h2 { margin: 0 0 12px; font-size: 17px; font-weight: 650; display: flex; align-items: center; justify-content: space-between; }
.bubble h2 a { font-size: 13.5px; font-weight: 500; color: var(--acc-ink); text-decoration: none; }
/* אנליטיקה */
.src { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding: 2px; }
.src button { flex: none; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--card); box-shadow: var(--sh1); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink70); }
.src button img, .src button .w { width: 28px; height: 28px; border-radius: 50%; background: var(--warm); object-fit: contain; display: grid; place-items: center; }
.src button .w svg { width: 15px; height: 15px; }
.src button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.funnel { display: grid; gap: 9px; }
.fr { display: grid; grid-template-columns: 8.5em minmax(0,1fr) 3.4em; gap: 12px; align-items: center; font-size: 14px; }
.fr .bar { height: 26px; border-radius: 10px; background: var(--warm); }
.fr .bar i { border-radius: 10px; height: 100%; display: block; }
.fr b { text-align: end; font-variant-numeric: tabular-nums; }
.visit { border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.visit.open { border-color: rgba(217,105,47,.25); box-shadow: 0 16px 34px -26px rgba(60,40,20,.5); }
.vh { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 11px 12px 11px 14px; text-align: start; }
.vh .chev { width: 32px; height: 32px; }
.vh > span > b, .vh > span > small { display: block; }
.visit.open .chev { transform: rotate(180deg); background: var(--ink); color: var(--paper); }
.vmeta { display: flex; gap: 12px; font-size: 13px; color: var(--ink50); white-space: nowrap; }
.vmeta b { color: var(--ink); font-weight: 600; }
.tl { padding: 4px 16px 14px 18px; display: grid; gap: 0; }
.tl div { display: grid; grid-template-columns: 3.4em 14px minmax(0,1fr) auto; gap: 10px; align-items: center; font-size: 14px; min-height: 34px; position: relative; }
.tl time { font: 12.5px var(--mono); color: var(--ink50); direction: ltr; text-align: end; }
.tl i { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); position: relative; z-index: 1; }
.tl div::before { content: ""; position: absolute; inset-block: 0; right: calc(3.4em + 14px); width: 2px; background: var(--warm); }
.tl div:first-child::before { top: 50%; } .tl div:last-child::before { bottom: 50%; }
.tl i.x { background: var(--ink30); box-shadow: 0 0 0 4px var(--warm); }
.tl span { color: var(--ink50); font-size: 13px; }
/* לידים */
.stages { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding: 2px; }
.stages button { flex: none; height: 40px; padding: 0 15px; border-radius: 999px; background: var(--card); box-shadow: var(--sh1); font-size: 14px; font-weight: 500; color: var(--ink70); display: flex; align-items: center; gap: 7px; }
.stages button em { font-style: normal; font-size: 12px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--warm); display: grid; place-items: center; padding: 0 6px; }
.stages button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stages button[aria-pressed="true"] em { background: rgba(255,255,255,.18); }
.lead-av { width: 54px; height: 54px; border-radius: 20px; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.next { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--acc-ink); font-weight: 500; margin-top: 5px; }
.next::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.lgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.box { border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 8px; align-content: start; }
.box h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink50); display: flex; justify-content: space-between; }
.box h3 button { color: var(--acc-ink); font-weight: 600; font-size: 13px; }
.note { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; font-size: 14px; }
.note .av { width: 26px; height: 26px; font-size: 11px; border-width: 0; }
.note small { display: block; color: var(--ink50); font-size: 12px; }
.cb { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.cb i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink30); flex: none; }
.cb.done i { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.cb.done span { color: var(--ink50); text-decoration: line-through; }
.qa { display: flex; gap: 8px; flex-wrap: wrap; }
.qa button { height: 40px; min-height: 44px; padding: 0 15px; border-radius: 999px; background: var(--warm); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.qa button.p { background: var(--ink); color: var(--paper); }
.empty-v { color: var(--ink50); font-size: 13.5px; }
/* משימות */
.add-task { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 8px 8px 8px 8px; border-radius: 999px; background: var(--white); box-shadow: var(--sh2); margin-bottom: 16px; }
.add-task input { border: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 16px; height: 44px; outline: none; min-width: 0; }
.add-task .go { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--acc); color: #fff; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(217,105,47,.9); }
.tk { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.tk .circle { width: 28px; height: 28px; border-radius: 50%; border: 2.2px solid var(--ink30); display: grid; place-items: center; }
.tk.doing .circle { border-color: var(--acc); background: conic-gradient(var(--acc) 0 50%, transparent 0); }
.tk b { font-weight: 500; font-size: 15.5px; display: block; line-height: 1.35; }
.tk .chips { margin-top: 5px; }
.done-strip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-xl); background: linear-gradient(160deg, #EEF5EA, #E2EEDC); color: var(--ok); font-weight: 600; }
.done-strip .big { font-size: 28px; }
.done-strip small { display: block; font-weight: 400; color: rgba(47,122,58,.8); font-size: 13.5px; }
.done-strip .chev { margin-inline-start: auto; background: rgba(47,122,58,.12); color: var(--ok); }
.tgroup { margin-bottom: 14px; }
.tgroup > h2 { margin: 6px 6px 10px; font-size: 15px; font-weight: 650; display: flex; gap: 8px; align-items: center; }
.tgroup > h2 em { font-style: normal; font-size: 13px; color: var(--ink50); font-weight: 500; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tiles .tile:first-child { grid-column: 1 / -1; }
  .tile b { font-size: 28px; }
  .two { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vh { grid-template-columns: auto minmax(0,1fr) auto; }
  .vh .vmeta { display: none; }
  .vh .m2 { display: flex; margin-top: 3px; }
  .fr { grid-template-columns: 7em minmax(0,1fr) 3em; }
  .lgrid { grid-template-columns: 1fr; }
  .bh .lead-av { width: 48px; height: 48px; border-radius: 17px; font-size: 18px; }
}
@media (min-width: 761px) { .m2 { display: none; } }

/* ======== app layer (tadam-admin) ======== */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
html { -webkit-text-size-adjust: 100%; }
body { background: radial-gradient(900px 520px at 85% -10%, rgba(217,105,47,.13), transparent 60%), radial-gradient(700px 500px at 0% 110%, rgba(47,122,58,.07), transparent 60%), var(--paper); background-attachment: fixed; }
main { outline: none; }
.view { animation: rise .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.lock { overflow: hidden; }
:focus-visible { outline: 3px solid rgba(217,105,47,.6); outline-offset: 2px; border-radius: inherit; }
.bh:focus-visible, .vh:focus-visible, .done-strip:focus-visible { outline-offset: -3px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { transition: transform .22s var(--ease), background-color .2s, color .2s, box-shadow .2s, opacity .2s; }
button:active:not(.bh):not(.vh), a.tile:active, .nav a:active, .tabbar a:active, .qa-a:active { transform: scale(.97); }
.bh:active, .vh:active, .done-strip:active { transform: scale(.992); }
button[aria-disabled="true"] { cursor: not-allowed; }

/* header + nav */
.top { gap: 12px; }
.nav a, .tabbar a { position: relative; transition: background-color .25s, color .25s, transform .22s var(--ease); }
.nav a:hover:not([aria-current]) { background: rgba(20,17,15,.05); }
.badge { font-style: normal; font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--acc); color: #fff; display: grid; place-items: center; }
.tabbar .badge { position: absolute; top: 3px; left: calc(50% + 6px); box-shadow: 0 0 0 2px rgba(251,248,243,.9); }
.who { gap: 10px; }
.mode-chip { font-size: 12px; font-weight: 500; padding: 4px 11px; border-radius: 99px; background: var(--warm); color: var(--ink50); white-space: nowrap; }
.mode-chip.demo { background: var(--acc-soft); color: var(--acc-ink); }
.who-wrap { position: relative; }
.who-btn { display: flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0 2px; border-radius: 99px; }
.av.d { margin-inline-start: 0; }
.who-btn .av + .av { margin-inline-start: -9px; }
.av.me { box-shadow: 0 0 0 2px var(--acc); }
.av.other { opacity: .55; }
.av.big { width: 76px; height: 76px; font-size: 30px; border-width: 0; }
.av.i, .av.d { flex: none; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 190px; padding: 8px; border-radius: 22px; background: var(--card); box-shadow: var(--sh2); border: 1px solid var(--line); display: grid; gap: 2px; }
.menu-t { margin: 0; padding: 8px 12px 4px; font-size: 12.5px; color: var(--ink50); }
.menu button { min-height: 44px; padding: 0 12px; border-radius: 14px; text-align: start; font-weight: 500; font-size: 15px; }
.menu button:hover { background: var(--warm); }

/* collapsible (grid 0fr -> 1fr) */
.cx { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.cx-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.bubble.open > .cx, .visit.open > .cx, .done-wrap.open > .cx, .tk.menu-open > .cx, .add-wrap.more-open > .cx { grid-template-rows: 1fr; }
.bubble.open > .cx > .cx-in, .visit.open > .cx > .cx-in, .done-wrap.open > .cx > .cx-in, .tk.menu-open > .cx > .cx-in, .add-wrap.more-open > .cx > .cx-in { visibility: visible; transition-delay: 0s; }
.bubble .bh { border-radius: inherit; }
.bubble { transition: box-shadow .3s, transform .3s var(--ease); }
.chev { flex: none; }
.vh .chev { width: 32px; height: 32px; }

/* buttons */
.btn-primary { height: 48px; padding: 0 24px; border-radius: 999px; background: var(--acc); color: #fff; font-weight: 600; font-size: 15.5px; box-shadow: 0 10px 20px -10px rgba(217,105,47,.9); }
.btn-primary.sm { height: 44px; justify-self: start; }
.btn-primary:disabled { opacity: .6; }
.btn-quiet { min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--warm); font-weight: 500; font-size: 14.5px; }
.btn-quiet.danger { color: var(--acc-ink); }
.btn-quiet.armed { background: var(--acc); color: #fff; }
.ib { width: 44px; height: 44px; flex: none; }
.ib.off { opacity: .42; }
.ib.quiet { background: transparent; }
.qa-a { height: 44px; padding: 0 16px; border-radius: 999px; background: var(--warm); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; }
.add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; transition: background-color .2s, transform .22s var(--ease); }
.add:hover { background: var(--acc-soft); }
.add svg { width: 18px; height: 18px; }
.seg button, .stages button, .src button { position: relative; }
.seg button::before { content: ""; position: absolute; inset: -4px 0; }
.seg button { transition: background-color .25s, color .25s, box-shadow .25s, transform .22s var(--ease); }
.stages button, .src button { height: 44px; }
.src button { padding-inline-end: 16px; }

/* cards: content that must not overflow */
.bh > span:nth-child(2) { min-width: 0; }
.bh small { display: block; }
.stat { transition: background-color .2s; }

/* link rows */
.row .t .sub { display: block; font-size: 12.5px; color: var(--ink50); margin-top: 1px; }
.row .t .sub.soon { color: var(--acc-ink); }
.row .t .hint { display: block; font-size: 12px; color: var(--acc-ink); margin-top: 3px; line-height: 1.35; }
.client .prog .bar i { transition: width .8s var(--ease); }

/* empty states */
.empty { display: grid; justify-items: center; text-align: center; gap: 3px; padding: 22px 16px; }
.empty-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-ink); display: grid; place-items: center; margin-bottom: 8px; }
.empty-ic svg { width: 24px; height: 24px; }
.empty b { font-size: 15.5px; font-weight: 600; }
.empty small { color: var(--ink50); font-size: 13.5px; max-width: 36ch; }
.empty .btn-primary { margin-top: 12px; }
.tile-empty { background: var(--card); border-radius: 26px; box-shadow: var(--sh1); margin-bottom: 14px; }
.demo-note { margin: -10px 0 14px; display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 99px; background: var(--acc-soft); color: var(--acc-ink); font-weight: 500; }

/* tiles as links */
a.tile { color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
a.tile:hover { box-shadow: var(--sh2); }
.tile .dash { color: var(--ink30); }

/* stats */
.vem { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); font-size: 17px; }
.vem.w { background: var(--warm); } .vem.g { background: var(--ok-soft); }
.vh b { font-weight: 600; }
.vh small { color: var(--ink50); font-size: 13px; }
.vmeta b { font-variant-numeric: tabular-nums; }
.pad-s { padding: 6px 18px 14px; margin: 0; }
.fr .bar i { transition: width .8s var(--ease); }

/* leads */
.leadlist .bubble { margin-bottom: 14px; }
.lbody { display: grid; gap: 12px; }
.lgrid .box.wide { grid-column: 1 / -1; }
.box h3 { align-items: center; min-height: 24px; }
.box h3 button { min-height: 44px; padding: 0 6px; margin: -10px 0; }
.mini-rows { display: grid; gap: 8px; }
.box .row { grid-template-columns: minmax(0,1fr) auto; padding: 10px 10px 10px 12px; }
.box .row .tag { display: none; }
.box .row .t b::before { content: attr(data-tag); font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; margin-inline-end: 6px; }
.box .row.us .t b::before { background: var(--acc-soft); color: var(--acc-ink); }
.box .row.them .t b::before { background: var(--ok-soft); color: var(--ok); }
.cb { width: 100%; min-height: 44px; text-align: start; }
.cb i { display: grid; place-items: center; color: #fff; transition: background-color .25s, border-color .25s; }
.cb i svg { width: 12px; height: 12px; opacity: 0; transition: opacity .2s; }
.cb.done i { box-shadow: none; }
.cb.done i svg { opacity: 1; }
.mini-add, .note-add { display: grid; gap: 8px; }
.mini-add { grid-template-columns: minmax(0,1fr) auto; }
.edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ltr-in { text-align: end; }
.next[hidden] { display: none; }
.lead-av { flex: none; transition: background-color .3s, color .3s; }

/* forms */
.fields { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld-l { font-size: 13px; font-weight: 600; color: var(--ink50); }
.two-f { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.inp { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.inp { height: auto; padding: 10px 14px; resize: vertical; line-height: 1.4; }
.inp:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
select.inp { appearance: none; -webkit-appearance: none; padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110F' stroke-opacity='.6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; background-size: 16px; }
.form-err { margin: 10px 2px 0; color: #B3361A; font-size: 14px; font-weight: 500; }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; justify-items: center; }
.scrim { position: absolute; inset: 0; background: rgba(20,17,15,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.sheet { position: relative; width: 100%; max-width: 540px; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--card); border-radius: 30px 30px 0 0; padding: 8px 20px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgba(60,40,20,.5); transform: translateY(105%); transition: transform .5s var(--ease); outline: none; }
.sheet.wide { max-width: 640px; }
.sheet-wrap.in .scrim { opacity: 1; }
.sheet-wrap.in .sheet { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 9px; background: var(--ink30); margin: 6px auto 4px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 14px; min-height: 44px; }
.sheet-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.sheet-foot { display: flex; gap: 10px; margin-top: 20px; }
.sheet-foot .btn-primary { flex: 1; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 0 8px; }
.pick-btn { display: grid; justify-items: center; gap: 12px; padding: 24px 10px 20px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh1); font-size: 19px; font-weight: 600; }
.pick-btn:hover { box-shadow: var(--sh2); }
@media (min-width: 761px) {
  .sheet-wrap { align-items: center; }
  .grab { display: none; }
  .sheet { border-radius: 30px; transform: translateY(26px) scale(.97); opacity: 0; box-shadow: var(--sh2); transition: transform .5s var(--ease), opacity .3s; }
  .sheet-wrap.in .sheet { opacity: 1; transform: none; }
}

/* toasts */
#toasts { position: fixed; z-index: 200; inset-inline: 0; bottom: 28px; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { max-width: 440px; padding: 11px 20px; border-radius: 999px; background: rgba(20,17,15,.9); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); animation: toastin .45s var(--ease) both; transition: opacity .3s, transform .3s; text-align: center; }
.toast.ok { background: rgba(40,92,48,.95); }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes toastin { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* tasks */
.add-wrap { margin-bottom: 18px; }
.add-task { margin-bottom: 10px; }
.add-opts { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; }
.more-btn { min-height: 44px; padding: 0 8px 0 4px; display: flex; align-items: center; gap: 4px; color: var(--acc-ink); font-weight: 600; font-size: 14.5px; }
.more-btn .chev { width: 24px; height: 24px; background: none; color: var(--acc-ink); }
.more-btn .chev svg { width: 14px; height: 14px; }
.add-wrap.more-open .more-btn .chev { transform: rotate(180deg); background: none; color: var(--acc-ink); }
.add-more { display: flex; gap: 10px; flex-wrap: wrap; padding: 10px 3px 4px; }
.add-more .inp { flex: 1; min-width: 150px; }
.add-task:focus-within { box-shadow: var(--sh2), 0 0 0 3px var(--acc-soft2); }
.tk { grid-template-columns: auto minmax(0,1fr) auto; position: relative; transition: border-color .3s, background-color .3s; }
.tk-t { min-width: 0; }
.tk .circle { width: 44px; height: 44px; margin: -8px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tk .circle::before { content: ""; grid-area: 1 / 1; width: 28px; height: 28px; border-radius: 50%; border: 2.2px solid var(--ink30); transition: background-color .25s, border-color .25s; }
.tk .circle::after { content: ""; grid-area: 1 / 1; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; pointer-events: none; }
.tk .circle svg { grid-area: 1 / 1; width: 16px; height: 16px; color: #fff; z-index: 1; stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .38s var(--ease) .06s; }
.tk.doing .circle::before { border-color: var(--acc); background: conic-gradient(var(--acc) 0 50%, transparent 0); }
.tk.done .circle::before { background: var(--ok); border-color: var(--ok); }
.tk.done .circle svg { stroke-dashoffset: 0; }
.tk.pop .circle::before { animation: spring .6s cubic-bezier(.34,1.7,.5,1); }
.tk.pop.done .circle::after { animation: burst .65s var(--ease); }
@keyframes spring { 0% { transform: scale(.8); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes burst { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
.tk.done { background: rgba(255,253,249,.7); }
.tk.done .tk-t b { color: var(--ink50); text-decoration: line-through; text-decoration-color: var(--ink30); }
.tk-actions { grid-column: 1 / -1; }
.tk-actions-in { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0 2px 0; }
.tk-t b { transition: color .3s; }
.done-wrap { margin-bottom: 14px; }
.done-strip { width: 100%; text-align: start; border: 0; }
.done-wrap .done-strip { transition: border-radius .3s, transform .22s var(--ease); }
.done-wrap.open .chev { transform: rotate(180deg); background: rgba(47,122,58,.9); color: #fff; }
.done-list { padding: 12px 0 0; }
.quiet-strip { background: var(--warm); color: var(--ink70); margin-bottom: 14px; }
.quiet-strip small { color: var(--ink50); }
.done-strip small { display: block; font-weight: 400; }

/* login */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(380px, 100%); text-align: center; display: grid; justify-items: center; gap: 6px; padding: 32px 24px; }
.login-card h1 { font-size: 28px; margin: 10px 0 0; }
.login-card .lead { margin-bottom: 14px; }

@media (max-width: 760px) {
  .top { gap: 8px; }
  .who { gap: 6px; }
  #toasts { bottom: calc(98px + env(safe-area-inset-bottom)); }
  .sheet { border-radius: 30px 30px 0 0; }
  .two-f { grid-template-columns: 1fr; }
  .hello { align-items: stretch; }
  .hello .seg { align-self: flex-start; }
  .stages button, .src button { height: 44px; }
  .menu { left: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* fixes after first render */
.tk.doing .circle, .tk.done .circle { background: none; border-color: transparent; }
.nav a { height: 44px; }
.hello { margin-bottom: 4px; }
.hello .seg { margin-bottom: 14px; }
.bubble h2 a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; margin: -12px -4px; }
.brand small { white-space: nowrap; }
.src button[aria-pressed="true"] .w { background: rgba(255,255,255,.15); }
@media (max-width: 760px) {
  .mode-chip { font-size: 11px; padding: 3px 9px; }
  .brand small { display: none; }
  .brand b { font-size: 17px; }
}

.ns { padding: 24px; }
.lead.small { font-size: 14px; margin-bottom: 14px; }
.ib[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* phone: three action buttons (eye, copy, open) go under the text so the label and the URL keep their width */
@media (max-width: 760px) {
  .row, .box .row { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .row .acts { justify-content: flex-start; }
}

/* ======== sheet sync: leads list, filters, home "פניות", journey chart ======== */
:root { --top-h: 70px; --p1: #D9692F; --p2: #E9A06E; --p3: #EFD3B5; --p4: #E4DED3; --p5: #EEEAE3; }
.hello-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.hello-tools .btn-quiet { display: inline-flex; align-items: center; white-space: nowrap; }

/* sticky search: sits under the (sticky) top bar */
.lsearch { position: sticky; top: var(--top-h); z-index: 15; display: flex; align-items: center; gap: 10px; margin: 0 -6px 10px; padding: 8px 6px; background: linear-gradient(var(--paper) 78%, rgba(244,239,232,0)); }
.lsearch svg { position: absolute; inset-inline-start: 22px; width: 18px; height: 18px; color: var(--ink50); pointer-events: none; }
.lsearch .inp { padding-inline-start: 44px; border-radius: 999px; background: var(--card); box-shadow: var(--sh1); border-color: transparent; }
.lsearch .inp::-webkit-search-cancel-button { margin-inline-start: 6px; }

.lfilters { display: grid; gap: 8px; margin-bottom: 8px; }
.frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.frow .fl { flex: none; width: 3.4em; font-size: 12.5px; font-weight: 600; color: var(--ink50); }
.frow .stages { margin: 0; padding: 2px; flex: 1; min-width: 0; }
.frow .stages button { height: 36px; padding: 0 12px; font-size: 13.5px; }
.frow .stages button em { min-width: 18px; height: 18px; font-size: 11.5px; }
.pdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.lcount { margin: 4px 6px 10px; font-size: 13px; color: var(--ink50); }

.pri { flex: none; width: 40px; height: 40px; border-radius: 15px; display: grid; place-items: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.p0, .pdot.p0 { background: var(--p5); color: var(--ink50); }
.p1 { background: var(--p1); color: #fff; box-shadow: 0 8px 16px -10px rgba(217,105,47,.9); }
.p2 { background: var(--p2); color: #5A2A0C; }
.p3 { background: var(--p3); color: #6A4620; }
.p4 { background: var(--p4); color: var(--ink70); }
.p5 { background: var(--p5); color: var(--ink50); }
.pdot { box-shadow: none; }
[aria-pressed="true"] .pdot { box-shadow: 0 0 0 2px rgba(255,255,255,.35); }

/* compact collapsed cards for a long list */
.bubble.lead { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.bubble.lead .bh { padding: 10px 14px 10px 16px; gap: 12px; }
.bubble.lead .bh b { font-size: 16.5px; line-height: 1.3; }
.bubble.lead .bh .lead-av { width: 40px; height: 40px; border-radius: 15px; font-size: 17px; }
.bubble.lead .chev { width: 32px; height: 32px; }
.bubble.lead .stat { font-size: 12.5px; padding: 4px 10px; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
.lh { min-width: 0; display: block; }
.lh .org-line { display: block; font-size: 13px; color: var(--ink50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh .next { margin-top: 3px; font-size: 13px; }
.lh .next.late { color: #B3261E; }
.lh .next.late::before { background: #B3261E; }
.sheet-mark { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink50); background: var(--warm); border-radius: 99px; padding: 1px 7px; margin-inline-start: 4px; vertical-align: 2px; white-space: nowrap; }
.more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; border-radius: 999px; background: var(--card); box-shadow: var(--sh1); font-weight: 600; font-size: 14.5px; margin: 6px 0 14px; }
.more em { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--ink50); }

/* expanded synced lead */
.kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 16px; }
.kv > div { min-width: 0; }
.kv dt { font-size: 12px; font-weight: 600; color: var(--ink50); }
.kv dd { margin: 1px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.kv a { color: var(--acc-ink); text-decoration: underline; text-decoration-color: rgba(185,83,31,.35); text-underline-offset: 3px; }
.phs { display: grid; gap: 3px; }
.ph { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.wa-mark { font-size: 11.5px; font-weight: 600; background: var(--ok-soft); color: var(--ok) !important; border-radius: 99px; padding: 1px 8px; text-decoration: none !important; }
.ltext b { font-size: 12px; color: var(--ink50); font-weight: 600; }
.ltext p { margin: 2px 0 0; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.owner-row { max-width: 220px; }
.sheet-note { margin: 2px 0 0; font-size: 12.5px; color: var(--ink50); }
.sheet-note a { color: var(--acc-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* legend sheet */
.legend { display: grid; gap: 14px; max-height: 62dvh; overflow: auto; overscroll-behavior: contain; padding-bottom: 6px; }
.lg-sec h3 { margin: 0 0 8px; font-size: 13px; font-weight: 650; color: var(--ink50); }
.lg-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lg-row .stat, .lg-row .pri { flex: none; }
.lg-row .pri { width: 30px; height: 30px; border-radius: 11px; font-size: 14px; }
.lg-row .stat { min-width: 5.5em; text-align: center; }

/* home: פניות */
.bubble.outreach { margin-bottom: 14px; }
.bubble.outreach .bh { grid-template-columns: auto minmax(0,1fr) auto; padding: 12px 16px 12px 18px; }
.og-ic { width: 42px; height: 42px; border-radius: 15px; background: var(--acc-soft); display: grid; place-items: center; font-size: 19px; }
.bubble.outreach .bh b { font-size: 17px; }
.og { display: grid; gap: 10px; }
.tiles.out { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin: 0; }
.tile.sm { padding: 12px 14px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.tile.sm.hot { background: linear-gradient(160deg, #FFF1E6, #FCE2D0); border-color: rgba(217,105,47,.2); }
.tile.sm b { font-size: 28px; }
.tile.sm .k { font-size: 12.5px; }
.og-h { margin: 4px 4px 0; font-size: 13px; font-weight: 650; color: var(--ink50); }
.item .pri { width: 38px; height: 38px; border-radius: 14px; font-size: 16px; }
.item time.late { color: #B3261E; font-weight: 600; }
.more-link { display: block; text-align: center; padding: 10px; font-size: 13.5px; font-weight: 600; color: var(--acc-ink); }

/* journey chart */
.jc-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink50); margin: 0 0 8px; }
.jc-stats b { color: var(--ink); font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.jc-stats .legend-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.jc-stats .legend-k:first-of-type { margin-inline-start: auto; }
.k-bar { width: 10px; height: 10px; border-radius: 3px; background: var(--acc); display: inline-block; }
.k-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); display: inline-block; }
.jc-chart { width: 100%; min-height: 200px; }
.jc-svg { display: block; max-width: 100%; overflow: visible; font-family: var(--font); }
.jc-grid { stroke: var(--line); stroke-width: 1; }
.jc-tick, .jc-x { fill: var(--ink50); font-size: 11px; font-variant-numeric: tabular-nums; }
.jc-bar { fill: var(--acc); }
.jc-hit { fill: transparent; }
.jc-day { cursor: pointer; outline: none; }
.jc-day:hover .jc-hit { fill: rgba(20,17,15,.04); }
.jc-day.sel .jc-hit { fill: var(--acc-soft); }
.jc-day:focus-visible .jc-hit { stroke: rgba(217,105,47,.7); stroke-width: 2; }
.jc-note { fill: var(--ink50); }
.jc-line { fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.jc-dot { fill: var(--white); stroke: var(--ok); stroke-width: 2.4; pointer-events: none; }
.jc-detail { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin: 10px 2px 12px; padding: 10px 14px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.jc-detail b { font-size: 15px; }
.jc-detail small { flex-basis: 100%; color: var(--ink50); font-size: 13px; }
.jc-nlist { display: grid; gap: 8px; padding: 2px 16px 14px; }
.jc-nlist > div { display: grid; grid-template-columns: 3.2em minmax(0,1fr); gap: 10px; font-size: 14px; }
.jc-nlist time { font: 12.5px var(--mono); color: var(--ink50); direction: ltr; text-align: end; }
.jc-nlist span { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .lsearch { margin-inline: -4px; }
  .frow .fl { width: 3em; font-size: 12px; }
  .hello-tools { margin-bottom: 8px; }
  .tiles.out { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tiles.out .tile:last-child { grid-column: 1 / -1; }
  .tile.sm b { font-size: 25px; }
  .bubble.lead .bh { padding: 9px 12px 9px 12px; gap: 10px; }
  .bubble.lead .bh .sub2 { margin-top: 4px; max-width: 100%; }
  .jc-stats .legend-k:first-of-type { margin-inline-start: 0; }
  .kv { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hello-tools .btn-quiet { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
  .frow .stages button { padding: 0 9px; gap: 5px; }
  .frow[aria-label="עדיפות"] .pdot { display: none; }
}
@media (max-width: 760px) { .tiles.out .tile:first-child { grid-column: auto; } }
.og-q { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink70); text-decoration: none; }
.og-q span:nth-child(2) { flex: 1; min-width: 0; }
.og-q b { font-size: 18px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.og-q.on { background: linear-gradient(160deg, #FFF1E6, #FCE2D0); border-color: rgba(217,105,47,.2); }
