/* ═══════════════════════════════════════════════════════════════════════════
   research-newsletter.css — Newsletter (#/newsletter), its own look (owner,
   21 Nov 2026: "CSS alag rakh, attractive new design, graphs and charts").
   Everything is scoped to .ivn / ivn-* so nothing leaks into Deep or the site.
   Buy = green, sell = red; colour is never alone — each bar has its signed
   value and its own side of the zero line.
   ═══════════════════════════════════════════════════════════════════════════ */
html.ivn-on .hero, html.ivn-on #view, html.ivn-on #ivs, html.ivn-on #ivb { display: none !important; }
html:not(.ivn-on) #ivn { display: none !important; }
/* edge to edge (owner, 21 Nov 2026): only while the Newsletter is open, the page column loses its 1280px cap */
html.ivn-on main.wrap { max-width: none !important; padding-left: 24px !important; padding-right: 24px !important; }
@media (max-width: 640px) { html.ivn-on main.wrap { padding-left: 16px !important; padding-right: 16px !important; } }
@media (min-width: 1900px) { .ivn-amcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ivn-amc-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ivn {
  /* MF Analyser brand palette (owner, 21 Nov 2026): Dark Navy #0D1526 · Secondary Navy #1B2745 · Gold #B8871C ·
     Bright Gold #DCAB3C (highlights, buttons) · Warm Cream #EFE9DB (page) · White (cards) */
  --n-navy: #0D1526; --n-navy2: #1B2745; --n-navy-ui: #1B2745; --n-gold: #B8871C; --n-gold-l: #DCAB3C; --n-gold-soft: #FBF1D9; --n-page: #EFE9DB;
  --n-ink: #0D1526; --n-ink2: #39435A; --n-muted: #5A637A; --n-line: #DED5C2; --n-line2: #EEE7D8; --n-cream: #FAF8F3; --n-track: #F1ECE0; --n-card: #fff;
  --n-up: #1A7F4B; --n-up-soft: #E4F2EA; --n-dn: #C0392B; --n-dn-soft: #FAE6E3;
  /* market cap: brand navy + gold family, validated (CVD ΔE ≥ 25) */
  --n-large: #3B5A9A; --n-mid: #DCAB3C; --n-small: #5C8FE0; --n-foreign: #A06A10; --n-other: #A3ABB7;
  --n-shadow: 0 1px 2px rgba(13,21,38,.07), 0 6px 20px rgba(13,21,38,.09);
  --n-mono: 'DM Mono', 'SF Mono', ui-monospace, monospace;
  padding: 22px 0 64px; color: var(--n-ink); min-width: 0; max-width: 100%; font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.ivn *, .ivn *::before, .ivn *::after { box-sizing: border-box; }
.ivn .up { color: var(--n-up); } .ivn .dn { color: var(--n-dn); }

/* ── hero ── */
.ivn-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; align-items: center;
  padding: 26px 28px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--n-navy) 0%, var(--n-navy2) 100%);
  box-shadow: var(--n-shadow);
}
.ivn-hero > * { position: relative; z-index: 1; min-width: 0; }
.ivn-eb { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--n-mono); letter-spacing: .14em; color: var(--n-gold-l); text-transform: uppercase; }
.ivn-eb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--n-gold-l); box-shadow: 0 0 0 0 rgba(220,171,60,.6); animation: ivn-pulse 2.4s ease-out infinite; }
@keyframes ivn-pulse { 0% { box-shadow: 0 0 0 0 rgba(220,171,60,.5); } 70% { box-shadow: 0 0 0 9px rgba(220,171,60,0); } 100% { box-shadow: 0 0 0 0 rgba(220,171,60,0); } }
.ivn-hero h1 { margin: 12px 0 6px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; color: #fff; font-weight: 700; }
.ivn-hero p { margin: 0; color: #C3CCDD; font-size: 13.5px; line-height: 1.55; max-width: 560px; }
.ivn-hero p b { color: #fff; }
.ivn-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.ivn-kpis > div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); min-width: 0; }
.ivn-kpis > div.net { background: rgba(220,171,60,.12); border-color: rgba(220,171,60,.45); }
.ivn-kpis span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8E9AB3; font-weight: 700; }
.ivn-kpis b { display: block; margin-top: 4px; font: 700 clamp(17px, 2vw, 23px)/1.15 var(--n-mono); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivn-kpis b.up { color: #7ED3A6; } .ivn-kpis b.dn { color: #F29A8E; }
.ivn-hero-r { padding: 14px 16px 10px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ivn-tr-h { font-size: 12px; font-weight: 700; color: #E6EAF2; letter-spacing: .02em; margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ivn-tr-h small { color: #8E9AB3; font-weight: 600; }
.ivn-trend { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.ivn-trend .ax { stroke: rgba(255,255,255,.35); stroke-width: 1; }
.ivn-trend .hit { fill: transparent; }
.ivn-trend .up { fill: #7ED3A6; } .ivn-trend .dn { fill: #F29A8E; }
.ivn-trend .c { opacity: .38; transition: opacity .15s ease; }
.ivn-trend .c.on { opacity: 1; }
.ivn-trend .c:hover { opacity: 1; }
.ivn-trend .c:hover .hit { fill: rgba(255,255,255,.05); }
.ivn-trend text { font: 600 11px var(--n-mono); fill: #DDE3EE; text-anchor: middle; }
.ivn-trend text.m { font-family: inherit; fill: #8E9AB3; font-weight: 700; }
.ivn-trend .c.on text.m { fill: var(--n-gold-l); }
.ivn-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: #C3CCDD; margin-top: 4px; }
.ivn-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ivn-legend .k { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ivn-legend .k.up { background: #7ED3A6; } .ivn-legend .k.dn { background: #F29A8E; }
.ivn-lg-n { color: #8E9AB3; }

/* ── control bar ── */
.ivn-bar {
  position: sticky; top: 8px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin: 16px 0 18px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.96);
  border: 1px solid var(--n-line); box-shadow: var(--n-shadow);
}
.ivn-filt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ivn-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--n-muted); }
.ivn-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--n-cream); border: 1px solid var(--n-line); max-width: 100%; overflow-x: auto; }
.ivn-seg button { border: 0; background: transparent; color: var(--n-ink2); padding: 8px 13px; border-radius: 8px; font: 700 12.5px/1 inherit; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, transform .12s ease-out; }
.ivn-seg button:hover { background: rgba(255,255,255,.8); color: var(--n-ink); }
.ivn-seg button:active { transform: scale(.97); }
.ivn-seg button.on { background: var(--n-gold-l); color: var(--n-navy); box-shadow: inset 0 -2px 0 var(--n-gold); }
.ivn-views .ivn-seg button.on { background: var(--n-navy); color: #fff; }
.ivn-views .ivn-seg button { padding: 9px 15px; font-size: 13.5px; }
.ivn-act { border: 1px solid var(--n-line); background: #fff; color: var(--n-navy); padding: 8px 12px; border-radius: 8px; font: 700 12.5px/1 inherit; cursor: pointer; transition: background-color .15s ease, transform .12s ease-out; }
.ivn-act:hover { background: var(--n-cream); border-color: var(--n-gold); }
.ivn-act:active { transform: scale(.97); }

/* ── layout + cards ── */
.ivn-body { transition: opacity .18s ease; min-width: 0; }
.ivn-body.busy { opacity: .45; pointer-events: none; }
.ivn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.ivn-grid.ivn-g-sec { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 1080px) { .ivn-grid, .ivn-grid.ivn-g-sec { grid-template-columns: minmax(0, 1fr); } }
.ivn-card { background: var(--n-card); border: 1px solid var(--n-line); border-radius: 14px; padding: 18px 18px 14px; box-shadow: var(--n-shadow); min-width: 0; }
.ivn-card > header { margin-bottom: 14px; }
.ivn-card h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16.5px; line-height: 1.25; color: var(--n-navy); letter-spacing: -.01em; }
.ivn-card > header small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--n-muted); line-height: 1.45; }
.ivn-pip { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 10px; flex: 0 0 auto; }
.ivn-pip.up { background: var(--n-up-soft); color: var(--n-up); } .ivn-pip.dn { background: var(--n-dn-soft); color: var(--n-dn); }
.ivn-none { padding: 16px; border-radius: 14px; background: var(--n-cream); color: var(--n-muted); font-size: 13px; }

/* ── diverging rows (sectors, fund houses) ── */
.ivn-div { display: grid; gap: 2px; }
.ivn-dr { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 96px; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 10px; transition: background-color .12s ease; }
.ivn-dr:hover, .ivn-dr:focus-visible { background: var(--n-cream); outline: none; }
.ivn-dr.jump { cursor: pointer; }
.ivn-dl { font-size: 13px; font-weight: 600; color: var(--n-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivn-dt { position: relative; height: 16px; }
.ivn-zero { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: #BFB49C; }
.ivn-db { position: absolute; top: 0; height: 100%; }
.ivn-db.up { background: var(--n-up); border-radius: 0 4px 4px 0; }
.ivn-db.dn { background: var(--n-dn); border-radius: 4px 0 0 4px; }
.ivn-dv { font: 700 12.5px var(--n-mono); text-align: right; white-space: nowrap; }
.ivn-div.split10 .ivn-dr:nth-child(10) { border-bottom: 1px dashed var(--n-line); border-radius: 10px 10px 0 0; padding-bottom: 9px; margin-bottom: 4px; }

/* ── market size bars ── */
.ivn-cap-row { margin-bottom: 14px; }
.ivn-cap-lbl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); }
.ivn-cap-lbl b { font: 700 14px var(--n-mono); letter-spacing: -.01em; }
.ivn-stack { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: var(--n-cream); }
.ivn-stack i { position: relative; display: grid; place-items: center; height: 100%; border-right: 2px solid #fff; transition: filter .12s ease; }
.ivn-stack i:last-child { border-right: 0; }
.ivn-stack i:hover { filter: brightness(1.08) saturate(1.1); }
.ivn-stack i span { font: 700 11.5px var(--n-mono); color: #fff; }
.ivn-stack i.ivn-fill-mid span, .ivn-stack i.ivn-fill-small span, .ivn-stack i.ivn-fill-other span { color: var(--n-navy); }
.ivn-fill-large { background: var(--n-large); } .ivn-fill-mid { background: var(--n-mid); } .ivn-fill-small { background: var(--n-small); }
.ivn-fill-foreign { background: var(--n-foreign); } .ivn-fill-other { background: var(--n-other); }
.ivn-cap-leg { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--n-line); display: grid; gap: 7px; }
.ivn-cap-leg li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 26px; align-items: center; gap: 8px; font-size: 13px; color: var(--n-ink2); }
.ivn-cap-leg .k { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.ivn-cap-leg b { font: 700 13px var(--n-mono); text-align: right; }
.ivn-cap-leg small { color: var(--n-muted); font-size: 11px; }

/* ── stock leaderboards ── */
.ivn-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ivn-board li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 9px 8px; border-radius: 12px; cursor: default; transition: background-color .12s ease; }
.ivn-board li:hover, .ivn-board li:focus-visible { background: var(--n-cream); outline: none; }
.ivn-board li + li { border-top: 1px solid var(--n-line2); }
.ivn-rk { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--n-track); color: var(--n-muted); font: 700 12px var(--n-mono); margin-top: 1px; }
.ivn-board li:nth-child(-n+3) .ivn-rk { background: var(--n-gold-l); color: var(--n-navy); }
.ivn-bd { min-width: 0; }
.ivn-bt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ivn-nm { font-size: 14px; color: var(--n-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ivn-val { font: 700 13.5px var(--n-mono); white-space: nowrap; }
.ivn-track { height: 6px; margin: 6px 0 7px; border-radius: 4px; background: var(--n-track); overflow: hidden; }
.ivn-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.ivn-track i.up { background: var(--n-up); }
.ivn-track i.dn { background: var(--n-dn); }
.ivn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; font-size: 11.5px; color: var(--n-muted); }
.ivn-sec { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.ivn-chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 2px 7px; border-radius: 6px; background: var(--n-cream); color: var(--n-ink); font: 600 11.5px var(--n-mono); white-space: nowrap; }
.ivn-chip em { font: 700 9.5px inherit; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); font-family: system-ui, sans-serif; }
.ivn-fd { margin-left: auto; white-space: nowrap; font-weight: 600; }
.ivn-cap { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.ivn-cap-large { background: #E6EBF5; color: #2C4478; } .ivn-cap-mid { background: #FBF1D9; color: #7A5A0E; }
.ivn-cap-small { background: #E3ECFB; color: #2F5FAE; } .ivn-cap-foreign { background: #F4E8D2; color: #6E4A0B; } .ivn-cap-other { background: #EEF0F3; color: #5A6372; }
.ivn-board.compact li { padding: 7px 6px; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
.ivn-board.compact .ivn-rk { width: 22px; height: 22px; font-size: 11px; }
.ivn-board.compact .ivn-nm { font-size: 13px; }
.ivn-board.compact .ivn-fd { margin-left: 0; }

/* ── month by month ── */
.ivn-month { margin-bottom: 26px; }
.ivn-mh { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 18px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--n-line); box-shadow: var(--n-shadow); }
.ivn-mt { display: flex; align-items: center; gap: 12px; }
.ivn-mtag { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--n-navy); color: var(--n-gold-l); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.ivn-mh h2, .ivn-amch h2 { margin: 0; font-size: 19px; color: var(--n-navy); letter-spacing: -.01em; }
.ivn-mh small, .ivn-amch small { color: var(--n-muted); font-size: 12.5px; }
.ivn-mk { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.ivn-mk span { display: flex; flex-direction: column; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--n-muted); }
.ivn-mk b { font: 700 16px var(--n-mono); letter-spacing: -.01em; text-transform: none; }
.ivn-split { grid-column: 1 / -1; display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: var(--n-track); }
.ivn-split i { height: 100%; } .ivn-split i.up { background: var(--n-up); border-right: 2px solid #fff; } .ivn-split i.dn { background: var(--n-dn); }

/* ── fund houses ── */
.ivn-find input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--n-line); padding: 0 14px; font: inherit; font-size: 14.5px; color: var(--n-ink); background: var(--n-cream); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ivn-find input:focus { border-color: var(--n-gold); box-shadow: 0 0 0 4px rgba(184,135,28,.18); background: #fff; }
.ivn-amc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; max-height: 420px; overflow-y: auto; }
.ivn-amc-chips button { border: 1px solid var(--n-line); background: #fff; color: var(--n-ink2); padding: 6px 10px; border-radius: 999px; font: 600 12.5px/1 inherit; cursor: pointer; transition: background-color .12s ease, border-color .12s ease; }
.ivn-amc-chips button:hover { background: var(--n-cream); border-color: var(--n-gold); color: var(--n-navy); }
.ivn-amc-chips button[hidden] { display: none; }
.ivn-amcs { display: grid; gap: 18px; }
.ivn-amc { scroll-margin-top: 90px; background: var(--n-card); border: 1px solid var(--n-line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--n-shadow); min-width: 0; }
.ivn-amc[hidden] { display: none; }
.ivn-amch { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.ivn-amcn { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ivn-mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto; background: var(--n-navy); color: var(--n-gold-l); font: 800 15px/1 inherit; letter-spacing: .03em; }
.ivn-amc-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
@media (min-width: 1400px) { .ivn-amc-g { grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); } }
@media (max-width: 760px) { .ivn-amc-g { grid-template-columns: minmax(0, 1fr); } }
.ivn-amc h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--n-navy); }
.ivn-msec { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ivn-msec li { padding: 8px 10px; border-radius: 12px; background: var(--n-cream); }
.ivn-msec .ivn-bt b { font-size: 13px; color: var(--n-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── tabs v3: summary, tables, market cap, risk, AUM ── */
.ivn-grid.ivn-g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1250px) { .ivn-grid.ivn-g-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ivn-grid.ivn-g-3 > :last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ivn-grid.ivn-g-3 { grid-template-columns: minmax(0, 1fr); } }
.ivn-card.ivn-wide { margin-bottom: 18px; }
.ivn-views .ivn-seg { flex-wrap: nowrap; }
.ivn-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--n-line); background: var(--n-cream); color: var(--n-navy); font: 700 12.5px/1 inherit; cursor: pointer; transition: background-color .12s ease, transform .12s ease-out; }
.ivn-more:hover { border-color: var(--n-gold-l); background: var(--n-gold-soft); } .ivn-more:active { transform: scale(.97); }
.ivn-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--n-muted); }
.ivn-pct { font-style: normal; font: 600 11.5px var(--n-mono); color: var(--n-muted); margin-left: 4px; }
.ivn-div.sm .ivn-dr { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 84px; padding: 4px 6px; }
.ivn-div.pct .ivn-dr { grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 70px; }
.ivn-cap-row.sm { margin-bottom: 10px; } .ivn-cap-row.sm .ivn-stack { height: 24px; }

.ivn-tw { overflow-x: auto; border: 1px solid var(--n-line); border-radius: 12px; }
.ivn-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.ivn-t th { position: sticky; top: 0; background: var(--n-cream); color: var(--n-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--n-line); }
.ivn-t th .k { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ivn-t td { padding: 9px 12px; border-top: 1px solid var(--n-line2); vertical-align: middle; }
.ivn-t tbody tr:hover td { background: var(--n-cream); }
.ivn-t .n { text-align: right; font-family: var(--n-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ivn-t td small { display: block; color: var(--n-muted); font-size: 11px; font-family: system-ui, sans-serif; }
.ivn-t td.n small { display: inline; }
.ivn-mini-stack { display: flex; width: 150px; height: 10px; margin-left: auto; border-radius: 5px; overflow: hidden; background: var(--n-cream); }
.ivn-mini-stack i { height: 100%; border-right: 1px solid #fff; }
.ivn-aumbar { width: 22%; min-width: 90px; }
.ivn-aumbar i { display: block; height: 8px; border-radius: 0 4px 4px 0; background: var(--n-navy-ui); }
.ivn-kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ivn-kpi-row > div { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--n-line); box-shadow: var(--n-shadow); min-width: 0; }
.ivn-kpi-row span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--n-muted); }
.ivn-kpi-row b { display: block; margin-top: 4px; font: 700 clamp(18px, 2.2vw, 24px)/1.15 var(--n-mono); color: var(--n-navy); }
.ivn-kpi-row b.up { color: var(--n-up); } .ivn-kpi-row b.dn { color: var(--n-dn); }
.ivn-kpi-row small { color: var(--n-muted); font-size: 12px; }
@media (max-width: 640px) { .ivn-kpi-row { grid-template-columns: minmax(0, 1fr); } }

/* market-cap risk: four bands, a neutral-to-warm scale (not the buy/sell colours) */
.ivn-risk { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 700 11.5px/1.2 system-ui, sans-serif; white-space: nowrap; }
.ivn-risk i { width: 8px; height: 8px; border-radius: 50%; }
.ivn-risk.r1 { background: #E3ECFB; color: #2F5FAE; } .ivn-risk.r1 i, .ivn-meter-bar .r1 { background: #5C8FE0; }
.ivn-risk.r2 { background: #FBF1D9; color: #7A5A0E; } .ivn-risk.r2 i, .ivn-meter-bar .r2 { background: #DCAB3C; }
.ivn-risk.r3 { background: #F4E8D2; color: #6E4A0B; } .ivn-risk.r3 i, .ivn-meter-bar .r3 { background: #B8871C; }
.ivn-risk.r4 { background: #FAE6E3; color: #9A2C20; } .ivn-risk.r4 i, .ivn-meter-bar .r4 { background: #C0392B; }
.ivn-risk-all { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--n-ink2); }
.ivn-meter { margin: 12px 0 14px; }
.ivn-meter-bar { position: relative; display: grid; grid-template-columns: 25fr 20fr 20fr 35fr; gap: 2px; height: 12px; }
.ivn-meter-bar i:first-child { border-radius: 6px 0 0 6px; } .ivn-meter-bar i:nth-child(4) { border-radius: 0 6px 6px 0; }
.ivn-meter-bar b { position: absolute; top: -5px; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--n-navy); box-shadow: 0 0 0 2px #fff; }
.ivn-meter-l { display: grid; grid-template-columns: 25fr 20fr 20fr 35fr; margin-top: 6px; font-size: 10.5px; color: var(--n-muted); font-weight: 700; }
.ivn-risk-n { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--n-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ivn-risk-n li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--n-muted); }
.ivn-risk-n b { font: 700 15px var(--n-mono); color: var(--n-ink); }
.ivn-amc-risk { margin-top: 5px; }
.ivn-amc-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; background: var(--n-cream); }
.ivn-amc-caps .ivn-cap-leg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .ivn-amc-caps { grid-template-columns: minmax(0, 1fr); } }

.ivn-est { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--n-gold-soft); color: #7A5A0E; font: 700 10px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; vertical-align: 1px; }

/* ── New & Exits (21 Nov 2026) ── */
.ivn-mv-ctl .ivn-seg { flex-wrap: nowrap; }
.ivn-kpi-row.ivn-kpi-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .ivn-kpi-row.ivn-kpi-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ivn-mbars { display: flex; align-items: flex-end; gap: 14px; height: 230px; padding: 8px 4px 0; }
.ivn-mbar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.ivn-mbar i { display: block; width: 100%; max-width: 64px; border-radius: 6px 6px 0 0; }
.ivn-mbar i.up { background: var(--n-up); } .ivn-mbar i.dn { background: var(--n-dn); }
.ivn-mbar b { font: 700 13px var(--n-mono); color: var(--n-ink); }
.ivn-mbar span { font-size: 12px; font-weight: 700; color: var(--n-muted); }
.ivn-mbar:hover i { filter: brightness(1.1); }
.ivn-mvq { width: 100%; max-width: 360px; height: 40px; margin: 0 0 12px; border-radius: 10px; border: 1px solid var(--n-line); padding: 0 12px; font: inherit; font-size: 14px; color: var(--n-ink); background: var(--n-cream); outline: none; }
.ivn-mvq:focus { border-color: var(--n-gold); background: #fff; }
.ivn-mv-amcs { display: grid; gap: 6px; }
.ivn-mv-amc { border: 1px solid var(--n-line2); border-radius: 12px; background: #fff; overflow: hidden; }
.ivn-mv-amc[hidden] { display: none; }
.ivn-mv-amc.open { border-color: var(--n-line); box-shadow: var(--n-shadow); }
.ivn-mv-head { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 360px) minmax(0, 1fr) 110px 18px; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--n-ink); }
.ivn-mv-head:hover { background: var(--n-cream); }
.ivn-mv-head .ivn-mono { width: 36px; height: 36px; border-radius: 10px; font-size: 12.5px; }
.ivn-mv-name b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivn-mv-name small { display: block; font-size: 11.5px; color: var(--n-muted); }
.ivn-mv-bar { height: 8px; border-radius: 4px; background: var(--n-track); overflow: hidden; }
.ivn-mv-bar i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.ivn-mv-bar i.up { background: var(--n-up); } .ivn-mv-bar i.dn { background: var(--n-dn); }
.ivn-mv-val { font: 700 13.5px var(--n-mono); text-align: right; white-space: nowrap; }
.ivn-mv-chev { color: var(--n-muted); transition: transform .15s ease; }
.ivn-mv-amc.open .ivn-mv-chev { transform: rotate(180deg); }
.ivn-mv-body { padding: 0 12px 12px; }
.ivn-mv-t td { vertical-align: top; }
.ivn-mv-stock td { background: var(--n-cream); border-top: 1px solid var(--n-line); }
.ivn-mv-stock td small { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ivn-mv-fund td { font-size: 12.5px; padding-top: 6px; padding-bottom: 6px; }
.ivn-mv-fund td:nth-child(2) { padding-left: 22px; }
.ivn-mv-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; }
.ivn-mv-dot.up { background: var(--n-up); } .ivn-mv-dot.dn { background: var(--n-dn); }
@media (max-width: 760px) { .ivn-mv-head { grid-template-columns: 36px minmax(0, 1fr) 96px 16px; } .ivn-mv-bar { display: none; } }

.ivn-mv-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; font-size: 11px; }
.ivn-mv-when em { font-style: normal; font-weight: 700; color: var(--n-muted); margin-right: 2px; }
.ivn-mv-when span { padding: 1px 7px; border-radius: 6px; background: var(--n-gold-soft); color: #7A5A0E; font-weight: 700; white-space: nowrap; }
.ivn-mv-when span b { font-family: var(--n-mono); color: var(--n-navy); }

.ivn-board li.ivn-mv-st { cursor: pointer; }
.ivn-board li.ivn-mv-st.open { background: var(--n-cream); }
.ivn-mv-stbody { margin-top: 10px; cursor: default; }

.ivn-board li.ivn-nlst { cursor: pointer; }
.ivn-board li.ivn-nlst.open { background: var(--n-cream); }
.ivn-board li.ivn-nlst .ivn-nl-body { margin-top: 10px; cursor: default; }
.ivn-act-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ivn-act-pill.up { background: var(--n-up-soft); color: var(--n-up); } .ivn-act-pill.dn { background: var(--n-dn-soft); color: var(--n-dn); }

.ivn-nl-t { font-size: 12px; }
.ivn-nl-t th, .ivn-nl-t td { padding: 6px 8px; }
.ivn-nl-t th { white-space: nowrap; }
.ivn-nl-t .ivn-mv-fund td:first-child { padding-left: 14px; max-width: 220px; }
.ivn-nl-t .ivn-nl-fund { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--n-ink); }
.ivn-nl-t td small { display: block; font-size: 10.5px; color: var(--n-muted); }
.ivn-nl-t .n { font-size: 11.5px; }

/* ── tooltip, states, footer ── */
/* the tooltip lives on <body>, outside .ivn, so it cannot use the --n-* variables: colours are written out,
   and !important because the site theme repaints plain divs (21 Nov 2026: it showed transparent on the live page) */
.ivn-tip { position: fixed; z-index: 9999; pointer-events: none; max-width: 280px; padding: 9px 12px; border-radius: 10px;
  background: #1B2745 !important; color: #DDE3EE !important; border: 1px solid rgba(220,171,60,.45) !important;
  font: 500 12.5px/1.5 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 12px 30px rgba(13,21,38,.35) !important; opacity: 1 !important; }
.ivn-tip b { display: block; color: #DCAB3C !important; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.ivn-tip span { display: block; color: #DDE3EE !important; font-family: 'DM Mono', 'SF Mono', ui-monospace, monospace; font-size: 12px; }
.ivn-tip[hidden] { display: none; }
.ivn-load, .ivn-err { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--n-line); color: var(--n-ink2); display: flex; align-items: center; gap: 12px; }
.ivn-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--n-line); border-top-color: var(--n-navy); animation: ivn-spin .8s linear infinite; }
@keyframes ivn-spin { to { transform: rotate(360deg); } }
.ivn-foot { margin: 8px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--n-cream); border: 1px solid var(--n-line); font-size: 12px; line-height: 1.65; color: var(--n-muted); }
.ivn-foot b { color: var(--n-ink2); }

/* ── small screens ── */
@media (max-width: 1100px) { .ivn-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .ivn-hero { padding: 22px 18px; border-radius: 22px; }
  .ivn-bar { position: static; }
  .ivn-dr { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 84px; gap: 8px; padding: 5px 4px; }
  .ivn-mh, .ivn-amch { grid-template-columns: minmax(0, 1fr); }
  .ivn-mk { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .ivn-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ivn-kpis > div.net { grid-column: 1 / -1; }
  .ivn-card { padding: 14px 12px 10px; border-radius: 18px; }
  .ivn-dl { font-size: 12px; }
  .ivn-fd { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .ivn-eb-dot, .ivn-spin { animation: none; } .ivn * { transition: none !important; } }

/* ── print: the Newsletter is not printable (owner, 21 Nov 2026: no CSV, print or copy) ── */
@media print { #ivn { display: none !important; } }
