@charset "UTF-8";
/* =====================================================================================================================
   Creator-Suite (Joghurt Panels) 1.5 - Rahmen und gemeinsame Bausteine (Klassen-Praefix cs-), seit 26.10.2026 (Paket P0,
   Testkopie Creator-Suite-Test). Vorlage: scratchpad\panels15\cs-v15.css (Entwurf), Muster Owner-Panel-Test ov15.css.

   Kaskade (partials/head.ejs): fonts.css -> style.css (Bruecke) -> secretField.css -> dash-v15.css (@import dv-core.css)
   -> DIESE Datei -> cs15-creator/-workspace/-bot/-admin/-social/-desktop/-site.css (Pakete P1-P7, eigene Praefixe
   csc-/csw-/csb-/csa-/csp-/csd-/csx-). Die Views laden danach noch ihre alte Bereichs-CSS (cv.css, panel.css ...) -
   die Bruecke in Abschnitt 0 entschaerft cv.css.
   dv-core.css, dash-v15.css, dash-v15-auth.css, style.css, secretField.css und js/dv15/* sind 1:1-Kopien aus dem
   Test-Bot (design-core.lock.json, design-suite15.lock.json, scripts/designLockSuite.cjs) - nie hier aendern.

   Hier steht nur, was es im Dashboard nicht gibt. Grundoptik (Karte, Knopf, Feld, Tabelle, Fenster, Callout, Leerzustand,
   Kopf) kommt aus dem System - nie nachbauen. Regeln: alles unter .dv15, nur --dv-*-Tokens, nur dunkel, kein !important,
   keine globalen Element-Regeln, Bewegung nur transform/opacity mit --dv-ease (reduced-motion: dv-core global + Abschnitt 9).
   Verhalten: web/public/js/cs15.js (Haken data-cs-*).

   Inhalt:  0 Bruecke (cv.css)   1 Seitenleiste (Marke, Wechsler, Zaehler, PRO, bald, extern)   2 Kopf + Hinweise
            3 Kennzahlen + Dashboard-Brett   4 Listen-Seiten (Zahlenzeile, Werkzeugleiste, Tabelle, Chips)
            5 Seitenblatt   6 Fenster mit Feldern (Hinzufuegen, Grund)   7 Pro-Seite   8 Schmal/Touch   9 Bewegung
            10 Testumgebung
   ===================================================================================================================== */

/* ---------------------------------------------------------------- 0. Bruecke
   Die Panel-Seiten stehen weiter in .layout.cv-theme (alte Inhalte nutzen .cv-theme-Regeln aus cv.css). cv.css biegt
   dort die alten Tokens auf Lila/Orange - unter .dv15 gilt wieder EIN Akzent (Volt). Staerker als ".cv-theme" (0,1,0),
   darum unabhaengig davon, dass cv.css spaeter laedt. Feste Lila-Hex-Werte in cv.css raeumen die Pakete auf. */
.dv15 .cv-theme {
  --cv-purple: var(--dv-volt);
  --cv-purple-bright: var(--dv-volt-hover);
  --cv-purple-dark: var(--dv-volt);
  --cv-orange: var(--dv-warn);
  --cv-orange-bright: var(--dv-warn);
  --accent: var(--dv-volt);
  --accent-bright: var(--dv-volt-hover);
  --accent-dark: var(--dv-volt);
  --accent-glow: var(--dv-glow-soft);
  --glow-blue: none;
  --teal: var(--dv-volt);
  --teal-bright: var(--dv-volt-hover);
}
/* Alter Hintergrund-Schimmer der Panel-Seiten (cvSidebar bis 1.4) - die 1.5-Leiste setzt ihn nicht mehr */
.dv15 .cv-dashboard-bg { display: none; }

