/* Safe-area (PWA / notch / Dynamic Island). black-translucent ritar under statusfältet. */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

/* Tickerpicker v2, inloggat läge (Magnus design, Claude Design 2026-11-13). Laddas av index.html.
   Gäller bara när html.tp2 är satt (standard sedan F8; inte med nödbromsen ?v2=0; kräver data.v2 i blobben).
   html.tp2-light = Tickers- eller Statistik-vyn är aktiv (layout: sticky header). Färger följer globala --rd-*.
   Tokens: alias mot Research/Underlag D2 på :root (prefers-color-scheme). Typsnitt: självhostad Hanken Grotesk (/fonts). */
html.tp2 {
  --tp-ground:var(--rd-ground); --tp-row-odd:var(--rd-surface); --tp-row-even:var(--rd-row2);
  --tp-grid:var(--rd-line); --tp-line:var(--rd-line);
  --tp-ink:var(--rd-ink); --tp-muted:var(--rd-muted); --tp-soft:var(--rd-soft);
  --tp-inst:var(--rd-inst); --tp-inst-ink:var(--rd-inst-ink); --tp-inst-muted:var(--rd-inst-muted);
  --tp-inst-line:var(--rd-inst-line);
  --tp-buy:#2f7d55; --tp-hold:#4a6584; --tp-sell:#b5392f; --tp-wait:var(--rd-hair); --tp-g6:var(--rd-hair);
  --tp-band:var(--rd-y); --tp-band-edge:#7a5c00; --tp-accent:var(--rd-o); --tp-gold:#7a5c00;
  --tp-lamp-green:#4caf7a; --tp-lamp-yellow:#d9b347; --tp-lamp-red:#e5534b;
  --t2-hh:0px;
  --t2-sticky:0px;
}
html.tp2-light, html.tp2-light body { background:var(--tp-ground); color:var(--tp-ink); }
html.tp2-light body { font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif; font-variant-numeric:tabular-nums; }
/* Sticky header (+ listchips på mobil): mål landar under listen, inte under den. Inte overflow:hidden.
   Bara scroll-padding-top på dokumentet (inte även scroll-margin — de skulle adderas). */
/* --t2-sticky mäts från headerns höjd, som inkluderar --sat via padding-top. */
html.tp2-light { scroll-padding-top: var(--t2-sticky, var(--t2-hh)); }
html.tp2-light .t2-dr, html.tp2-light .t2-fr { position:relative; z-index:0; }
html.tp2-light main, html.tp2-light main.wide { max-width:1280px; padding:0 max(4%, var(--sar, 0px)) var(--sab, 0px) max(4%, var(--sal, 0px)); }
@media (max-width:720px){ html.tp2-light main, html.tp2-light main.wide { padding:0 max(12px, var(--sar, 0px)) var(--sab, 0px) max(12px, var(--sal, 0px)); } }

/* ---------- header (spec 01; loggans plats och knappformen som rev 3b) ---------- */
html.tp2 .tp-head { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"brand tools"; column-gap:20px; }
html.tp2 .tp-tools { justify-content:flex-start; min-width:0; }
html.tp2 .tp-ctrl { width:100%; justify-content:flex-start; gap:12px; }
html.tp2 .t2-lage { margin-left:auto; position:relative; }
html.tp2-light .tp-head { position:sticky; top:0; z-index:30; background:var(--tp-ground); padding:calc(20px + var(--sat, 0px)) 0 16px; margin:0; border-bottom:1px solid var(--rd-line); }
html.tp2-light .tp-head h1 { font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif; font-weight:500; font-size:15px; letter-spacing:.28em; color:var(--tp-ink); }
html.tp2-light .tp-head h1:focus-visible { outline:2px solid var(--tp-ink); outline-offset:4px; }
html.tp2-light .tp-seg { border:1px solid var(--tp-line); border-radius:999px; height:36px; }
html.tp2-light .tp-seg-btn { color:var(--tp-ink); font:inherit; font-size:14px; padding:0 1.1rem; height:100%; min-height:32px; background:transparent; }
html.tp2-light .tp-seg-btn + .tp-seg-btn { border-left:1px solid var(--tp-line); }
html.tp2-light .tp-seg-btn[aria-pressed="true"] { background:var(--tp-inst); color:var(--tp-inst-ink); }
html.tp2-light .tp-seg-btn:hover { background:var(--tp-row-even); } html.tp2-light .tp-seg-btn[aria-pressed="true"]:hover { background:var(--tp-inst); }
html.tp2-light .tp-logout { color:var(--tp-ink); background:transparent; border:1px solid var(--tp-ink); border-radius:999px; font:inherit; font-size:14px; padding:0 1.1rem; height:36px; min-height:32px; white-space:nowrap; }
html.tp2-light .tp-logout:hover { background:var(--tp-row-even); }
html.tp2-light .tp-seg-btn:focus-visible, html.tp2-light .tp-logout:focus-visible { outline:2px solid var(--tp-ink); outline-offset:3px; }
html.tp2-light .tp-status { color:var(--tp-muted); }

/* Läge-chip + popover */
.t2-lb { height:36px; display:inline-flex; align-items:center; gap:10px; padding:0 10px 0 14px; border-radius:999px; border:0; background:var(--tp-inst); color:var(--tp-inst-ink); cursor:pointer; font:inherit; font-size:13px; white-space:nowrap; }
.t2-lb:focus-visible { outline:2px solid var(--tp-ink); outline-offset:3px; }
html.tp2:not(.tp2-light) .t2-lb:focus-visible { outline-color:var(--rd-inst-ink); }
.t2-dots { display:inline-flex; gap:4px; }
.t2-dots i, .t2-lr > i { display:block; width:16px; height:16px; border-radius:50%; background:var(--rd-muted); }
.t2-lr > i { width:10px; height:10px; }
.l-green { background:var(--tp-lamp-green)!important; } .l-yellow { background:var(--tp-lamp-yellow)!important; } .l-red { background:var(--tp-lamp-red)!important; }
.t2-ls.l-green, .t2-ls.l-yellow, .t2-ls.l-red, .t2-ls.l-na { background:none!important; }
.t2-ls.l-green { color:var(--tp-lamp-green); } .t2-ls.l-yellow { color:var(--tp-lamp-yellow); } .t2-ls.l-red { color:#ff8077; } .t2-ls.l-na { color:var(--tp-inst-muted); }
.t2-lp { position:absolute; right:0; top:calc(100% + 8px); width:380px; max-width:calc(100vw - 24px); z-index:60; background:var(--tp-inst); color:var(--tp-inst-ink);
  border-radius:16px; padding:14px 16px 12px; box-shadow:0 16px 40px -12px rgba(10,10,10,.45); font-size:13px; line-height:1.4; text-align:left; }
.t2-lp[hidden] { display:none; }
.t2-lph { display:flex; justify-content:space-between; align-items:center; padding-bottom:6px; font-weight:500; font-size:15px; }
.t2-lpd { font-size:12px; font-weight:400; color:var(--tp-inst-muted); }
.t2-lr { display:grid; grid-template-columns:12px 84px minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--tp-inst-line); }
.t2-ln { font-weight:500; overflow-wrap:break-word; } .t2-lm { color:var(--rd-inst-soft); min-width:0; }
.t2-lpn { margin:0; padding-top:8px; border-top:1px solid var(--tp-inst-line); font-size:12px; color:var(--tp-inst-muted); }

