/* RadioButler – Design "Split-Studio" (entschieden 2026-09-26)
   Farben nur Schwarz, Weiss, Orange. Schriften Geist / Geist Mono (lokal ausgeliefert). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --rb-black: #0a0a0a;
  --rb-white: #ffffff;
  --rb-orange: #fe6e01;

  /* Abstufungen nur aus Schwarz/Weiss gemischt */
  --rb-grey-50: #f3f3f2;
  --rb-grey-100: #ececea;
  --rb-grey-200: #e2e2e0;
  --rb-grey-400: #9a9a9a;
  --rb-grey-600: #5c5c5c;
  --rb-grey-800: #1c1c1c;

  --rb-font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --rb-mono: "Geist Mono", ui-monospace, monospace;

  --rb-radius-sm: 10px;
  --rb-radius: 18px;
  --rb-radius-lg: 28px;
  --rb-sidebar: 232px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font: 15px/1.55 var(--rb-font);
  color: var(--rb-black);
  background: var(--rb-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--rb-orange); outline-offset: 2px; }

.mono { font-family: var(--rb-mono); }
.eyebrow {
  font: 500 11px/1 var(--rb-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rb-orange);
}
.accent { color: var(--rb-orange); font-style: normal; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px var(--rb-font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rb-orange); color: var(--rb-black); }
.btn-dark { background: var(--rb-black); color: var(--rb-white); }
.btn-ghost { border-color: #444; color: var(--rb-white); background: transparent; }
.btn-block { width: 100%; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 50%; background: var(--rb-white); padding: 2px; }

/* ---------- VU-Meter (Markenzeichen) ---------- */
.vu { display: flex; gap: 3px; align-items: flex-end; height: 34px; }
.vu i {
  width: 5px; height: 100%; background: var(--rb-orange); border-radius: 2px;
  transform-origin: bottom; animation: rb-vu 1.1s ease-in-out infinite;
}
.vu i:nth-child(2) { animation-delay: .2s; }
.vu i:nth-child(3) { animation-delay: .45s; }
.vu i:nth-child(4) { animation-delay: .1s; }
.vu i:nth-child(5) { animation-delay: .6s; }
.vu i:nth-child(6) { animation-delay: .3s; }
.vu i:nth-child(7) { animation-delay: .75s; }
.vu i:nth-child(8) { animation-delay: .15s; }
.vu-lg { height: 60px; } .vu-lg i { width: 8px; }
@keyframes rb-vu { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Oeffentliche Seite ---------- */
.site-header {
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(16px, 4vw, 40px);
  background: var(--rb-black); color: var(--rb-white);
}
.site-header .brand { margin-right: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--rb-grey-400); }
.site-nav a:hover { color: var(--rb-white); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--rb-black); }

.tile {
  border-radius: var(--rb-radius); padding: 18px; background: var(--rb-grey-50);
  display: flex; flex-direction: column; gap: 6px; justify-content: space-between;
}
.tile small { font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; }
.tile b { font-size: 30px; letter-spacing: -.03em; }
.tile-orange { background: var(--rb-orange); }
.tile-black { background: var(--rb-black); color: var(--rb-white); }
.tile-black small { color: var(--rb-orange); }
.tile-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }

.marquee { background: var(--rb-black); color: var(--rb-white); overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex; gap: 26px; padding: 14px 0;
  font: 700 13px var(--rb-mono); letter-spacing: .14em;
  animation: rb-marquee 32s linear infinite;
}
.marquee-track span { display: inline-flex; gap: 26px; align-items: center; }
.marquee-track i { font-style: normal; color: var(--rb-orange); }
@keyframes rb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 56px clamp(16px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.section-head p { font-size: 16px; }
.section-grey { background: var(--rb-grey-50); }
.small { font-size: 13px; }
.btn-outline { border-color: var(--rb-grey-200); background: var(--rb-white); color: var(--rb-black); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
[hidden] { display: none !important; }

/* ---------- Anmelde-Assistent ---------- */
.ob-steps {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  max-width: 1040px;
}
.ob-steps li {
  border-top: 3px solid var(--rb-grey-200); padding-top: 10px;
  font: 500 12px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-400);
  display: flex; flex-direction: column; gap: 2px;
}
.ob-steps li span { font-size: 18px; font-weight: 700; color: inherit; }
.ob-steps li.active { border-color: var(--rb-orange); color: var(--rb-black); }
.ob-steps li.done { border-color: var(--rb-black); color: var(--rb-black); }
.ob-card {
  max-width: 1040px; border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius-lg);
  padding: clamp(18px, 3vw, 32px); background: var(--rb-white);
}
.ob-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ob-step legend { padding: 0; margin-bottom: 6px; }
.ob-step h3 { font-size: 26px; }
.ob-step h4 { font-size: 17px; margin-top: 8px; }
.ob-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.ob-ok { border-radius: var(--rb-radius-sm); padding: 10px 14px; background: var(--rb-orange); color: var(--rb-black); font-weight: 500; }