/* ---------------------------------------------------------------- 1. Seitenleiste */
/* "Panels" hinter der Wortmarke (statt ".bot") - Leiste, mobile Kopfleiste, Anmeldung, Fehlerseiten */
.dv15 :is(.dash-brand-word, .dash-mobile-bar, .dv-auth-brand) .cs-brand-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin: 3px 0 0 8px;
  padding: 0 7px;
  border: 1px solid var(--dv-line-strong);
  border-radius: 6px;
  color: var(--dv-muted);
  font: 700 .64rem/1 var(--dv-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dv15 .dash-mobile-bar .cs-brand-tag { margin: 4px 0 0 8px; }

/* Panel-Wechsler: direkt unter der Marke. Kachel (Kuerzel) + Name + "Tarif · Art". Oeffnet dialog#cs-switcher. */
.dv15 .cs-switch-wrap { padding: 0 12px 10px; }
.dv15 .cs-switch {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--dv-line);
  border-radius: 14px;
  background: var(--dv-surface);
  color: var(--dv-text);
  font: inherit;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.dv15 .cs-switch:hover { border-color: var(--dv-line-hover); background: var(--dv-surface-2); transform: none; box-shadow: none; }
.dv15 .cs-switch:focus-visible { outline: var(--dv-focus); outline-offset: 2px; }
.dv15 .cs-switch[aria-expanded="true"] { border-color: var(--dv-volt-line); }
.dv15 .cs-switch > .icon { color: var(--dv-faint); }
.dv15 .cs-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--dv-line-strong);
  border-radius: 10px;
  background: var(--dv-surface-3);
  color: var(--dv-text);
  font: 700 .74rem/1 var(--dv-mono);
  letter-spacing: .02em;
  overflow: hidden;
}
.dv15 .cs-tile img { width: 100%; height: 100%; object-fit: cover; }
.dv15 .cs-switch-text { display: grid; min-width: 0; }
.dv15 .cs-switch-text > * { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .cs-switch-text b { font-size: .875rem; font-weight: 650; letter-spacing: -.01em; }
.dv15 .cs-switch-text small { margin-top: 1px; color: var(--dv-faint); font-size: .75rem; }
.dv15 .dash-sidebar.collapsed .cs-switch-wrap { padding: 0 10px 10px; }
.dv15 .dash-sidebar.collapsed .cs-switch { grid-template-columns: 34px; justify-content: center; padding: 8px; }
.dv15 .dash-sidebar.collapsed .cs-switch :is(.cs-switch-text, .icon) { display: none; }

/* Liste der Panels (Fenster am Wechsler; am Handy unten als Blatt, Abschnitt 8) */
.dv15 dialog.cs-switcher {
  position: fixed;
  inset: 128px auto auto 12px;
  width: min(328px, calc(100vw - 24px));
  max-height: min(70vh, 560px);
  margin: 0;
  padding: 8px;
  border: 1px solid var(--dv-line-strong);
  border-radius: var(--dv-r-lg);
  background: var(--dv-surface-2);
  color: var(--dv-text);
  box-shadow: var(--dv-shadow-pop);
  overflow: auto;
}
.dv15 dialog.cs-switcher[open] { animation: cs-pop-in .45s var(--dv-ease); }
.dv15 dialog.cs-switcher::backdrop { background: rgba(0, 0, 0, .35); }
@keyframes cs-pop-in { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(.98); } to { opacity: 1; transform: none; } }
.dv15 .cs-switcher-head { max-width: none; margin: 6px 10px 8px; color: var(--dv-faint); font: 600 .72rem/1.3 var(--dv-font); letter-spacing: .04em; text-transform: uppercase; }
.dv15 .cs-switcher-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dv15 .cs-switcher-list li { max-width: none; margin: 0; }
.dv15 .cs-switcher-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  color: var(--dv-text);
  text-decoration: none;
  transition: background-color .2s ease;
}
.dv15 .cs-switcher-item:hover { background: var(--dv-surface-3); }
.dv15 .cs-switcher-item:focus-visible { outline: var(--dv-focus); outline-offset: 0; }
.dv15 .cs-switcher-item .icon { color: var(--dv-volt); }
.dv15 .cs-switcher-item[aria-current="true"]::before { content: ""; position: absolute; left: -8px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--dv-volt); box-shadow: 0 0 10px var(--dv-glow); }
.dv15 .cs-switcher-item.is-setup .cs-tile { border-style: dashed; color: var(--dv-warn); }
.dv15 .cs-switcher-foot { display: grid; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--dv-line); }
.dv15 .cs-switcher-foot a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--dv-muted); font-size: .875rem; font-weight: 550; text-decoration: none; }
.dv15 .cs-switcher-foot a:hover { background: var(--dv-surface-3); color: var(--dv-text); }
.dv15 .cs-switcher-foot a:focus-visible { outline: var(--dv-focus); outline-offset: 0; }

