/* =========================================================================
   LK FINANCE — INVESTMENTS 2026  ·  /hashkaot, /hashkaot/tamhilim, /hatavot, /atarim
   Loaded after css/home26.css and scoped to body.invest26, so the four pages share
   the homepage shell (nav26, foot, tokens, buttons) and nothing else on the site
   changes. Replaces css/hashkaot.css (17.9.26).
   Direction: paper white, ink text, one teal accent, gold only for "attention".
   No background patterns, no gradient text, no dark blocks. Numbers are Rubik with
   tabular figures — Lior asked for it on the calculators ("the mono reads as code").
   ========================================================================= */

.invest26{
  --pos:#0B7D6F;           /* up years / gains, teal-dark for AA on white   */
  --neg:#C2362F;           /* down years / drawdowns                         */
  --neg-wash:#FDF1F0;
  --equity:#0E9E8C;        /* asset groups — one hue family per group        */
  --bond:#0E2A4C;
  --real:#B8860B;
  --cash:#98A0AD;
  --num:'Rubik',system-ui,sans-serif;
}
.invest26 .atmos{display:none}
.invest26 .num,.invest26 [data-num]{font-family:var(--num);font-variant-numeric:tabular-nums lining-nums;unicode-bidi:plaintext}
.invest26 .tnum{font-family:var(--num);font-variant-numeric:tabular-nums lining-nums;direction:ltr;unicode-bidi:isolate}

/* ---------- hero ---------- */
.iv-hero{padding:clamp(128px,15vh,168px) 0 clamp(34px,4vw,54px);border-bottom:1px solid var(--line);background:var(--paper)}
.iv-hero .d1{margin-top:18px;max-width:22ch}
.iv-hero .lead{margin-top:18px;max-width:62ch}
.iv-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.84rem;color:var(--ink-3)}
.iv-crumbs a{color:var(--ink-3)}
.iv-crumbs a:hover{color:var(--teal)}
.iv-crumbs span[aria-hidden]{color:var(--ink-4)}
.iv-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.iv-meta span{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;
  border:1px solid var(--line-2);background:#fff;font-size:.82rem;font-weight:600;color:var(--ink-2)}
.iv-meta span b{font-family:var(--num);font-weight:700;color:var(--ink)}
.iv-meta i{width:7px;height:7px;border-radius:50%;background:var(--teal)}

/* ---------- section rhythm ---------- */
.invest26 section.iv-sec{padding:clamp(48px,5.6vw,84px) 0}
.invest26 section.iv-sec + section.iv-sec{border-top:1px solid var(--line)}
.iv-head{max-width:760px;margin-bottom:clamp(24px,3vw,36px)}
.iv-head .d2{margin-top:14px}
.iv-head p{margin-top:12px;color:var(--ink-3);font-size:1.02rem;line-height:1.75}

/* ---------- entry cards (hub) ---------- */
.iv-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(224px,1fr));gap:14px}
.iv-gate{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:var(--r-lg);border:1px solid var(--line-2);
  background:#fff;transition:border-color .25s,transform .3s var(--ease),box-shadow .3s var(--ease)}
.iv-gate:hover{border-color:var(--teal);transform:translateY(-3px);box-shadow:var(--sh-2)}
.iv-gate .ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:1.35rem;background:var(--teal-wash);border:1px solid var(--line)}
.iv-gate h3{font-size:1.18rem;font-weight:800;color:var(--ink)}
.iv-gate p{font-size:.94rem;color:var(--ink-3);line-height:1.65}
.iv-gate .more{margin-top:auto;font-weight:700;font-size:.9rem;color:var(--teal-dk)}

/* ---------- steps (how a portfolio is built) ---------- */
.iv-steps{counter-reset:ivstep;display:grid;gap:12px}
.iv-step{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:20px 22px;border-radius:var(--r-lg);border:1px solid var(--line);background:#fff}
.iv-step::before{counter-increment:ivstep;content:counter(ivstep);display:grid;place-items:center;width:40px;height:40px;border-radius:12px;
  font-family:var(--num);font-weight:800;color:#fff;background:var(--teal)}
.iv-step h3{font-size:1.06rem;font-weight:800;color:var(--ink)}
.iv-step p{margin-top:6px;font-size:.95rem;color:var(--ink-2);line-height:1.7}
.iv-step ul{margin:8px 0 0;padding:0 18px 0 0;display:grid;gap:4px;font-size:.92rem;color:var(--ink-3)}

/* ---------- facts with sources (Israeli layer) ---------- */
.iv-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.iv-fact{padding:18px 20px;border-radius:var(--r-lg);border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:8px}
.iv-fact h3{font-size:1rem;font-weight:800;color:var(--ink)}
.iv-fact p{font-size:.93rem;color:var(--ink-2);line-height:1.7}
.iv-fact .val{font-family:var(--num);font-weight:800;font-size:1.35rem;color:var(--ink)}
.iv-src{margin-top:auto;font-size:.78rem;color:var(--ink-4);line-height:1.5}
.iv-src a{color:var(--ink-3);text-decoration:underline;text-underline-offset:2px}
.iv-src a:hover{color:var(--teal)}

/* ---------- notice / disclosure ---------- */
.iv-notice{display:flex;gap:14px;padding:16px 18px;border-radius:var(--r-md);border:1px solid var(--line-2);
  border-inline-start:3px solid var(--gold);background:#FFFDF7;font-size:.9rem;color:var(--ink-2);line-height:1.7}
p.iv-notice{display:block}
.iv-notice b{color:var(--ink)}
.iv-notice a{color:var(--teal-dk);font-weight:700}
.iv-disclosure{margin-top:14px;font-size:.8rem;color:var(--ink-3);line-height:1.75}

/* ---------- toolbar: filters + sort ---------- */
.iv-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:18px}
.iv-seg{display:flex;flex-wrap:wrap;gap:6px}
.iv-seg-lab{font-size:.8rem;font-weight:700;color:var(--ink-3);margin-inline-end:4px;align-self:center}
.iv-chip{padding:8px 14px;border-radius:999px;border:1px solid var(--line-2);background:#fff;font-family:var(--f-ui);font-weight:600;
  font-size:.86rem;color:var(--ink-2);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.iv-chip:hover{border-color:var(--teal)}
.iv-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.iv-select{padding:9px 12px;border-radius:10px;border:1px solid var(--line-2);background:#fff;font-family:var(--f-ui);font-size:.88rem;color:var(--ink)}
.iv-count{margin-inline-start:auto;font-size:.85rem;color:var(--ink-3)}

/* ---------- tabs (segmented, scroll hint on phones) ---------- */
.iv-tabs{position:relative;display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--paper-3);overflow-x:auto;scrollbar-width:none;margin-bottom:22px}
.iv-tabs::-webkit-scrollbar{display:none}
.iv-tab{flex:none;padding:10px 16px;border-radius:10px;border:0;background:transparent;font-family:var(--f-ui);font-weight:700;font-size:.92rem;color:var(--ink-3);cursor:pointer;white-space:nowrap}
.iv-tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:var(--sh-1)}
.iv-tab:focus-visible{outline:2px solid var(--teal);outline-offset:2px}

/* ---------- portfolio cards ---------- */
.iv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}
.iv-card{display:flex;flex-direction:column;border-radius:var(--r-lg);border:1px solid var(--line-2);background:#fff;overflow:hidden;
  transition:border-color .25s,box-shadow .3s var(--ease)}
.iv-card:hover{border-color:var(--ink-4);box-shadow:var(--sh-2)}
.iv-card.is-target{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-pale)}
.iv-card-head{padding:18px 20px 12px}
.iv-card-head h3{font-size:1.2rem;font-weight:800;color:var(--ink);line-height:1.3}
.iv-by{margin-top:3px;font-size:.84rem;color:var(--ink-3)}
.iv-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.iv-tag{padding:3px 9px;border-radius:999px;background:var(--paper-3);font-size:.76rem;font-weight:700;color:var(--ink-2)}
.iv-risk{display:inline-flex;gap:3px;align-items:center}
.iv-risk i{width:7px;height:7px;border-radius:50%;background:var(--line-2)}
.iv-risk i.on{background:var(--ink)}