.ob-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ob-tile {
  position: relative; cursor: pointer; border-radius: var(--rb-radius); padding: 18px;
  border: 2px solid var(--rb-grey-100); background: var(--rb-grey-50);
  display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, background .15s;
}
.ob-tile:hover { border-color: var(--rb-grey-400); }
.ob-tile input { position: absolute; opacity: 0; pointer-events: none; }
.ob-tile:has(input:checked) { background: var(--rb-black); border-color: var(--rb-black); color: var(--rb-white); }
.ob-tile:has(input:checked) .ob-tile-tag, .ob-tile:has(input:checked) small { color: var(--rb-grey-400); }
.ob-tile:has(input:focus-visible) { outline: 3px solid var(--rb-orange); outline-offset: 2px; }
.ob-tile-name { font: 500 12px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-orange); }
.ob-tile-price { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.ob-tile-price small { display: block; font: 400 12px var(--rb-font); letter-spacing: 0; color: var(--rb-grey-600); }
.ob-tile-price .ob-contact { font-size: 18px; font-weight: 600; color: inherit; }
.ob-tile-tag { font-size: 14px; color: var(--rb-grey-600); }

/* Projektbeschreibung nur beim Enterprise-Tarif */
.ob-enterprise.field { display: none; background: var(--rb-grey-50); border-radius: var(--rb-radius); padding: 16px; }
.ob-form:has(input[data-enterprise="true"]:checked) .ob-enterprise.field { display: flex; }
/* Schritt KI & Stimmen: Key-Felder nur bei "eigene Keys" */
.ob-grid.ob-ownkeys { display: none; margin-top: 16px; }
.ob-form:has(input[name="AiMode"][value="own"]:checked) .ob-grid.ob-ownkeys { display: grid; }

.ob-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-feature, .ob-checks label {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius-sm); padding: 14px;
}
.ob-feature strong { display: block; }
.ob-feature:has(input:checked) { border-color: var(--rb-black); }
.ob-feature input, .ob-checks input { accent-color: var(--rb-orange); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.ob-checks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ob-streamurl {
  border-radius: var(--rb-radius-sm); padding: 12px 14px; background: var(--rb-black);
  font: 500 14px var(--rb-mono); word-break: break-all;
}
.ob-streamurl a { color: var(--rb-orange); }

/* ---------- Produkt ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how .tile { min-height: 150px; justify-content: flex-start; }
.how .tile b { font-size: 22px; }
.how .tile span { color: var(--rb-grey-600); }
.how .tile-black span { color: var(--rb-grey-400); }
.how .tile-orange small, .how .tile-orange span { color: var(--rb-black); }
textarea.input { resize: vertical; font-family: var(--rb-font); }

.site-footer {
  background: var(--rb-black); color: var(--rb-grey-400);
  padding: 28px clamp(16px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
}
.site-footer a { color: var(--rb-grey-400); text-decoration: none; }
.site-footer a:hover { color: var(--rb-white); }
.site-footer .spacer { flex: 1; }

/* ---------- Login ---------- */
.auth {
  min-height: calc(100vh - 140px); display: grid; place-items: center;
  padding: 40px 16px; background: var(--rb-grey-50);
}
.auth-card {
  width: 100%; max-width: 400px; background: var(--rb-white);
  border-radius: var(--rb-radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.auth-card h1 { font-size: 30px; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-600); }
.input, select.input {
  font: 15px var(--rb-font); padding: 11px 14px; border-radius: var(--rb-radius-sm);
  border: 1px solid var(--rb-grey-200); background: var(--rb-white); color: var(--rb-black);
}
.input:focus { outline: none; border-color: var(--rb-orange); box-shadow: 0 0 0 3px rgba(254, 110, 1, .18); }
.alert {
  border-radius: var(--rb-radius-sm); padding: 10px 14px;
  background: var(--rb-black); color: var(--rb-white); font-size: 14px;
}
.alert::before { content: "● "; color: var(--rb-orange); }
.muted { color: var(--rb-grey-600); }
.link { color: var(--rb-black); text-decoration-color: var(--rb-orange); text-underline-offset: 3px; }

/* ---------- Login-Bereich: Split-Studio ---------- */
.studio { display: grid; grid-template-columns: var(--rb-sidebar) 1fr; min-height: 100vh; background: var(--rb-black); }

.sidebar {
  color: var(--rb-grey-400); padding: 18px 12px 24px;
  display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { color: var(--rb-white); padding: 0 8px 14px; }
.station-select { margin: 0 4px 10px; position: relative; }
.station-select select {
  width: 100%; appearance: none; cursor: pointer;
  background: transparent; color: var(--rb-white);
  border: 1px solid #2a2a2a; border-radius: var(--rb-radius-sm);
  padding: 8px 28px 8px 26px; font: 500 14px var(--rb-font);
}
.station-select select option { color: var(--rb-black); }
.station-select::before {
  content: ""; position: absolute; left: 11px; top: 50%; translate: 0 -50%;
  width: 8px; height: 8px; border-radius: 50%; background: var(--rb-orange);
}
.station-select::after { content: "▾"; position: absolute; right: 11px; top: 50%; translate: 0 -50%; color: var(--rb-white); pointer-events: none; }

.nav-group { font: 500 14px var(--rb-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rb-grey-400); padding: 10px 10px; }
.nav-single { padding: 6px 0; }
.nav-section summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; border-radius: 8px; }
.nav-section summary::-webkit-details-marker { display: none; }
.nav-section summary::after { content: "+"; font-size: 12px; }
.nav-section[open] summary::after { content: "–"; }
.nav-section summary:hover { color: var(--rb-white); }
.nav-section[open] { padding-bottom: 4px; }
.nav-item {
  padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center; color: var(--rb-grey-400);
}
.nav-item:hover { color: var(--rb-white); background: #161616; }
.nav-item.active { background: var(--rb-white); color: var(--rb-black); font-weight: 600; }
.nav-item em { font: normal 10px var(--rb-mono); color: var(--rb-orange); }
.nav-item.pending { opacity: .55; }
.nav-item.active.pending { opacity: 1; }
.sidebar .spacer { flex: 1; min-height: 16px; }

.canvas {
  background: var(--rb-white); border-radius: 22px 0 0 0;
  padding: 22px clamp(16px, 2.4vw, 30px) 40px; min-width: 0;
}
.canvas-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.canvas-top h1 { font-size: 28px; }

.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.bento .tile { min-height: 120px; }
.bento .tile-black { grid-row: span 2; }
.bento .span-2 { grid-column: span 2; }
.quota { height: 6px; background: var(--rb-grey-200); border-radius: 3px; }
.quota i { display: block; height: 100%; background: var(--rb-orange); border-radius: 3px; }

.list { background: var(--rb-white); border: 1px solid var(--rb-grey-100); justify-content: flex-start; }
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--rb-grey-100); }
.list-row:first-of-type { border-top: 0; }
.pill { font: 700 10px var(--rb-mono); border-radius: 999px; padding: 3px 9px; background: var(--rb-orange); color: var(--rb-black); }
.pill-off { background: var(--rb-grey-100); color: var(--rb-grey-600); }

.empty {
  border: 1px dashed var(--rb-grey-200); border-radius: var(--rb-radius);
  padding: 36px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}

.menu-toggle { display: none; }


/* =====================================================================
   BAUSTEINE des Login-Bereichs. Alle Seiten nutzen nur diese Klassen
   (plus die Tag-Helper in Infrastructure/TagHelpers.cs). Uebersicht:
   /app/admin/styleguide. Aenderungen hier wirken auf allen Seiten.
   ===================================================================== */

/* Seitenkopf */
.page-header { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.page-title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.page-title h1 { font-size: clamp(24px, 3vw, 30px); }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-actions select.input { min-width: 180px; }

/* Stapel und Raster */
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* Karten */
.card { background: var(--rb-white); border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius); padding: clamp(16px, 2.4vw, 22px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-dark { background: var(--rb-black); color: var(--rb-white); border-color: var(--rb-black); }
.card-dark .muted { color: var(--rb-grey-400); }
.card-title { font-size: 17px; letter-spacing: -.02em; }
.card-dark .alert { background: var(--rb-grey-800); }

/* Formulare */
.form-grid, .ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2, .ob-grid .span-2 { grid-column: 1 / -1; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field .hint { color: var(--rb-grey-600); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--rb-orange); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
input[type=range] { accent-color: var(--rb-orange); }
input[type=file].input { padding: 8px; }

/* Buttons: Groessen und Varianten */
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger { background: var(--rb-white); color: var(--rb-black); border-color: var(--rb-black); }
.btn-danger:hover { background: var(--rb-black); color: var(--rb-white); }
.btn-link { background: none; border: 0; padding: 0; color: var(--rb-black); text-decoration: underline; text-decoration-color: var(--rb-orange); text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius); background: var(--rb-white); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-600); padding: 12px 14px; background: var(--rb-grey-50); white-space: nowrap; }
.table td { padding: 10px 14px; border-top: 1px solid var(--rb-grey-100); vertical-align: middle; }
.table tbody tr:hover { background: var(--rb-grey-50); }
.table a { color: var(--rb-black); font-weight: 600; text-decoration-color: var(--rb-orange); text-underline-offset: 3px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table-empty { padding: 28px; text-align: center; color: var(--rb-grey-600); }

/* Meldungen */
.notice { border-radius: var(--rb-radius-sm); padding: 10px 14px; background: var(--rb-orange); color: var(--rb-black); font-size: 14px; font-weight: 500; }
.stack > .alert, .stack > .notice { margin: 0; }

/* Status-Pillen */
.pill-on { background: var(--rb-orange); color: var(--rb-black); }
.pill-off { background: var(--rb-grey-100); color: var(--rb-grey-600); }
.pill-warn { background: var(--rb-white); color: var(--rb-black); box-shadow: inset 0 0 0 1.5px var(--rb-orange); }
.pill-error { background: var(--rb-black); color: var(--rb-white); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--rb-grey-50); border-radius: var(--rb-radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat small { font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-600); }
.stat b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Reiter (Links oder Buttons) */
/* Nur nav.tabs: der Baustein <tabs> (class "tabs") enthaelt ganze Formulare, deren Links und Knoepfe sonst wie Reiter aussehen. */
nav.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--rb-grey-100); }
nav.tabs a, nav.tabs button { padding: 10px 14px; border: 0; background: none; font: 500 14px var(--rb-font); color: var(--rb-grey-600); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
nav.tabs .active, nav.tabs a:hover, nav.tabs button:hover { color: var(--rb-black); border-bottom-color: var(--rb-orange); }

/* Audio und Dialog */
audio.audio { height: 34px; width: 240px; max-width: 100%; vertical-align: middle; }
dialog.dialog { border: 0; border-radius: var(--rb-radius-lg); padding: 24px; width: min(560px, calc(100vw - 32px)); }
dialog.dialog::backdrop { background: rgba(10, 10, 10, .55); }
details.more > summary { cursor: pointer; font-weight: 600; }

/* Vorformatierter Text (Prompts, Logs) */
.pre { font: 13px/1.5 var(--rb-mono); white-space: pre-wrap; word-break: break-word; background: var(--rb-grey-50); border-radius: var(--rb-radius-sm); padding: 12px 14px; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile-black { grid-row: auto; grid-column: 1 / -1; }

  .studio { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; display: none; }
  .studio.menu-open .sidebar { display: flex; }
  .sidebar > .brand { display: none; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; color: var(--rb-white);
  }
  .menu-toggle button { background: none; border: 1px solid #2a2a2a; color: var(--rb-white); border-radius: 8px; padding: 6px 12px; font: 500 13px var(--rb-font); }
  .canvas { border-radius: 22px 22px 0 0; }
}
@media (max-width: 560px) {
  .bento, .ob-grid, .form-grid, .grid-2, .grid-3, .ob-features { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .ob-grid .span-2 { grid-column: auto; }
  .ob-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .ob-steps li { font-size: 9px; letter-spacing: .02em; }
  .bento .span-2 { grid-column: auto; }
  .site-header .site-nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vu i, .marquee-track { animation: none; }
  .btn:hover { transform: none; }
}

/* Baustein: Kachel-Link (Station) - ganze Karte als Link, z. B. Uebersicht */
a.card-link { text-decoration: none; color: inherit; gap: 4px; transition: border-color .15s ease; }
a.card-link:hover { border-color: var(--rb-orange); }
a.card-link b { font-size: 16px; letter-spacing: -.02em; }
a.card-link-add { border-style: dashed; }

/* Baustein: Wochenkalender (Station) - scheduler, programtemplates; Partial Pages/App/Station/_WeekCalendar */
.wcal-scroll { overflow-x: auto; border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius); background: var(--rb-white); }
.wcal { --wcal-hour: 42px; min-width: 760px; display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); font-size: 13px; }
.wcal-head { padding: 10px 4px; text-align: center; font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-600); background: var(--rb-grey-50); border-bottom: 1px solid var(--rb-grey-100); }
.wcal-head small { display: block; letter-spacing: 0; }
.wcal-head.today { color: var(--rb-black); box-shadow: inset 0 -2px 0 var(--rb-orange); }
.wcal-hours { display: grid; grid-auto-rows: var(--wcal-hour); }
.wcal-hours span { font: 11px var(--rb-mono); color: var(--rb-grey-600); text-align: right; padding: 3px 8px 0 0; }
.wcal-day { display: grid; grid-auto-rows: var(--wcal-hour); grid-template-columns: repeat(12, minmax(0, 1fr)); border-left: 1px solid var(--rb-grey-100);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--wcal-hour) - 1px), var(--rb-grey-100) calc(var(--wcal-hour) - 1px), var(--rb-grey-100) var(--wcal-hour)); }
.wcal-day.today { background-color: var(--rb-grey-50); }
.wcal-item { margin: 2px; border-radius: 8px; padding: 4px 6px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; gap: 1px; text-decoration: none; line-height: 1.15; }
.wcal-item:hover { outline: 2px solid var(--rb-orange); outline-offset: 1px; z-index: 1; }
.wcal-item b { font-size: 12px; }
.wcal-item span { font-size: 11px; opacity: .85; }
.wcal-tone-0 { background: var(--rb-grey-200); color: var(--rb-black); }
.wcal-tone-1 { background: var(--rb-orange); color: var(--rb-black); }
.wcal-tone-2 { background: var(--rb-black); color: var(--rb-white); }
.wcal-r1{grid-row-start:1} .wcal-r2{grid-row-start:2} .wcal-r3{grid-row-start:3} .wcal-r4{grid-row-start:4} .wcal-r5{grid-row-start:5} .wcal-r6{grid-row-start:6} .wcal-r7{grid-row-start:7} .wcal-r8{grid-row-start:8} .wcal-r9{grid-row-start:9} .wcal-r10{grid-row-start:10} .wcal-r11{grid-row-start:11} .wcal-r12{grid-row-start:12} .wcal-r13{grid-row-start:13} .wcal-r14{grid-row-start:14} .wcal-r15{grid-row-start:15} .wcal-r16{grid-row-start:16} .wcal-r17{grid-row-start:17} .wcal-r18{grid-row-start:18} .wcal-r19{grid-row-start:19} .wcal-r20{grid-row-start:20} .wcal-r21{grid-row-start:21} .wcal-r22{grid-row-start:22} .wcal-r23{grid-row-start:23} .wcal-r24{grid-row-start:24}
.wcal-h1{grid-row-end:span 1} .wcal-h2{grid-row-end:span 2} .wcal-h3{grid-row-end:span 3} .wcal-h4{grid-row-end:span 4} .wcal-h5{grid-row-end:span 5} .wcal-h6{grid-row-end:span 6} .wcal-h7{grid-row-end:span 7} .wcal-h8{grid-row-end:span 8} .wcal-h9{grid-row-end:span 9} .wcal-h10{grid-row-end:span 10} .wcal-h11{grid-row-end:span 11} .wcal-h12{grid-row-end:span 12} .wcal-h13{grid-row-end:span 13} .wcal-h14{grid-row-end:span 14} .wcal-h15{grid-row-end:span 15} .wcal-h16{grid-row-end:span 16} .wcal-h17{grid-row-end:span 17} .wcal-h18{grid-row-end:span 18} .wcal-h19{grid-row-end:span 19} .wcal-h20{grid-row-end:span 20} .wcal-h21{grid-row-end:span 21} .wcal-h22{grid-row-end:span 22} .wcal-h23{grid-row-end:span 23} .wcal-h24{grid-row-end:span 24}
.wcal-c1{grid-column-start:1} .wcal-c2{grid-column-start:2} .wcal-c3{grid-column-start:3} .wcal-c4{grid-column-start:4} .wcal-c5{grid-column-start:5} .wcal-c6{grid-column-start:6} .wcal-c7{grid-column-start:7} .wcal-c8{grid-column-start:8} .wcal-c9{grid-column-start:9} .wcal-c10{grid-column-start:10} .wcal-c11{grid-column-start:11} .wcal-c12{grid-column-start:12}
.wcal-w1{grid-column-end:span 1} .wcal-w2{grid-column-end:span 2} .wcal-w3{grid-column-end:span 3} .wcal-w4{grid-column-end:span 4} .wcal-w5{grid-column-end:span 5} .wcal-w6{grid-column-end:span 6} .wcal-w7{grid-column-end:span 7} .wcal-w8{grid-column-end:span 8} .wcal-w9{grid-column-end:span 9} .wcal-w10{grid-column-end:span 10} .wcal-w11{grid-column-end:span 11} .wcal-w12{grid-column-end:span 12}
/* Baustein: Chips (Station) - kleine Link-Pillen, z. B. Vorlagen ohne Wochentag */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; padding: 5px 12px; background: var(--rb-grey-50); border: 1px solid var(--rb-grey-200); color: var(--rb-black); text-decoration: none; font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--rb-orange); }
.chip.active { background: var(--rb-black); border-color: var(--rb-black); color: var(--rb-white); box-shadow: inset 0 -2px 0 var(--rb-orange); }
/* Baustein: thumb (Station) - kleine Bildvorschau, z. B. hochgeladene Player-Bilder */
.thumb { max-height: 90px; width: auto; border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius-sm); background: var(--rb-grey-50); padding: 3px; }