/* mobilmeny */
.t2-menu { position:relative; display:none; }
.t2-mb { width:44px; height:44px; border:0; background:transparent; display:flex; align-items:center; justify-content:center; cursor:pointer; color:inherit; border-radius:999px; }
.t2-mb svg { width:20px; height:14px; stroke:currentColor; fill:none; stroke-width:1.5; }
.t2-mb:focus-visible { outline:2px solid currentColor; outline-offset:1px; }
.t2-mp { position:absolute; right:0; top:calc(100% + 6px); z-index:60; background:var(--tp-inst); color:var(--tp-inst-ink); border-radius:16px; padding:6px; min-width:200px; max-height:calc(100dvh - var(--t2-hh, 52px) - var(--sab, 0px) - 8px); overflow:auto; box-shadow:0 16px 40px -12px rgba(10,10,10,.45); display:flex; flex-direction:column; }
.t2-mp[hidden] { display:none; }
.t2-mi { min-height:44px; text-align:left; border:0; background:transparent; color:inherit; font:inherit; font-size:15px; padding:0 14px; border-radius:10px; cursor:pointer; }
.t2-mi[aria-current="page"] { background:var(--rd-inst-line); }
.t2-mi:hover { background:var(--rd-inst-line); } .t2-mi:focus-visible { outline:2px solid var(--rd-inst-ink); outline-offset:-2px; }
@media (max-width:720px){
  html.tp2 .tp-head { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"brand tools"; column-gap:8px; }
  html.tp2-light .tp-head h1 { font-size:13px; letter-spacing:.14em; }
  html.tp2 .tp-ctrl { gap:4px; }
  html.tp2 .tp-ctrl .tp-seg, html.tp2 .tp-ctrl .tp-logout { display:none; }
  html.tp2 .t2-menu { display:block; }
  .t2-dots { gap:3px; } .t2-dots i { width:13px; height:13px; }
  .t2-lb { gap:8px; padding:0 10px 0 12px; }
  .t2-lp { position:fixed; top:calc(var(--t2-hh, 52px) + 4px); left:max(12px, var(--sal, 0px)); right:max(12px, var(--sar, 0px)); width:auto; max-width:none; max-height:calc(100dvh - var(--t2-hh, 52px) - 8px - var(--sab, 0px)); overflow:auto; }
  .t2-lr { grid-template-columns:10px 72px minmax(0,1fr) auto; gap:8px; }
}

/* ---------- Tickers v2 ---------- */
.t2 { font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif; font-size:15px; line-height:1.45; color:var(--tp-ink); display:flex; flex-direction:column; gap:14px; padding-top:16px; }
.t2 *, .t2 *::before, .t2 *::after, .t2-foot * { box-sizing:border-box; }
.t2 button { font:inherit; color:inherit; }
.t2-defs { position:absolute; width:0; height:0; overflow:hidden; }
.t2-sr, .t2 .t2-sr { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; margin:0; padding:0; }
.t2-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px; }
.t2-chips { display:flex; flex-wrap:wrap; gap:6px; }
.t2-chip { min-height:40px; padding:0 16px; display:inline-flex; align-items:center; gap:8px; border-radius:999px; cursor:pointer; font-size:15px; background:transparent; color:var(--tp-ink); border:1px solid var(--tp-line); }
.t2-chip .t2-cm::before { content:"+"; font-size:12px; }
.t2-chip[aria-pressed="true"] { background:var(--tp-inst); color:var(--tp-inst-ink); border-color:var(--tp-inst); }
.t2-chip[aria-pressed="true"] .t2-cm::before { content:"✓"; }
.t2-chip:focus-visible, .t2-x:focus-visible, .t2-fb:focus-visible, .t2-hb:focus-visible, .t2-sp:focus-visible, .t2-old:focus-visible, .t2-leg summary:focus-visible, .t2-close:focus-visible, .t2-f13o:focus-visible
  { outline:2px solid var(--tp-ink); outline-offset:2px; }
.t2-kpis { display:flex; flex-wrap:wrap; gap:4px 20px; font-size:13px; color:var(--tp-soft); }
.t2-kpis[hidden], .t2-list[hidden] { display:none; }
.t2-kl { color:var(--tp-muted); }
.t2-note { margin:0; font-size:13px; color:var(--tp-soft); }
.t2-empty-l { background:var(--tp-row-odd); border-radius:16px; padding:20px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; font-size:15px; }
.t2-empty-l p { margin:0; }
.t2-old { min-height:44px; padding:0 18px; border-radius:999px; border:1px solid currentColor; background:transparent; cursor:pointer; font-size:14px; }

