/* קהילת נדל"ן · סגנון "מותג כהה ונועז": ירוק-כהה וזהב */
:root {
  color-scheme: dark;
  --bg: #0F3A3C;
  --bg2: #0b2c2e;
  --card: rgba(255, 255, 255, .07);
  --card2: rgba(255, 255, 255, .12);
  --line: rgba(255, 255, 255, .12);
  --text: #ffffff;
  --muted: #a9c3c1;
  --gold: #B8863B;
  --gold2: #E2B15B;
  --on-gold: #0F3A3C;
  --mine: #B8863B;
  --theirs: #17494b;
  --blue: #1D9BF0;
  --red: #e5675a;
  --green: #4fbf8a;
  --yellow: #e8c35a;
  --gray: #7d9593;
  --r: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-family: Heebo, system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; overscroll-behavior-y: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

/* מבנה */
#app { min-height: 100%; }
.page { max-width: 640px; margin: 0 auto; padding: calc(var(--safe-t) + 14px) 16px calc(96px + var(--safe-b)); min-height: 100vh; }
.top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 44px; }
.top h1 { font-size: 26px; font-weight: 900; flex: 1; line-height: 1.15; min-width: 0; }
.top .sub { color: var(--muted); font-size: 14px; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.back svg { transform: scaleX(-1); }

/* ניווט */
.nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg2); display: flex; justify-content: space-around; padding: 6px 4px calc(8px + var(--safe-b)); z-index: 20; border-top: 1px solid var(--line); }
.nav a { flex: 1; display: grid; justify-items: center; gap: 2px; font-size: 12px; color: var(--muted); padding: 6px 0; min-height: 52px; position: relative; }
.nav a svg { width: 24px; height: 24px; }
.nav a.on { color: var(--gold2); font-weight: 700; }
.nav .dot { position: absolute; top: 2px; inset-inline-start: calc(50% + 6px); background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
@media (min-width: 900px) {
  .nav { top: 0; bottom: 0; left: auto; right: 0; width: 210px; flex-direction: column; justify-content: flex-start; padding: 28px 12px; border-top: 0; border-left: 1px solid var(--line); gap: 4px; }
  .nav:before { content: 'קהילת נדל"ן'; font-weight: 900; font-size: 22px; color: var(--text); padding: 0 12px 18px; }
  .nav a { flex: none; display: flex; gap: 12px; align-items: center; font-size: 16px; padding: 10px 12px; border-radius: 12px; }
  .nav a.on { background: var(--card); }
  .nav .dot { position: static; margin-inline-start: auto; }
  .page, .chat-wrap { margin-right: 210px; }
  .page { margin-left: auto; margin-right: max(210px, calc((100vw - 640px) / 2)); }
  .fab { left: calc(50% - 320px + 16px) !important; }
}

/* חיפוש ותגיות */
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 0 14px; height: 48px; margin-bottom: 12px; }
.search svg { width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 16px; min-width: 0; }
.search input::placeholder { color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--card); color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip.on { background: var(--gold); color: var(--on-gold); font-weight: 700; }
.chip b { font-weight: 800; }
.row-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.select { height: 38px; border-radius: 99px; background: var(--card); border: 0; padding: 0 12px; color: var(--muted); font-size: 15px; }
.select option { color: #000; }

/* סטטוסים בפס */
.stories { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px 6px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 66px; text-align: center; font-size: 12px; color: var(--muted); }
.story .ring { width: 62px; height: 62px; border-radius: 50%; padding: 3px; border: 2.5px solid var(--gold); margin: 0 auto 4px; position: relative; }
.story.seen .ring { border-color: var(--gray); }
.story .ring .av { width: 100%; height: 100%; font-size: 18px; }
.story .plus { position: absolute; bottom: -2px; left: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; border: 2px solid var(--bg); }
.story .plus svg { width: 12px; height: 12px; }
.story span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* אווטאר */
.av { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--gold); color: var(--on-gold); background-size: cover; background-position: center; overflow: hidden; }
.av.group { border-radius: 16px; }
.av svg { width: 55%; height: 55%; }
.av.lg { width: 96px; height: 96px; font-size: 34px; }
.av.sm { width: 36px; height: 36px; font-size: 14px; }
.vb { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--blue); color: #fff; vertical-align: -2px; margin-inline-start: 4px; flex: none; }
.vb svg { width: 11px; height: 11px; }