/* Baustein: embed-frame (Station) - Vorschau einer eingebetteten Seite (Radioplayer) */
.embed-frame { display: block; width: 100%; max-width: 420px; height: 660px; border: 0; border-radius: var(--rb-radius); background: var(--rb-black); margin-top: 8px; }

/* Baustein: url (Station) - lange Adressen (Stream-URL) umbrechen statt die Seite zu verbreitern */
.url { font-family: var(--rb-mono); overflow-wrap: anywhere; min-width: 0; }

/* Baustein: Feld-Zusaetze (Station) - Checkbox und Hilfe-Link innerhalb eines field, Farbwahl-Eingabe */
.field label.check { font: 400 14px var(--rb-font); letter-spacing: 0; text-transform: none; color: inherit; }
.field > .btn-link { align-self: flex-start; }
input[type=color].input { width: 72px; height: 42px; padding: 4px; cursor: pointer; }

/* Baustein: check-grid (Content/Blocks) - viele kleine Checkboxen (Stunden, Wochentage) im Raster */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px 12px; }
.check-grid .check { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* check-grid wide (Musikarchiv) - Checkboxen mit laengeren Namen (Sub-Genres, Stimmungen) */
.check-grid.wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.check-grid.wide .check { white-space: normal; }
.check-grid .check.strong { font-weight: 700; }
/* fieldset.plain (Musikarchiv) - Formularteil ohne Rahmen; mit disabled nur lesbar */
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.table tr.muted td { color: var(--rb-grey-600); }

/* Baustein: schedule (Content/Blocks) - Wochenuebersicht Tage x Stunden mit Eintraegen und Tooltip */
.schedule { border: 1px solid var(--rb-grey-100); border-radius: var(--rb-radius); overflow: hidden; background: var(--rb-white); }
.schedule-head { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: flex-end; padding: 14px 18px; background: var(--rb-black); color: var(--rb-white); }
.schedule-head .muted { color: var(--rb-grey-400); font-size: 12px; }
.schedule-head .muted b { color: var(--rb-orange); }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--rb-grey-200); }
.schedule-legend span { display: inline-flex; align-items: center; gap: 6px; }
.schedule-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--rb-grey-600); }
.schedule-dot.is-current { background: var(--rb-orange); }
.schedule-dot.is-conflict { background: var(--rb-black); box-shadow: 0 0 0 2px var(--rb-orange); }
.schedule-scroll { overflow: auto; max-height: 640px; }
.schedule-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 900px; table-layout: fixed; font-size: 12px; }
.schedule-table th { position: sticky; top: 0; z-index: 2; background: var(--rb-grey-50); font: 500 11px var(--rb-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rb-grey-600); padding: 8px 6px; border-bottom: 1px solid var(--rb-grey-200); }
.schedule-table th:first-child { width: 72px; text-align: left; padding-left: 12px; }
.schedule-table th.is-today { color: var(--rb-orange); }
.schedule-table td { vertical-align: top; padding: 4px; border-bottom: 1px solid var(--rb-grey-100); border-right: 1px solid var(--rb-grey-100); height: 30px; }
.schedule-table td:last-child { border-right: 0; }
.schedule-table td.schedule-hour { position: sticky; left: 0; z-index: 1; background: var(--rb-grey-50); color: var(--rb-grey-600); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 6px 6px 6px 12px; }
.schedule-table td.is-today { background: #fff6ee; }
.schedule-chip { display: flex; gap: 5px; margin: 2px 0; padding: 3px 7px; border-radius: 6px; background: var(--rb-grey-600); color: var(--rb-white); line-height: 1.25; cursor: default; }
.schedule-chip b { flex: none; font-variant-numeric: tabular-nums; }
.schedule-chip span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-chip.is-current { background: var(--rb-orange); color: var(--rb-black); }
.schedule-chip.is-conflict { background: var(--rb-black); box-shadow: inset 0 0 0 2px var(--rb-orange); color: var(--rb-white); }
.schedule-empty { padding: 18px; text-align: center; color: var(--rb-grey-600); font-size: 13px; }
.schedule-tip { position: fixed; z-index: 50; max-width: 320px; pointer-events: none; background: var(--rb-black); color: var(--rb-white); border-left: 3px solid var(--rb-orange); border-radius: var(--rb-radius-sm); padding: 8px 10px; font-size: 12px; line-height: 1.4; }
.schedule-tip b { color: var(--rb-orange); }
.schedule-tip .muted { color: var(--rb-grey-400); }
/* Baustein: timeline (Station) - Zeitstrahl unter einem Schieberegler, z. B. Mitschnitt auf /app/recording.
   .timeline-bar enthaelt absolut positionierte Balken (left/width setzt das Skript):
   .timeline-avail = vorhandener Zeitraum, .timeline-item timeline-<gattung> = gesendetes Element. */
.timeline { display: flex; flex-direction: column; gap: 4px; }
.timeline input[type=range] { display: block; width: 100%; margin: 0; }
.timeline-bar { position: relative; height: 38px; background: var(--rb-grey-100); border-radius: var(--rb-radius-sm); overflow: hidden; }
.timeline-bar span { position: absolute; top: 0; bottom: 0; }
.timeline-avail { background: var(--rb-grey-200); }
.timeline-item { min-width: 1px; cursor: help; }
.timeline-music { background: var(--rb-grey-400); }
.timeline-moderation { background: var(--rb-orange); }
.timeline-news { background: var(--rb-black); }
.timeline-localnews { background: var(--rb-grey-800); }
.timeline-addnews { background: var(--rb-grey-600); }
.timeline-traffic { background: color-mix(in srgb, var(--rb-orange) 55%, var(--rb-white)); }
.timeline-block { background: color-mix(in srgb, var(--rb-orange) 60%, var(--rb-black)); }
.timeline-event { background: color-mix(in srgb, var(--rb-orange) 30%, var(--rb-white)); }
.timeline-other { background: var(--rb-grey-200); box-shadow: inset 0 0 0 1px var(--rb-grey-400); }

/* Baustein: input-row (Station) - Eingabe mit Knopf daneben (Hilfe-"?", Suchen, Hinzufuegen); die Eingabe fuellt die Zeile. */
.input-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.input-row > .input { flex: 1; min-width: 0; }
.input-row > .check { flex: 1; }

/* Baustein: nowrap (Station) - Tabellenzellen ohne Umbruch (ItemStyle-Wrap=false der alten GridViews). */
.nowrap { white-space: nowrap; }
/* Baustein: form-grid-schmal (Advertising) - lange Optionstexte in Auswahllisten sprengen das Raster auf schmalen Bildschirmen nicht */
.form-grid > .field { min-width: 0; }
.field select.input { max-width: 100%; }
/* Baustein: prose (oeffentliche Seiten) – langer Rechtstext wie Impressum, Datenschutz, Nutzungsbedingungen */
.prose { max-width: 860px; display: flex; flex-direction: column; gap: 12px; line-height: 1.65; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 22px; }
.prose h3 { font-size: 18px; margin-top: 14px; }
.prose h4 { font-size: 15px; margin-top: 8px; line-height: 1.3; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.prose a { color: var(--rb-black); text-decoration-color: var(--rb-orange); text-underline-offset: 3px; overflow-wrap: anywhere; }
/* Knoepfe im Fliesstext (z. B. Sprachumschalter auf /legalnotice): .prose a darf deren Schriftfarbe nicht ueberschreiben. */
.prose a.btn { text-decoration: none; overflow-wrap: normal; }
.prose a.btn-dark { color: var(--rb-white); }
.prose a.btn-primary { color: var(--rb-black); }
.prose .pill { white-space: nowrap; }
.prose hr { border: 0; border-top: 1px solid var(--rb-grey-100); margin: 10px 0; width: 100%; }
/* Baustein: avatar (Voices) - rundes Vorschaubild */
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rb-grey-100); }