.iv-alloc{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;padding:4px 20px 14px}
.iv-donut{width:96px;height:96px}
.iv-legend{display:grid;gap:5px;font-size:.84rem;color:var(--ink-2)}
.iv-legend li{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center}
.iv-legend i{width:10px;height:10px;border-radius:3px}
.iv-legend b{font-family:var(--num);font-weight:700;color:var(--ink)}

.iv-kpis{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);background:var(--paper-2)}
.iv-kpi{padding:12px 10px;text-align:center}
.iv-kpi + .iv-kpi{border-inline-start:1px solid var(--line)}
.iv-kpi span{display:block;font-size:.72rem;font-weight:600;color:var(--ink-3);line-height:1.3}
.iv-kpi b{display:block;margin-top:4px;font-family:var(--num);font-weight:800;font-size:1.12rem;color:var(--ink);unicode-bidi:plaintext}
.iv-kpi b.neg{color:var(--neg)}
.iv-kpi b.pos{color:var(--pos)}

.iv-stress{display:flex;flex-wrap:wrap;gap:6px;padding:12px 20px 0;font-size:.78rem;color:var(--ink-3);align-items:center}
.iv-stress b{font-family:var(--num);font-weight:700;padding:2px 8px;border-radius:999px;unicode-bidi:plaintext}
.iv-stress-y{display:inline-flex;align-items:center;gap:5px;unicode-bidi:isolate}
.iv-stress-y>span{font-family:var(--num);font-weight:600;color:var(--ink-2)}
.iv-stress b.neg{background:var(--neg-wash);color:var(--neg)}
.iv-stress b.pos{background:var(--teal-wash);color:var(--pos)}
.iv-sum{padding:12px 20px 0;font-size:.93rem;color:var(--ink-2);line-height:1.65}
.iv-card-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding:16px 20px 18px}
.iv-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:10px;border:1px solid var(--line-2);background:#fff;
  font-family:var(--f-ui);font-weight:700;font-size:.86rem;color:var(--ink);cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.iv-btn:hover{border-color:var(--teal);color:var(--teal-dk)}
