/* WEB ANTON — Outline (Wiki). Stand 2026-10-19.
 * Akzentfarbe und Teamname setzt Outline selbst (Team-Einstellungen,
 * customTheme accent #9FD3FF / accentText #0A0A0C), Dunkelmodus ist eine
 * Benutzer-Einstellung. Hier nur: Wortmarke statt Team-Logo und eine
 * aufgeraeumte Login-Seite (nur "WEB ANTON Login"). Tokens: /brand/brand.css */

img[alt="Logo"] {
  content: var(--brand-logo) !important;
  width: auto !important;
  height: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}
/* Outline steckt das Logo in eine 24x24-Box mit overflow:hidden */
*:has(> img[alt="Logo"]) { width: auto !important; min-width: 120px !important; height: auto !important; overflow: visible !important; }
/* Teamname neben dem Logo ausblenden — die Wortmarke traegt den Namen */
*:has(> img[alt="Logo"]) + * { display: none !important; }

::selection { background: var(--brand-accent); color: var(--brand-on-accent); }

/* Login-Seite: nur den SSO-Knopf zeigen. E-Mail-Login bleibt im Backend
 * als Notausgang aktiv, wird aber nicht angeboten. */
a[href^="/auth/email"], form[action^="/auth/email"] { display: none !important; }
form[action="/auth/oidc"] ~ *, form[action="/auth/oidc"] + span, form[action="/auth/oidc"] + p, form[action="/auth/oidc"] + div { display: none !important; }
hr:has(+ div form[action="/auth/email"]), span:has(+ hr + div form[action="/auth/email"]) { display: none !important; }
div:has(+ button + span + hr + div form[action="/auth/email"]) { display: none !important; }