/* Zaehler-Chip: nur Dinge, die auf eine Handlung warten. is-todo = wartet auf dich (Volt), is-warn = Hinweis (Gelb). */
.dv15 .cs-navcount {
  flex: none;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--dv-surface-3);
  color: var(--dv-muted);
  font: 700 .68rem/20px var(--dv-mono);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dv15 .cs-navcount.is-todo { background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-navcount.is-warn { background: var(--dv-warn-soft); color: var(--dv-warn); }
.dv15 .dash-sub-toggle .cs-navcount + .dash-sub-arrow { margin-left: 6px; }
/* Gruppe offen: die Summe verschwindet, die Unterpunkte tragen ihre eigene Zahl (nichts doppelt) */
.dv15 .dash-sub-toggle .cs-navcount { transition: opacity .3s ease, transform .45s var(--dv-ease); }
.dv15 .dash-sub.open > .dash-sub-toggle .cs-navcount { opacity: 0; transform: scale(.6); }
/* Eingeklappte Leiste: Zahl wird zum Punkt am Icon */
.dv15 .dash-sidebar.collapsed .cs-navcount { position: absolute; top: 7px; left: 24px; width: 8px; min-width: 8px; height: 8px; padding: 0; font-size: 0; }
.dv15 .dash-sidebar.collapsed .dash-sub.open > .dash-sub-toggle .cs-navcount { opacity: 1; transform: none; }
/* Reiterleiste: Hinweis-Zaehler gelb statt Volt - auch am aktiven Reiter */
.dv15 :is(.tab-bar, .filters) .count.is-warn,
.dv15 :is(.tab-bar, .filters) :is(.active, [aria-current="page"]) .count.is-warn { background: var(--dv-warn-soft); color: var(--dv-warn); box-shadow: none; }
/* PRO-Marke im Menue und in Reitern (Free-Panel): Punkt bleibt anklickbar und fuehrt auf die Pro-Seite */
.dv15 .dash-menu .dv-pro { flex: none; height: 18px; margin-left: auto; padding: 0 6px; font-size: .62rem; }
.dv15 .dash-sidebar.collapsed .dash-menu .dv-pro { display: none; }
.dv15 .tab-bar .dv-pro { height: 18px; margin-left: 6px; padding: 0 6px; font-size: .62rem; }
/* Aktiver Reiter ist hell (--dv-text): PRO-Marke dort in Knopf-Tinte, sonst kaum lesbar (seit 03.11.2026 fuer alle
   Reiterleisten, Wunsch P4 W8 - vorher nur Einstellungen in cs15-admin.css) */
.dv15 .tab-bar :is(.active, [aria-current="page"]) .dv-pro { background: var(--dv-volt-ink); color: var(--dv-volt); }
/* "bald" (einfache Panels: Bereich ist angekuendigt, noch ohne Seite) - nicht klickbar, nicht fokussierbar */
.dv15 .dash-menu a.is-soon { color: var(--dv-faint); cursor: default; }
.dv15 .dash-menu a.is-soon:hover { background: transparent; color: var(--dv-faint); }
.dv15 .cs-soon { flex: none; margin-left: auto; color: var(--dv-faint); font: 600 .68rem/1 var(--dv-mono); letter-spacing: .04em; }
.dv15 .dash-sidebar.collapsed .cs-soon { display: none; }
/* Externer Punkt (Challenge Week): kleiner Pfeil statt Zahl */
.dv15 .cs-ext { display: inline-flex; flex: none; margin-left: auto; color: var(--dv-faint); }
.dv15 .dash-sidebar.collapsed .cs-ext { display: none; }
/* Fuss (nur Besitzer): Tarif-Pille + Meine Panels + Startseite in EINER Zeile, die beiden als Icon-Knoepfe (Name als
   Tooltip und fuer Screenreader) - das System macht das nur bei wenig Hoehe, die Suite immer (Konzept §2.1).
   Team-Mitglieder (ohne Tarif-Link) behalten die normale Liste mit Text. */
.dv15 .dash-sidebar:not(.collapsed) .dash-account-links:has(.dash-plan) { display: flex; align-items: center; gap: 2px; }
.dv15 .dash-sidebar:not(.collapsed) .dash-account-links:has(.dash-plan) .dash-plan { flex: 1 1 auto; min-width: 0; }
.dv15 .dash-sidebar:not(.collapsed) .dash-account-links:has(.dash-plan) .dash-home { flex: none; justify-content: center; width: 38px; padding: 0; }
.dv15 .dash-sidebar:not(.collapsed) .dash-account-links:has(.dash-plan) .dash-home .dash-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.dv15 .dash-sidebar:not(.collapsed) .dash-account-links:has(.dash-plan) .dash-plan-more { display: none; }

/* ---------------------------------------------------------------- 2. Kopf + Hinweise (partials/csFrame.ejs)
   Kopf selbst = System (dash-v15.css Abschnitt 3, partials/csPageHeader.ejs). Bleibende Hinweise stehen UNTER dem Kopf
   und der Reiterleiste, hoechstens einer je Lage. */
.dv15 .cs-hints { display: grid; gap: 12px; margin: 0 0 24px; }
.dv15 .cs-hints > .dv-callout { margin: 0; }
/* Testumgebung (nur Kopie, partials/csHints): EINE leise Zeile statt Callout-Kasten auf jeder Seite (seit 03.11.2026,
   offener Punkt P1) - das Schild "TESTUMGEBUNG" (Abschnitt 10) bleibt zusaetzlich. */
.dv15 .cs-testline { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 6px 12px; border: 1px dashed var(--dv-line); border-radius: var(--dv-r-sm); color: var(--dv-muted); font-size: .78rem; line-height: 1.35; }
.dv15 .cs-testline > .icon { flex: none; color: var(--dv-warn); }
.dv15 .cs-testline b { flex: none; color: var(--dv-text); font-weight: 650; }
.dv15 .cs-testline span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv15 .cs-hints:has(> .cs-testline:only-child) { margin-bottom: 16px; }
/* Rueckweg "← Bereich" im Kopf der Detailseiten (csPageHeader, .dc-back aus dash-v15.css Abschnitt 3): Kasten 34 px
   (Handy 32 px) statt 20 px hoch - per Polster, Lage im Kopf unveraendert (seit 03.11.2026, offener Punkt P1, P2 W5).
   Gleiche Staerke wie die Systemregel, gewinnt durch die spaetere Stelle in der Kaskade. */
html.dv15 .main .dc-back:has(+ .dv-pagehead) {
  height: calc(var(--dv-ph-crumb) + 14px);
  margin-top: -7px;
  margin-bottom: calc(-1 * var(--dv-ph-crumb) - 7px);
  padding-block: 7px;
}
html.dv15 .main .dc-back:has(+ .dv-pagehead)::after { inset: -3px -8px -3px -6px; }
/* Hinweis-/Fehlerseite (views/csNotice.ejs): Code als leise Marke ueber dem Titel */
.dv15 .dv-auth-card .cs-notice-code { margin: 0 0 10px; }

/* ---------------------------------------------------------------- 3. Kennzahlen + Dashboard-Brett */
.dv15 .cs-dash { container-type: inline-size; display: flex; flex-direction: column; gap: var(--dv-gap); min-width: 0; }
.dv15 .cs-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--dv-gap); }
@container (min-width: 860px) { .dv15 .cs-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dv15 .cs-kpi { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px; }
.dv15 a.cs-kpi { color: inherit; text-decoration: none; }
.dv15 .cs-kpi-top { display: flex; align-items: center; gap: 10px; color: var(--dv-faint); font-size: .8125rem; font-weight: 550; }
.dv15 .cs-kpi-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid var(--dv-line); border-radius: 10px; background: var(--dv-surface-2); color: var(--dv-muted); }
.dv15 .cs-kpi-ico.is-on { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-kpi-ico.is-live { border-color: color-mix(in srgb, var(--dv-live) 38%, transparent); background: color-mix(in srgb, var(--dv-live) 10%, transparent); color: var(--dv-live); }
.dv15 .cs-kpi-value { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--dv-text); font: 700 clamp(1.35rem, 1.1rem + .6vw, 1.75rem)/1.15 var(--dv-font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dv15 .cs-kpi-value small { color: var(--dv-faint); font-size: .9rem; font-weight: 600; letter-spacing: -.01em; }
.dv15 .cs-kpi-meta { overflow: hidden; color: var(--dv-muted); font-size: .8125rem; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .cs-kpi-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--dv-faint); font-size: .8125rem; font-weight: 600; transition: color .2s ease; }
.dv15 a.cs-kpi:hover .cs-kpi-go { color: var(--dv-text); }
.dv15 a.cs-kpi:hover .dv-arrow { transform: translate3d(3px, 0, 0); }

/* LIVE-Punkt (rot wie .badge.live) - pulsiert nur ohne reduced-motion */
.dv15 .cs-live-dot { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--dv-live); box-shadow: 0 0 10px color-mix(in srgb, var(--dv-live) 55%, transparent); }
.dv15 .cs-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--dv-live); animation: dv-ping 2.4s var(--dv-ease) infinite; }

