/* V3045 · Chart-Community (Testseite). Schrift erbt von den Chart-Reitern; Farben aus Chart-Flächentokens. */
html body.mt-chart-layout-2991{--mtcf-ink:var(--mt-chart-ink,#14254a);--mtcf-head:#14254a;--mtcf-muted:#5b6b85;--mtcf-line:#dfe5ee;--mtcf-surf:var(--mt-chart-surface,#fff);--mtcf-gold:var(--mt-chart-action,#ffc400)}
#mtIntelligenceTabs>.mtcf-tab{font:inherit}
#mtIntelligenceTabs>.mtcf-tab.active{background:var(--mtcf-gold)!important;background-image:none!important}
#primaryChartCard.mt-community-workspace .mtcn{display:none!important}
.mtcf{height:650px;overflow:auto;overscroll-behavior:contain;padding:12px 18px 16px;box-sizing:border-box;background:var(--mtcf-surf)!important;color:var(--mtcf-ink)!important;font-size:14px;line-height:1.5;min-width:0}
.mtcf[hidden]{display:none!important}
.mtcf-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 10px}
.mtcf-head h2{margin:0;font-size:18px;color:var(--mtcf-head)}
.mtcf button{font:inherit;cursor:pointer}
.mtcf-back{border:0;background:none!important;color:var(--mtcf-head)!important;font-weight:700!important;padding:4px}
.mtcf-filters{display:flex;gap:8px;margin:0 0 10px}
.mtcf-filters button{border:1px solid var(--mtcf-line);border-radius:6px;background:var(--mtcf-surf)!important;color:var(--mtcf-head)!important;padding:6px 14px;font-weight:600}
.mtcf-filters button[aria-pressed="true"]{border:2px solid var(--mtcf-gold);padding:5px 13px}
.mtcf-post{border:1px solid var(--mtcf-line);border-radius:8px;padding:14px 18px;margin:0 0 12px;background:var(--mtcf-surf)}
.mtcf-post.mtcf-sel,.mtcf-mini.mtcf-sel{border:2px solid var(--mtcf-gold)}
.mtcf-ph,.mtcf-top{display:flex;gap:10px;align-items:flex-start}
.mtcf-av{position:relative;flex:0 0 auto;width:44px;height:44px;border-radius:50%;overflow:hidden;background:#1a9aa8;color:#fff;display:grid;place-items:center;border:2px solid var(--mtcf-gold)}
.mtcf-mini .mtcf-av{width:40px;height:40px}
.mtcf-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mtcf-who{min-width:0;display:flex;flex-direction:column}
.mtcf-who a,.mtcf-who b{color:var(--mtcf-head);font-weight:700;text-decoration:none}
.mtcf-who small{color:var(--mtcf-muted)}
.mtcf-badge{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:4px;background:#14254a;color:var(--mtcf-gold);font-size:10px;font-weight:800;vertical-align:middle}
.mtcf-pb{margin:6px 0 0 54px}
.mtcf-pb h3{margin:0 0 6px;font-size:18px;color:var(--mtcf-head)}
.mtcf-text p{margin:0 0 8px;color:var(--mtcf-ink)}
.mtcf-img{display:block;max-width:100%;height:auto;border-radius:6px;margin:8px 0}
.mtcf-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 0}
.mtcf-act{border:1px solid var(--mtcf-line);border-radius:6px;background:var(--mtcf-surf)!important;color:var(--mtcf-head)!important;padding:7px 14px}
.mtcf-act[aria-pressed="true"]{border-color:var(--mtcf-gold);font-weight:700}
.mtcf-cnt{color:var(--mtcf-muted);font-size:13px;display:flex;gap:12px}
.mtcf-cms{border-top:1px solid var(--mtcf-line);margin-top:12px;padding-top:8px}
.mtcf-cms h5{margin:0 0 8px;font-size:14px;color:var(--mtcf-head)}
.mtcf-cm{display:flex;gap:8px;margin:0 0 8px}.mtcf-cm .mtcf-av{width:30px;height:30px;border-width:1px}.mtcf-cm p{margin:2px 0 0}
.mtcf-cf{display:flex;gap:10px;margin-top:8px;align-items:flex-end}
.mtcf-cf input,.mtcf-cf textarea{flex:1;min-width:0;border:1px solid var(--mtcf-line);border-radius:6px;padding:9px 12px;font:inherit;background:var(--mtcf-surf);color:var(--mtcf-ink)}
.mtcf-cf textarea{min-height:78px;line-height:1.45;resize:vertical}
.mtcf-cf button,.mtcf-first{border:0;border-radius:6px;background:var(--mtcf-gold)!important;color:#14254a!important;font-weight:700;padding:9px 28px}
.mtcf-more{display:block;margin:6px auto 0;border:1px solid var(--mtcf-line);border-radius:6px;background:var(--mtcf-surf)!important;color:var(--mtcf-head)!important;padding:8px 18px}
.mtcf-muted{color:var(--mtcf-muted)}
.mtcf-empty{padding:12px 0}.mtcf-empty p{margin:0 0 10px}
/* Rechte Leiste */
.mtcf-switch{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--mtcf-line);margin:0 0 8px}
.mtcf-switch button{border:0;border-bottom:3px solid transparent;background:var(--mtcf-surf)!important;color:var(--mtcf-head)!important;font:inherit;font-weight:700;padding:8px 4px;cursor:pointer}
.mtcf-switch button.active{border-bottom-color:var(--mtcf-gold)}
.mtcl-side .mtcf-side{display:none}
.mtcl-side.mtcf-mode-community>:not(.mtcf-switch):not(.mtcf-side){display:none!important}
.mtcl-side.mtcf-mode-community>.mtcf-side{display:block;overflow:auto;min-height:0;flex:1;padding:0 8px 8px}
.mtcf-side h3{margin:4px 0 8px;font-size:17px;color:var(--mtcf-head)}
.mtcf-side .mtcf-filters button{flex:1;padding:6px 8px}
.mtcf-mini{border:1px solid var(--mtcf-line);border-radius:8px;padding:10px;margin:0 0 8px;background:var(--mtcf-surf);color:var(--mtcf-ink)}
.mtcf-mini h4{margin:6px 0 2px;font-size:14px;line-height:1.3;color:var(--mtcf-head)}
.mtcf-mini p{margin:0;font-size:13px;color:var(--mtcf-ink)}
.mtcf-read{border:0;background:none!important;color:var(--mtcf-head)!important;font:inherit;font-weight:700;padding:4px 0;cursor:pointer}
/* Wertzuordnung unter der Eingabe */
.mtcf-assign{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0}
.mtcf-chip,.mtcf-addval{border:1px solid var(--mtcf-line);border-radius:6px;padding:6px 12px;background:var(--mtcf-surf)!important;color:var(--mtcf-head)!important;font:inherit;font-weight:600}
.mtcf-addval{font-weight:500;cursor:pointer}
.mtcf-hint{flex-basis:100%;margin:0;color:var(--mtcf-muted);font-size:13px}
@media(max-width:900px){.mtcf{height:auto;overflow:visible;padding:12px}.mtcf-pb{margin-left:0}}
.mtcf-switch button.active{box-shadow:inset 0 -3px 0 var(--mtcf-gold)}
/* Reihenfolge wie Bildvorlage: … Trendziele · Watchlist · Community */
html body.mt-chart-layout-2991 #primaryChartCard #mtIntelligenceTabs .mtcl-toggle{margin-left:0!important}
html body.mt-chart-layout-2991 #primaryChartCard #mtIntelligenceTabs>.mtcf-tab{order:6!important;border:1px solid var(--mt-chart-input-border)!important;border-radius:6px}
html body.mt-chart-layout-2991 #primaryChartCard #mtIntelligenceTabs>.mtcf-tab.active{border-color:var(--mtcf-gold)!important}
html body .mtcf h2.mtcf-x,html body .mtcf .mtcf-head h2{font-size:17px!important;font-weight:700!important}
html body .mtcf .mtcf-pb h3{font-size:19px!important;font-weight:700!important}
html body .mtcf-side h3{font-size:16px!important;font-weight:700!important}
html body .mtcf-mini h4{font-size:13.5px!important;font-weight:700!important}
html body :is(.mtcf,.mtcf-side) .mtcf-who{display:grid;grid-template-columns:auto 1fr;column-gap:6px;align-items:center}
html body :is(.mtcf,.mtcf-side) .mtcf-who small{grid-column:1/-1}
html body :is(.mtcf,.mtcf-side) .mtcf-who a{text-decoration:none!important}
html body :is(.mtcf,.mtcf-side) .mtcf-filters button{border:1px solid var(--mtcf-line)!important}
html body :is(.mtcf,.mtcf-side) .mtcf-filters button[aria-pressed="true"]{border:2px solid var(--mtcf-gold)!important}
html body :is(.mtcf,.mtcf-side) :is(.mtcf-post,.mtcf-mini).mtcf-sel{border:2px solid var(--mtcf-gold)!important}
html body .mtcf-assign .mtcf-chip{border:1px solid var(--mtcf-line)!important}
html body.mt-chart-layout-2991 #primaryChartCard #mtIntelligenceTabs>.mtcf-tab{font-size:14px!important;font-weight:700!important;height:auto!important;min-height:36px!important;padding:6px 16px!important}
.mtcf-act{display:inline-flex;align-items:center;gap:8px;min-width:150px}
.mtcf-act svg{width:18px;height:18px;flex:0 0 auto}
.mtcf-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mtcf-chip{display:inline-flex;align-items:center;gap:10px}
.mtcf-chx,.mtcf-stx{border:0;background:none!important;color:var(--mtcf-head)!important;font-size:16px;line-height:1;padding:0 2px;cursor:pointer}
.mtcf-addwrap{position:relative;display:inline-flex;gap:8px;align-items:center}
.mtcf-pick input{border:1px solid var(--mtcf-line);border-radius:6px;padding:6px 10px;font:inherit;min-width:220px}
.mtcf-sugg{position:absolute;left:0;top:100%;z-index:30;display:flex;flex-direction:column;min-width:260px;background:var(--mtcf-surf);border:1px solid var(--mtcf-line);border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.mtcf-sugg:empty{display:none}
.mtcf-sugg button{border:0;text-align:left;padding:7px 10px;font:inherit;cursor:pointer}
.mtcf-sugg em{padding:7px 10px;color:var(--mtcf-muted)}
.mtcf-stance{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--mtcf-gold);border-radius:6px;padding:4px 8px;font-size:13px;white-space:nowrap}
.mtcf-switch{grid-template-columns:1fr 1fr auto}
.mtcf-collapse{min-width:34px}
.mtcf-assign .mtcf-chip,.mtcf-assign .mtcf-addval{min-height:38px!important;height:38px!important;box-sizing:border-box;display:inline-flex;align-items:center}
html body.mt-chart-layout-2991 #primaryChartCard #mtIntelligenceTabs>.mt-ziele-bar{order:4!important}

/* V3045g · Leiste wie Watchlist, Karten ganz anklickbar, Anhänge */
.mtcf-mini{cursor:pointer}.mtcf-mini:hover{border-color:var(--mtcf-gold)}
.mtcf-mini.mtcf-sel{border:2px solid var(--mtcf-gold)!important;background:color-mix(in srgb,var(--mtcf-gold) 14%,var(--mtcf-surf))!important}
.mtcf-mini .mtcf-cnt svg,.mtcf-act svg{width:15px;height:15px;vertical-align:-3px}
.mtcf-refs{display:grid;gap:8px;margin:12px 0}
.mtcf-ref{display:block;border:1px solid var(--mtcf-line);border-radius:8px;padding:10px 12px;text-decoration:none;color:var(--mtcf-head)!important;background:var(--mtcf-surf)}
.mtcf-ref b{display:block;font-size:14px}.mtcf-ref span{font-size:13px;color:var(--mtcf-ink)}
.mtcf-reply{border:0!important;background:none!important;background-image:none!important;padding:2px 0!important;font-size:12.5px;font-weight:700;cursor:pointer;text-decoration:underline}
.mtcf-post.mtcf-sel{border:2px solid var(--mtcf-gold)!important}

.mtcf-head{padding-top:4px}.mtcf-head .mtcf-filters{margin:0}
.mtcf-cf{align-items:center}.mtcf-cf>.mtcf-av{flex:0 0 auto}