.iv-btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}
.iv-btn.primary:hover{background:var(--teal-dk);border-color:var(--teal-dk);color:#fff}

/* ---------- factsheet (dialog) ---------- */
.iv-dialog{width:min(920px,100% - 24px);max-height:min(92vh,1000px);padding:0;border:0;border-radius:var(--r-xl);box-shadow:var(--sh-3);color:var(--ink)}
.iv-dialog::backdrop{background:rgba(10,11,13,.5)}
.iv-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;gap:14px;padding:20px 24px;background:#fff;border-bottom:1px solid var(--line)}
.iv-dialog-head h2{font-size:1.4rem;font-weight:800}
.iv-dialog-head .iv-by{font-size:.88rem}
.iv-x{margin-inline-start:auto;width:40px;height:40px;border-radius:10px;border:1px solid var(--line-2);background:#fff;font-size:1.1rem;cursor:pointer}
.iv-dialog-body{padding:4px 24px 26px;overflow:auto}
.iv-block{padding-top:22px}
.iv-block h3{font-size:1.02rem;font-weight:800;color:var(--ink);margin-bottom:10px}
.iv-block p{font-size:.96rem;color:var(--ink-2);line-height:1.8}
.iv-block p + p{margin-top:10px}
.iv-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.iv-list{display:grid;gap:6px;margin:0;padding:0 18px 0 0;font-size:.94rem;color:var(--ink-2)}

/* ---------- tables ---------- */
.iv-table-wrap{border:1px solid var(--line);border-radius:var(--r-md);overflow:auto}
.iv-table{width:100%;border-collapse:collapse;font-size:.9rem}
.iv-table th,.iv-table td{padding:10px 12px;text-align:start;border-bottom:1px solid var(--line);white-space:nowrap}
.iv-table th{position:sticky;top:0;background:var(--paper-2);font-weight:700;color:var(--ink-2);font-size:.82rem}
.iv-table td.n{font-family:var(--num);font-variant-numeric:tabular-nums;unicode-bidi:plaintext;text-align:end}
.iv-table td.neg{color:var(--neg)}
.iv-table tr:last-child td{border-bottom:0}
.iv-table th button{all:unset;cursor:pointer}
.iv-table th button::after{content:' ↕';color:var(--ink-4)}
.iv-table caption{caption-side:bottom;padding:10px 12px;text-align:start;font-size:.78rem;color:var(--ink-3)}

/* ---------- charts ---------- */
.iv-chart{position:relative}
.iv-chart svg{display:block;width:100%;height:auto;direction:ltr;overflow:visible}
.iv-axis{font-family:var(--num);font-size:12px;fill:var(--ink-3)}
.iv-gridline{stroke:rgba(10,11,13,.08)}
.iv-zero{stroke:rgba(10,11,13,.35)}
.iv-chart-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;font-size:.8rem;color:var(--ink-3)}
.iv-chart-legend span{display:inline-flex;align-items:center;gap:6px}
.iv-chart-legend i{width:12px;height:12px;border-radius:3px}
.iv-dot{cursor:pointer;transition:r .15s}
.iv-dot:hover,.iv-dot:focus{r:9}
.iv-tip{position:absolute;pointer-events:none;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid var(--line-2);box-shadow:var(--sh-2);
  font-size:.8rem;line-height:1.5;white-space:nowrap;direction:rtl}
.iv-tip[hidden]{display:none}

/* ---------- methodology ---------- */
.iv-method details{border:1px solid var(--line);border-radius:var(--r-md);background:#fff}
.iv-method details + details{margin-top:8px}
.iv-method summary{padding:14px 18px;font-weight:700;cursor:pointer;list-style:none}
.iv-method summary::-webkit-details-marker{display:none}
.iv-method summary::after{content:'+';float:left;color:var(--ink-3)}
.iv-method details[open] summary::after{content:'−'}
.iv-method .body{padding:0 18px 16px;font-size:.93rem;color:var(--ink-2);line-height:1.8}

/* ---------- inline links list (learn more) ---------- */
.iv-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.iv-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-radius:12px;border:1px solid var(--line);background:#fff;
  font-weight:600;font-size:.93rem;color:var(--ink)}
.iv-links a:hover{border-color:var(--teal);color:var(--teal-dk)}
.iv-links a small{font-size:.76rem;color:var(--ink-3);font-weight:600}

/* ---------- nav: current section ---------- */
.invest26 .nav-link[aria-current]{color:var(--teal-dk)}

/* ---------- Israeli facts, grouped ---------- */
.iv-accs{display:grid;gap:8px}
.iv-acc{border:1px solid var(--line-2);border-radius:var(--r-lg);background:#fff}
.iv-acc summary{display:flex;align-items:center;gap:10px;padding:16px 20px;cursor:pointer;list-style:none;font-weight:800;font-size:1.04rem;color:var(--ink)}
.iv-acc summary::-webkit-details-marker{display:none}
.iv-acc summary small{padding:1px 8px;border-radius:999px;background:var(--paper-3);font-size:.76rem;font-weight:700;color:var(--ink-3)}
.iv-acc summary::after{content:'';margin-inline-start:auto;width:9px;height:9px;border-right:2px solid var(--ink-3);border-bottom:2px solid var(--ink-3);transform:rotate(45deg);transition:transform .2s}
.iv-acc[open] summary::after{transform:rotate(-135deg)}
.iv-acc summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:var(--r-lg)}
.iv-acc .iv-fact-list{padding:0 20px 8px}
.iv-src-date{white-space:nowrap}
.iv-src-date::before{content:'· ';color:var(--ink-4)}
.iv-fact-list{list-style:none;margin:0;padding:0;display:grid}
.iv-fact-list li{padding:12px 0;border-top:1px solid var(--line);display:grid;gap:6px}
.iv-fact-list li:first-child{border-top:0;padding-top:4px}
.iv-fact-list p{font-size:.93rem;color:var(--ink-2);line-height:1.75}
.iv-flag{display:inline-block;margin-inline-start:6px;padding:1px 7px;border-radius:999px;background:var(--paper-3);font-size:.72rem;font-weight:700;color:var(--ink-3);vertical-align:middle}

/* ---------- currency insight (hub) ---------- */
.iv-fx{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.iv-fx-card{padding:18px;border-radius:var(--r-lg);border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:10px}
.iv-fx-card h3{font-size:.95rem;font-weight:800;color:var(--ink)}
.iv-fx-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.iv-fx-pair div{padding:10px;border-radius:10px;background:var(--paper-2);text-align:center}
.iv-fx-pair span{display:block;font-size:.74rem;font-weight:600;color:var(--ink-3)}
.iv-fx-pair b{display:block;margin-top:2px;font-family:var(--num);font-weight:800;font-size:1.25rem;color:var(--ink);direction:ltr;unicode-bidi:isolate}
.iv-fx-pair b.neg{color:var(--neg)}
.iv-fx-card p{font-size:.84rem;color:var(--ink-3);line-height:1.6}
.iv-prose{margin-top:18px;display:grid;gap:10px;font-size:.98rem;color:var(--ink-2);line-height:1.8}

/* ---------- source library ---------- */
.iv-search{position:relative;max-width:640px}
.iv-search svg{position:absolute;inset-inline-start:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linecap:round}
.iv-search input{width:100%;padding:14px 46px;border-radius:14px;border:1px solid var(--line-2);background:#fff;font-family:var(--f-ui);font-size:1rem;color:var(--ink);-webkit-appearance:none;appearance:none}
.iv-search input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-pale)}
.iv-search input::-webkit-search-cancel-button{display:none}
.iv-search-x{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:8px;border:0;background:var(--paper-3);color:var(--ink-2);cursor:pointer}
.iv-chip small{font-family:var(--num);font-weight:600;font-size:.76rem;opacity:.7;margin-inline-start:2px}
.iv-chip:disabled{opacity:.35;cursor:default;border-color:var(--line)}
.iv-scroller{display:flex;flex-wrap:wrap;gap:6px}
.iv-letters .iv-chip{min-width:38px;padding-inline:10px;text-align:center}
.iv-sites{margin-top:8px}
.iv-sitegroup{padding-top:30px}
.iv-sitegroup-head{margin-bottom:14px;max-width:760px;list-style:none;cursor:pointer;position:relative;padding-inline-end:36px}
.iv-sitegroup-head::-webkit-details-marker{display:none}
.iv-sitegroup-head::after{content:'';position:absolute;inset-inline-end:6px;top:8px;width:10px;height:10px;border-right:2px solid var(--ink-3);border-bottom:2px solid var(--ink-3);transform:rotate(45deg);transition:transform .2s}
.iv-sitegroup[open]>.iv-sitegroup-head::after{transform:rotate(-135deg);top:13px}
.iv-sitegroup-head:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:8px}
@media (max-width:640px){
  .iv-sitegroup{padding-top:0;border-bottom:1px solid var(--line)}
  .iv-sitegroup-head{margin:0;padding:16px 0;padding-inline-end:36px;min-height:56px}
  .iv-sitegroup-head::after{top:24px}
  .iv-sitegroup[open]>.iv-sitegroup-head::after{top:29px}
  .iv-sitegroup[open]>.iv-sitelist{padding-bottom:18px}
  .iv-sitegroup-head p{font-size:.86rem}
}
.iv-sitegroup-head h2{font-size:1.28rem;font-weight:800;color:var(--ink)}
.iv-sitegroup-head h2 .num{font-size:.9rem;font-weight:600;color:var(--ink-4);margin-inline-start:4px}
.iv-sitegroup-head p{margin-top:4px;font-size:.93rem;color:var(--ink-3)}
.iv-sitelist{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.iv-site{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:var(--r-md);border:1px solid var(--line);background:#fff;
  transition:border-color .2s,box-shadow .25s var(--ease)}
.iv-site:hover{border-color:var(--teal);box-shadow:var(--sh-2)}
.iv-site:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.iv-site-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.iv-site-top b{font-size:1.02rem;font-weight:800;color:var(--ink)}
.iv-site-en{font-size:.78rem;color:var(--ink-4)}
.iv-site-desc{font-size:.9rem;color:var(--ink-2);line-height:1.65}
.iv-site-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.iv-site-foot .iv-tags{margin-top:0}
.iv-tag.is-paid{background:#FFF6E0;color:#7A5A08}
.iv-site-url{font-size:.78rem;color:var(--teal-dk);font-weight:600}
.iv-empty{padding:28px;border:1px dashed var(--line-2);border-radius:var(--r-md);text-align:center;color:var(--ink-3)}
.iv-empty b{color:var(--ink)}
.iv-gate h2{font-size:1.18rem;font-weight:800;color:var(--ink)}

/* ---------- brokers: calculator ---------- */
.iv-calc{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}
.iv-calc > *{min-width:0}
.iv-calc-in{display:grid;gap:18px;padding:20px;border-radius:var(--r-lg);border:1px solid var(--line-2);background:#fff}
.iv-field{display:grid;gap:8px}
.iv-field > span:first-child{font-size:.86rem;font-weight:700;color:var(--ink-2)}
.iv-field-row{display:flex;align-items:center;gap:12px}
.iv-field input[type=range]{flex:1;accent-color:var(--teal);min-width:0}
.iv-field output{min-width:88px;text-align:end;font-weight:800;font-size:1.05rem;color:var(--ink);direction:ltr;unicode-bidi:isolate}
.iv-calc-out .iv-table th,.iv-calc-out .iv-table td{text-align:right}
.iv-calc-out .iv-table td.neg bdi{color:var(--neg)}
.iv-calc-out small{display:block;margin-top:2px;font-size:.72rem;font-weight:500;color:var(--ink-3);font-family:var(--f-ui);white-space:normal}
.iv-calc-out .iv-tag.is-ceiling{padding:1px 6px;font-size:.68rem;vertical-align:1px}
.iv-calc-cards{display:none;gap:10px}
.iv-na{font-size:.84rem;color:var(--ink-3)}
.iv-calc-card .iv-na{margin-top:6px}
.iv-calc-card{padding:14px 16px;border-radius:var(--r-md);border:1px solid var(--line-2);background:#fff}
.iv-calc-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.iv-calc-card-head b{font-size:1.05rem;font-weight:800}
.iv-calc-card-head span{font-size:.84rem;color:var(--ink-3)}
.iv-calc-card-head strong{font-size:1.1rem;font-weight:800;color:var(--ink)}
.iv-calc-card dl{margin:10px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.iv-calc-card dt{font-size:.72rem;font-weight:600;color:var(--ink-3)}
.iv-calc-card dd{margin:2px 0 0;font-size:.92rem;font-weight:700;color:var(--ink)}
.iv-calc-card dd.neg bdi{color:var(--neg)}
.iv-calc-note{margin-top:10px;font-size:.84rem;color:var(--ink-3);line-height:1.7}
.iv-tag.is-ceiling{background:#FFF6E0;color:#7A5A08}

/* ---------- brokers: cards ---------- */
.iv-brokers{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.iv-broker{display:flex;flex-direction:column;border-radius:var(--r-lg);border:1px solid var(--line-2);background:#fff;overflow:hidden}
.iv-broker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 12px}
.iv-broker-head h3{font-size:1.2rem;font-weight:800;color:var(--ink)}
.iv-broker-head .iv-tag{flex:none;margin-top:4px}
.iv-specs{margin:0;border-top:1px solid var(--line)}
.iv-spec{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:10px 20px;border-bottom:1px solid var(--line)}
.iv-spec dt{font-size:.82rem;font-weight:700;color:var(--ink-3)}
.iv-spec dd{margin:0;font-size:.9rem;color:var(--ink);line-height:1.6}
.iv-spec dd small{display:block;margin-top:2px;font-size:.78rem;color:var(--ink-3)}
.iv-checks{margin:14px 20px 0;padding:12px 14px;border-radius:var(--r-md);background:#FFFDF7;border:1px solid var(--line-gold)}
.iv-checks b{font-size:.84rem;color:var(--ink)}
.iv-checks ul{margin:6px 0 0;padding:0 18px 0 0;display:grid;gap:5px;font-size:.86rem;color:var(--ink-2);line-height:1.6}
.iv-broker-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:14px 20px 18px}
.iv-broker-foot .iv-src{margin:0}

/* ---------- portfolio page (tamhil) ---------- */
.tm-by{margin-top:8px;font-size:.95rem;color:var(--ink-3)}
.tm-card{position:relative;padding:clamp(16px,2.4vw,26px);border-radius:var(--r-xl);border:1px solid var(--line-2);background:#fff;box-shadow:var(--sh-1)}
.tm-perf-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:14px 24px}
.tm-kicker{font-size:.86rem;font-weight:700;color:var(--ink-3)}
.tm-perf-value{margin-top:4px;font-family:var(--num);font-weight:800;font-size:clamp(2rem,4.4vw,3rem);line-height:1.1;color:var(--ink);direction:ltr;text-align:right}
.tm-perf-change{margin-top:6px;font-size:1rem;font-weight:600;color:var(--ink-2)}
.tm-perf-range{margin-top:4px;font-size:.84rem;color:var(--ink-3)}
.tm-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tm-range-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 8px}
.tm-range{margin-bottom:0}
.tm-range .iv-tab[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:var(--sh-1)}
.invest26 .pos{color:var(--pos)}
.invest26 .neg{color:var(--neg)}
.tm-note{font-size:.82rem;color:var(--ink-3)}

.tm-chart{position:relative;margin-top:8px;min-height:40px}
.tm-svg{display:block;width:100%;height:auto;direction:ltr;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.tm-axis{font-family:var(--num);font-size:11.5px;fill:var(--ink-3)}
.tm-grid{stroke:rgba(10,11,13,.07)}
.tm-ref{stroke:rgba(10,11,13,.35);stroke-dasharray:3 3}
.tm-line{vector-effect:non-scaling-stroke}
.tm-cross{stroke:rgba(10,11,13,.45);stroke-dasharray:3 3}
.tm-event{stroke:rgba(184,134,11,.35);stroke-dasharray:2 4}
.tm-event-dot{fill:var(--gold)}
.tm-tip{position:absolute;top:8px;z-index:3;min-width:150px;max-width:260px;padding:9px 11px;border-radius:10px;background:rgba(255,255,255,.97);border:1px solid var(--line-2);
  box-shadow:var(--sh-2);font-size:.8rem;line-height:1.55;color:var(--ink-2);pointer-events:none;direction:rtl;text-align:right}
.tm-tip[hidden]{display:none}
.tm-tip b{color:var(--ink)}
.tm-tip-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tm-tip-row i{flex:none;width:9px;height:9px;border-radius:3px}
.tm-tip-sub{color:var(--ink-3);font-size:.76rem}
.tm-tip-ev{margin-top:3px;padding-top:3px;border-top:1px solid var(--line);color:#7A5A08;font-weight:700}

.tm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:14px;border-radius:var(--r-md);overflow:hidden;background:var(--line);border:1px solid var(--line)}
.tm-stats-5{grid-template-columns:repeat(5,1fr)}
.tm-stat{padding:12px 14px;background:var(--paper-2);display:flex;flex-direction:column;gap:3px}
.tm-stat span{font-size:.74rem;font-weight:600;color:var(--ink-3)}
.tm-stat b{font-family:var(--num);font-size:1.08rem;font-weight:800;color:var(--ink)}
.tm-stat small{font-size:.72rem;color:var(--ink-3);display:block;font-weight:500}
.tm-foot{margin-top:12px;font-size:.78rem;color:var(--ink-3);line-height:1.7}

.tm-presets{margin-bottom:10px}
.tm-brush-wrap{margin-top:6px}
.tm-brush{touch-action:none}
.tm-brush-area{fill:rgba(62,102,144,.12)}
.tm-brush-line{fill:none;stroke:#3E6690;stroke-width:1.4}
.tm-brush-out{fill:rgba(255,255,255,.72)}
.tm-brush-sel{fill:rgba(14,158,140,.08);stroke:var(--teal);stroke-width:1;cursor:grab}
.tm-brush-exit{stroke:var(--neg);stroke-width:2;stroke-dasharray:3 2}
.tm-handle{cursor:ew-resize;outline:none}
.tm-handle-grip{fill:#fff;stroke:var(--teal-dk);stroke-width:1.6}
.tm-handle:focus-visible .tm-handle-grip{stroke:var(--ink);stroke-width:2.5}
.tm-handle-mark{stroke:var(--teal-dk);stroke-width:1.2}
.tm-window-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin-top:6px}
.tm-window{font-size:.9rem;color:var(--ink-2)}
.tm-window b{color:var(--ink)}

.tm-sim-inputs{display:grid;grid-template-columns:1.1fr 1.3fr 1.3fr auto;gap:14px;align-items:end;margin-top:16px;padding:14px;border-radius:var(--r-md);background:var(--paper-2);border:1px solid var(--line)}
.tm-amount{display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:10px;border:1px solid var(--line-2);background:#fff}
.tm-amount input{width:100%;min-width:0;padding:9px 0;border:0;background:transparent;font-family:var(--num);font-weight:700;font-size:1.05rem;color:var(--ink);direction:ltr;text-align:right;outline:none}
.tm-amount:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-pale)}
.tm-sim-inputs input[type=range]{width:100%;accent-color:var(--teal)}
.tm-sim-inputs output{font-weight:800;color:var(--ink);margin-inline-start:4px}

.tm-sim-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.tm-sim-card{position:relative;padding:16px;border-radius:var(--r-lg);border:1px solid var(--line-2);background:#fff;border-top:4px solid var(--c)}
.tm-sim-card.is-top{box-shadow:0 0 0 2px var(--c) inset,var(--sh-2)}
.tm-sim-card header{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}
.tm-sim-card header i{flex:none;width:10px;height:10px;margin-top:6px;border-radius:3px;background:var(--c)}
.tm-sim-card h3{font-size:1.02rem;font-weight:800;color:var(--ink)}
.tm-sim-card header p{font-size:.76rem;color:var(--ink-3)}
.tm-top{margin-inline-start:auto;padding:2px 8px;border-radius:999px;background:var(--paper-3);font-size:.7rem;font-weight:700;color:var(--ink-2)}
.tm-sim-final{margin-top:10px;font-family:var(--num);font-weight:800;font-size:1.7rem;color:var(--ink);direction:ltr;text-align:right}
.tm-sim-chg{font-size:.9rem;font-weight:600}
.tm-sim-card dl{margin:12px 0 0;display:grid;gap:8px}
.tm-sim-card dl div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.tm-sim-card dt{font-size:.78rem;color:var(--ink-3)}
.tm-sim-card dd{margin:0;text-align:left;font-weight:700;font-size:.9rem;color:var(--ink)}
.tm-sim-card dd small{display:block;font-size:.7rem;font-weight:500;color:var(--ink-3)}
.tm-sim-card dd span{font-size:.78rem;font-weight:600;color:var(--pos)}
.tm-sim-summary{margin-top:12px;font-size:.95rem;color:var(--ink-2);line-height:1.75}
.tm-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px;font-size:.78rem;color:var(--ink-3)}
.tm-legend span{display:inline-flex;align-items:center;gap:6px}
.tm-legend i{width:14px;height:4px;border-radius:2px}
.tm-legend i.dash{background:repeating-linear-gradient(90deg,#98A0AD 0 4px,transparent 4px 8px)}

.tm-exit{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}
.tm-exit-toggle{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:14px 16px;border-radius:var(--r-md);border:1px dashed var(--line-2);
  background:#FFFDF7;cursor:pointer;text-align:right;font-family:var(--f-ui)}
.tm-exit-toggle b{font-size:1rem;color:var(--ink)}
.tm-exit-toggle span{font-size:.82rem;color:var(--ink-3)}
.tm-exit-toggle[aria-pressed="true"]{border-style:solid;border-color:var(--gold)}
/* it opens a whole simulator, so it has to look like something you press (18.9.26) */
.tm-exit-toggle{position:relative;padding-inline-end:52px;cursor:pointer;transition:border-color .15s,background .15s}
.tm-exit-toggle:hover{border-color:var(--gold)}
.tm-exit-toggle::after{content:'+';position:absolute;inset-inline-end:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#fff;font-weight:800;font-size:1.1rem;line-height:1;transition:transform .2s}
.tm-exit-toggle[aria-pressed="true"]::after{content:'−'}
.tm-exit-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
#tmExitBody{margin-top:14px}
.tm-exit-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.tm-exit-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.tm-exit-col{padding:14px;border-radius:var(--r-md);background:var(--paper-2);border:1px solid var(--line)}
.tm-exit-col span{display:block;font-size:.8rem;color:var(--ink-3)}
.tm-exit-col b{display:block;margin-top:4px;font-family:var(--num);font-size:1.4rem;font-weight:800;color:var(--ink);direction:ltr;text-align:right}
.tm-exit-col small{display:block;margin-top:2px;font-size:.74rem;color:var(--ink-3)}
.tm-exit-gap{grid-column:1/-1;font-weight:700;font-size:.95rem}

.tm-bar.pos{fill:var(--pos)}
.tm-bar.neg{fill:var(--neg)}
.tm-bar.partial{opacity:.55}
.tm-bar:focus{outline:none;stroke:var(--ink);stroke-width:1.5}
.tm-heat td,.tm-heat th{padding:6px 7px;font-size:.78rem;text-align:center}
.tm-heat td.n{text-align:center}
.tm-heat-y{font-weight:800}

.tm-alloc{margin-bottom:6px}
.tm-alloc-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:var(--paper-3);margin-bottom:14px}
.tm-alloc-bar i{display:block;height:100%}
.tm-alloc-bar i + i{box-shadow:inset 2px 0 0 #fff}

/* ---------- responsive ---------- */
@media (max-width:940px){
  .iv-gates{grid-template-columns:1fr}
  .iv-facts{grid-template-columns:1fr}
  .iv-two{grid-template-columns:1fr}
  .iv-fx{grid-template-columns:1fr}
  .iv-calc{grid-template-columns:minmax(0,1fr)}
  .iv-brokers{grid-template-columns:1fr}
  .tm-sim-cards{grid-template-columns:1fr 1fr 1fr}
  .tm-stats-5{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:640px){
  .iv-scroller{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-22px;padding-inline:22px;padding-bottom:4px;
    -webkit-mask-image:linear-gradient(to left,#000 88%,transparent);mask-image:linear-gradient(to left,#000 88%,transparent)}
  .iv-scroller::-webkit-scrollbar{display:none}
  .iv-scroller .iv-chip{flex:none}
  .iv-sitelist{grid-template-columns:1fr}
  .tm-stats,.tm-stats-5{grid-template-columns:repeat(2,1fr)}
  .tm-sim-inputs{grid-template-columns:1fr 1fr}
  .tm-sim-cards{grid-template-columns:1fr}
  .tm-exit-pick,.tm-exit-result{grid-template-columns:1fr}
  .tm-perf-top{flex-direction:column}
  .iv-spec{grid-template-columns:1fr;gap:2px;padding:10px 16px}
  .iv-calc-wide{display:none}
  .iv-calc-cards{display:grid}
  .iv-broker-head,.iv-broker-foot{padding-inline:16px}
  .iv-checks{margin-inline:16px}
}
@media (max-width:640px){
  .iv-hero{padding-top:112px}
  .iv-grid{grid-template-columns:1fr}
  .iv-kpis{grid-template-columns:repeat(2,1fr)}
  .iv-kpi:nth-child(3){border-inline-start:0}
  .iv-kpi:nth-child(n+3){border-top:1px solid var(--line)}
  .iv-alloc{grid-template-columns:80px 1fr}
  .iv-donut{width:80px;height:80px}
  .iv-dialog{width:100%;max-width:100%;max-height:100dvh;border-radius:18px 18px 0 0;margin:auto 0 0}
  .iv-table th,.iv-table td.w{white-space:normal}
  .iv-table td.w{min-width:112px}
  /* the name column stays put while the numbers scroll under it */
  .iv-table th:first-child,.iv-table td:first-child{position:sticky;inset-inline-start:0;z-index:1;background:#fff;box-shadow:inset -1px 0 0 var(--line)}
  .iv-table th:first-child{background:var(--paper-2);z-index:2}
  .iv-table th,.iv-table td{padding:10px 9px}
  .iv-dialog-body{padding:0 16px 22px}
  .iv-toolbar{gap:10px}
  .iv-count{margin-inline-start:0;width:100%}
  .iv-tabs{margin-inline:-22px;border-radius:0;padding-inline:22px}
}
@media print{
  .nav26,.foot,.wa-fab,#lk-bot,.iv-toolbar,.iv-tabs,.iv-card-foot,.progress{display:none!important}
  .iv-card{break-inside:avoid;box-shadow:none}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* =========================================================================
   /hashkaot/boneh — the portfolio builder (17.9.26)
   Two columns on a desktop (picker, portfolio) and one on a phone, with the
   analysis cards below. Same tokens as the rest of the investment pages.
   ========================================================================= */
/* The site had no screen-reader-only utility; the builder's field labels need one, and
   without it they rendered inside the inputs. */
.invest26 .vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.bn-notice p+p{margin-top:8px}
.bn-notice-2{font-size:.9rem;color:var(--ink-3)}
.bn-layout{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:clamp(16px,2.4vw,30px);align-items:start}
.bn-layout>*{min-width:0}
.bn-pick{position:sticky;top:96px;display:grid;gap:12px;padding:20px;border-radius:var(--r-lg);border:1px solid var(--line-2);background:var(--paper-2)}
.bn-search input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:#fff;
  font-family:var(--f-ui);font-size:.95rem;color:var(--ink)}
.bn-search input:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
.bn-filters{gap:5px}
.bn-filters .iv-chip{padding:6px 11px;font-size:.82rem}
.bn-hint{font-size:.82rem;color:var(--ink-3)}
.bn-results{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:min(58vh,520px);overflow:auto;overscroll-behavior:contain}
.bn-res button{display:grid;grid-template-columns:1fr auto;gap:2px 10px;width:100%;padding:11px 13px;text-align:start;
  border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer;font-family:var(--f-ui);color:var(--ink)}
.bn-res button:hover:not(:disabled){border-color:var(--teal);box-shadow:var(--sh-1)}
.bn-res button:disabled{cursor:default;opacity:.55}
.bn-res-t{font-size:.95rem;font-weight:700;display:flex;gap:8px;align-items:baseline}
.bn-res-t b{font-family:var(--num);color:var(--teal-dk)}
.bn-res-n{grid-column:1;font-size:.8rem;color:var(--ink-3);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bn-res-m{grid-column:1;font-size:.78rem;color:var(--ink-4)}
.bn-res-add{grid-row:1 / span 3;align-self:center;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;
  background:var(--teal-wash);color:var(--teal-dk);font-weight:800}
.bn-mine{display:grid;gap:14px}
.bn-mine-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.bn-actions{display:flex;flex-wrap:wrap;gap:6px}
.bn-amount{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:14px 16px;border-radius:var(--r-md);
  border:1px solid var(--line);background:var(--paper-2)}
.bn-amount label{font-weight:700;font-size:.92rem}
.bn-amount-in{display:flex;align-items:center;gap:6px;padding:7px 12px;border-radius:10px;border:1px solid var(--line-2);background:#fff}
.bn-amount-in input{width:9ch;border:0;background:transparent;font-family:var(--num);font-weight:700;font-size:1rem;color:var(--ink);text-align:start}
.bn-amount-in input:focus-visible{outline:0}
.bn-amount p{flex:1 1 100%;font-size:.8rem;color:var(--ink-4)}
.bn-rows{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bn-row{display:grid;grid-template-columns:1fr 104px 34px;gap:10px;align-items:center;padding:12px 14px;
  border-radius:var(--r-md);border:1px solid var(--line);background:#fff}
.bn-row-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.bn-row-t b{font-family:var(--num);font-size:.98rem;color:var(--ink)}
.bn-row-t span{font-size:.82rem;color:var(--ink-3)}
.bn-row-w{display:flex;align-items:center;gap:4px;padding:6px 10px;border-radius:9px;border:1px solid var(--line-2);background:var(--paper-2)}
.bn-row-w input{width:100%;min-width:0;border:0;background:transparent;font-weight:700;font-size:.95rem;color:var(--ink);text-align:end}
.bn-row-w input:focus-visible{outline:0}
.bn-row-w i{font-style:normal;color:var(--ink-4);font-size:.85rem}
.bn-x{width:32px;height:32px;border-radius:9px;border:1px solid var(--line-2);background:#fff;color:var(--ink-3);
  font-size:1.1rem;line-height:1;cursor:pointer}
.bn-x:hover{border-color:var(--neg);color:var(--neg)}
.bn-empty{padding:22px;border-radius:var(--r-md);border:1px dashed var(--line-2);background:var(--paper-2);
  font-size:.95rem;color:var(--ink-3);text-align:center}
.bn-link{border:0;background:0;padding:0;font:inherit;color:var(--teal-dk);font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bn-total{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:var(--r-md);
  background:var(--ink);color:#fff;font-size:.92rem}
.bn-total b{font-family:var(--num);font-size:1.1rem}
.bn-total.is-off{background:var(--real)}
.bn-out .iv-head p{font-size:1.05rem;color:var(--ink-2)}
.bn-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}
.bn-card{display:flex;flex-direction:column;gap:12px;padding:20px 22px;border-radius:var(--r-lg);border:1px solid var(--line-2);background:#fff}
.bn-card h3{font-size:1.05rem;font-weight:800;color:var(--ink)}
.bn-card-wide{grid-column:1/-1}
.bn-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:var(--paper-3)}
.bn-bar i{display:block;height:100%}
.bn-legend{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.86rem;color:var(--ink-2)}
.bn-legend li{display:flex;align-items:center;gap:6px}
.bn-legend i{width:9px;height:9px;border-radius:3px}
.bn-legend b{font-family:var(--num);color:var(--ink)}
.bn-classes{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:.9rem}
.bn-classes li{display:flex;justify-content:space-between;gap:10px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.bn-classes li:last-child{border-bottom:0;padding-bottom:0}
.bn-big{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:baseline}
.bn-big b{font-family:var(--num);font-size:1.9rem;font-weight:800;color:var(--ink);line-height:1.1}
.bn-big b.bn-nis{font-size:1.25rem;color:var(--teal-dk)}
.bn-big span{font-size:.84rem;color:var(--ink-3)}
.bn-fee-rows{list-style:none;margin:0;padding:0;display:grid;gap:5px;font-size:.85rem;color:var(--ink-2)}
.bn-fee-rows li{display:flex;justify-content:space-between;gap:10px}
.bn-fee-rows b{font-family:var(--num)}
.bn-note{font-size:.82rem;color:var(--ink-3);line-height:1.7}
.bn-note a{color:var(--teal-dk);font-weight:600}
.bn-flags{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bn-flag{padding:12px 14px;border-radius:var(--r-md);background:var(--paper-2);border-inline-start:3px solid var(--ink-4);
  font-size:.92rem;line-height:1.7;color:var(--ink-2)}
.bn-flag b{color:var(--ink);font-family:var(--num)}
.bn-flag-same,.bn-flag-in{border-inline-start-color:var(--real);background:#FDF8EC}
.bn-flag-band,.bn-flag-sum{border-inline-start-color:var(--neg);background:var(--neg-wash)}
.bn-flag-fx,.bn-flag-dist,.bn-flag-class,.bn-flag-one{border-inline-start-color:var(--teal)}
.bn-flag.is-clean{border-inline-start-color:var(--pos);background:var(--teal-wash)}
.bn-venues{display:grid;gap:4px}
.bn-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bn-facts li{padding:12px 14px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--paper-2)}
.bn-facts p{font-size:.9rem;line-height:1.7;color:var(--ink-2)}
.bn-facts .iv-src{display:block;margin-top:6px}
.bn-near-lead{font-size:.95rem;line-height:1.75;color:var(--ink-2)}
.bn-near-lead a{color:var(--teal-dk);font-weight:700}
.bn-diffs{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.bn-diffs li{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;border:1px solid var(--line-2);
  background:#fff;font-size:.86rem;color:var(--ink-2)}
.bn-diffs b{font-family:var(--num)}
.bn-diffs b.up{color:var(--pos)}
.bn-diffs b.down{color:var(--neg)}
.bn-share{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px}
.bn-share span{font-size:.86rem;color:var(--ink-3)}
.bn-table-wrap{overflow-x:auto}
.bn-table{width:100%;border-collapse:collapse;font-size:.88rem}
.bn-table th,.bn-table td{padding:11px 12px;text-align:start;border-bottom:1px solid var(--line);vertical-align:top}
.bn-table thead th{background:var(--paper-2);font-size:.8rem;font-weight:700;color:var(--ink-3);white-space:nowrap}
.bn-table tbody th b{display:block;font-family:var(--num);color:var(--ink)}
.bn-table tbody th span{font-size:.8rem;font-weight:500;color:var(--ink-3)}
.bn-table td .num{font-family:var(--num);font-weight:700}
.bn-table a{color:var(--ink-3);text-decoration:underline;text-underline-offset:2px}
.bn-table a:hover{color:var(--teal)}
.bn-band{display:block;margin-top:3px;font-size:.74rem;color:var(--real)}
@media (max-width:980px){
  .bn-layout{grid-template-columns:minmax(0,1fr)}
  .bn-pick{position:static}
  .bn-results{max-height:340px}
}
@media (max-width:640px){
  .bn-row{grid-template-columns:1fr 92px 32px;padding:11px 12px}
  .bn-card{padding:18px}
  .bn-big b{font-size:1.6rem}
  .bn-table thead{display:none}
  .bn-table tbody tr{display:grid;gap:4px;padding:14px 0;border-bottom:1px solid var(--line)}
  .bn-table tbody th,.bn-table td{border:0;padding:1px 0}
  .bn-table td::before{content:attr(data-l) ": ";color:var(--ink-4);font-size:.8rem}
}
.bn-sec{display:block;font-size:.76rem;font-weight:500;color:var(--ink-4);font-family:var(--num)}

/* =========================================================================
   .iv-tape — the scrolling bar under the hero (17.9.26)
   Lior asked for a Yahoo-style ticker. Live quotes are a licensed product, so this
   carries the site's own sourced numbers instead. Two identical rows scroll as one
   track, which is why the loop has no seam; the second row is hidden from assistive
   tech. It stops on hover, on keyboard focus, and whenever the visitor asked for
   reduced motion — a bar that never stops is unusable for some people.
   ========================================================================= */
.iv-tape{display:flex;align-items:stretch;border-bottom:1px solid var(--line);background:var(--paper-2);overflow:hidden}
.tp-lead{flex:none;display:flex;align-items:center;gap:8px;padding:0 16px;background:var(--ink);color:#fff;
  font-family:var(--f-ui);font-weight:700;font-size:.8rem;letter-spacing:.01em;white-space:nowrap}
.tp-lead::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--equity);flex:none}
.tp-view{flex:1 1 auto;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(to left,transparent,#000 36px,#000 calc(100% - 36px),transparent);
  mask-image:linear-gradient(to left,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
.tp-track{display:flex;width:max-content;animation:tp-scroll 78s linear infinite}
.tp-row{display:flex;flex:none}
.iv-tape:hover .tp-track,.iv-tape:focus-within .tp-track{animation-play-state:paused}
@keyframes tp-scroll{from{transform:translateX(0)}to{transform:translateX(50%)}}
.tp-item{display:flex;align-items:baseline;gap:8px;padding:11px 18px;border-inline-end:1px solid var(--line);
  white-space:nowrap;color:var(--ink-2);font-size:.85rem;text-decoration:none}
.tp-item:hover{background:#fff;color:var(--ink)}
.tp-item:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.tp-k{font-weight:600}
.tp-v{font-family:var(--num);font-variant-numeric:tabular-nums lining-nums;font-weight:800;color:var(--ink);unicode-bidi:plaintext}
.tp-v.pos{color:var(--pos)}
.tp-v.neg{color:var(--neg)}
.tp-note{font-size:.74rem;color:var(--ink-4)}
@media (max-width:640px){
  .tp-lead{padding:0 12px;font-size:.74rem}
  .tp-item{padding:9px 12px;font-size:.78rem;gap:5px}
  /* the period stays on a phone too: a return with no period attached is exactly what the
     guardrails forbid, and this bar is the one place it would be easy to drop. */
  .tp-note{font-size:.68rem}
  .tp-track{animation-duration:58s}
}
@media (prefers-reduced-motion:reduce){
  .tp-track{animation:none}
  .tp-view{overflow-x:auto;scrollbar-width:thin}
  .tp-row[aria-hidden="true"]{display:none}
}
@media print{.iv-tape{display:none}}

/* =========================================================================
   .tour — the guided tour (18.9.26). Lives here because only the investment
   pages use it for now; move to home26.css if another section adopts it.
   The dim is a huge box-shadow around the spotlight, so there is exactly one
   element to move and no mask to keep in sync with the layout.
   ========================================================================= */
.tour-open{overflow:hidden}
.tour{position:fixed;inset:0;z-index:1200}
.tour-hole{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px rgba(11,26,45,.72);
  transition:all .28s cubic-bezier(.4,0,.2,1);pointer-events:none;
  outline:2px solid var(--teal);outline-offset:0}
.tour-box{position:fixed;width:min(360px,calc(100vw - 24px));padding:20px 22px 18px;border-radius:18px;
  background:#fff;box-shadow:0 30px 80px -20px rgba(11,26,45,.5);transition:top .28s cubic-bezier(.4,0,.2,1),left .28s cubic-bezier(.4,0,.2,1)}
.tour-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tour-step{font-family:var(--num);font-size:.76rem;font-weight:700;color:var(--teal-dk);
  background:var(--teal-wash);padding:4px 10px;border-radius:999px}
.tour-x{width:30px;height:30px;border:0;border-radius:9px;background:var(--paper-2);color:var(--ink-3);
  font-size:1.2rem;line-height:1;cursor:pointer}
.tour-x:hover{background:var(--paper-3);color:var(--ink)}
.tour-title{margin-top:12px;font-size:1.12rem;font-weight:800;color:var(--ink);line-height:1.35}
.tour-body{margin-top:8px;font-size:.93rem;line-height:1.75;color:var(--ink-2)}
.tour-body b{color:var(--ink)}
.tour-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.tour-dots{display:flex;gap:5px}
.tour-dots i{width:6px;height:6px;border-radius:50%;background:var(--line-2);transition:all .2s}
.tour-dots i.on{width:18px;border-radius:999px;background:var(--teal)}
.tour-btns{display:flex;gap:8px}
.tour-btn{padding:9px 16px;border-radius:10px;border:1px solid var(--line-2);background:#fff;
  font-family:var(--f-ui);font-weight:700;font-size:.88rem;color:var(--ink-2);cursor:pointer;white-space:nowrap}
.tour-btn:hover{border-color:var(--ink-4);color:var(--ink)}
.tour-btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}
.tour-btn.primary:hover{background:var(--teal-dk);border-color:var(--teal-dk)}
.tour-btn.ghost{border-color:transparent;color:var(--ink-4)}
.tour-btn:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.iv-howto{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;
  border:1px solid var(--line-2);background:#fff;font-family:var(--f-ui);font-weight:700;font-size:.85rem;
  color:var(--ink-2);cursor:pointer}
.iv-howto:hover{border-color:var(--teal);color:var(--teal-dk)}
.iv-howto::before{content:'▶';font-size:.7rem;color:var(--teal)}
@media (max-width:640px){
  /* on a phone the card is a sheet at the bottom: a floating box next to a highlighted
     element leaves no room for either of them. */
  .tour-box{inset-inline:12px auto;width:calc(100vw - 24px)!important;top:auto!important;bottom:14px!important;
    left:12px!important;padding:18px 18px 16px}
  .tour-title{font-size:1.05rem}
  .tour-foot{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){
  .tour-hole,.tour-box{transition:none}
}
.bn-hero-cta{margin-top:18px}

/* =========================================================================
   Mobile ergonomics (18.9.26). A measured audit at 390px found chips at 29px,
   segmented buttons and tabs at 34-38px, the row "remove" at 32px and the
   breadcrumbs at 22px. 44px is the size a thumb hits reliably (Apple HIG,
   WCAG 2.5.5), so everything a finger has to tap in these pages gets it.
   ========================================================================= */
@media (max-width:640px){
  .invest26 .iv-chip{min-height:44px;padding-top:0;padding-bottom:0;display:inline-flex;align-items:center;justify-content:center}
  .invest26 .iv-tab{min-height:44px}
  .invest26 .iv-howto{min-height:44px;padding-inline:16px}
  .invest26 .bn-x{width:44px;height:44px}
  .invest26 .bn-row{grid-template-columns:1fr 92px 44px}
  .invest26 .iv-crumbs a{display:inline-block;padding:11px 2px}
  /* second pass of the same audit: dropdowns, number fields and the remaining buttons */
  .invest26 .iv-select,.invest26 select{min-height:44px}
  .invest26 .tm-amount input,.invest26 .tm-sim-inputs input[type="text"],.invest26 .tm-sim-inputs input[type="number"]{min-height:44px}
  .invest26 .bn-amount-in{padding-block:0}
  .invest26 .bn-amount-in input{min-height:42px}
  .invest26 .bn-link{display:inline-block;padding:10px 4px;margin:-10px 0}
  .invest26 main .btn,.invest26 .iv-btn{min-height:44px}
  /* sliders: the native thumb is ~16px, too small to drag with a thumb. Styled here only on
     phones, and only the size, so the browser's own look (and accent colour) stays. */
  .invest26 input[type=range]{-webkit-appearance:none;appearance:none;height:44px;background:transparent}
  .invest26 input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:var(--line-2)}
  .invest26 input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;
    border-radius:50%;background:var(--teal);border:3px solid #fff;box-shadow:0 2px 8px rgba(11,26,45,.3)}
  .invest26 input[type=range]::-moz-range-track{height:6px;border-radius:999px;background:var(--line-2)}
  .invest26 input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--teal);
    border:3px solid #fff;box-shadow:0 2px 8px rgba(11,26,45,.3)}
}

/* The demo portfolio on a phone: the picker sits above the portfolio, so a tap on
   "+" changed something the visitor could not see. The dock confirms each add and
   jumps to the portfolio; it hides whenever the portfolio itself is on screen. */
.bn-dock{position:fixed;inset-inline:0;bottom:84px;margin-inline:auto;z-index:95;width:max-content;max-width:calc(100vw - 32px);
  display:flex;align-items:center;gap:12px;padding:8px 8px 8px 16px;border-radius:999px;background:var(--ink);color:#fff;
  box-shadow:0 14px 40px -12px rgba(11,26,45,.55);font-size:.86rem;font-weight:600;
  transform:translateY(0);transition:transform .22s ease,opacity .22s ease}
.bn-dock[hidden]{display:flex;opacity:0;transform:translateY(20px);pointer-events:none}
.bn-dock.is-pulse{animation:bn-pulse .5s ease}
@keyframes bn-pulse{50%{transform:scale(1.04)}}
.bn-dock-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bn-dock-t b{font-family:var(--num);color:#7EE0D2}
.bn-dock-go{flex:none;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--teal);color:#fff;
  font-family:var(--f-ui);font-weight:800;font-size:.86rem;cursor:pointer}
@media (min-width:981px){.bn-dock{display:none!important}}
@media (prefers-reduced-motion:reduce){.bn-dock{transition:none}.bn-dock.is-pulse{animation:none}}

/* two builders, one path: the gallery's asset-class builder points at the fund-level demo */
.iv-crosslink{margin-top:10px;padding:10px 14px;border-radius:var(--r-md);background:var(--teal-wash);font-size:.9rem;color:var(--ink-2)}
.iv-crosslink a{color:var(--teal-dk);font-weight:800;white-space:nowrap}
/* the instruments table on the demo page folds behind a button */
.bn-table-more{border:1px solid var(--line-2);border-radius:var(--r-lg);background:#fff}
.bn-table-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:56px;padding:12px 18px;font-weight:700;color:var(--ink-2)}
.bn-table-more>summary::-webkit-details-marker{display:none}
.bn-table-more>summary::after{content:'';flex:none;width:10px;height:10px;border-right:2px solid var(--ink-3);
  border-bottom:2px solid var(--ink-3);transform:rotate(45deg);transition:transform .2s}
.bn-table-more[open]>summary::after{transform:rotate(-135deg)}
.bn-table-more[open]>summary{border-bottom:1px solid var(--line)}
.bn-table-more>summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:var(--r-lg)}
.bn-table-more .bn-table-wrap{padding:4px 14px 10px}
.invest26 .nw{white-space:nowrap}

/* =========================================================================
   Contrast (18.9.26). A measured audit found ~220 text runs under WCAG AA on
   these pages, while the site's accessibility statement claims AA: the light
   grey (#98A0AD, 2.64:1 on white) carried every "source" line and every fund
   detail, teal eyebrows sat at 3.34:1, gold notes at 3.25:1. Each is moved to a
   value measured at 4.5:1 or better on white, paper and the tinted panels.
   Scoped here, so the homepage design is untouched.
   ========================================================================= */
.invest26{--ink-4:#646C7A}
.invest26 .eyebrow{color:var(--teal-dk)}
.invest26 .bn-band{color:#8A6508}
.invest26 .bn-dock-go{background:var(--teal-dk)}
/* Result cards: every part pinned to its cell. With only the "+" given a row span, auto-
   placement put it in the text column, and the fund name and fee line were squeezed into
   116px while the title drifted into the other column (found 18.9.26). */
.bn-res-t{grid-column:1;grid-row:1}
.bn-res-n{grid-column:1;grid-row:2}
.bn-res-m{grid-column:1;grid-row:3}
.bn-res-add{grid-column:2;grid-row:1 / span 3}

/* =========================================================================
   .iv-cta — the one invitation from the tools to the coaching (18.9.26).
   Calm on purpose: a tinted card, one button, no dark block, no urgency.
   The button is a solid dark teal, measured at 5.03:1 with white text; the
   site's gradient primary button cannot be measured and may fall short.
   ========================================================================= */
.iv-cta-sec{padding-top:8px}
.iv-cta{border-radius:var(--r-lg);border:1px solid var(--line-2);background:var(--teal-wash);
  padding:clamp(24px,4vw,40px);margin-top:8px}
.iv-cta-in{max-width:620px}
.iv-cta .d3{margin-top:10px;color:var(--ink)}
.iv-cta-body{margin-top:12px;font-size:1.02rem;line-height:1.8;color:var(--ink-2)}
.iv-cta .iv-cta-btn{margin-top:20px;display:inline-flex;align-items:center;gap:10px;width:auto;
  background:var(--teal-dk);color:#fff;box-shadow:none;min-height:48px;padding:0 24px;border-radius:999px;font-weight:800}
.iv-cta .iv-cta-btn::after{display:none}
.iv-cta .iv-cta-btn:hover{background:var(--ink);transform:none;box-shadow:none}
.iv-cta .iv-cta-btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.iv-cta-fine{margin-top:14px;font-size:.8rem;color:var(--ink-3)}
#bnOut .iv-cta{margin-top:28px}
@media (max-width:640px){
  .iv-cta .iv-cta-btn{width:100%;justify-content:center}
}
.iv-cta .d3{text-wrap:balance}

/* glossary terms (js/lk-gloss.js): a word in running text with a dotted underline, and the
   card that opens under it. The button keeps the sentence's own font, size and colour. */
.invest26 .gl{display:inline;padding:0;margin:0;border:0;background:none;font:inherit;color:inherit;cursor:help;
  text-decoration:underline dotted;text-decoration-color:var(--teal-dk);text-decoration-thickness:1.5px;text-underline-offset:4px}
.invest26 .gl:hover,.invest26 .gl[aria-expanded="true"]{color:var(--teal-dk)}
.invest26 .gl:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:3px}
.gl-pop{position:fixed;z-index:1100;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--line-2);
  box-shadow:0 18px 50px -14px rgba(11,26,45,.35);font-family:var(--f-ui);direction:rtl;text-align:start}
.gl-pop[hidden]{display:none}
.gl-pop-t{display:block;font-weight:800;font-size:.95rem;color:var(--ink)}
.gl-pop-b{margin-top:6px;font-size:.9rem;line-height:1.7;color:var(--ink-2)}

/* the portfolio page's jump bar: sticks right under the 74px nav and follows the reader */
.tm-jump{position:sticky;top:74px;z-index:40;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.tm-jump-in{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 0}
.tm-jump-in::-webkit-scrollbar{display:none}
.tm-jump a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;
  color:var(--ink-2);font-weight:700;font-size:.88rem;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.tm-jump a:hover{background:var(--paper-2);color:var(--ink)}
.tm-jump a[aria-current="true"]{background:var(--ink);color:#fff}
.tm-jump a:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
/* html already carries scroll-padding-top:76px (home26); the two add up, so this is only the bar's height */
.tm-sec{scroll-margin-top:62px}
@media (max-width:640px){.invest26 .tm-jump a{min-height:44px;padding:0 13px}}
@media print{.tm-jump{display:none}}
/* home26 sets body{overflow-x:hidden}. With html at overflow-x:clip that makes <body> its own
   scroll container, one that never scrolls, so nothing on the page can be position:sticky
   (the jump bar scrolled away with the text). clip stops sideways scrolling just the same and
   creates no scroll container. Investment pages only; the homepage is left as it is (18.9.26). */
body.invest26{overflow-x:clip}

/* 19.9.26 — the licence notice moved above the return tables. It used to sit only at the
   very bottom of the page, under 30-year performance figures, which is the wrong order:
   the reader meets the numbers first. Quiet styling on purpose, it is not a warning box. */
.iv-top-notice{margin:14px 0 0;padding:12px 14px;border-inline-start:3px solid var(--gold);
  background:var(--gold-wash,rgba(184,134,11,.07));border-radius:0 10px 10px 0;
  font-size:.82rem;line-height:1.7;color:var(--ink-2)}
.iv-top-notice a{color:inherit;text-decoration:underline}


/* ---------- 19.9.26: focus must stay visible ----------
   Ten stylesheets carried 23 `outline:none` declarations, several of them on form fields and
   sliders with no replacement, which leaves a keyboard user with no idea where they are
   (WCAG 2.4.7). This restores a ring for keyboard focus only — a mouse click still shows
   nothing, so the visual design is unchanged for anyone using a pointer. !important is here
   on purpose: the rules it overrides are more specific than any selector this file could use. */
:focus-visible{outline:3px solid #0B7D6F !important;outline-offset:2px !important;border-radius:3px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:1px !important}

/* 21.10.26 — "הטבות לפתיחת תיק" button in the hero of every investments page → /hashkaot/shutafim */
.iv-deal{display:flex;width:fit-content;max-width:100%;align-items:center;gap:10px;margin-top:14px;min-height:48px;padding:10px 20px;
  border-radius:999px;background:linear-gradient(180deg,#4BDCC6,#1BB8A2);color:#03201B;font-weight:800;font-size:.98rem;line-height:1.3;
  text-decoration:none;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 12px 24px -14px rgba(11,125,111,.7);transition:transform .2s,box-shadow .2s}
.iv-deal:hover{transform:translateY(-2px);color:#03201B;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 16px 28px -14px rgba(11,125,111,.8)}
.iv-deal:focus-visible{outline:3px solid var(--teal-dk);outline-offset:3px}
.iv-deal .ico{width:20px;height:20px;stroke-width:2}
.iv-deal-go{font-size:1.1rem;transition:transform .2s}
.iv-deal:hover .iv-deal-go{transform:translateX(-3px)}
@media (prefers-reduced-motion:reduce){.iv-deal,.iv-deal-go{transition:none}.iv-deal:hover{transform:none}}