/* Zwei gleich breite Spalten unter den Kacheln (Kanten fluchten mit Kachel 1|2 und 3|4) */
.dv15 .cs-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--dv-gap); align-items: start; }
@container (min-width: 860px) { .dv15 .cs-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dv15 .cs-board > .card, .dv15 .cs-board > .dv-stack > .card { max-width: none; }
.dv15 .card .cs-h { margin: 0; color: var(--dv-text); font: 650 1.02rem/1.3 var(--dv-font); letter-spacing: -.02em; }
.dv15 .cs-count { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--dv-surface-3); color: var(--dv-muted); font: 700 .74rem/1 var(--dv-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dv15 .cs-count.is-todo { background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-count.is-live { background: color-mix(in srgb, var(--dv-live) 12%, transparent); color: var(--dv-live); }
.dv15 .cs-cardlink { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; color: var(--dv-muted); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.dv15 .cs-cardlink:hover { color: var(--dv-text); }

/* "Was jetzt zu tun ist" */
.dv15 .cs-todo .dv-list-row { min-height: 60px; }
.dv15 .cs-todo .dv-list-ico { width: 36px; height: 36px; color: var(--dv-muted); }
.dv15 .cs-todo .dv-list-ico.is-todo { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-todo .dv-list-ico.is-warn { border-color: var(--dv-warn-line); background: var(--dv-warn-soft); color: var(--dv-warn); }
.dv15 .cs-todo .dv-list-ico.is-down { border-color: var(--dv-danger-line); background: var(--dv-danger-soft); color: var(--dv-danger-text); }
.dv15 .cs-todo .dv-list-title { font-size: .92rem; }
.dv15 .cs-todo .dv-list-desc { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .cs-todo .dv-list-end { gap: 12px; }
.dv15 :is(.cs-todo, .cs-people, .cs-dates) .dv-arrow { color: var(--dv-faint); transition: transform .45s var(--dv-ease), color .2s ease; }
.dv15 :is(.cs-todo, .cs-people, .cs-dates) a:hover .dv-arrow { color: var(--dv-text); transform: translate3d(3px, 0, 0); }

/* Personen-Liste (Gerade live, Bestenlisten): Avatar, Name + Zeile, Wert rechts in Mono */
.dv15 .cs-people { display: grid; margin: 0; padding: 0; list-style: none; }
.dv15 .cs-people > li { max-width: none; margin: 0; border-top: 1px solid var(--dv-line); }
.dv15 .cs-people > li:first-child { border-top: 0; }
.dv15 .cs-person { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; margin: 0 -12px; padding: 8px 12px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color .25s ease; }
.dv15 a.cs-person:hover { background: var(--dv-surface-2); }
.dv15 .cs-person-end { display: grid; justify-items: end; gap: 2px; }
.dv15 .cs-person-end b { color: var(--dv-text); font: 650 .95rem/1.1 var(--dv-font); font-variant-numeric: tabular-nums; }
.dv15 .cs-person-end small { color: var(--dv-faint); font-size: .74rem; }

/* Avatar (Bild oder Kuerzel) mit Live-Ring */
.dv15 .cs-ava { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--dv-surface-3); color: var(--dv-label); font: 650 .74rem/1 var(--dv-mono); box-shadow: 0 0 0 1px var(--dv-line-strong); }
.dv15 .cs-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dv15 .cs-ava.is-live { box-shadow: 0 0 0 2px var(--dv-bg), 0 0 0 4px var(--dv-live); }
.dv15 .cs-ava--lg { width: 48px; height: 48px; font-size: .9rem; }

/* Termin-Liste mit Datums-Kachel */
.dv15 .cs-dates { display: grid; margin: 0; padding: 0; list-style: none; }
.dv15 .cs-dates > li { max-width: none; margin: 0; border-top: 1px solid var(--dv-line); }
.dv15 .cs-dates > li:first-child { border-top: 0; }
.dv15 .cs-date { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; margin: 0 -12px; padding: 8px 12px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color .25s ease; }
.dv15 a.cs-date:hover { background: var(--dv-surface-2); }
.dv15 .cs-date-tile { display: grid; place-items: center; align-content: center; width: 44px; height: 44px; border: 1px solid var(--dv-line); border-radius: 12px; background: var(--dv-surface-2); }
.dv15 .cs-date-tile b { color: var(--dv-text); font: 700 1rem/1 var(--dv-font); letter-spacing: -.02em; }
.dv15 .cs-date-tile small { margin-top: 3px; color: var(--dv-faint); font: 600 .6rem/1 var(--dv-mono); letter-spacing: .06em; text-transform: uppercase; }
.dv15 .cs-date-tile.is-today { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); }
.dv15 .cs-date-tile.is-today b { color: var(--dv-volt); }

/* Tarif-Karte (nur Besitzer eines Free-Panels): ruhig, kein Werbebanner */
.dv15 .cs-plan-points { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dv15 .cs-plan-points li { display: flex; gap: 10px; max-width: none; margin: 0; color: var(--dv-label); font-size: .875rem; line-height: 1.45; }
.dv15 .cs-plan-points .icon { flex: none; margin-top: 3px; color: var(--dv-volt); }
.dv15 .cs-seats { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--dv-muted); font-size: .84rem; }
.dv15 .cs-seats .dv-progress { flex: 1; max-width: 9rem; }

/* ---------------------------------------------------------------- 4. Listen-Seiten: Zahlenzeile, Werkzeugleiste, Tabelle */
.dv15 .cs-statline { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 18px; padding: 0; list-style: none; }
.dv15 .cs-statline li { display: flex; align-items: baseline; gap: 8px; max-width: none; margin: 0; color: var(--dv-faint); font-size: .8125rem; }
.dv15 .cs-statline b { color: var(--dv-text); font: 700 1.05rem/1 var(--dv-font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dv15 .cs-statline .cs-live-dot { align-self: center; width: 8px; height: 8px; }

.dv15 .cs-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 14px; }
.dv15 .cs-toolbar .dv-seg { flex: none; }
/* Gesperrter Punkt in einem Segment-Schalter: das Optionsfeld bleibt unsichtbar wie die anderen - sonst gewinnt die
   Systemregel fuer gesperrte Felder (Deckkraft .45) und ein grauer Kreis steht am Rand (seit 03.11.2026 fuer alle, Wunsch
   P5 §9 - vorher nur .csp-form in cs15-social.css). */
.dv15 .dv-seg > input:disabled { opacity: 0; }
.dv15 .cs-toolbar select { width: auto; min-width: 10rem; }
.dv15 .cs-toolbar-end { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--dv-faint); font-size: .8125rem; }
.dv15 .cs-search { position: relative; flex: 0 1 var(--dv-field-lg); min-width: min(100%, 15rem); }
.dv15 .cs-search > input { width: 100%; max-width: none; padding-left: 40px; padding-right: 40px; }
.dv15 .cs-search > .icon { position: absolute; top: 50%; left: 14px; color: var(--dv-faint); transform: translateY(-50%); pointer-events: none; }
.dv15 .cs-search > kbd { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid var(--dv-line-strong); border-radius: 6px; color: var(--dv-faint); font: 500 .72rem/1 var(--dv-mono); transform: translateY(-50%); pointer-events: none; }
.dv15 .cs-search > input:focus ~ kbd { opacity: 0; }

/* Zeilen-Link: Avatar + Name + Unterzeile; ganze Zeile klickbar (cs15.js), Tastatur-Ziel ist der Link */
.dv15 .cs-rowlink { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.dv15 .cs-rowlink:hover .cs-name { text-decoration: underline; text-decoration-color: var(--dv-volt-line); text-underline-offset: 3px; }
.dv15 .cs-rowlink:focus-visible { outline: var(--dv-focus); outline-offset: 4px; border-radius: 10px; }
.dv15 .cs-who { display: grid; min-width: 0; }
.dv15 .cs-who > * { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .cs-name { color: var(--dv-text); font-size: .9rem; font-weight: 600; letter-spacing: -.01em; }
.dv15 .cs-sub { color: var(--dv-faint); font-size: .78rem; }
.dv15 .cs-mono { color: var(--dv-faint); font-family: var(--dv-mono); font-size: .78rem; }
.dv15 .cs-table tbody tr[data-cs-row] { cursor: pointer; }
.dv15 .cs-table tbody tr[data-cs-row] > td { padding-block: 10px; vertical-align: middle; }
.dv15 .cs-table td:last-child { width: 1%; white-space: nowrap; }
.dv15 tr.is-selected { background: var(--dv-surface-2); box-shadow: inset 2px 0 0 var(--dv-volt); }
.dv15 .cs-rowgo { display: grid; place-items: center; width: 28px; height: 28px; color: var(--dv-faint); transition: color .2s ease, transform .45s var(--dv-ease); }
.dv15 .cs-table tbody tr[data-cs-row]:hover .cs-rowgo { color: var(--dv-text); transform: translate3d(3px, 0, 0); }
.dv15 .cs-table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -10px 0 0; color: var(--dv-faint); font-size: .8125rem; }

/* Zahl in einer Zelle: Wert + leise Zeile darunter, Trend */
.dv15 .cs-numcell { display: grid; justify-items: end; gap: 2px; }
.dv15 .cs-numcell b { color: var(--dv-text); font: 600 .9rem/1.2 var(--dv-font); font-variant-numeric: tabular-nums; }
.dv15 .cs-numcell small { color: var(--dv-faint); font-size: .74rem; white-space: nowrap; }
.dv15 .cs-trend { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; color: var(--dv-faint); font: 600 .72rem/1 var(--dv-mono); }
.dv15 .cs-trend.is-up { color: var(--dv-volt); }
.dv15 .cs-trend.is-down { color: var(--dv-danger-text); }

/* Status-Chips: hoechstens zwei sichtbar, Rest als "+1" (Volltext im Blatt). Farbe nie allein - jeder Chip hat Text. */
.dv15 .cs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dv15 .cs-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border: 1px solid var(--dv-line-strong); border-radius: 999px; color: var(--dv-muted); font: 600 .72rem/1 var(--dv-font); white-space: nowrap; text-decoration: none; }
.dv15 .cs-chip .icon { flex: none; }
.dv15 .cs-chip.is-live { border-color: color-mix(in srgb, var(--dv-live) 40%, transparent); background: color-mix(in srgb, var(--dv-live) 10%, transparent); color: var(--dv-live); }
.dv15 .cs-chip.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dv15 .cs-chip.is-todo { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-chip.is-warn { border-color: var(--dv-warn-line); color: var(--dv-warn); }
.dv15 .cs-chip.is-down { border-color: var(--dv-danger-line); background: var(--dv-danger-soft); color: var(--dv-danger-text); }
.dv15 .cs-chip.is-mute { border-style: dashed; color: var(--dv-faint); }
.dv15 a.cs-chip:hover { border-color: var(--dv-line-hover); color: var(--dv-text); }
/* Rang (eigene Stufe des Panels) */
.dv15 .cs-rank { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--dv-surface-3); color: var(--dv-label); font: 600 .72rem/1 var(--dv-font); white-space: nowrap; }
.dv15 .cs-rank .icon { color: var(--dv-faint); }
/* Status-Spalte */
.dv15 .cs-state { display: grid; gap: 3px; }
.dv15 .cs-state-line { display: inline-flex; align-items: center; gap: 8px; color: var(--dv-muted); font-size: .84rem; white-space: nowrap; }
.dv15 .cs-state-line.is-live { color: var(--dv-text); }
.dv15 .cs-state small { overflow: hidden; max-width: 13rem; color: var(--dv-faint); font-size: .76rem; white-space: nowrap; text-overflow: ellipsis; }

/* Tarif-Marke (Kopf, Wechsler, Team) */
.dv15 .cs-tier { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: var(--dv-surface-3); color: var(--dv-muted); font: 700 .66rem/1 var(--dv-mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.dv15 .cs-tier.is-pro { background: var(--dv-volt-soft); color: var(--dv-volt); }
.dv15 .cs-tier.is-lifetime { border-color: var(--dv-volt-line); background: transparent; color: var(--dv-volt); }

/* ---------------------------------------------------------------- 5. Seitenblatt (Detail ohne Seitenwechsel)
   <dialog class="cs-sheet"> + showModal() (cs15.js): Fokus bleibt im Blatt, Esc schliesst, Fokus zurueck auf die Zeile.
   Ohne JavaScript fuehrt der Link auf die ganze Seite - dort steht derselbe Teil. */
.dv15 dialog.cs-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(620px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--dv-line-strong);
  border-radius: 0;
  background: var(--dv-surface);
  color: var(--dv-text);
  box-shadow: -40px 0 90px -30px rgba(0, 0, 0, .95);
  overflow: hidden;
}
.dv15 dialog.cs-sheet[open] { display: flex; flex-direction: column; animation: cs-sheet-in .55s var(--dv-ease); }
.dv15 dialog.cs-sheet::backdrop { background: rgba(0, 0, 0, .58); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
@keyframes cs-sheet-in { from { opacity: 0; transform: translate3d(48px, 0, 0); } to { opacity: 1; transform: none; } }
.dv15 dialog.cs-sheet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--dv-volt), transparent); opacity: .25; pointer-events: none; }
.dv15 .cs-sheet-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px 20px 18px 24px; border-bottom: 1px solid var(--dv-line); }
.dv15 .cs-sheet-title { margin: 0; overflow: hidden; color: var(--dv-text); font: 700 1.2rem/1.25 var(--dv-font); letter-spacing: -.03em; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .cs-sheet-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: none; margin: 4px 0 0; color: var(--dv-muted); font-size: .8125rem; }
.dv15 .cs-sheet-tools { display: flex; gap: 6px; }
.dv15 .cs-sheet-head .cs-who > .cs-sheet-sub { overflow: visible; white-space: normal; }
.dv15 .cs-sheet-body { flex: 1; min-height: 0; padding: 20px 24px 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--dv-surface-3) transparent; }
.dv15 .cs-sheet-body > :first-child { margin-top: 0; }
.dv15 .cs-sheet-body > .dv-section:first-child { padding-top: 0; border-top: 0; }
.dv15 .cs-sheet .dv-subhead { margin-bottom: 12px; }
.dv15 .cs-sheet .dv-callout { margin: 0 0 20px; }
.dv15 .cs-sheet-loading { display: grid; place-items: center; min-height: 40vh; color: var(--dv-faint); }
/* Live-Zeile oben im Blatt */
.dv15 .cs-livebar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--dv-live) 32%, transparent); border-radius: var(--dv-r-sm); background: color-mix(in srgb, var(--dv-live) 6%, transparent); color: var(--dv-label); font-size: .84rem; }
.dv15 .cs-livebar b { color: var(--dv-text); }
.dv15 .cs-livebar a { display: inline-flex; align-items: center; min-height: 34px; margin-left: auto; color: var(--dv-muted); font-weight: 600; }
/* Steckbrief */
.dv15 .cs-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.dv15 .cs-facts > div { min-width: 0; }
.dv15 .cs-facts dt { margin: 0 0 3px; color: var(--dv-faint); font-size: .76rem; font-weight: 600; }
.dv15 .cs-facts dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; max-width: none; min-width: 0; margin: 0; color: var(--dv-text); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.dv15 .cs-facts dd small { color: var(--dv-faint); font-size: .74rem; font-weight: 500; }
/* Verwaltung im Blatt: Label links, Feld + Knopf rechts (eine Zeile je Formular, jedes mit eigener Route) */
.dv15 .cs-manage { display: grid; gap: 14px; }
.dv15 .cs-manage form { margin: 0; }
.dv15 .cs-manage .form-group { margin: 0; }
.dv15 .cs-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dv15 .cs-inline > :is(input, select) { flex: 1 1 12rem; max-width: var(--dv-field-md); }
.dv15 .cs-note-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--dv-warn-line); border-radius: var(--dv-r-sm); background: var(--dv-warn-soft); color: var(--dv-text); font-size: .84rem; }
.dv15 .cs-note-row > span { flex: 1 1 14rem; }
.dv15 .cs-note-row .dv-btns { flex: none; }
/* Gefahrenbereich im Blatt (auf Seiten: .card.dv-danger-zone aus dem System) */
.dv15 .cs-sheet-danger { display: grid; gap: 14px; margin-top: 28px; padding: 16px; border: 1px solid var(--dv-danger-line); border-radius: var(--dv-r); background: linear-gradient(180deg, var(--dv-danger-soft), transparent 80%); }
.dv15 .cs-sheet-danger .dv-danger-row { padding: 0; border: 0; }
.dv15 .cs-sheet-danger .dv-danger-row + .dv-danger-row { padding-top: 14px; border-top: 1px solid var(--dv-line); }
.dv15 .cs-sheet-danger p { margin: 2px 0 0; color: var(--dv-muted); font-size: .84rem; }

