/* רדאר נדל״ן מסחרי
   כיוון: אתר בנייה בשעת דמדומים. כחול עמוק של אחרי השקיעה, אור נתרן ענברי של פנסי האתר, זכוכית של קיר מסך.
   במצב בהיר: שולחן שרטוט בבוקר, בטון קריר ודיו כהה.
   פריסה: סרט רחב עם קו רקיע, לשוניות דביקות, ותוכן שמיושר לימין. כל תרשים יושב בגיליון עם "טבלת כותרת" שמציגה מקור ותקופה. */

:root {
  --bg: #E9EDF2;
  --surface: #F7F9FB;
  --surface-2: #DDE3EB;
  --ink: #121A2B;
  --ink-2: #48566E;
  --ink-3: #586680;
  --line: #C5CEDB;
  --accent: #8A5A00;        /* פליז, לטקסט ולקווים */
  --accent-fill: #D9A02B;   /* ענבר, למילוי */
  --on-accent: #121A2B;
  --glass: #0B7285;
  --alert: #B93225;
  --ok: #177A4D;
  --series-1: #0a7ea4;
  --series-2: #c77700;
  --grid: #D5DCE6;
  --map-sea: #D3DCE8;
  --map-land: #F7F9FB;
  --map-nb: #E4E9F0;
  --map-line: #9AAAC2;
  --sky-top: #BFD0E6;
  --sky-mid: #DCE5F0;
  --sky-low: #F4E6CF;
  --bld-far: #B4C2D6;
  --bld-mid: #8D9FBA;
  --bld-near: #56698A;
  --win: #EEF2F7;
  --crane: #8A5A00;
  --ground: #3C4A63;
  --font-ui: "Noto Sans Hebrew", "Arial Hebrew", "Segoe UI", Arial, sans-serif;
  --font-doc: "David Libre", "David", "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14203A;
    --surface: #1B2A49;
    --surface-2: #24365C;
    --ink: #EEF2F8;
    --ink-2: #B4C0D6;
    --ink-3: #8E9CB8;
    --line: #2F4270;
    --accent: #F0B95A;
    --accent-fill: #F0B95A;
    --on-accent: #121A2B;
    --glass: #62CBDA;
    --alert: #FF7A68;
    --ok: #6FD19C;
    --series-1: #2fa3bb;
    --series-2: #c4821a;
    --grid: #2A3B63;
    --map-sea: #0F1930;
    --map-land: #24365C;
    --map-nb: #1A2848;
    --map-line: #4A62A0;
    --sky-top: #0B1428;
    --sky-mid: #1D2D58;
    --sky-low: #8A5A46;
    --bld-far: #24345E;
    --bld-mid: #182546;
    --bld-near: #0D1730;
    --win: #F3C063;
    --crane: #F0B95A;
    --ground: #080F20;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14203A;
  --surface: #1B2A49;
  --surface-2: #24365C;
  --ink: #EEF2F8;
  --ink-2: #B4C0D6;
  --ink-3: #8E9CB8;
  --line: #2F4270;
  --accent: #F0B95A;
  --accent-fill: #F0B95A;
  --on-accent: #121A2B;
  --glass: #62CBDA;
  --alert: #FF7A68;
  --ok: #6FD19C;
  --series-1: #2fa3bb;
  --series-2: #c4821a;
  --grid: #2A3B63;
  --map-sea: #0F1930;
  --map-land: #24365C;
  --map-nb: #1A2848;
  --map-line: #4A62A0;
  --sky-top: #0B1428;
  --sky-mid: #1D2D58;
  --sky-low: #8A5A46;
  --bld-far: #24345E;
  --bld-mid: #182546;
  --bld-near: #0D1730;
  --win: #F3C063;
  --crane: #F0B95A;
  --ground: #080F20;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--glass); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--glass); outline-offset: 2px; border-radius: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- סרגל עליון ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 16px; }
.brand-mark { width: 14px; height: 14px; border: 2px solid var(--accent-fill); border-radius: 50%; display: inline-block; transform: translateY(2px); }
.brand small { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.theme-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
.theme-switch button { border: 0; background: transparent; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- סרט הפתיחה ---------- */
.hero { position: relative; isolation: isolate; border-block: 1px solid var(--line); background: var(--sky-mid); }
.hero canvas { display: block; width: 100%; height: clamp(300px, 36vw, 430px); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(18px, 3.2vw, 40px); pointer-events: none; }
.hero-copy .wrap { width: 100%; }
.hero h1 {
  font-size: clamp(64px, 12.5vw, 168px);
  line-height: 0.86;
  font-weight: 800;
  font-stretch: 62.5%;
  font-variation-settings: "wdth" 62.5;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}
.hero-thesis {
  margin-top: clamp(10px, 1.6vw, 18px);
  max-width: 30em;
  font-family: var(--font-doc);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}
.lot-note { position: absolute; left: 21%; bottom: 31%; font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; pointer-events: none; }
@media (max-width: 760px) {
  .lot-note { display: none; }
  /* במסך צר הכותרת יושבת מעל קו הרקיע ולא עליו */
  .hero { display: flex; flex-direction: column; background: var(--sky-top); }
  .hero-copy { position: static; order: -1; padding-block: 18px 4px; }
  .hero canvas { height: 190px; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .brand { white-space: nowrap; }
  .theme-switch button { padding: 6px 10px; white-space: nowrap; }
}

/* ---------- לשוניות ---------- */
.tabs-bar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.tabs button {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 14px 14px 12px; font-size: 16px; font-weight: 600; color: var(--ink-3);
  border-bottom: 3px solid transparent;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent-fill); }

/* ---------- תצוגות ---------- */
.view { display: none; padding-block: clamp(28px, 4vw, 52px) 64px; }
.view.on { display: block; }
.view > .wrap > * + * { margin-top: 28px; }
h2 {
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1; font-weight: 800;
  font-stretch: 68%; font-variation-settings: "wdth" 68; text-wrap: balance;
}
h3 { font-size: 21px; line-height: 1.3; font-weight: 700; text-wrap: balance; }
h4 { font-size: 17px; font-weight: 700; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 44em; }
.note { font-size: 14.5px; color: var(--ink-3); max-width: 60em; }
p { max-width: 62ch; }
.doc { font-family: var(--font-doc); font-size: 1.12em; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* הפניות למקור */
.refs { display: inline; font-size: 13.5px; color: var(--ink-3); }
.refs a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line); white-space: nowrap; }
.refs a:hover { color: var(--glass); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 3px; border: 1px solid; white-space: nowrap; line-height: 1.5; }
.badge svg { width: 11px; height: 11px; flex: none; }
.badge-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.badge-one { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.badge-est { color: var(--ink-3); border-color: var(--line); }

/* ---------- תדריך ---------- */
.claims { display: grid; gap: 0; border-top: 1px solid var(--line); }
.claim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.claim h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
.claim p + p { margin-top: 8px; }
@media (max-width: 760px) { .claim { grid-template-columns: 1fr; } }

.sheet { border: 1px solid var(--line); background: var(--surface); }
.sheet-body { padding: 20px; }
.sheet-body > * + * { margin-top: 14px; }
.sheet-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sheet-sub { font-size: 14.5px; color: var(--ink-3); max-width: 62ch; }
.titleblock { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.titleblock > div { padding: 8px 14px; border-inline-end: 1px solid var(--line); flex: 1 1 auto; min-width: 0; }
.titleblock > div:last-child { border-inline-end: 0; }
.titleblock b { color: var(--ink-2); font-weight: 600; margin-inline-end: 6px; }
.titleblock a { color: var(--ink-2); }
.figure-svg { display: block; width: 100%; height: auto; }
.scroll-x { overflow-x: auto; }

.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.toc a:hover { background: var(--surface); }
.toc b { display: block; font-size: 17px; }
.toc span { font-size: 14.5px; color: var(--ink-3); }

/* ---------- התראות וזהב ---------- */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; align-items: start; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
.col-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid; }
.col-head.alerts { border-color: var(--alert); }
.col-head.eggs { border-color: var(--accent-fill); }
.col-head svg { width: 22px; height: 22px; flex: none; }
.cards > li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.cards h4 { font-size: 19px; line-height: 1.3; }
.cards p { margin-top: 6px; font-size: 16px; }
.cards .do { margin-top: 8px; padding-inline-start: 12px; border-inline-start: 3px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.cards .do b { color: var(--ink); }
.cards.alerts .do { border-color: var(--alert); }
.cards.eggs .do { border-color: var(--accent-fill); }

/* ---------- מפה ---------- */
.map-grid { display: grid; grid-template-columns: minmax(340px, 1fr) auto; gap: 28px; align-items: start; }
.map-panel { min-width: 0; }
.map-panel > * + * { margin-top: 18px; }
.map-block { direction: ltr; display: grid; grid-template-columns: 250px 384px; gap: 12px; position: sticky; top: 64px; }
.map-side { display: flex; flex-direction: column; gap: 12px; }
.map-main, .inset { background: var(--map-sea); border: 1px solid var(--line); }
.map-main svg, .inset svg { display: block; width: 100%; height: auto; }
.inset-cap { direction: rtl; font-size: 13px; font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.legend { direction: rtl; border: 1px solid var(--line); background: var(--surface); padding: 12px; font-size: 13.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; padding-block: 2px; }
.legend svg { width: 18px; height: 18px; flex: none; }
.legend p { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 1120px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-block { position: static; grid-template-columns: minmax(0, 250px) minmax(0, 384px); justify-content: center; order: -1; }
}
@media (max-width: 700px) {
  .map-block { grid-template-columns: 1fr; }
  .map-main { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .map-side { flex-direction: row; flex-wrap: wrap; }
  .map-side > * { flex: 1 1 240px; }
}
.land { fill: var(--map-land); stroke: var(--map-line); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.nb { fill: var(--map-nb); stroke: var(--map-line); stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.lake { fill: var(--map-sea); stroke: var(--map-line); stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.inset-box { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.map-text { font-family: var(--font-ui); font-size: 11px; fill: var(--ink-3); }
.map-text.strong { fill: var(--ink-2); font-weight: 600; }
.city-dot { fill: var(--ink-3); }
.pin { cursor: pointer; }
.pin .ring { fill: var(--map-land); stroke: var(--accent-fill); stroke-width: 2; }
.pin .fill { fill: var(--accent-fill); }
.pin .halo { fill: none; stroke: var(--glass); stroke-width: 2; opacity: 0; }
.pin:hover .halo, .pin:focus-visible .halo { opacity: 0.6; }
.pin.sel .halo { opacity: 1; }
.pin.dim { opacity: 0.18; }
.pin:focus { outline: none; }
.pin-label { font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .pin.sel .halo { animation: ping 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes ping { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-group > span { font-size: 13.5px; color: var(--ink-3); margin-inline-end: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); padding: 5px 11px; border-radius: 4px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .ring { fill: var(--ink); }
.count-line { font-size: 14.5px; color: var(--ink-3); }

.detail { border: 1px solid var(--line); background: var(--surface); }
.detail-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.detail-head .where { font-size: 14.5px; color: var(--ink-3); }
.detail-head h3 { font-size: 25px; line-height: 1.15; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
.dev-line { font-size: 18px; font-weight: 700; color: var(--ink); }
.dev-line small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.kv dt, .kv dd { padding: 9px 20px; margin: 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.kv dt { color: var(--ink-3); font-size: 14px; padding-inline-end: 0; }
.detail-sec { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.detail-sec h4 { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.detail-sec ul li { padding-inline-start: 14px; position: relative; }
.detail-sec ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.72em; width: 6px; height: 1px; background: var(--ink-3); }
.detail-sec.caveat { color: var(--ink-2); background: color-mix(in srgb, var(--accent-fill) 9%, transparent); }
.detail-foot { padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; }
.stage-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.stage-pill svg { width: 17px; height: 17px; }

.plist { border-top: 1px solid var(--line); }
.plist li { border-bottom: 1px solid var(--line); }
.plist button { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: start; border: 0; background: transparent; padding: 10px 6px; cursor: pointer; }
.plist button:hover { background: var(--surface); }
.plist button[aria-current="true"] { background: var(--surface-2); }
.plist svg { width: 18px; height: 18px; }
.plist b { display: block; font-size: 15.5px; line-height: 1.3; }
.plist span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }

/* ---------- תרשימים ---------- */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.charts > .wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } }
.hb { display: grid; gap: 10px; }
.hb-row { display: grid; grid-template-columns: minmax(120px, 42%) minmax(0, 1fr); gap: 12px; align-items: center; cursor: default; border-radius: 3px; }
.hb-row:hover, .hb-row:focus-visible { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.hb-label { font-size: 14.5px; line-height: 1.3; }
.hb-label small { display: block; color: var(--ink-3); font-size: 12.5px; }
.hb-track { position: relative; height: 22px; border-inline-start: 1px solid var(--ink-3); }
.hb-bar { position: absolute; inset-block: 3px; inset-inline-start: 0; border-start-end-radius: 4px; border-end-end-radius: 4px; background: var(--series-1); min-width: 2px; }
.hb-bar.g2 { background: var(--series-2); }
.hb-val { position: absolute; top: 50%; transform: translateY(-50%); font-size: 13.5px; font-weight: 600; white-space: nowrap; padding-inline: 6px; color: var(--ink); }
.hb-dot { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--series-1); transform: translate(50%, -50%); box-shadow: 0 0 0 2px var(--surface); }
.hb-range { position: absolute; inset-block: 7px; background: var(--series-1); border-radius: 4px; }
.dv-track { position: relative; height: 22px; }
.dv-track::before { content: ""; position: absolute; inset-block: -5px; inset-inline-start: 50%; width: 1px; background: var(--ink-3); }
.dv-bar { position: absolute; inset-block: 3px; min-width: 2px; }
.dv-bar.pos { inset-inline-start: 50%; background: var(--series-2); border-start-end-radius: 4px; border-end-end-radius: 4px; }
.dv-bar.neg { inset-inline-end: 50%; background: var(--series-1); border-start-start-radius: 4px; border-end-start-radius: 4px; }
.dv-axis { display: grid; grid-template-columns: minmax(120px, 42%) minmax(0, 1fr); gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.dv-axis div { display: flex; justify-content: space-between; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 2px; background: var(--series-1); display: inline-block; }
.chart-legend i.g2 { background: var(--series-2); }
.cols { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; height: 190px; align-items: end; border-bottom: 1px solid var(--ink-3); margin-top: 26px; }
.col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.col i { display: block; width: min(24px, 60%); background: var(--series-1); border-radius: 4px 4px 0 0; }
.col b { position: absolute; font-size: 13.5px; font-weight: 600; transform: translateY(-4px); }
.cols-x { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; line-height: 1.3; margin-top: 6px; }
.refline { position: absolute; inset-inline: 0; border-top: 2px dashed var(--series-2); }
.refline span { position: absolute; inset-inline-start: 0; bottom: 3px; font-size: 12.5px; color: var(--ink-2); background: var(--surface); padding-inline: 4px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.tile { padding: 12px 14px; border-inline-end: 1px solid var(--line); }
.tile:last-child { border-inline-end: 0; }
.tile b { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; }
.tile span { font-size: 13.5px; color: var(--ink-3); }
details.tbl { font-size: 14px; }
details.tbl summary { cursor: pointer; color: var(--ink-2); }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 8px; }
th, td { text-align: start; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; font-size: 13px; }
td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.gantt { display: grid; gap: 8px; }
.gantt-row { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14.5px; }
.gantt-track { position: relative; height: 22px; background: linear-gradient(to left, var(--grid) 1px, transparent 1px) 0 0 / 33.333% 100%; border-inline: 1px solid var(--grid); }
.gantt-mark { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--series-1); transform: translate(50%, -50%); box-shadow: 0 0 0 2px var(--surface); }
.gantt-axis { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.gantt-axis div { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }

.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; align-items: end; }
.calc label { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.calc input[type="range"] { width: 100%; accent-color: var(--accent-fill); }
.calc output { font-size: 22px; font-weight: 700; color: var(--ink); }
.calc-out { border-inline-start: 3px solid var(--accent-fill); padding-inline-start: 14px; }
.calc-out b { display: block; font-size: 38px; line-height: 1.05; font-weight: 800; }
.calc-out span { font-size: 14px; color: var(--ink-3); }

/* ---------- מהלכים ---------- */
.plays { counter-reset: play; border-top: 1px solid var(--line); }
.play { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; padding-block: 26px; border-bottom: 1px solid var(--line); counter-increment: play; }
.play::before { content: counter(play); font-size: 60px; line-height: 0.9; font-weight: 800; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; color: var(--accent); }
.play h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
.play-body > * + * { margin-top: 10px; }
.play-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 28px; }
.play-grid h4 { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-bottom: 3px; }
.play-grid p, .play-grid li { font-size: 15.5px; }
.play-grid li + li { margin-top: 4px; }
.goto { border: 0; background: none; padding: 0; color: var(--glass); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
@media (max-width: 600px) { .play { grid-template-columns: 1fr; } .play::before { font-size: 44px; } }

/* ---------- רדאר ---------- */
.radar-table td:first-child { font-weight: 600; min-width: 9em; }
.radar-table td { font-size: 15px; }
.radar-table th[scope="rowgroup"] { background: var(--surface-2); color: var(--ink); font-size: 14.5px; }
.routine { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border: 1px solid var(--line); }
.routine > div { padding: 14px 16px; border-inline-end: 1px solid var(--line); }
.routine > div:last-child { border-inline-end: 0; }
.routine b { display: block; }
.routine span { font-size: 15px; color: var(--ink-2); }

/* ---------- תוכנית ---------- */
.weeks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.week { border: 1px solid var(--line); background: var(--surface); }
.week h3 { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 18px; }
.week h3 small { display: block; font-size: 13.5px; color: var(--ink-3); font-weight: 400; }
.week label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; cursor: pointer; }
.week label:last-child { border-bottom: 0; }
.week input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent-fill); }
.week input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.progress { font-size: 15px; color: var(--ink-2); }
.scripts { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.script { border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.script h4 { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.script blockquote { margin: 0; padding: 14px 16px; font-family: var(--font-doc); font-size: 18px; line-height: 1.5; flex: 1; }
.script .bar { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.btn { border: 1px solid var(--ink); background: transparent; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; }
.btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- מקורות ---------- */
.src-list { columns: 2 320px; column-gap: 36px; font-size: 14.5px; }
.src-list li { break-inside: avoid; padding-block: 5px; border-bottom: 1px solid var(--line); }
.src-list small { color: var(--ink-3); }
.log li { padding-block: 10px; border-bottom: 1px solid var(--line); max-width: 70ch; }

.site-foot { border-top: 1px solid var(--line); padding-block: 22px 40px; font-size: 13.5px; color: var(--ink-3); }
.site-foot p { max-width: 80ch; }

#tip { position: fixed; z-index: 50; max-width: 300px; background: var(--ink); color: var(--bg); font-size: 13.5px; line-height: 1.45; padding: 8px 11px; border-radius: 4px; pointer-events: none; opacity: 0; transition: opacity 0.12s; }
#tip.on { opacity: 1; }
#tip b { display: block; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- ההון שבחרת: הכול ביחס אליו ---------- */
.cap-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.cap-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-block: 9px; font-size: 15px; color: var(--ink-2); }
.cap-strip label, .filter-group label { font-weight: 700; color: var(--ink); font-size: 15px; }
.cap-select { font: inherit; font-weight: 700; padding: 5px 10px; border: 1px solid var(--ink-3); border-radius: 4px; background: var(--bg); color: var(--ink); cursor: pointer; }
.cap-opts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.cap-opts button { display: grid; justify-items: center; gap: 2px; padding: 12px 4px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--ink-2); cursor: pointer; }
.cap-opts button b { font-size: 30px; line-height: 1; font-weight: 800; color: var(--ink); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.cap-opts button span { font-size: 12.5px; }
.cap-opts button:hover { border-color: var(--ink-3); }
.cap-opts button[aria-pressed="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: #14203A; }
.cap-opts button[aria-pressed="true"] b { color: #14203A; }
@media (max-width: 700px) { .cap-opts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap-line { font-size: 18px; max-width: 64ch; }
.cap-line b { font-weight: 800; }

/* מד כיסוי: כמה מכרטיס הכניסה ההון מכסה */
.reach { display: flex; align-items: center; gap: 8px; }
.plist .reach { display: flex; margin-top: 3px; }
.reach i { flex: none; display: block; width: 54px; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.reach i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w, 0%); background: var(--glass); border-radius: 3px; }
.reach em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.reach.big { align-items: baseline; }
.reach.big i { width: 96px; height: 8px; transform: translateY(-1px); }
.reach.big em { font-size: 15.5px; color: var(--ink); }
.detail-sec.you { background: color-mix(in srgb, var(--glass) 9%, transparent); }
.detail-sec.you p + p { margin-top: 6px; }

/* כרטיסי כניסה */
.hb-bar.g3 { background: var(--ink-3); }
.chart-legend i.g3 { background: var(--ink-3); }
.chart-legend i.mk { width: 0; height: 14px; border-radius: 0; background: none; border-inline-start: 2px dashed var(--ink); }
.tk .hb-row { grid-template-columns: minmax(140px, 46%) minmax(0, 1fr); }
.tk .hb-row[data-go] { cursor: pointer; }
.tk .hb-row.in { background: color-mix(in srgb, var(--accent-fill) 17%, transparent); }
.tk .hb-val { z-index: 1; text-shadow: 0 0 3px var(--surface), 0 0 3px var(--surface), 0 0 4px var(--surface), 0 0 5px var(--surface); }
@media (max-width: 600px) { .tk .hb-row { grid-template-columns: 1fr; gap: 3px; } .tk { gap: 12px; } }
.tk-mark { position: absolute; inset-block: -6px; width: 0; border-inline-start: 2px dashed var(--ink); pointer-events: none; }

/* סימון ״מתאים להון שבחרת״ */
.fit-tag { display: none; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: var(--accent-fill); color: #14203A; white-space: nowrap; vertical-align: middle; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.fit .fit-tag { display: inline-block; }
table.routes tr.fit td { background: color-mix(in srgb, var(--accent-fill) 13%, transparent); }
table.routes td:first-child { min-width: 11em; }
.play { padding-inline-start: 14px; }
.play.fit { box-shadow: inset -4px 0 0 var(--accent-fill); }
.play-body > h4 { margin-top: 16px; }

/* מחשבון: מה ההון קונה */
.icalc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 36px; align-items: start; }
@media (max-width: 860px) { .icalc { grid-template-columns: 1fr; } }
.icalc .calc { grid-template-columns: 1fr; gap: 12px; }
.icalc .calc output { font-size: 19px; }
.ic-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ic-out > div { padding: 12px 14px; background: var(--surface); }
.ic-out b { display: block; font-size: 23px; line-height: 1.15; font-weight: 800; }
.ic-out span { font-size: 13.5px; color: var(--ink-3); }
.ic-out .key { grid-column: 1 / -1; background: color-mix(in srgb, var(--accent-fill) 13%, var(--surface)); }
.ic-out .key b { font-size: 34px; }
.tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.tiles.six .tile { background: var(--surface); border: 0; }
.tiles.six .tile b { font-size: 24px; }
@media (max-width: 600px) { .tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- מכרז פתוח, השוואה, מתחת לרדאר ---------- */
.pin .ring.open { stroke: var(--glass); }
.tk .hb-dot { background: var(--ink); z-index: 1; }
.chart-legend i.dotk { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.cmp-table th[scope="row"] { white-space: nowrap; color: var(--ink-3); font-weight: 600; font-size: 13px; }
.cmp-table thead th { font-size: 15px; color: var(--ink); vertical-align: bottom; min-width: 15em; }
.cmp-table thead th .goto { font-weight: 700; text-align: start; }
.cmp-table td { font-size: 14.5px; min-width: 15em; }
.cmp-table .x { border: 1px solid var(--line); background: transparent; border-radius: 3px; width: 24px; height: 24px; line-height: 1; cursor: pointer; margin-inline-start: 8px; color: var(--ink-2); }
.detail-foot .cmp-btn { margin-inline-start: auto; padding: 4px 12px; font-size: 13.5px; color: var(--ink); }
.ucards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .ucards { grid-template-columns: 1fr; } }
.uc h3 { font-size: 23px; line-height: 1.2; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
.uc .do { margin-top: 8px; padding-inline-start: 12px; border-inline-start: 3px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.uc .do b { color: var(--ink); }
.uc.fit { box-shadow: inset 0 4px 0 var(--accent-fill); }
.picks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.ic-out .vs { display: block; font-size: 15.5px; color: var(--ink); }
.plist { max-height: min(640px, 75vh); overflow-y: auto; border-bottom: 1px solid var(--line); }
.sel { font: inherit; font-weight: 700; padding: 5px 10px; border: 1px solid var(--ink-3); border-radius: 4px; background: var(--bg); color: var(--ink); cursor: pointer; max-width: 100%; }
.tk .hb-val.end { left: 0; right: auto; padding-inline: 0; }

/* רשימת מסקנות קצרה בתוך גיליון */
.takeaways { margin: 16px 0 0; padding-inline-start: 1.2em; display: grid; gap: 6px; font-size: 14.5px; max-width: 78ch; }
#open-now h4 { margin: 22px 0 8px; font-size: 15px; }
#open-now td a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* פוטנציאל גבוה: נקודה מהבהבת */
.hot-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--alert, #c8341f); margin-inline-end: 6px; vertical-align: 1px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert, #c8341f) 60%, transparent); }
.hotline { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); max-width: 46ch; white-space: normal; }
.hotbox { margin: 12px 0 0; padding: 10px 14px; border-inline-start: 3px solid var(--alert, #c8341f); background: color-mix(in srgb, var(--alert, #c8341f) 7%, transparent); font-size: 14px; }
.pin .pulse { fill: none; stroke: var(--alert, #c8341f); stroke-width: 2; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .hot-dot { animation: hotblink 1.4s ease-in-out infinite; }
  .pin .pulse { animation: hotring 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes hotblink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert, #c8341f) 55%, transparent); } 50% { opacity: 0.45; box-shadow: 0 0 0 6px transparent; } }
@keyframes hotring { 0% { transform: scale(0.8); opacity: 0.95; } 100% { transform: scale(1.9); opacity: 0; } }

@media (min-width: 1000px) and (max-width: 1500px) { .tabs button { padding-inline: 10px; font-size: 15px; } }

/* לוח ״שווה בדיקה עכשיו״ */
.hot-wrap { margin: 0 0 44px; padding: 26px 26px 28px; border: 2px solid var(--alert); background: color-mix(in srgb, var(--alert) 5%, var(--surface, transparent)); }
.hot-wrap h2 { margin-top: 0; }
.hot-dot.big { width: 16px; height: 16px; margin-inline-end: 12px; vertical-align: 2px; }
.hot-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-top: 20px; }
.hot-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; background: var(--bg); border: 1px solid var(--line); border-top: 5px solid var(--alert); }
.hot-top { display: flex; align-items: center; gap: 10px; }
.hot-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--alert); color: #fff; font-weight: 800; font-size: 15px; }
[data-theme="dark"] .hot-n { color: #1a0d0a; }
.hot-kind { font-size: 13px; font-weight: 700; color: var(--alert); }
.hot-card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.3; }
.hot-big { margin: 0; font-size: 22px; font-weight: 800; }
.hot-meta { margin: 0; font-size: 13px; color: var(--ink-3); }
.hot-why { margin: 4px 0 6px; font-size: 14px; line-height: 1.55; flex: 1; }
.hot-cta { align-self: flex-start; display: inline-block; padding: 9px 16px; border: 0; cursor: pointer; background: var(--alert); color: #fff; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; }
[data-theme="dark"] .hot-cta { color: #1a0d0a; }
.hot-cta:hover { filter: brightness(1.08); }
.hot-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
tr.hot-row td { background: color-mix(in srgb, var(--alert) 9%, transparent); }
tr.hot-row td:first-child { box-shadow: inset -4px 0 0 var(--alert); font-weight: 700; }
.hotline { color: var(--alert); font-size: 13px; }
#plist button.is-hot { box-shadow: inset -4px 0 0 var(--alert); background: color-mix(in srgb, var(--alert) 7%, transparent); }
.pin .pulse { stroke-width: 3; }
@media (max-width: 600px) { .hot-wrap { padding: 18px 14px 20px; } }
.hot-why { flex: 0; }
.hot-basis, .hot-risk { margin: 0; font-size: 13.5px; line-height: 1.55; padding-inline-start: 10px; border-inline-start: 3px solid var(--line); }
.hot-risk { border-inline-start-color: var(--alert); margin-bottom: 8px; flex: 1; }
.hotbox p { margin: 0 0 6px; } .hotbox p:last-child { margin: 0; }
.hot-risk { flex: 0; }
.hot-cta { margin-top: auto; }