/* רשימת צ'אטים */
.list { display: grid; grid-template-columns: minmax(0, 1fr); }
.chat-row, .deal-card, .partner-card, .card { min-width: 0; }
.chat-row { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-radius: 14px; min-height: 68px; }
.chat-row:active { background: var(--card); }
.chat-row .m { flex: 1; min-width: 0; }
.chat-row .name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.chat-row .name > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .name .lock { width: 15px; height: 15px; color: var(--gold2); }
.chat-row .last { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .meta { text-align: left; font-size: 12px; color: var(--muted); display: grid; justify-items: end; gap: 4px; flex: none; }
.chat-row.unread .meta { color: var(--gold2); }
.badge { min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.section-title { font-size: 14px; color: var(--muted); font-weight: 700; margin: 18px 4px 6px; letter-spacing: .02em; }
.join-btn { height: 36px; padding: 0 14px; border-radius: 99px; background: var(--card2); color: var(--gold2); font-weight: 700; font-size: 14px; flex: none; }

/* כרטיסים */
.card { background: var(--card); border-radius: var(--r); overflow: hidden; }
.deal-card { display: block; margin-bottom: 14px; }
.deal-card .img { aspect-ratio: 16/8; background: var(--bg2) center/cover; position: relative; max-width: 100%; }
.below { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #fff; font-weight: 800; font-size: 13px; border-radius: 10px; padding: 3px 10px; }
.deal-card .st { position: absolute; top: 10px; left: 10px; }
.deal-card .tx { padding: 12px 14px 14px; }
.deal-card .t1 { font-weight: 800; font-size: 18px; line-height: 1.3; }
.deal-card .t2 { color: var(--muted); font-size: 14px; margin-top: 2px; }
.nums { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.nums b { color: var(--text); font-weight: 700; }
.by { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.price { font-size: 22px; font-weight: 900; color: var(--gold2); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--card2); }
.pill.green { background: rgba(79, 191, 138, .2); color: var(--green); }
.pill.yellow { background: rgba(232, 195, 90, .2); color: var(--yellow); }
.pill.gray { background: rgba(125, 149, 147, .25); color: #c3d2d1; }
.pill.red { background: rgba(229, 103, 90, .2); color: var(--red); }
.pill.gold { background: var(--gold); color: #fff; }
.partner-card { padding: 16px; margin-bottom: 12px; display: block; }
.partner-card .head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.partner-card p { color: #d7e4e3; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* פרטים */
.gallery { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery img { width: 88%; max-width: 560px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); scroll-snap-align: center; flex: none; background: var(--bg2); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.kv div { background: var(--card); border-radius: 14px; padding: 10px 12px; }
.kv span { display: block; font-size: 13px; color: var(--muted); }
.kv b { font-size: 17px; font-variant-numeric: tabular-nums; }
.block { margin: 16px 0; }
.block h3 { font-size: 15px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.block p { white-space: pre-wrap; }
.person { display: flex; gap: 12px; align-items: center; padding: 14px; }
.person .m { flex: 1; min-width: 0; }
.person .m b { display: flex; align-items: center; }
.person .m span { color: var(--muted); font-size: 14px; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.btn { height: 50px; border-radius: 14px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; background: var(--card2); }
.btn svg { width: 20px; height: 20px; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.wa { background: #1f7a52; color: #fff; }
.btn.danger { background: rgba(229, 103, 90, .18); color: var(--red); }
.btn.block-btn { width: 100%; }
.btn:disabled { opacity: .5; }
.link-btn { color: var(--gold2); font-weight: 700; padding: 8px 4px; min-height: 44px; }
.diff { background: rgba(184, 134, 59, .16); border: 1px solid rgba(226, 177, 91, .35); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }

/* פרופיל */
.profile-head { text-align: center; padding: 8px 0 16px; display: grid; justify-items: center; gap: 6px; }
.profile-head h2 { font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.profile-head .vb { width: 22px; height: 22px; }
.profile-head .vb svg { width: 14px; height: 14px; }
.profile-head .muted { color: var(--muted); }
.phone-line { font-size: 17px; color: var(--muted); }

/* כפתור צף */
.fab { position: fixed; left: 18px; bottom: calc(88px + var(--safe-b)); width: 60px; height: 60px; border-radius: 20px; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .55); z-index: 15; }
.fab svg { width: 28px; height: 28px; }

/* חלון צ'אט */
.chat-wrap { display: flex; flex-direction: column; height: 100vh; height: 100dvh; max-width: 760px; margin: 0 auto; }
@media (min-width: 900px) { .chat-wrap { margin-right: max(210px, calc((100vw - 760px) / 2)); margin-left: auto; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-t) + 10px) 12px 10px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.chat-head .who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.chat-head .who b { display: flex; align-items: center; font-size: 17px; white-space: nowrap; overflow: hidden; }
.chat-head .who span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head .who > div { min-width: 0; }
.msgs { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 4px; background: radial-gradient(circle at 20% 10%, rgba(184, 134, 59, .06), transparent 40%), var(--bg); }
.day { align-self: center; background: var(--card2); color: var(--muted); font-size: 12px; border-radius: 10px; padding: 3px 12px; margin: 10px 0 6px; }
.bub { max-width: 82%; padding: 7px 11px 5px; border-radius: 16px; background: var(--theirs); align-self: flex-start; position: relative; word-wrap: break-word; overflow-wrap: anywhere; user-select: text; }
.bub.me { align-self: flex-end; background: var(--mine); color: #fff; border-end-end-radius: 6px; }
.bub:not(.me) { border-end-start-radius: 6px; }
.bub .from { font-size: 13px; font-weight: 700; color: var(--gold2); margin-bottom: 1px; display: block; }
.bub .txt { white-space: pre-wrap; font-size: 16px; }
.bub .img { border-radius: 12px; margin: 2px -4px 4px; max-height: 320px; object-fit: cover; width: calc(100% + 8px); }
.bub .tm { font-size: 11px; opacity: .75; display: flex; gap: 3px; align-items: center; justify-content: flex-end; margin-top: 1px; }
.bub .tm svg { width: 16px; height: 16px; }
.bub .tm .read { color: #bfe9ff; }
.bub.deleted .txt { font-style: italic; opacity: .7; }
.typing { align-self: flex-start; color: var(--muted); font-size: 14px; padding: 4px 8px; }
.composer { display: flex; gap: 8px; align-items: flex-end; padding: 8px 10px calc(8px + var(--safe-b)); background: var(--bg2); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; resize: none; background: var(--card); border: 0; border-radius: 22px; padding: 11px 16px; font-size: 16px; max-height: 140px; outline: 0; min-height: 46px; line-height: 1.4; }
.composer .send { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; }
.composer .send svg { width: 22px; height: 22px; transform: scaleX(-1); }
.composer .attach { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.composer .attach svg { width: 24px; height: 24px; }
.notice-bar { padding: 12px 14px calc(12px + var(--safe-b)); background: var(--bg2); text-align: center; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.preview-img { padding: 8px 10px 0; background: var(--bg2); display: flex; gap: 8px; align-items: center; }
.preview-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }

/* טפסים */
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.field label i { font-style: normal; color: var(--gold2); }
.field .hint { color: var(--muted); font-size: 13px; margin-top: 4px; }
.inp { width: 100%; height: 50px; border-radius: 14px; background: var(--card); border: 1.5px solid transparent; padding: 0 14px; font-size: 16px; outline: 0; }
textarea.inp { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.inp:focus { border-color: var(--gold); }
.inp.err { border-color: var(--red); }
.inp::placeholder { color: var(--muted); opacity: .8; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { height: 44px; padding: 0 16px; border-radius: 12px; background: var(--card); color: var(--muted); font-size: 15px; }
.choice button.on { background: var(--gold); color: #fff; font-weight: 700; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photos .ph { width: 84px; height: 84px; border-radius: 12px; background: var(--card) center/cover; position: relative; }
.photos .ph button { position: absolute; top: -6px; left: -6px; width: 26px; height: 26px; border-radius: 50%; background: #000a; color: #fff; display: grid; place-items: center; }
.photos .ph button svg { width: 14px; height: 14px; }
.photos label.add { width: 84px; height: 84px; border-radius: 12px; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.photos label.add svg { width: 26px; height: 26px; }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0 calc(12px + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 30%); margin-top: 8px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border-radius: 14px; padding: 12px 14px; min-height: 52px; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: var(--gray); position: relative; flex: none; transition: background .2s; }
.switch:after { content: ''; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: right .2s; }
.switch.on { background: var(--gold); }
.switch.on:after { right: 23px; }

/* חלונית מלמטה */
#layer:empty { display: none; }
.shade { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--bg2); width: 100%; max-width: 640px; border-radius: 24px 24px 0 0; padding: 10px 16px calc(18px + var(--safe-b)); max-height: 90vh; overflow-y: auto; animation: up .2s ease-out; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.sheet h2 { font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 6px; min-height: 52px; font-size: 16px; border-radius: 12px; text-align: right; }
.menu-item svg { width: 22px; height: 22px; color: var(--muted); }
.menu-item.danger, .menu-item.danger svg { color: var(--red); }
.menu-item:active { background: var(--card); }
@keyframes up { from { transform: translateY(40px); opacity: .3; } }
@keyframes fade { from { opacity: 0; } }

/* צופה סטטוסים */
.viewer { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.viewer .bars { display: flex; gap: 4px; padding: calc(var(--safe-t) + 10px) 10px 8px; direction: ltr; flex-direction: row-reverse; }
.viewer .bars i { flex: 1; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 2px; overflow: hidden; }
.viewer .bars i b { display: block; height: 100%; background: #fff; width: 0; margin-left: auto; }
.viewer .bars i.done b { width: 100%; }
.viewer .bars i.run b { animation: bar 5s linear forwards; }
@keyframes bar { to { width: 100%; } }
.viewer .vh { display: flex; align-items: center; gap: 10px; padding: 4px 12px; }
.viewer .vh .m { flex: 1; min-width: 0; }
.viewer .vh span { font-size: 13px; color: #ccc; }
.viewer .stage { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; }
.viewer .stage img { max-height: 100%; width: 100%; object-fit: contain; }
.viewer .stage .cap { position: absolute; bottom: 18px; left: 16px; right: 16px; text-align: center; background: rgba(0, 0, 0, .5); padding: 10px 14px; border-radius: 14px; font-size: 17px; }
.viewer .stage .big { font-size: 28px; font-weight: 800; text-align: center; padding: 30px; line-height: 1.35; white-space: pre-wrap; }
.viewer .tap { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 2; }
.viewer .tap.prev { right: 0; }
.viewer .tap.next { left: 0; }
.viewer .foot { padding: 10px 12px calc(12px + var(--safe-b)); display: flex; gap: 8px; }
.viewer .foot input { flex: 1; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 0 16px; outline: 0; }
.viewer .foot .views { flex: 1; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; gap: 6px; }
.viewer .foot .views svg { width: 20px; height: 20px; }
.bg-picks { display: flex; gap: 10px; flex-wrap: wrap; }
.bg-picks button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; }
.bg-picks button.on { border-color: #fff; }
.status-preview { border-radius: var(--r); min-height: 180px; display: grid; place-items: center; text-align: center; padding: 20px; font-size: 22px; font-weight: 800; white-space: pre-wrap; background-size: cover; background-position: center; }

/* כניסה */
.login { min-height: 100vh; display: grid; align-content: center; padding: calc(var(--safe-t) + 30px) 20px calc(30px + var(--safe-b)); max-width: 460px; margin: 0 auto; gap: 18px; }
.login .logo { width: 84px; height: 84px; border-radius: 24px; }
.login h1 { font-size: 36px; font-weight: 900; line-height: 1.1; }
.login p.lead { color: var(--muted); font-size: 17px; }
.login .code { font-size: 34px; font-weight: 900; letter-spacing: .2em; color: var(--gold2); direction: ltr; text-align: center; background: var(--card); border-radius: 16px; padding: 12px; }
.steps-mini { display: grid; gap: 10px; counter-reset: s; }
.steps-mini div { display: flex; gap: 10px; align-items: flex-start; color: #d7e4e3; }
.steps-mini div:before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; font-size: 14px; }
.demo-note { background: rgba(184, 134, 59, .14); border: 1px solid rgba(226, 177, 91, .35); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: #ead8b5; }

/* ניהול */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--card); border-radius: var(--r); padding: 14px; }
.kpi b { display: block; font-size: 32px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: 14px; }
.kpi.hot { background: var(--gold); color: #fff; }
.kpi.hot span { color: #fff3dd; }
.admin-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-row .m { flex: 1; min-width: 0; }
.admin-row .m span { display: block; color: var(--muted); font-size: 13px; }
.mini-btn { height: 38px; padding: 0 12px; border-radius: 10px; background: var(--card2); font-size: 14px; font-weight: 700; flex: none; }
.mini-btn.on { background: var(--blue); color: #fff; }
.mini-btn.red { background: rgba(229, 103, 90, .2); color: var(--red); }
.report { padding: 14px; margin-bottom: 10px; }
.report q { display: block; margin: 8px 0; padding: 8px 12px; background: var(--bg2); border-radius: 10px; quotes: none; color: #d7e4e3; }
.report .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sample-bar { background: rgba(184, 134, 59, .14); color: #ead8b5; font-size: 13px; text-align: center; padding: 6px 12px; border-radius: 12px; margin-bottom: 12px; }

/* ריק */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.empty svg { width: 46px; height: 46px; color: var(--gold); }
.empty b { color: var(--text); font-size: 18px; }

/* הודעה קופצת */
#toast { position: fixed; bottom: calc(100px + var(--safe-b)); left: 50%; transform: translateX(-50%); background: #fff; color: #0F3A3C; border-radius: 14px; padding: 12px 16px; font-weight: 700; z-index: 80; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }
#toast[hidden] { display: none; }
#toast button { color: var(--gold); font-weight: 900; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .viewer .bars i.run b { width: 100%; } }
