/* Talk (Element Web, bei uns „Talk“ seit 28.09.2026): eigenes Aussehen.
   Eingebunden von talk_marke.py (Server /opt/team/werkzeuge/, Cron alle 5 min) — übersteht jedes Element-Update.
   Schrift überall Arial; Schwarz ist #333333; Akzent leano-Blau #507DBF statt Element-Grün (wie im Hub).
   Grün für „bestätigt/sicher“ (Schild, Häkchen) bleibt bewusst grün — das ist ein Sicherheitssignal. */

:root, body {
  --cpd-font-family-sans: Arial, Helvetica, var(--emoji-font-family), "Apple Color Emoji", "Segoe UI Emoji", sans-serif, "Noto Color Emoji" !important;
}

body.cpd-theme-light, body.cpd-theme-light-hc {
  --cpd-color-gray-1400: #333333 !important;          /* Haupttext, Hauptsymbole, dunkle Knöpfe */
  --cpd-color-text-primary: #333333 !important;
  --cpd-color-bg-accent-rest: #507DBF !important;
  --cpd-color-bg-accent-hovered: #3C6BA8 !important;
  --cpd-color-bg-accent-pressed: #34609A !important;
  --cpd-color-bg-accent-selected: rgba(80, 125, 191, 0.15) !important;
  --cpd-color-bg-badge-accent: #EEF3FA !important;
  --cpd-color-text-badge-accent: #3C6BA8 !important;
  --cpd-color-border-accent-primary: #507DBF !important;
  --cpd-color-border-accent-subtle: #9DB6DC !important;
  --cpd-color-icon-accent-primary: #507DBF !important;
  --cpd-color-icon-accent-tertiary: #507DBF !important;
  --cpd-color-text-action-accent: #507DBF !important;
  --event-tile-bubble-self-background: #EEF3FA !important;
}

/* „Betrieben mit Matrix“ und Fußzeilen-Links unter der Anmeldung */
.mx_AuthFooter { display: none !important; }

/* Anmeldeseite: Grund = talk/talk-grund.svg (config.json), Schriftzug Talk */
.mx_AuthHeaderLogo img { width: 165px !important; height: auto !important; }

/* Einstellungen: „Hilfe & Info“ weg (Karsten 28.09.2026: „kannst du einfach weglassen“) und die Integrationsverwaltung
   (bei uns abgeschaltet, config.json integrations_* = null). */
li[aria-controls="mx_tabpanel_USER_HELP_TAB"] { display: none !important; }
.mx_SetIntegrationManager { display: none !important; }