/* ---------------------------------------------------------------- 6. Fenster mit Feldern (Hinzufuegen, Grund) */
.dv15 dialog.dv-dialog.cs-form-dialog { max-width: 480px; }
.dv15 .cs-form-dialog .dv-dialog-body { gap: 12px; text-align: left; align-items: stretch; }
.dv15 .cs-form-dialog .form-group { width: 100%; margin: 0; }
.dv15 .cs-form-dialog .form-group :is(input, textarea, select) { width: 100%; max-width: none; }
.dv15 .cs-form-dialog .dv-dialog-actions form { margin: 0; }

/* ---------------------------------------------------------------- 7. Pro-Seite (Funktion gehoert zu Pro) */
/* Zwei Karten nebeneinander: links "gehoert zu Pro" (mittig), rechts ein Beispiel mit erfundenen Daten - keine leere
   rechte Haelfte (DASH_LAYOUT Regel 10). */
.dv15 .cs-upsell { display: grid; justify-items: center; align-content: center; gap: 10px; padding: clamp(24px, 3vw, 36px); text-align: center; }
.dv15 .cs-upsell p { margin-inline: auto; }
.dv15 .cs-upsell .cs-plan-points { justify-items: start; margin: 8px 0 4px; text-align: left; }
.dv15 .cs-upsell-tile { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border: 1px solid var(--dv-volt-line); border-radius: 18px; background: var(--dv-surface-2); color: var(--dv-volt); box-shadow: 0 0 0 1px var(--dv-glow-soft), 0 16px 48px -18px var(--dv-glow); }

