/* Mastermind-Skin (16.11.2026): aktiv, wenn man per SSO aus dem Mastermind kommt
   (Session mastermindShell, gesetzt nur von /sso/consume). Werte wie Roundcast-Skin:
   Flächen aus mastermind color-mode.css, Akzent gold|teal|violet, Schrift Inter, größere Ecken.
   Selektoren mit html + zwei Attributen, damit sie die Theme-Tokens aus tokens.css schlagen. */

html[data-mm-shell="1"][data-theme] {
  color-scheme: light;
  --bg: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9; --ink: #0f172a; --ink-soft: #64748b;
  --rule: #e2e8f0; --accent: #8a6206; --accent-ink: #ffffff; --focus: #c9940a;
  --font-display: Inter, system-ui, sans-serif; --font-text: Inter, system-ui, sans-serif;
  --text-base: 16px; --radius-control: 0.6rem; --radius-panel: 0.9rem;
  --shadow-1: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
}
html[data-mm-shell="1"][data-theme][data-mode-resolved="dark"] {
  color-scheme: dark;
  --bg: #0b1120; --surface: #111827; --surface-2: #1e293b; --ink: #e2e8f0; --ink-soft: #94a3b8;
  --rule: #1f2937; --accent: #eab308; --accent-ink: #0f172a; --focus: #eab308;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 30%);
}
html[data-mm-shell="1"][data-theme][data-accent="teal"] { --accent: #0f766e; --focus: #14b8a6; }
html[data-mm-shell="1"][data-theme][data-accent="violet"] { --accent: #7c3aed; --focus: #8b5cf6; }
html[data-mm-shell="1"][data-theme][data-mode-resolved="dark"][data-accent="teal"] { --accent: #2dd4bf; --focus: #2dd4bf; }
html[data-mm-shell="1"][data-theme][data-mode-resolved="dark"][data-accent="violet"] { --accent: #a78bfa; --focus: #a78bfa; }

html[data-mm-shell="1"] .auth-submit { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.mm-shell-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  font: 500 0.85rem/1 Inter, system-ui, sans-serif;
}
.mm-shell-bar a { color: var(--ink); text-decoration: none; }
.mm-shell-bar a:hover, .mm-shell-bar a:focus-visible { text-decoration: underline; }
.mm-shell-bar__title { color: var(--ink-soft); }