/* tabell */
.t2-wrap { position:relative; max-width:100%; overflow-x:auto; border-radius:18px; }
.t2-t { display:grid; gap:1px; background:var(--tp-grid); border:1px solid var(--tp-grid); border-radius:18px; overflow:hidden; min-width:0; }
.t2-t > [role="rowgroup"] { display:grid; gap:1px; min-width:0; }
.t2-r { display:grid; grid-template-columns:minmax(0,1fr) 100px 140px 88px 116px 124px 64px; gap:1px; min-height:72px; --rb:var(--tp-row-odd); }
.t2-r.e { --rb:var(--tp-row-even); }
.t2-hd { min-height:36px; --rb:var(--tp-row-odd); }
.t2-c { min-width:0; background:var(--rb); }
.t2-h { position:relative; font-size:12px; color:var(--tp-muted); }
.t2-hw { display:block; height:100%; position:relative; }
.t2-hb { width:100%; height:100%; min-height:36px; border:0; background:transparent; padding:12px 10px; font-size:12px; color:var(--tp-muted)!important; cursor:help; display:flex; align-items:center; gap:4px; text-align:left; }
.t2-h.t2-nm .t2-hb { padding:12px 16px; } .t2-h.t2-w .t2-hb { justify-content:flex-end; padding:12px; }
.t2-h.t2-tr .t2-hb, .t2-h.t2-km .t2-hb { justify-content:center; }
.t2-hlm { display:none; }
.t2-i { flex:none; width:12px; height:12px; fill:none; stroke:var(--tp-muted); stroke-width:1.4; stroke-linecap:round; }
.t2-tip { position:absolute; top:calc(100% + 4px); left:0; width:280px; z-index:40; background:var(--tp-inst); color:var(--tp-inst-ink); border-radius:10px; padding:10px 12px; font-size:12px; line-height:1.45; text-align:left; box-shadow:0 12px 28px -10px rgba(10,10,10,.45); white-space:normal; }
.t2-tip[hidden] { display:none; }
.t2-hr .t2-tip { left:auto; right:0; }
.t2-tipm { display:none; }
.t2-gh { display:block; }
.t2-ghc { background:var(--tp-ground); padding:14px 16px 10px; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.t2-gn { font-weight:500; font-size:15px; } .t2-gm { font-size:13px; color:var(--tp-muted); }

.t2-nm { padding:12px 16px; display:flex; flex-direction:column; justify-content:center; gap:2px; }
.t2-tk { font-size:17px; font-weight:500; overflow-wrap:break-word; }
.t2-star { color:var(--tp-gold); margin-left:4px; }
.t2-sub { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.t2-co { font-size:13px; color:var(--tp-muted); min-width:0; }
.t2-wtag { display:none; }
.t2-rp { flex:none; font-size:12px; color:var(--tp-muted); white-space:nowrap; }
.t2-rp.t2-soon { background:var(--tp-band); color:#0a0a0a; padding:1px 7px; }
.t2-rps { display:none; }
.t2-w { padding:12px; display:flex; align-items:center; justify-content:flex-end; font-weight:300; font-size:20px; white-space:nowrap; }
.g1 { background:var(--rd-t1-bg)!important; color:var(--rd-t1-fg)!important; } .g2 { background:var(--rd-t2-bg)!important; color:var(--rd-t2-fg)!important; }
.g3 { background:var(--rd-t3-bg)!important; color:var(--rd-t3-fg)!important; } .g4 { background:var(--rd-t4-bg)!important; color:var(--rd-t4-fg)!important; }
.g5 { background:var(--rd-t5-bg)!important; color:var(--rd-t5-fg)!important; } .g6 { background:var(--rd-hair)!important; color:var(--rd-ink)!important; }
.g7 { background:var(--rb,var(--rd-surface))!important; color:var(--rd-ink)!important; }
.t2-w.g7 { color:var(--tp-muted)!important; }
.t2-tr { display:grid; grid-template-rows:minmax(0,1fr) 20px; }
.t2-tr.t2-empty { grid-template-rows:1fr; }
.t2-trt { display:flex; align-items:center; justify-content:center; gap:14px; padding:0 12px; }
.t2-ar { flex:none; width:24px; height:24px; fill:var(--rd-ink); }
.t2-rup { transform:rotate(0deg); } .t2-rfl { transform:rotate(90deg); } .t2-rdn { transform:rotate(180deg); }
.t2-vs { font-size:20px; font-weight:300; white-space:nowrap; }
.t2-wk { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.t2-wk i { display:block; }
.w-green { background:var(--tp-buy); } .w-red { background:var(--tp-sell); }
/* gul vecka: designens #d9b347 + mörk kant (#7a5c00) så att fältet når 3:1 mot raden (WCAG 1.4.11) */
.w-orange { background:var(--tp-band); box-shadow:inset 0 0 0 2px var(--tp-band-edge); }
.t2-km { padding:12px; display:flex; align-items:center; justify-content:center; font-weight:300; font-size:26px; line-height:1; }
.t2-km.g7 { color:var(--tp-muted)!important; }
.t2-f13 { display:flex; }
.t2-fb { flex:1 1 auto; border:0; background:transparent; cursor:pointer; padding:10px; display:flex; align-items:center; justify-content:flex-start; }
.t2-fg { display:grid; grid-template-columns:10px 14px auto; gap:3px 5px; align-items:center; font-size:12px; text-align:left; }
.f-l { color:var(--tp-muted); }
.f-i { display:flex; align-items:center; justify-content:center; width:14px; height:14px; font-size:9px; color:var(--tp-muted); }
.f-i svg { width:100%; height:100%; display:block; }
/* 13F nedtonat (beslut 5): kontur i stället för fyllda signalrutor */
.f-up { box-shadow:inset 0 0 0 1.5px var(--tp-buy); } .f-up svg { fill:var(--tp-buy); transform:scale(.8); }
.f-dn { box-shadow:inset 0 0 0 1.5px var(--tp-sell); } .f-dn svg { fill:var(--tp-sell); transform:scale(.8); }
.f-flat svg { fill:var(--tp-muted); }
.f-p { white-space:nowrap; color:var(--tp-soft); }
.t2-fna { margin:auto; font-size:12px; color:var(--tp-muted); }
.t2-rk { padding:10px; display:flex; flex-direction:column; justify-content:center; gap:2px; }
.t2-rw { font-size:17px; font-weight:500; } .t2-rs { font-size:12px; line-height:1.3; }
.rk-kop, .rk-oka { background:var(--tp-buy)!important; color:#fff; }
.rk-behall { background:var(--tp-hold)!important; color:#fff; }
.rk-minska, .rk-salj { background:var(--tp-sell)!important; color:#fff; }
.rk-vanta { background:var(--tp-wait)!important; color:var(--rd-ink); }
.rk-ref, .rk-na { color:var(--tp-muted); }
.t2-bt { display:flex; }
.t2-x { flex:1 1 auto; border:0; background:transparent; cursor:pointer; display:flex; align-items:center; justify-content:center; min-height:44px; }
.t2-x svg { width:16px; height:16px; fill:none; stroke:var(--rd-ink); stroke-width:1.6; transition:transform .15s; }
.t2-x[aria-expanded="true"] svg { transform:rotate(90deg); }
@media (prefers-reduced-motion:reduce){ .t2-x svg { transition:none; } }

/* utfälld rad */
.t2-dr, .t2-fr { display:block; }
.t2-dr[hidden], .t2-fr[hidden] { display:none; }
.t2-dc { background:var(--tp-row-odd); padding:26px 28px 28px; display:flex; flex-wrap:wrap; gap:28px 40px; }
.t2-dl { flex:999 1 520px; min-width:0; display:flex; flex-direction:column; gap:12px; }
.t2-drt { flex:1 1 320px; min-width:0; display:flex; flex-direction:column; gap:18px; }
.t2-dtop { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; }
.t2-px { display:flex; flex-direction:column; } .t2-pxl { font-size:12px; color:var(--tp-muted); }
.t2-pxv { font-weight:300; font-size:30px; line-height:1.1; } .t2-chg { font-size:15px; margin-left:6px; }
.t2-chg.pos { color:var(--tp-buy); } .t2-chg.neg { color:var(--tp-sell); }
.t2-spans { display:flex; gap:6px; }
.t2-sp { min-height:44px; min-width:64px; border-radius:999px; cursor:pointer; font-size:14px; background:transparent; color:var(--tp-ink); border:1px solid var(--tp-line); }
.t2-sp[aria-pressed="true"] { background:var(--tp-inst); color:var(--tp-inst-ink); border-color:var(--tp-inst); }
.t2-sp:disabled { opacity:.45; cursor:not-allowed; }
.t2-chart { background:var(--tp-ground); border-radius:16px; padding:14px 12px 8px; }
.t2-chart svg { display:block; width:100%; height:auto; }
.t2-chart .gl { stroke:var(--rd-hair); stroke-width:1; } .t2-chart .gt { font-size:11px; fill:var(--tp-muted); font-family:inherit; }
.t2-chart .pr { fill:none; stroke:var(--rd-ink); stroke-width:2; } .t2-chart .sm { fill:none; stroke:var(--rd-inst-tick); stroke-width:1.5; stroke-dasharray:5 4; }
.t2-chart .en { stroke:var(--tp-accent); stroke-width:2; } .t2-chart .et { font-size:11px; fill:#9c3a12; }
.t2-cleg { display:flex; flex-wrap:wrap; gap:6px 22px; font-size:13px; color:var(--tp-soft); }
.t2-cleg span { display:inline-flex; align-items:center; gap:8px; }
.t2-cleg .k1 { width:22px; height:2px; background:var(--rd-ink); } .t2-cleg .k2 { width:22px; border-top:2px dashed var(--rd-inst-tick); } .t2-cleg .k3 { width:2px; height:14px; background:var(--tp-accent); }
.t2-nod { font-size:14px; color:var(--tp-muted); margin:0; }
.t2-why { margin:0; font-size:16px; line-height:1.5; }
.t2-facts { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--rd-hair); border-radius:14px; overflow:hidden; }
.t2-facts > div { background:var(--tp-row-odd); padding:12px 14px; display:flex; flex-direction:column; gap:2px; min-width:0; }
.t2-facts dt { font-size:12px; color:var(--tp-muted); } .t2-facts dd { margin:0; font-size:15px; overflow-wrap:break-word; }
.t2-f13o { align-self:flex-start; min-height:44px; padding:0 18px; border-radius:999px; border:1px solid var(--tp-ink); background:transparent; cursor:pointer; font-size:14px; }
.t2-fc { background:var(--tp-ground); padding:12px 64px 14px 16px; display:flex; justify-content:flex-end; }
.t2-fcard { width:100%; max-width:440px; background:var(--rd-surface); border-radius:16px; padding:16px 18px; display:flex; flex-direction:column; gap:4px; font-size:14px; }
.t2-fct { display:flex; justify-content:space-between; align-items:center; padding-bottom:6px; font-weight:500; font-size:16px; }
.t2-close { width:44px; height:44px; border:1px solid var(--tp-line); border-radius:999px; background:transparent; cursor:pointer; font-size:18px; line-height:1; }
.t2-fq { display:flex; gap:10px; padding:10px 0; border-top:1px solid var(--rd-hair); }
.t2-fq .d { flex:0 0 22px; font-weight:500; color:var(--tp-muted); }
.t2-fq .b { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
.t2-fq .h { display:flex; justify-content:space-between; gap:10px; font-weight:500; }
.t2-fq .l1 { font-size:13px; color:var(--tp-soft); } .t2-fq .l2 { font-size:12px; color:var(--tp-muted); }
.t2-fq.up .c { color:var(--tp-buy); } .t2-fq.dn .c { color:var(--tp-sell); } .t2-fq.na .c, .t2-fq.none .c, .t2-fq.flat .c { color:var(--tp-muted); }
.t2-fn { margin:0; padding-top:10px; border-top:1px solid var(--rd-hair); font-size:12px; color:var(--tp-muted); }

/* teckenförklaring och sidfot */
.t2-leg { font-size:12px; color:var(--tp-soft); }
.t2-leg summary { cursor:pointer; min-height:44px; display:inline-flex; align-items:center; font-size:13px; color:var(--tp-ink); }
.t2-legb { display:flex; flex-wrap:wrap; gap:8px 28px; padding:4px 0 8px; }
.t2-legb > div { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.t2-ll { color:var(--tp-muted); }
.t2-scale { display:flex; } .t2-scale i { display:block; min-width:26px; height:16px; font-style:normal; text-align:center; font-size:11px; line-height:16px; }
.t2-scale i.g7 { box-shadow:inset 0 0 0 1px var(--tp-line); }
.t2-lk { padding:2px 9px; }
.t2-wkl { display:inline-grid; grid-template-columns:20px 20px 20px; gap:2px; height:14px; }
.t2-foot { margin-top:72px; background:var(--tp-inst); color:var(--rd-inst-soft); font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif; border-radius:0; }
.t2-fi { max-width:1280px; margin:0 auto; padding:40px 4% calc(48px + var(--sab, 0px)); display:flex; flex-wrap:wrap; gap:32px 56px; }
.t2-fcol { flex:1 1 280px; min-width:0; display:flex; flex-direction:column; gap:10px; font-size:13px; line-height:1.6; }
.t2-fcol p, .t2-fcol ul { margin:0; } .t2-fcol ul { padding-left:18px; }
.t2-fh { color:var(--rd-inst-ink); font-size:15px; font-weight:400; margin:0; }
.t2-foot .t2-old { color:var(--rd-inst-ink); align-self:flex-start; }
.t2-foot .t2-old:focus-visible { outline:2px solid var(--rd-inst-ink); outline-offset:2px; }

/* mellanbredd */
@media (max-width:1023px) and (min-width:721px){
  .t2-r { grid-template-columns:minmax(0,1fr) 80px 112px 64px 104px 112px 48px; }
  .t2-trt { gap:8px; padding:0 6px; } .t2-vs { font-size:17px; } .t2-w { font-size:17px; padding:10px 8px; }
}
/* mobil (spec: Innehav·vikt, Trend 62, Styrka 40, 13F 58, Rek. 66, knapp 36) */
@media (max-width:720px){
  .t2 { padding-top:10px; gap:10px; }
  .t2-bar { display:contents; }
  .t2-chips { display:flex; flex-wrap:nowrap; width:100%; gap:4px; background:var(--rd-hair); border-radius:999px; padding:3px; }
  html.tp2-light .t2-chips { position:sticky; top:calc(var(--t2-hh) + 6px); z-index:20; box-shadow:0 0 0 6px var(--tp-ground); }
  .t2-chip { flex:1 1 0; min-width:0; min-height:44px; border:0; padding:0 6px; justify-content:center; font-size:14px; background:transparent; }
  .t2-chip .t2-cm { display:none; }
  .t2-chip[aria-pressed="true"] { background:var(--tp-inst); }
  .t2-kpis { font-size:12px; gap:2px 14px; }
  .t2-t, .t2-wrap { border-radius:16px; }
  .t2-r { grid-template-columns:minmax(0,1fr) 62px 40px 58px 66px 36px; min-height:64px; }
  .t2-hd { min-height:36px; }
  .t2-c.t2-w { display:none; }
  .t2-h { font-size:11px; }
  .t2-hb { padding:8px 4px; font-size:11px; gap:2px; }
  .t2-h.t2-nm .t2-hb { padding:8px 10px; }
  .t2-h.t2-km .t2-i, .t2-h.t2-f13 .t2-i, .t2-h.t2-rk .t2-i { display:none; }
  .t2-hlm { display:inline; }
  .t2-h .t2-hl { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .t2-h.t2-km .t2-hl, .t2-h.t2-f13 .t2-hl, .t2-h.t2-rk .t2-hl { position:static; width:auto; height:auto; overflow:visible; clip:auto; }
  .t2-tip { width:230px; }
  .t2-tipd { display:none; } .t2-tipm { display:inline; }
  .t2-nm { padding:8px 10px; gap:3px; }
  .t2-tk { font-size:15px; }
  .t2-co { display:none; }
  .t2-sub { align-items:flex-end; gap:4px; }
  .t2-wtag { display:inline-block; font-size:12px; padding:1px 7px; box-shadow:inset 0 0 0 1px var(--rd-line); white-space:nowrap; }
  .t2-wtag.g7 { color:var(--tp-muted)!important; }
  .t2-rp { font-size:11px; } .t2-rpl { display:none; } .t2-rps { display:inline; }
  .t2-tr { grid-template-rows:minmax(0,1fr) 16px; }
  .t2-trt { flex-direction:column; gap:2px; padding:4px 2px; }
  .t2-ar { width:16px; height:16px; } .t2-vs { font-size:12px; font-weight:400; }
  .t2-km { font-size:20px; padding:6px; }
  .t2-fb { padding:6px; }
  .t2-fg { grid-template-columns:8px 11px auto; gap:3px 2px; font-size:10px; }
  .f-i { width:11px; height:11px; font-size:7px; }
  .t2-rk { padding:6px 4px; align-items:center; text-align:center; }
  .t2-rw { font-size:13px; } .t2-rs { display:none; }
  .t2-dc { padding:16px 14px 18px; gap:18px; }
  .t2-pxv { font-size:24px; }
  .t2-sp { min-width:56px; }
  .t2-facts { grid-template-columns:minmax(0,1fr); }
  .t2-fc { padding:10px 12px 12px; }
  .t2-fi { padding:32px 16px calc(40px + var(--sab, 0px)); }
}
/* under 375 px: 13F flyttas in i den utfällda raden (knappen "Visa 13F"), så att Innehav får minst 72 px */
@media (max-width:374px){
  .t2-r { grid-template-columns:minmax(0,1fr) 58px 40px 64px 36px; }
  .t2-c.t2-f13 { display:none; }
}
/* rev 3b lägger mobilhuvudet på två rader när kontrollerna visas; v2 har en rad (spec 01) */
@media (max-width:720px){
  html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) { grid-template-areas:"brand tools"; grid-template-columns:auto minmax(0,1fr); }
  html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) .tp-tools, html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) .tp-ctrl { width:100%; justify-content:flex-end; }
  html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) .tp-payoff { display:none; }
}
/* mobil: loggan på exakt samma plats som utloggat (rev 3b: padding 12px 0 10px); kontrollraden (44 px meny) centreras mot loggan */
@media (max-width:720px){
  html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) { align-items:start; padding:calc(12px + var(--sat, 0px)) 0 10px; min-height:0; margin:0; }
  html.tp2 .tp-head:has(#tp-ctrl:not([hidden])) .tp-tools { align-self:start; margin:-12px 0 -6px; }
}
/* rubrikceller delar klass med datacellerna (t2-w, t2-km …): nollställ storlek/padding */
.t2-c.t2-h { padding:0; display:block; font-size:12px; font-weight:400; line-height:1.3; color:var(--tp-muted); }
@media (max-width:720px){ .t2-c.t2-h { font-size:11px; } .t2-why { font-size:15px; } }
.t2-facts > div:last-child:nth-child(odd) { grid-column:1 / -1; }
@media (max-width:374px){
  .t2-lb > span:first-child { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .t2-lb { padding:0 10px; }
  .t2-dots { gap:3px; } .t2-dots i { width:10px; height:10px; }
}
@media (max-width:720px){ .t2-c.t2-h.t2-w { display:none; } }
@media (max-width:374px){ .t2-c.t2-h.t2-f13 { display:none; } }
@media (max-width:720px){
  .t2-lr { grid-template-columns:10px minmax(0,1fr) auto; grid-template-areas:"dot name st" ". desc desc"; row-gap:2px; }
  .t2-lr > i { grid-area:dot; } .t2-ln { grid-area:name; } .t2-ls { grid-area:st; } .t2-lm { grid-area:desc; font-size:12px; }
}
/* mobil 13F: bara hus + pil (procenten finns i panelen och i knappens etikett) */
@media (max-width:720px){ .t2-fg { grid-template-columns:9px 12px; gap:3px 4px; } .f-p { display:none; } .t2-fb { justify-content:center; } .f-i { width:12px; height:12px; } }
/* 320–374: smalare övriga kolumner så att Innehav rymmer t.ex. PNDORA.CO utan att bryta */
@media (max-width:374px){
  .t2-r { grid-template-columns:minmax(0,1fr) 54px 40px 60px 32px; }
  .t2-nm { padding:8px; } .t2-h.t2-nm .t2-hb { padding:8px; }
}
.t2-tip.t2-tip-f { position:fixed; top:0; left:0; right:auto; z-index:70; font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif; }
@media (max-width:720px){ .t2-tip.t2-tip-f { width:230px; } }
@media (max-width:720px){ .t2-r { grid-template-columns:minmax(0,1fr) 62px 40px 44px 66px 36px; } }
@media (max-width:374px){ .t2-r { grid-template-columns:minmax(0,1fr) 54px 40px 60px 32px; } }
@media (max-width:720px){ .t2-nm { padding:8px; } .t2-h.t2-nm .t2-hb { padding:8px; } .t2-tk { font-size:14px; } }
/* modellstartlinjen: designens orange (#f16f3c) når bara 2,4:1 mot ljus grafyta; mörkare orange ≥3:1 (WCAG 1.4.11). I mörkt läge räcker --rd-o. */
.t2-chart .en { stroke:#c95a1f; } .t2-cleg .k3 { background:#c95a1f; }
@media (prefers-color-scheme: dark) {
  .t2-chart .en { stroke:var(--rd-o); } .t2-cleg .k3 { background:var(--rd-o); }
  .t2-chart .et { fill:var(--rd-o); }
}

/* ===== Läge utfälld (F8, 2026-11-14). Mått och färger samplade ur lage-utfalld-desktop.png (2×, 1360) och -mobil.png (2×, 390). ===== */
.t2-lx { --lx-g:#2f7d55; --lx-gb:#e3f0e8; --lx-gt:#1e5a3b; --lx-r:#b5392f; --lx-rb:#f6dcd9; --lx-rt:#8a2a23; --lx-y:#d9b347; --lx-yb:#f7edcf; --lx-yt:#5e4700; --lx-n:#8c9095; --lx-nb:#e9ebee; --lx-nt:#3f4246;
  display:flex; flex-direction:column; min-width:0; padding:14px 0 36px; border-bottom:1px solid var(--rd-line); margin-bottom:2px; }
.t2-lx[hidden] { display:none; }
.t2-lx-top { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:12px 24px; margin-bottom:17px; }
.t2-lx-tl { min-width:0; }
.t2-lx-k { margin:0 0 10px; font-size:13px; line-height:1.4; color:var(--tp-muted); }
.t2-lx-h { margin:0; font-size:48px; line-height:1; font-weight:300; letter-spacing:-.02em; color:var(--tp-ink); }
.t2-lx-h:focus { outline:none; } .t2-lx-h:focus-visible { outline:2px solid var(--tp-ink); outline-offset:4px; }
.t2-lx-s { display:flex; align-items:center; gap:16px; }
.t2-lx-sum { margin:0; display:flex; flex-wrap:wrap; gap:6px 18px; font-size:14px; color:var(--tp-ink); }
.t2-lx-sum span { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.t2-lx-sum i, .t2-lx-p i, .t2-lx-dl i { display:block; width:9px; height:9px; border-radius:50%; flex:none; }
.lx-green { background:var(--lx-g); } .lx-yellow { background:var(--lx-y); } .lx-red { background:var(--lx-r); } .lx-na { background:var(--lx-n); }
.t2-lx-close { min-height:40px; padding:0 18px; border-radius:999px; border:1.5px solid var(--tp-ink); background:transparent; color:var(--tp-ink); font:inherit; font-size:15px; cursor:pointer; }
.t2-lx-close:hover { background:var(--tp-row-even); } .t2-lx-close:focus-visible { outline:2px solid var(--tp-ink); outline-offset:3px; }
.t2-lx-g { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; min-width:0; }
.t2-lx-g:focus-visible { outline:2px solid var(--tp-ink); outline-offset:4px; border-radius:18px; }
.t2-lx-c { display:flex; flex-direction:column; min-width:0; background:var(--rd-surface); border:1px solid var(--rd-hair); border-radius:18px; padding:16px 20px 16px; }
.t2-lx-ch { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:24px; }
.t2-lx-t { margin:0; font-size:16px; font-weight:500; line-height:1.3; color:var(--tp-ink); min-width:0; }
.t2-lx-p { display:inline-flex; align-items:center; gap:7px; height:24px; padding:0 11px 0 10px; border-radius:999px; font-size:13px; font-weight:500; white-space:nowrap; }
.t2-lx-p.lx-green { background:var(--lx-gb); color:var(--lx-gt); } .t2-lx-p.lx-green i { background:var(--lx-g); }
.t2-lx-p.lx-red { background:var(--lx-rb); color:var(--lx-rt); } .t2-lx-p.lx-red i { background:var(--lx-r); }
.t2-lx-p.lx-yellow { background:var(--lx-yb); color:var(--lx-yt); } .t2-lx-p.lx-yellow i { background:var(--lx-y); }
.t2-lx-p.lx-na { background:var(--lx-nb); color:var(--lx-nt); } .t2-lx-p.lx-na i { background:var(--lx-n); }
.t2-lx-v { margin:12px 0 0; font-size:26px; line-height:1.12; font-weight:300; letter-spacing:-.01em; color:var(--tp-ink); overflow-wrap:break-word; font-variant-numeric:tabular-nums; }
.t2-lx-sp { margin-top:16px; min-width:0; }
.t2-lx-sp2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.t2-lx-f { margin:0; min-width:0; }
.t2-lx-f figcaption { font-size:11px; line-height:1.3; color:var(--tp-muted); margin-bottom:8px; }
.t2-lx-sv { position:relative; display:block; height:48px; }
.t2-lx-svg { display:block; width:100%; height:100%; overflow:visible; }
.t2-lx-svg polyline { fill:none; stroke:var(--tp-ink); stroke-width:1.5; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.t2-lx-svg .lg-ref { stroke:var(--rd-band-p); stroke-width:1; stroke-dasharray:4 4; vector-effect:non-scaling-stroke; }
.t2-lx-end { position:absolute; width:6px; height:6px; margin:-3px 0 0 -3px; }
.t2-lx-x { margin:18px 0 0; font-size:14px; line-height:1.55; color:var(--tp-ink); overflow-wrap:break-word; }
.t2-lx-x .lg-stale { color:var(--tp-muted); }
.t2-lx-cf { margin:auto 0 0; padding-top:12px; border-top:1px solid var(--rd-ground); display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 12px; font-size:12px; line-height:1.4; color:var(--tp-muted); }
.t2-lx-x + .t2-lx-cf, .t2-lx-sp + .t2-lx-cf { margin-top:auto; }
.t2-lx-c > :nth-last-child(2) { margin-bottom:22px; }
.t2-lx-dots { display:none; }
.t2-lx-info { margin:19px 0 0; max-width:none; font-size:12px; line-height:1.55; color:var(--tp-muted); overflow-wrap:anywhere; }
html.tp2 .t2-lb.t2-lb-on { box-shadow:0 0 0 2px var(--tp-ground), 0 0 0 4px var(--tp-inst); }
@media (max-width:1023px) and (min-width:721px){ .t2-lx-g { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px){
  .t2-lx { padding:10px 0 28px; }
  .t2-lx-top { display:block; margin-bottom:18px; }
  .t2-lx-k { margin-bottom:8px; }
  .t2-lx-h { font-size:36px; }
  .t2-lx-s { margin-top:12px; justify-content:flex-start; flex-wrap:wrap; gap:12px 18px; }
  .t2-lx-sum { gap:6px 14px; }
  .t2-lx-g { display:flex; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-behavior:smooth;
    margin-right:calc(-1 * max(12px, var(--sar, 0px))); padding-right:max(12px, var(--sar, 0px)); scroll-padding-left:0; -webkit-overflow-scrolling:touch; }
  .t2-lx-c { flex:0 0 calc(100% - 43px); scroll-snap-align:start; padding:16px 18px 14px; }
  .t2-lx-cf { flex-direction:column; }
  .t2-lx-dots { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:12px; font-size:13px; color:var(--tp-muted); }
  .t2-lx-dl { display:inline-flex; gap:6px; }
  .t2-lx-dl i { width:8px; height:8px; }
  .t2-lx-dl i.on { opacity:1; box-shadow:0 0 0 2px var(--tp-ground), 0 0 0 3px var(--tp-ink); }
  .t2-lx-info { margin-top:14px; }
}
@media (prefers-reduced-motion:reduce){ .t2-lx-g { scroll-behavior:auto; } }

/* Läge-tintar: ljusa pastellkort blir bländande i mörkt läge. Återanvänd D2-ytan + befintliga lampfärger (ingen ny palett). */
@media (prefers-color-scheme: dark) {
  .t2-lx {
    --lx-gb: var(--rd-row2); --lx-gt: var(--tp-lamp-green);
    --lx-rb: var(--rd-row2); --lx-rt: var(--tp-lamp-red);
    --lx-yb: var(--rd-row2); --lx-yt: var(--tp-lamp-yellow);
    --lx-nb: var(--rd-row2); --lx-nt: var(--rd-ink);
  }
}

/* ===== Tre listor (2026-11-20, Magnus): på desktop kan alla tre listorna visas samtidigt; chipsen slår av/på (flerval).
   Spec 02 "Flera listor (desktop)": grid repeat(n, minmax(0,1fr)), 16 px mellanrum, varje lista med mobilens kolumner,
   egen rubrik (30 px) och nyckeltal. Mobil (≤720 px) är oförändrad: ett val i taget. 721–1023 px: valda listor staplas. ===== */
.t2-lists { display:flex; flex-direction:column; gap:14px; min-width:0; }
.t2-lh { display:none; }
.t2-multi .t2-lh { display:flex; flex-direction:column; gap:4px; padding:4px 2px 0; min-width:0; }
.t2-lt { margin:0; font-weight:300; font-size:30px; line-height:1.05; letter-spacing:-.02em; color:var(--tp-ink); }
.t2-multi .t2-lh .t2-kpis { font-size:12px; gap:2px 14px; }
.t2-multi .t2-bar > .t2-kpis { display:none; }
.t2-multi .t2-list { display:flex; flex-direction:column; gap:10px; min-width:0; }
.t2-multi .t2-list[hidden] { display:none; }
@media (min-width:1024px){
  .t2-multi .t2-lists { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
  .t2-multi.t2-n3 .t2-lists { grid-template-columns:repeat(3,minmax(0,1fr)); }
  /* mobilens kolumnuppsättning i varje lista (samma värden som @media max-width:720px ovan) */
  .t2-multi .t2-t, .t2-multi .t2-wrap { border-radius:16px; }
  .t2-multi .t2-r { grid-template-columns:minmax(0,1fr) 62px 40px 44px 66px 36px; min-height:64px; }
  .t2-multi .t2-hd { min-height:36px; }
  .t2-multi .t2-c.t2-w, .t2-multi .t2-c.t2-h.t2-w { display:none; }
  .t2-multi .t2-h, .t2-multi .t2-c.t2-h { font-size:11px; }
  .t2-multi .t2-hb { padding:8px 4px; font-size:11px; gap:2px; }
  .t2-multi .t2-h.t2-nm .t2-hb { padding:8px; }
  .t2-multi .t2-h.t2-km .t2-i, .t2-multi .t2-h.t2-f13 .t2-i, .t2-multi .t2-h.t2-rk .t2-i { display:none; }
  .t2-multi .t2-hlm { display:inline; }
  .t2-multi .t2-h .t2-hl { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .t2-multi .t2-h.t2-km .t2-hl, .t2-multi .t2-h.t2-f13 .t2-hl, .t2-multi .t2-h.t2-rk .t2-hl { position:static; width:auto; height:auto; overflow:visible; clip:auto; }
  .t2-multi .t2-tip { width:230px; }
  .t2-multi .t2-tipd { display:none; } .t2-multi .t2-tipm { display:inline; }
  .t2-multi .t2-nm:not(.t2-h) { padding:8px; gap:3px; }
  .t2-multi .t2-tk { font-size:14px; }
  .t2-multi .t2-co { display:none; }
  .t2-multi .t2-sub { align-items:flex-end; gap:4px; }
  .t2-multi .t2-wtag { display:inline-block; font-size:12px; padding:1px 7px; box-shadow:inset 0 0 0 1px var(--rd-line); white-space:nowrap; }
  .t2-multi .t2-wtag.g7 { color:var(--tp-muted)!important; }
  .t2-multi .t2-rp { font-size:11px; } .t2-multi .t2-rpl { display:none; } .t2-multi .t2-rps { display:inline; }
  .t2-multi .t2-tr:not(.t2-h) { grid-template-rows:minmax(0,1fr) 16px; }
  .t2-multi .t2-trt { flex-direction:column; gap:2px; padding:4px 2px; }
  .t2-multi .t2-ar { width:16px; height:16px; } .t2-multi .t2-vs { font-size:12px; font-weight:400; }
  .t2-multi .t2-km:not(.t2-h) { font-size:20px; padding:6px; }
  .t2-multi .t2-fb { padding:6px; justify-content:center; }
  .t2-multi .t2-fg { grid-template-columns:9px 12px; gap:3px 4px; font-size:10px; }
  .t2-multi .f-p { display:none; }
  .t2-multi .f-i { width:12px; height:12px; font-size:7px; }
  .t2-multi .t2-rk:not(.t2-h) { padding:6px 4px; align-items:center; text-align:center; }
  .t2-multi .t2-rw { font-size:13px; } .t2-multi .t2-rs { display:none; }
  .t2-multi .t2-dc { padding:16px 14px 18px; gap:18px; }
  .t2-multi .t2-pxv { font-size:24px; }
  .t2-multi .t2-sp { min-width:56px; }
  .t2-multi .t2-facts { grid-template-columns:minmax(0,1fr); }
  .t2-multi .t2-fc { padding:10px 12px 12px; }
  .t2-multi .t2-why { font-size:15px; }
  .t2-multi .t2-ghc { padding:12px 10px 8px; }
}
/* tre listor på 1024–1279 px: ~300 px per lista → som telefonens 320–374: 13F flyttas in i utfälld rad ("Visa 13F") */
@media (min-width:1024px) and (max-width:1279px){
  .t2-multi.t2-n3 .t2-r { grid-template-columns:minmax(0,1fr) 54px 40px 60px 32px; }
  .t2-multi.t2-n3 .t2-c.t2-f13, .t2-multi.t2-n3 .t2-c.t2-h.t2-f13 { display:none; }
}
/* Noterad rörelse (bara info): pil + procent vid tickern, fem handelsdagar */
.t2-nr { display:inline-block; margin-left:6px; padding:0 5px; font-size:12px; font-weight:500; line-height:18px; vertical-align:2px; white-space:nowrap; border-radius:4px; box-shadow:inset 0 0 0 1px currentColor; }
.t2-nru { color:var(--tp-buy); } .t2-nrd { color:var(--tp-sell); }
.t2-legb .t2-nr { margin-left:0; vertical-align:baseline; }
@media (max-width:720px){ .t2-nr { font-size:11px; margin-left:4px; padding:0 4px; line-height:16px; } }

/* Spekulativ = utkast (Magnus 2026-11-21): märke i listan (alla bredder) och i desktoprubriken */
.t2-draftl { margin:0; font-size:13px; line-height:1.45; color:var(--tp-muted); }
.t2-draft { display:inline-block; margin-right:6px; padding:1px 8px; border-radius:999px; font-size:11px; font-weight:500; line-height:17px;
  letter-spacing:.04em; text-transform:uppercase; vertical-align:2px; white-space:nowrap; color:var(--tp-ink); box-shadow:inset 0 0 0 1px var(--tp-ink); }
.t2-lt .t2-draft { margin:0 0 0 10px; vertical-align:8px; }
.t2-multi .t2-draftl .t2-draft { display:none; }   /* på desktop sitter märket i listrubriken; texten står kvar */
.t2-multi .t2-list > .t2-draftl + .t2-note, .t2-list > .t2-draftl + .t2-note { margin-top:0; }

/* ===== 2026-11-21 (Magnus t964u): nischstatus i dag i Föregående, bolagsnamn under tickern, [i]-info, exakt radlinjering ===== */
/* Nisch-kolumnen (Föregående): Kvalar grön, Vänta/Nära grå, Nej och Ej aktie dämpade. Beslutet står som liten rad under. */
.rk-kvalar { background:var(--tp-buy)!important; color:#fff; }
.rk-vanta, .rk-nara { background:var(--tp-wait)!important; color:var(--rd-ink); }
.rk-nej, .rk-ejakt { color:var(--tp-ink); }
.rk-ejakt .t2-rw { font-weight:400; color:var(--tp-muted); }
.t2-rd { font-size:11px; line-height:1.25; white-space:nowrap; }
.rk-nej .t2-rd, .rk-ejakt .t2-rd { color:var(--tp-muted); }
/* bolagsnamn: alltid en rad, kortas med … (hela namnet i data-full) */
.t2-co[data-full] { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; line-height:1.3; }
.t2-sub:empty { display:none; }
@media (max-width:720px){
  .t2-co[data-full] { display:block; font-size:12px; }
  .t2-rd { font-size:10px; }
}
/* [i]-knapp + popover (ersätter infotexten ovanför listorna) */
.t2-info { position:relative; display:flex; align-items:center; gap:8px; min-width:0; min-height:36px; }
.t2-ib { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:4px 12px 4px 4px; border:0; border-radius:999px;
  background:transparent; color:var(--tp-ink); font:inherit; font-size:13px; cursor:pointer; }
.t2-ibi { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%;
  box-shadow:inset 0 0 0 1.5px currentColor; font-size:14px; font-weight:600; font-style:italic; font-family:Georgia,'Times New Roman',serif; line-height:1; }
.t2-ib:hover .t2-ibt { text-decoration:underline; }
.t2-ib:focus-visible { outline:2px solid var(--tp-ink); outline-offset:2px; }
.t2-ib[aria-expanded="true"] .t2-ibi { background:var(--tp-ink); color:var(--tp-ground); box-shadow:none; }
.t2-ip { position:absolute; top:calc(100% + 6px); left:0; z-index:40; width:min(420px, calc(100vw - 32px)); padding:14px 16px;
  background:var(--tp-ground); color:var(--tp-ink); border-radius:12px; box-shadow:0 0 0 1px var(--tp-line), 0 8px 28px rgba(0,0,0,.18);
  font-size:13px; line-height:1.5; display:flex; flex-direction:column; gap:8px; }
.t2-ip[hidden] { display:none; }
.t2-ip.t2-ip-r { left:auto; right:0; }
.t2-ip p { margin:0; }
.t2-draftm { margin:0; }
.t2-multi .t2-draftm { display:none; }   /* på desktop sitter Utkast-märket i listrubriken */
/* Exakt linjering (≥1024 px, flera listor): listrubrik, [i]-rad och tabellstart delar rader via subgrid; tabellrubrik 44 px,
   varje rad OCH varje grupprubrik exakt 72 px → rad N står på samma höjd i alla kolumner. */
@media (min-width:1024px){
  .t2-multi .t2-lists { grid-template-rows:auto auto auto; row-gap:0; }
  .t2-multi .t2-list { display:grid; grid-row:span 3; grid-template-rows:subgrid; row-gap:10px; align-self:stretch; align-content:start; }
  .t2-multi .t2-list > .t2-lh { align-self:start; }
  .t2-multi .t2-list > .t2-wrap, .t2-multi .t2-list > .t2-empty-l { align-self:start; }
  .t2-multi .t2-r:not(.t2-hd) { height:72px; min-height:0; }
  .t2-multi .t2-hd { height:44px; min-height:0; }
  .t2-multi .t2-gh { height:72px; overflow:hidden; }
  .t2-multi .t2-ghc { height:100%; box-sizing:border-box; padding:10px; flex-direction:column; flex-wrap:nowrap; justify-content:center;
    align-items:stretch; gap:2px; }
  .t2-multi .t2-gn[data-full], .t2-multi .t2-gm[data-full] { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .t2-multi .t2-nm:not(.t2-h) { gap:2px; overflow:hidden; }
  .t2-multi .t2-co[data-full] { display:block; font-size:12px; }
  .t2-multi .t2-sub { justify-content:space-between; align-items:center; min-height:18px; }
  .t2-multi .t2-rd { font-size:10px; }
}
@media (min-width:1024px){
  /* fast radhöjd: ticker, namn och vikt-raden får aldrig trycka ihop varandra (långa fondnamn kortas med …, hela i data-full) */
  .t2-multi .t2-nm:not(.t2-h) > * { flex:none; }
  .t2-multi .t2-tk[data-full] { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; line-height:1.3; }
}
/* smal tabell (telefon och flera listor): Innehav-cellen har tre enradiga rader (ticker, bolag, vikt/rapport); det som inte
   ryms kortas med … och hela texten finns i data-full (fullt namn också i den utfällda raden) */
@media (max-width:720px){
  .t2-nm:not(.t2-h):has(> .t2-co[data-full]) { white-space:nowrap; }
  .t2-tk[data-full] { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
}
@media (min-width:1024px){
  .t2-multi .t2-nm:not(.t2-h):has(> .t2-co[data-full]) { white-space:nowrap; }
  .t2-multi .t2-tk[data-full] { display:block; }
}
/* ===== 2026-11-22 (Magnus t966u): listans h2 "Föregående (53 st)" med [i] (bara ikon) direkt bredvid. ALL extra info –
   nyckeltal, datarad, beskrivning, kriterier – ligger i popovern. Ingen infotext eller "Om listan"-rad ovanför listan. ===== */
.t2-bar > .t2-kpis, .t2-multi .t2-bar > .t2-kpis { display:none; }
.t2-lh, .t2-multi .t2-lh { display:block; position:relative; padding:0; min-width:0; }
.t2-lhr { display:flex; align-items:center; gap:2px; min-width:0; min-height:44px; }
.t2-lt { flex:0 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.t2-ltn { font-size:.55em; letter-spacing:0; color:var(--tp-muted); vertical-align:.25em; }
.t2-lt .t2-draft { margin:0 0 0 8px; vertical-align:.45em; }
.t2-ib { flex:none; justify-content:center; width:44px; height:44px; min-height:44px; padding:0; gap:0; border-radius:50%; }
.t2-ib:hover .t2-ibi { background:var(--rd-hair); }
.t2-ib[aria-expanded="true"]:hover .t2-ibi { background:var(--tp-ink); }
.t2-ib:focus-visible { outline:2px solid var(--tp-ink); outline-offset:-2px; }
.t2-ip { top:100%; left:0; right:auto; }
.t2-ip.t2-ip-r { left:auto; right:0; }
.t2-ip .t2-ipk { display:flex; flex-wrap:wrap; gap:2px 14px; font-size:12px; color:var(--tp-ink); padding-bottom:8px; border-bottom:1px solid var(--tp-line); }
.t2-ip .t2-upd { margin:0; font-size:12px; color:var(--tp-muted); }
@media (max-width:720px){ .t2-lt { font-size:24px; } }
@media (min-width:1024px){
  .t2-multi .t2-lists { grid-template-rows:auto auto; }
  .t2-multi .t2-list { grid-row:span 2; }
}
@media (min-width:1024px) and (max-width:1279px){ .t2-multi.t2-n3 .t2-lt { font-size:24px; } }