/* Baustein: week-grid (Voices) - Wochenraster 7 x 24 */
.week-grid th, .week-grid td { padding: 4px 6px; font-size: 11px; text-align: center; }
.week-grid td.slot-empty { color: var(--rb-grey-400); }
.week-grid td.slot-one { background: var(--rb-grey-100); }
.week-grid td.slot-many { box-shadow: inset 0 0 0 1.5px var(--rb-orange); }

/* Baustein: form-grid-shrink (Voices) - Felder mit langen Select-Optionen sprengen das Raster nicht */
.form-grid > * { min-width: 0; }

/* Baustein: flash-gap (Voices) - Abstand, wenn <flash /> direkt im Seiteninhalt steht */
.canvas > .alert, .canvas > .notice { margin-bottom: 16px; }

/* Baustein: lang-switch - Sprachumschalter (Seitenleiste und oeffentlicher Kopf) */
.lang-switch { display: flex; flex-wrap: wrap; gap: 4px; font: 500 11px var(--rb-mono); letter-spacing: .08em; }
.lang-switch a { padding: 4px 7px; border-radius: 6px; color: inherit; opacity: .6; text-decoration: none; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { opacity: 1; background: var(--rb-orange); color: var(--rb-black); }
.sidebar .lang-switch { margin: 0 8px 8px; color: var(--rb-white); }

/* Baustein: schedule-radio (Content/Blocks) - Sendername im uebersetzten Untertitel der Wochenuebersicht */
.schedule-head .muted #rbScheduleRadioName { color: var(--rb-orange); font-weight: 600; }
/* Baustein: row-end (Voices) - Zeile rechtsbuendig, z. B. mehrere Aktionen in einer Tabellenzelle */
.row-end { justify-content: flex-end; }
/* Baustein: timeline-clickable (Station) - anklickbarer Zeitstrahl (z. B. /app/recording): Klick auf ein Element springt dorthin;
   Musik liegt als schmaler Streifen unten, damit die Wortbeitraege darueber anklickbar bleiben. */
.timeline-clickable { height: 44px; }
.timeline-clickable .timeline-item { min-width: 4px; cursor: pointer; }
.timeline-clickable .timeline-music { top: 60%; }

/* Baustein: live-meter (Station) - Live-Lampe und Pegelanzeige (/app/live).
   .live-lamp is-armed|is-onair; .live-meter enthaelt <span> (Pegel, Breite setzt das Skript, is-over = ueber der Schwelle)
   und <i> (Umschaltschwelle bei -40 von -60..0 dBFS = 33.33 %). */
.live-lamp { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--rb-grey-400); }
.live-lamp.is-armed { background: var(--rb-white); box-shadow: inset 0 0 0 4px var(--rb-orange); }
.live-lamp.is-onair { background: var(--rb-orange); box-shadow: 0 0 0 6px rgba(254, 110, 1, .2); }
.live-state { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.live-meter { position: relative; width: 100%; height: 26px; background: var(--rb-grey-100); border-radius: var(--rb-radius-sm); overflow: hidden; }
.live-meter span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--rb-grey-600); transition: width .15s linear; }
.live-meter span.is-over { background: var(--rb-orange); }
.live-meter i { position: absolute; top: 0; bottom: 0; left: 33.333%; width: 2px; background: var(--rb-black); }
.live-scale { display: flex; justify-content: space-between; gap: 8px; font: 500 11px var(--rb-mono); color: var(--rb-grey-600); }

