/* Statistik v2 + Underlag v2. Uses the same tokens as tp2.css. No external fonts or assets. */
.st2{min-width:0;color:var(--tp-ink,#141516);font-family:var(--tp-font,'Hanken Grotesk','Helvetica Neue',Arial,sans-serif);padding:0 0 2rem}
.st2-h1{font-size:1.35rem;font-weight:650;margin:.2rem 0 .7rem;line-height:1.25;overflow-wrap:anywhere}
.st2-h1:focus{outline:none}
.st2-h2{font-size:1.05rem;font-weight:650;margin:0 0 .7rem;line-height:1.3;overflow-wrap:anywhere}
.st2-h3,.st2 h3{font-size:.95rem;font-weight:650;margin:1.1rem 0 .4rem;line-height:1.3}

.st2-qlrow{display:flex;gap:.45rem;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:0 0 .75rem;margin:0 0 .4rem;scrollbar-width:thin}
.st2-ql{flex:0 0 auto;display:inline-block;padding:.35rem .7rem;border:1px solid var(--tp-line,#b9bdc2);border-radius:999px;background:var(--rd-surface);color:var(--tp-ink,#141516);text-decoration:none;font-size:.82rem;font-weight:600;white-space:nowrap}
.st2-ql:hover,.st2-ql:focus-visible{background:var(--rd-row2);outline:2px solid var(--tp-ink,#141516);outline-offset:2px}

.st2-legend{margin:0 0 1rem;font-size:.88rem;color:var(--tp-soft,#3f4246);line-height:1.55;overflow-wrap:anywhere}

.st2-tag{display:inline-block;font:650 .68rem var(--tp-font,'Hanken Grotesk',sans-serif);letter-spacing:.04em;text-transform:uppercase;padding:.12rem .45rem;border-radius:6px;vertical-align:middle;white-space:nowrap}
.st2-tag-live,.st-tag.st-live{background:var(--tp-inst,#0a0a0a);color:var(--tp-inst-ink,#f2f2f2);border:1px solid var(--tp-inst,#0a0a0a)}
.st2-tag-bt,.st-tag.st-bt{background:transparent;color:var(--tp-ink,#141516);border:1px solid var(--tp-ink,#141516)}
.st2-tag-idx{background:var(--tp-g6,#dfe2e5);color:var(--tp-muted,#5d6166);border:1px solid var(--tp-line,#b9bdc2)}
.st-tag{display:inline-block;font:650 .68rem var(--tp-font,'Hanken Grotesk',sans-serif);letter-spacing:.04em;text-transform:uppercase;padding:.12rem .45rem;border-radius:6px;vertical-align:middle;white-space:nowrap}

.st2-card{margin:0 0 1.1rem;padding:1rem 1rem 1.05rem;border:1px solid var(--tp-line,#b9bdc2);border-radius:16px;background:var(--rd-surface);min-width:0}
.st2-txt,.st2 .a10-txt,.st2 .sub{margin:.55rem 0 0;font-size:.88rem;line-height:1.55;color:var(--tp-soft,#3f4246);overflow-wrap:anywhere}
.st2-src{margin:.45rem 0 0;font-size:.78rem;color:var(--tp-muted,#5d6166);overflow-wrap:anywhere}
.st2-na{margin:.5rem 0;color:var(--tp-muted,#5d6166)}

.st2-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;min-width:0;margin:0 0 .2rem}
.st2-scroll:focus{outline:2px solid var(--tp-ink,#141516);outline-offset:2px}
.st2-t{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:.88rem;background:var(--tp-grid,#c4c8cc);border:1px solid var(--tp-grid,#c4c8cc);border-radius:16px;overflow:hidden}
.st2-t caption.sr,.st2 .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.st2-t th,.st2-t td{padding:.55rem .7rem;background:var(--tp-row-odd,#f3f4f5);color:var(--tp-ink,#141516);vertical-align:top}
.st2-t thead th{font-size:var(--tp-fs-th,12px);font-weight:650;text-align:right;background:var(--tp-row-even,#e9ebee);white-space:nowrap}
.st2-t thead th:first-child,.st2-t tbody th,.st2-t td:first-child{text-align:left;min-width:12.5rem;max-width:22rem;overflow-wrap:break-word;word-break:normal;hyphens:manual}
.st2-t tbody th{font-weight:550}
.st2-t tbody tr:nth-child(even) th,.st2-t tbody tr:nth-child(even) td{background:var(--tp-row-even,#e9ebee)}
.st2-t tbody td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:4.5rem}
.st2-t .st2-own th,.st2-t .st2-own td{background:var(--rd-surface);font-weight:650}
.st2-t .st2-own th::before{content:"";display:inline-block;width:8px;height:8px;margin-right:.45rem;background:var(--tp-accent,#f16f3c);vertical-align:middle}
.st2-t .st2-idx th,.st2-t .st2-idx td{color:var(--tp-muted,#5d6166)}
.st2-t .st2-pos{color:var(--tp-buy,#2f7d55);font-weight:650}
.st2-t .st2-neg{color:var(--tp-sell,#b5392f);font-weight:650}

.st2-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin:0 0 .8rem}
@media (max-width:900px){.st2-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.st2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.st2-kpi{border:1px solid var(--tp-line,#b9bdc2);border-radius:14px;background:var(--rd-surface);padding:.7rem .75rem .65rem;min-width:0}
.st2-kpi-dark{background:var(--tp-inst,#0a0a0a);border-color:var(--tp-inst,#0a0a0a);color:var(--tp-inst-ink,#f2f2f2)}
.st2-kpi-dark .st2-kpi-s,.st2-kpi-dark .st2-kpi-k{color:var(--tp-inst-muted,#9a9ea3)}
.st2-kpi-k{margin:0;font-size:.72rem;font-weight:650;letter-spacing:.02em;text-transform:uppercase;color:var(--tp-muted,#5d6166);overflow-wrap:anywhere}
.st2-kpi-v{margin:.15rem 0 0;font-size:1.85rem;font-weight:700;line-height:1.1;letter-spacing:-.02em}
.st2-kpi-s{margin:.1rem 0 0;font-size:.85rem}
.st2-kpi-t{margin:.35rem 0 0}

.st2-swatch{display:inline-block;width:10px;height:10px;border-radius:2px;background:#8c9095;vertical-align:middle;margin-right:.3rem}
.st2-swatch[data-c="111111"]{background:#111111}
.st2-swatch[data-c="8c9095"]{background:#8c9095}
.st2-swatch[data-c="4a6584"]{background:#4a6584}
.st2-swatch[data-c="b4b8bc"]{background:#b4b8bc}
.st2-swatch[data-c="b5392f"]{background:#b5392f}
.st2-swatch-dash{background:repeating-linear-gradient(-45deg,#b4b8bc,#b4b8bc 2px,var(--rd-surface) 2px,var(--rd-surface) 4px)}

.st2-chart{margin:.2rem 0 .4rem;background:var(--rd-surface);border:1px solid var(--tp-line,#b9bdc2);border-radius:16px;padding:.5rem .4rem .2rem;min-width:0}
.st2-svg{display:block;width:100%;height:auto;max-width:100%}
.st2-ax{font:600 10px var(--tp-font,'Hanken Grotesk',sans-serif);fill:var(--tp-muted,#5d6166)}
.st2-chart-leg{margin:.35rem 0 0;font-size:.8rem;color:var(--tp-muted,#5d6166)}

.st2-beh{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:0 0 .8rem}
@media (max-width:700px){.st2-beh{grid-template-columns:repeat(2,minmax(0,1fr))}}
.st2-beh-n{border:1px solid var(--tp-line,#b9bdc2);border-radius:14px;background:var(--rd-surface);padding:.75rem .8rem;min-width:0}
.st2-beh-v{margin:0;font-size:2rem;font-weight:700;line-height:1.05;letter-spacing:-.03em}
.st2-beh-c{margin:.25rem 0 0;font-size:.82rem;color:var(--tp-muted,#5d6166);line-height:1.4;overflow-wrap:anywhere}

.st2-learn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
@media (max-width:900px){.st2-learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.st2-learn-grid{grid-template-columns:minmax(0,1fr)}}
.st2-learn-card{border:1px solid var(--tp-line,#b9bdc2);border-radius:14px;background:var(--rd-surface);padding:.75rem .85rem 0.9rem;min-width:0}
.st2-learn-h{margin:0 0 .35rem;font-size:.95rem;line-height:1.3}
.st2-learn-b{font-size:.86rem;line-height:1.5;color:var(--tp-soft,#3f4246);overflow-wrap:anywhere}

.st2-lab{margin:0 0 1.1rem;border:1px solid var(--tp-line,#b9bdc2);border-radius:16px;background:var(--rd-surface);padding:.2rem .9rem .8rem;min-width:0}
.st2-lab>summary{cursor:pointer;font-weight:650;padding:.7rem 0;list-style:revert}
.st2-wbar{display:inline-block;width:100px;max-width:40%;height:8px;background:var(--tp-g6,#dfe2e5);border-radius:99px;vertical-align:middle;margin-right:.45rem;overflow:hidden}
.st2-wbar>i{display:block;height:100%;width:0;background:var(--tp-ink,#141516)}

.st2-foot{margin:1.4rem 0 0;padding:1.1rem 1.1rem 1.2rem;background:var(--tp-inst,#0a0a0a);color:var(--tp-inst-ink,#f2f2f2);border-radius:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;min-width:0}
.st2-foot h3{margin:0 0 .35rem;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--tp-inst-muted,#9a9ea3)}
.st2-foot p{margin:0;font-size:.84rem;line-height:1.5;color:var(--tp-inst-ink,#f2f2f2);overflow-wrap:anywhere}
@media (max-width:700px){.st2-foot{grid-template-columns:minmax(0,1fr)}}

/* Ground when Statistik v2 is the active view (follows OS via --tp-ground / --rd-*) */
html.tp2-light #view-statistik{background:var(--tp-ground,#e4e7ea);min-width:0}
html.tp2-light #view-statistik .st2{padding:.4rem .2rem 2.2rem}

/* -------- Underlag v2 (static Research subview) -------- */
#rd-underlag.rd-u2{min-width:0}
#rd-underlag.rd-u2 .rd-sh{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:1rem;align-items:end;margin:0 0 1.2rem}
#rd-underlag.rd-u2 .rd-kick{margin:0 0 .25rem;font-size:.72rem;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--tp-muted,#5d6166)}
#rd-underlag.rd-u2 .rd-h{margin:0;font-size:1.55rem;line-height:1.2}
#rd-underlag.rd-u2 .rd-u-card{background:var(--tp-inst,#0a0a0a);color:var(--tp-inst-ink,#f2f2f2);border-radius:16px;padding:1rem 1.1rem;font-size:.9rem;line-height:1.5;margin:0}
@media (max-width:700px){
  #rd-underlag.rd-u2 .rd-sh{grid-template-columns:minmax(0,1fr)}
}
#rd-underlag.rd-u2 .rx-h2{font-size:1.15rem;margin:1.8rem 0 .7rem;padding-bottom:.35rem;border-bottom:1px solid var(--tp-line,#b9bdc2);color:inherit}
#rd-underlag.rd-u2>details#rx-konv{border:1px solid var(--tp-line,#b9bdc2);border-radius:16px;background:var(--rd-surface);padding:.3rem 1rem .8rem;margin:0 0 1rem}
#rd-underlag.rd-u2>details#rx-konv>summary{font-weight:650;font-size:1.05rem;padding:.7rem 0;cursor:pointer}
#rd-underlag.rd-u2 footer.st2-foot{margin-top:1.6rem}

.pl-pop[hidden]{display:none}
.pl-pop{display:block;margin:.4rem 0;padding:.55rem .7rem;border:1px solid var(--tp-line,#b9bdc2);border-radius:10px;background:var(--rd-surface);font-size:.86rem;line-height:1.45;color:var(--tp-soft,#3f4246)}