/* ---------------------------------------------------------------- 8. Schmal (Handy <= 760 px) + Touch */
@media (max-width: 760px) {
  .dv15 .cs-kpi { padding: 14px; }
  .dv15 .cs-kpi-top { gap: 8px; font-size: .78rem; line-height: 1.25; }
  .dv15 .cs-kpi-ico { width: 26px; height: 26px; border-radius: 9px; }
  .dv15 .cs-kpi-value { margin-top: 8px; font-size: 1.25rem; }
  .dv15 .cs-kpi-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: .76rem; }
  .dv15 .cs-kpi-go { padding-top: 10px; font-size: .78rem; }
  .dv15 .cs-statline { gap: 6px 18px; }
  .dv15 .cs-search { flex: 1 1 100%; }
  .dv15 .cs-toolbar .dv-seg { order: 2; max-width: 100%; overflow-x: auto; }
  .dv15 .cs-toolbar select { flex: 1 1 0; min-width: 0; order: 3; }
  .dv15 .cs-toolbar-end { order: 4; width: 100%; margin-left: 0; }
  .dv15 .main table.dv-table--stack td.cs-m-hide { display: none; }
  /* linksbuendig: die Systemregel stellt gestapelte Zellen rechts - ein kurzer Name ueber einer laengeren Unterzeile rueckte
     sonst ein (seit 03.11.2026 fuer alle, Wunsch P2 W5) */
  .dv15 .main table.dv-table--stack td.cs-m-full { display: block; padding-bottom: 8px; text-align: left; }
  .dv15 .main table.dv-table--stack td.cs-m-full::before { content: none; }
  .dv15 .cs-table td:last-child { width: auto; }
  .dv15 .main table.dv-table--stack.cs-table tr { padding-block: 12px; }
  .dv15 .cs-numcell { justify-items: start; }
  .dv15 dialog.cs-sheet { width: 100vw; border-left: 0; }
  .dv15 .cs-sheet-head { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 14px 12px 14px 16px; }
  .dv15 .cs-sheet-body { padding: 16px 16px 32px; }
  .dv15 .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .dv15 .cs-todo .dv-list-end .dv-tag { display: none; }
  .dv15 .cs-livebar a { margin-left: 0; }
  /* Wechsler am Handy: Blatt von unten */
  .dv15 dialog.cs-switcher { inset: auto 0 0 0; width: 100vw; max-width: 100vw; max-height: 80vh; border-radius: var(--dv-r-lg) var(--dv-r-lg) 0 0; padding: 10px 10px calc(14px + env(safe-area-inset-bottom)); }
}
/* Touch: kleine Knoepfe und Textlinks auf 40 px (wie .btn.small im System) */
@media (pointer: coarse), (max-width: 760px) {
  .dv15 .cs-sheet-tools .dv-iconbtn { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
  .dv15 :is(.cs-sheet, .cs-dash, .card) .btn.small { min-height: 40px; }
  .dv15 .cs-cardlink, .dv15 .cs-livebar a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------------------------------------------------------------- 9. Bewegung aus */
@media (prefers-reduced-motion: reduce) {
  .dv15 dialog.cs-sheet[open], .dv15 dialog.cs-switcher[open] { animation: none; }
  .dv15 .cs-live-dot::after { animation: none; }
  .dv15 .dash-sub-toggle .cs-navcount { transition: none; }
}

/* ---------------------------------------------------------------- 10. Testumgebung (Creator-Suite-Test)
   html.cs-test setzt partials/head.ejs, wenn panelsTestMode gesetzt ist (PANELS_TEST_MODE) - live nie. Schild wie im
   Test-Bot und Owner-Panel-Test: oben rechts, Seiten ohne Leiste unten rechts, Handy in der Kopfleiste. */
html.dv15.cs-test body::after {
  content: "TESTUMGEBUNG";
  position: fixed;
  right: 10px;
  top: 6px;
  z-index: 2147483000;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--dv-warn);
  color: var(--dv-volt-ink);
  font: 700 10px/1 var(--dv-font);
  letter-spacing: .08em;
  opacity: .9;
  pointer-events: none;
}
html.dv15.cs-test body:not(:has(.dash-sidebar))::after { top: auto; bottom: 10px; }
/* Handy: Wortmarke + PANELS lassen in der Kopfleiste nur Platz fuer ein kurzes Schild zwischen Marke und Lupe */
@media (max-width: 760px) { html.dv15.cs-test body:has(.dash-sidebar)::after { content: "TEST"; top: 22px; right: 106px; } }