/* Baustein: busy - Ladekreisel, wenn der RadioButler arbeitet (js/busy.js) */
.busy { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgb(255 255 255 / .55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.busy.on { opacity: 1; pointer-events: auto; cursor: progress; }
.busy-ring { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--rb-grey-100); border-top-color: var(--rb-orange); animation: busy-spin .8s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .busy-ring { animation-duration: 2.4s; } }

/* Baustein: help-q - dezentes Fragezeichen fuer Hilfetexte (wie in der alten Site) */
.help-q { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: none; color: var(--rb-grey-400); font: 600 11px/1 var(--rb-font); cursor: help; opacity: .6; vertical-align: middle; }
.help-q:hover, .help-q:focus-visible { opacity: 1; color: var(--rb-orange); }
.field { position: relative; }
.field > .help-q { position: absolute; top: -2px; right: 0; }

/* Baustein: tabs - Reiter fuer lange Seiten (<tabs>/<tab>, js/tabs.js) */
.tab-bar { display: flex; gap: 4px; padding: 5px; overflow-x: auto; scrollbar-width: none; background: var(--rb-grey-100); border-radius: 14px; position: sticky; top: 8px; z-index: 5; box-shadow: 0 0 0 8px var(--rb-white); }
.tab-bar::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 16px; border: 0; border-radius: 10px; background: none; font: 500 14px var(--rb-font); color: var(--rb-grey-600); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--rb-black); background: rgb(255 255 255 / .7); }
.tab[aria-selected="true"] { background: var(--rb-black); color: var(--rb-white); box-shadow: inset 0 -3px 0 var(--rb-orange); }
.tab:focus-visible { outline: 2px solid var(--rb-orange); outline-offset: 2px; }
.tab-panel[hidden] { display: none; }
.tabs, .tab-panel { min-width: 0; max-width: 100%; }
.tab-bar { max-width: 100%; }

