/* V2869 · „Weiße Karten für Community": nur eingebettete Beitragsanhänge (.mtma) hell.
   Gilt für Wertkarte, Systemchart, Kurszielchart, Sentiment und Systemanalyse in Community,
   Profilen, Editorvorschau und Startseitenvorschau. Äußere Beitragskarten/Seitenhintergrund unverändert.
   Reine CSS-Regel (keine Messung/Observer) → kein Aufblitzen, keine zusätzliche Last. */
html body .mtma{
 --wa-bg:#F7F9FC;--wa-ink:#142B49;--wa-mut:#526176;--wa-pos:#087A43;--wa-neg:#C92A40;
 --wa-neu:#3E4C61;--wa-ora:#A8520A;--wa-line:#DCE3EC;
}
html body .mtma :is(.mtma-value,.mtma-chart,.mtma-ana,.mtma-pick){
 background:var(--wa-bg)!important;background-image:none!important;border:1px solid var(--wa-line)!important;
 color:var(--wa-ink)!important;-webkit-text-fill-color:currentColor!important;box-shadow:0 1px 3px rgba(20,43,73,.08)!important
}
html body .mtma :is(.mtma-value,.mtma-chart,.mtma-ana,.mtma-pick) *{color:var(--wa-ink)!important;-webkit-text-fill-color:currentColor!important}
html body .mtma :is(.mtma-value,.mtma-chart,.mtma-ana,.mtma-pick) :is(small,span,dt,figcaption span,th,.mtma-bar-lab span,.mtma-hist small,header small){color:var(--wa-mut)!important}
/* Gewinn/Verlust & Status (unabhängig voneinander) */
html body .mtma :is(.up,.green,.mtma-st.long){color:var(--wa-pos)!important}
html body .mtma :is(.down,.red,.mtma-st.flat){color:var(--wa-neg)!important}
html body .mtma :is(.mtma-st.neutral,.neutral){color:var(--wa-neu)!important}
html body .mtma :is(.yellow,.orange){color:var(--wa-ora)!important}
html body .mtma .mtma-ana h4{color:var(--wa-ora)!important}
/* Logos */
html body .mtma :is(.mtma-logo){background-color:#fff!important;border:1px solid var(--wa-line)}
html body .mtma .mtma-initials{background:#ffd84d!important;color:#0f2a4a!important}
/* Charts (SVG) */
html body .mtma .mtma-chart svg rect[fill="#fff"],html body .mtma .mtma-chart svg rect[fill="#ffffff"],html body .mtma .mtma-chart svg rect[fill="white"]{fill:var(--wa-bg)!important}
html body .mtma .mtma-chart .grid{stroke:var(--wa-line)!important}
html body .mtma .mtma-chart :is(.ax){fill:var(--wa-mut)!important}
html body .mtma .mtma-chart .tlab{fill:var(--wa-ink)!important}
html body .mtma .mtma-chart .tlab.green{fill:var(--wa-pos)!important}html body .mtma .mtma-chart .tlab.red{fill:var(--wa-neg)!important}html body .mtma .mtma-chart .tlab.blue{fill:#1E5F94!important}
html body .mtma .mtma-chart :is(.wick.up,.candle.up){stroke:var(--wa-pos)!important;fill:var(--wa-pos)!important}
html body .mtma .mtma-chart :is(.wick.down,.candle.down){stroke:var(--wa-neg)!important;fill:var(--wa-neg)!important}
html body .mtma .mtma-chart .sigline.up{stroke:var(--wa-pos)!important}html body .mtma .mtma-chart .sigline.down{stroke:var(--wa-neg)!important}
html body .mtma .mtma-chart :is(.arrow.up,.siglab.up){fill:var(--wa-pos)!important}
html body .mtma .mtma-chart :is(.arrow.down,.siglab.down){fill:var(--wa-neg)!important}
html body .mtma .mtma-chart .lastline{stroke:var(--wa-ink)!important}
html body .mtma .mtma-chart .lastbox{fill:var(--wa-ink)!important}
html body .mtma .mtma-chart .lasttxt{fill:#fff!important}
html body .mtma .mtma-chart .pline{stroke:var(--wa-ink)!important}
html body .mtma .mtma-chart .tline{stroke:var(--wa-ora)!important}
html body .mtma .mtma-chart .tline.green{stroke:var(--wa-pos)!important}html body .mtma .mtma-chart .tline.red{stroke:var(--wa-neg)!important}
html body .mtma .mtma-chart .tline.blue{stroke:#1E5F94!important}html body .mtma .mtma-chart .tline.hit{stroke:#B58900!important}
html body .mtma .mtma-chart .tline.done{stroke:#9AA7B8!important}
html body .mtma .mtma-tk.green{background:var(--wa-pos)!important}html body .mtma .mtma-tk.red{background:var(--wa-neg)!important}html body .mtma .mtma-tk.blue{background:#1E5F94!important}
/* Kursziel-Tabelle & Status-Pillen */
html body .mtma .mtma-tt :is(th,td){border-bottom-color:var(--wa-line)!important;background:transparent!important}
html body .mtma .mtma-ts{border:1px solid var(--wa-line)!important;background:#EEF2F6!important;color:var(--wa-mut)!important}
html body .mtma .mtma-ts.open{background:#FFF1E0!important;border-color:#F0C9A0!important;color:var(--wa-ora)!important}
html body .mtma .mtma-ts.hit{background:#E3F3EA!important;border-color:#A9D8BD!important;color:var(--wa-pos)!important}
/* Systemanalyse */
html body .mtma .mtma-ana header b,html body .mtma .mtma-ana dd,html body .mtma .mtma-ana .mtma-hist b{color:var(--wa-ink)!important}
html body .mtma .mtma-ana .mtma-hist div{background:#fff!important;border:1px solid var(--wa-line)}
html body .mtma .mtma-badge{background:#E6EBF2!important;color:var(--wa-ink)!important}
html body .mtma .mtma-badge.long{background:var(--wa-pos)!important;color:#fff!important}
html body .mtma .mtma-badge.flat{background:var(--wa-neg)!important;color:#fff!important}
/* Sentiment: 5 Bereiche, überverkauft grün → überkauft rot; Markierung dunkel auf Weiß */
html body .mtma .mtma-bar{background:linear-gradient(90deg,#0B6B3A 0 20%,#22A35A 20% 40%,#E3BD20 40% 60%,#E67D32 60% 80%,#C92A40 80%)!important}
html body .mtma .mtma-bar i{background:var(--wa-ink)!important;box-shadow:0 0 0 1px #fff}
html body .mtma .mtma-bar i b{color:var(--wa-ink)!important}
html body .mtma .mtma-v-sent i{background:linear-gradient(90deg,#0B6B3A 0 20%,#22A35A 20% 40%,#E3BD20 40% 60%,#E67D32 60% 80%,#C92A40 80%)!important}
html body .mtma .mtma-v-sent em{border-right-color:var(--wa-ink)!important}
/* Links/Buttons innerhalb heller Anhänge */
html body .mtma .mtma-opt{background:#fff!important;border-color:var(--wa-line)!important;color:var(--wa-ink)!important}
html body .mtma .mtma-opt.is-on{background:#ffd84d!important;border-color:#e0b800!important;color:#0f2a4a!important}
/* Nachkorrektur: Tabellenzeilen, Badges, Sentimentwert */
html body .mtma .mtma-tt :is(table,thead,tbody,tr){background:transparent!important}
html body .mtma .mtma-tt tr:nth-child(n){background:transparent!important}
html body .mtma .mtma-tt td{color:var(--wa-ink)!important;-webkit-text-fill-color:var(--wa-ink)!important}
html body .mtma .mtma-ana .mtma-badge:is(.long,.flat){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .mtma .mtma-ana .mtma-bar i b{color:var(--wa-ink)!important;-webkit-text-fill-color:var(--wa-ink)!important}
html body .mtma .mtma-tt table tbody :is(td,th):not(#mtwa_x){background:transparent!important;color:var(--wa-ink)!important}
html body .mtma .mtma-tt table :is(td,th):not(#mtwa_x){border-bottom-color:var(--wa-line)!important}
html body .mtma :is(.up,.green,.mtma-st.long):not(#mtwa_x){color:var(--wa-pos)!important}
html body .mtma :is(.down,.red,.mtma-st.flat):not(#mtwa_x){color:var(--wa-neg)!important}
/* Hinweistext direkt unter den Anhängen steht auf blauem Grund → hell lesbar */
html body .mtma>:is(.mtma-note,.mtma-empty):not(#mtwa_x){color:#C9D6E6!important;-webkit-text-fill-color:#C9D6E6!important}
/* Erreichte Kursziele: ganze Zeile grün */
html body .mtma .mtma-tt table tbody tr.hit td:not(#mtwa_x){background:#E3F3EA!important}

/* V2871 Ausgangsbasis */
.mtma .mtma-base{margin:6px 0 2px;font-size:12.5px;font-weight:600;color:#142B49}
.mtma .mtma-base.sub{margin-top:0;font-weight:500;color:#526176}
.mtma .mtma-tt small{color:#526176;font-size:11px}
.mtma .mtma-st.up{color:#087A43}.mtma .mtma-st.down{color:#C92A40}
