/* HAL3000 – Plattform e.V. Farbschicht ueber LibreChat (Blau #007FB5, Orange #F59C00) */
html {
  --brand-purple: 0 127 181;
  --accent-primary: 0 127 181;
  --accent-primary-hover: 0 101 145;
  --link: 0 121 173;
  --link-hover: 0 95 138;
  --ring-primary: 0 127 181;
  --surface-submit: 0 127 181;
  --surface-submit-hover: 0 101 145;
  --surface-primary-alt: 236 245 250;   /* Seitenleiste: hellblau getoent */
  --surface-active: 214 234 245;
  --surface-active-alt: 196 224 240;
  --surface-hover: 222 238 247;
  --surface-secondary: 244 249 252;
  --header-hover: 236 245 250;
  --header-button-hover: 236 245 250;
  --border-light: 214 230 240;
}
.dark {
  --brand-purple: 77 182 228;
  --accent-primary: 77 182 228;
  --accent-primary-hover: 120 200 236;
  --link: 102 190 230;
  --link-hover: 140 205 238;
  --ring-primary: 77 182 228;
  --surface-submit: 0 127 181;
  --surface-submit-hover: 0 101 145;
  --surface-primary-alt: 14 32 44;
  --surface-active: 20 52 72;
  --surface-hover: 24 58 80;
}
/* Orange Akzentlinie oben */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 9999;
  background: linear-gradient(90deg, #007FB5 0 70%, #F59C00 70% 100%);
  pointer-events: none;
}
/* Senden-Knopf und Hauptschaltflaechen in Plattform-Blau, beim Darueberfahren Orange-Rand */
button[data-testid="send-button"], #send-button {
  background-color: #007FB5 !important; color: #fff !important;
}
button[data-testid="send-button"]:hover, #send-button:hover { box-shadow: 0 0 0 3px #F59C00; }
/* Eingabefeld: blauer Rahmen bei Fokus */
form textarea:focus { outline: none; }
form:focus-within > div, [data-testid="chat-input"]:focus-within { border-color: #007FB5 !important; }
/* Eigene Nachrichten neutral grau (Wunsch Steffen 03.12.2026, vorher orange) */
[data-testid="user-message"], .user-turn .message-content {
  background: #F0F0F0 !important; border-left: none !important;
}
.dark [data-testid="user-message"], .dark .user-turn .message-content { background: #2f2f2f !important; }
/* Ueberschriften in Antworten blau */
.markdown h1, .markdown h2, .markdown h3 { color: #0079AD; }
.dark .markdown h1, .dark .markdown h2, .dark .markdown h3 { color: #66BEE6; }
.markdown strong { color: inherit; }
.markdown table th { background: #EAF4FA; border-bottom: 2px solid #007FB5; }
.dark .markdown table th { background: #14344a; }
/* Vergleichsmodus-Knopf ausblenden (zusaetzlich zu multiConvo: false) */
[data-testid="add-multi-convo-button"] { display: none !important; }

/* Kopfleiste im Chat: deckend statt durchsichtig, damit kein Text durchscheint */
div.absolute.top-0.z-20[class*="h-[52px]"] {
  background: var(--presentation) !important;
  border-bottom: 1px solid rgba(0,127,181,.15);
}