/* Baustein: play-btn (Dashboard) - runder Play-Knopf fuer den Sender-Stream */
.play-col { width: 52px; }
.play-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--rb-orange); color: var(--rb-black); font-size: 13px; cursor: pointer; }
.play-btn:hover { background: var(--rb-black); color: var(--rb-orange); }
.play-btn.playing { background: var(--rb-black); color: var(--rb-orange); box-shadow: 0 0 0 3px var(--rb-orange); }
.play-btn:focus-visible { outline: 2px solid var(--rb-orange); outline-offset: 2px; }
.row-inactive td { color: var(--rb-grey-600); }

/* ---------- Dashboard (/app/overview): Senderkarten + Tarifblock ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; margin-bottom: 12px; }
.dash-radios { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.dash-radio.is-inactive { opacity: .7; }
.dash-radio-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dash-radio-head a { color: var(--rb-black); text-decoration: none; font-size: 22px; letter-spacing: -.03em; }
.dash-now { display: flex; align-items: center; gap: 18px; background: var(--rb-black); color: var(--rb-white); border-radius: var(--rb-radius); padding: 18px; min-height: 150px; }
.dash-now .play-btn { width: 52px; height: 52px; font-size: 18px; flex: none; }
.dash-cover { width: 112px; height: 112px; border-radius: 12px; object-fit: cover; flex: none; }
.dash-now-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dash-now-text small { font: 500 12px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-orange); }
.dash-now-text strong { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dash-now-text .small { color: var(--rb-grey-400); font-size: 14px; margin-top: 4px; }
.dash-listeners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-listeners div { background: var(--rb-grey-50); border-radius: var(--rb-radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.dash-listeners small { font: 500 11px var(--rb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rb-grey-600); }
.dash-listeners b { font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash-inactive { grid-column: 1 / -1; }
.dash-inactive ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 20px; }
.dash-inactive li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rb-grey-100); }
.dash-inactive a { color: var(--rb-black); text-decoration: none; }
.dash-meters { display: flex; flex-direction: column; gap: 10px; }
.dash-meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; }
.dash-meter em { font-style: normal; color: var(--rb-grey-600); font-size: 12px; }
.dash-meter b { font-variant-numeric: tabular-nums; }
.dash-meter i { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--rb-grey-100); position: relative; overflow: hidden; }
.dash-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--rb-orange); border-radius: inherit; }
.dash-plan .card-title { font-size: 22px; }
.dash-notice { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.dash-notice .btn { flex: none; }
.dash-notice-warn::before { color: #f5c542; }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } }

/* Baustein: Benutzer und Protokoll (Account) */
.inline-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.log-changes { margin: 6px 0 0; font-size: 13px; }
.log-changes th { font: 500 11px var(--rb-mono); text-transform: uppercase; color: var(--rb-grey-600); text-align: left; padding: 2px 10px 2px 0; }
.log-changes td { padding: 2px 10px 2px 0; vertical-align: top; word-break: break-word; }
.log-changes .old { color: var(--rb-grey-600); text-decoration: line-through; }
details.log-details summary { cursor: pointer; }
