@charset "UTF-8";
/* Creator-Suite 1.5 - P5 Einfache Panels (Dashboard, Team, Reichweite, Posts, Link-in-Bio-Editor).
   Eigentuemer: dieses Paket allein. Klassen-Praefix csp- (oder Regeln unter .dv15 [data-cs-page="<key>"]).
   Laedt nach cs15.css (partials/head.ejs, auf jeder Seite). Regeln: nur --dv-*-Tokens, nur dunkel, kein !important,
   keine globalen Element-Regeln, nichts aus dv-core/dash-v15/cs15 nachbauen (Grundoptik kommt aus dem System).
   Die oeffentliche Link-in-Bio-Seite (Design "joghurt") steht NICHT hier, sondern eigenstaendig in cs15-bio.css.

   Inhalt:  1 Plattform-Kachel (Markenfarbe nur als Kachel)   2 Dashboard   3 Team   4 Reichweite   5 Posts
            6 Fenster (Post/Link aendern)   7 Link-in-Bio-Editor (Designs, Vorschau im Handy-Rahmen)   8 Schmal   9 Bewegung */

/* ---------------------------------------------------------------- 1. Plattform-Kachel
   Kuerzel ("TT", "YT" ...) auf der Markenfarbe der Plattform (socialPlatforms.ts, kommt als --csp-pf im style). TikTok
   und X sind fast schwarz - die feine Linie haelt die Kachel auf OLED sichtbar. */
.dv15 .csp-pf {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--csp-pf, var(--dv-surface-3));
  box-shadow: inset 0 0 0 1px var(--dv-line-strong);
  color: var(--dv-text);
  font: 800 .62rem/1 var(--dv-mono);
  letter-spacing: .02em;
}
.dv15 .csp-pf--lg { width: 38px; height: 38px; border-radius: 12px; font-size: .7rem; }
.dv15 .csp-pf--sm { width: 22px; height: 22px; border-radius: 7px; font-size: .56rem; }
.dv15 .csp-pfs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
/* Kachel mit Zustand (Ziel eines Posts): Punkt unten rechts - Text steht im title/dv-sr */
.dv15 .csp-pfs .csp-pf { position: relative; }
.dv15 .csp-pf[data-state]::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--dv-surface); background: var(--dv-faint); }
.dv15 .csp-pf[data-state="ok"]::after { background: var(--dv-volt); }
.dv15 .csp-pf[data-state="warn"]::after { background: var(--dv-warn); }
.dv15 .csp-pf[data-state="down"]::after { background: var(--dv-danger); }
.dv15 .csp-pf[data-state="mute"]::after { background: var(--dv-surface-3); box-shadow: 0 0 0 2px var(--dv-surface), inset 0 0 0 1px var(--dv-line-hover); }

/* Reihe nur aus Kacheln (Posts: Plattformen, die noch nicht verbunden sind - leise) */
.dv15 .csp-pfrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.dv15 .csp-pfrow li { max-width: none; margin: 0; }
.dv15 .csp-pfrow .csp-pf { opacity: .6; }

/* Tabelle als letzter Block einer Karte: ohne den Abstand der eigenstaendigen Tabellen-Karte */
.dv15 .csp-tcard > .dv-table:last-child { margin-bottom: 0; }
.dv15 .csp-tcard .cs-empty-row a { display: inline-flex; align-items: center; min-height: 40px; }
.dv15 .csp-field { display: grid; justify-items: start; gap: 4px; }
.dv15 .csp-field > .dv-subhead { margin-bottom: 6px; }

/* Zahl mit Trend (Reichweite, Dashboard) */
.dv15 .csp-up { color: var(--dv-volt); }
.dv15 .csp-down { color: var(--dv-danger-text); }
/* "zu erledigen" in Gelb (Zaehler im Kartenkopf, Zahlenzeile) */
.dv15 .cs-count.csp-warn { background: var(--dv-warn-soft); color: var(--dv-warn); }
.dv15 .cs-statline b.csp-warn { color: var(--dv-warn); }
.dv15 .cs-kpi-value small.csp-warn { color: var(--dv-warn); }

/* ---------------------------------------------------------------- 2. Dashboard
   Bausteine aus cs15.css (cs-kpis, cs-board, cs-todo, cs-people, cs-dates). Hier nur die Zusaetze der einfachen Panels. */
.dv15 .csp-person-ico { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--dv-line); border-radius: 12px; background: var(--dv-surface-2); color: var(--dv-muted); }
.dv15 .csp-person-ico.is-on { border-color: var(--dv-volt-line); color: var(--dv-volt); }
.dv15 .csp-state { display: inline-flex; align-items: center; gap: 7px; color: var(--dv-muted); font-size: .8125rem; white-space: nowrap; }
/* "Das kommt ins Panel": Zeilen ohne Verweis */
.dv15 .csp-soon .dv-list-ico { color: var(--dv-muted); }
/* Steckbrief des Panels (Agentur/Partner) */
.dv15 .csp-facts { margin-bottom: 18px; }
.dv15 .csp-facts dd .dv-tag { margin-left: 0; }
/* Social Media: genau drei Kennzahlen (seit 17.11.2026 ohne Link in Bio) fuellen die breite Zeile - bei vier wie cs15.css */
@container (min-width: 860px) { .dv15 .cs-kpis.csp-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- 3. Team */
.dv15 .csp-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dv15 .csp-you { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: var(--dv-volt-soft); color: var(--dv-volt); font: 700 .62rem/1 var(--dv-mono); letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
/* Plaetze je Tarif: drei Zeilen, der eigene Tarif mit Volt-Kante */
.dv15 .csp-plans { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dv15 .csp-plans li { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: none; min-height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--dv-line); border-radius: var(--dv-r-sm); color: var(--dv-muted); font-size: .875rem; }
.dv15 .csp-plans li b { color: var(--dv-text); font: 650 .875rem/1 var(--dv-mono); font-variant-numeric: tabular-nums; }
.dv15 .csp-plans li.is-current { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); color: var(--dv-text); }
.dv15 .csp-plans li.is-current b { color: var(--dv-volt); }
.dv15 .csp-addform { display: grid; gap: 14px; }
.dv15 .csp-addform .form-group { margin: 0; }
.dv15 .csp-addform input { max-width: none; font-family: var(--dv-mono); }

/* ---------------------------------------------------------------- 4. Reichweite
   Je Plattform eine gleich hohe Karte im Raster (3 Spalten ab ~1250 px Inhalt, sonst 2 bzw. 1): Kopf, grosse Zahl mit
   7/30 Tagen, Kurve, unten die Aktionen ("Stand eintragen" = Fenster, "Verlauf" = Seitenblatt). */
.dv15 .csp-reach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: var(--dv-gap); margin: 0 0 20px; }
.dv15 .csp-reach-grid.is-pairs { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(24rem, calc(50% - var(--dv-gap)))), 1fr)); }
.dv15 .csp-reach-grid > .card { display: flex; flex-direction: column; max-width: none; margin: 0; }
.dv15 .csp-reach-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.dv15 .csp-reach-name { display: grid; min-width: 0; }
.dv15 .csp-reach-name .cs-h { margin: 0; }
.dv15 .csp-reach-name a { overflow: hidden; color: var(--dv-faint); font-size: .8125rem; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.dv15 .csp-reach-name a:hover { color: var(--dv-text); }
.dv15 .csp-reach-main { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-top: 20px; }
.dv15 .csp-reach-big { display: grid; gap: 4px; max-width: none; margin: 0; }
.dv15 .csp-reach-big b { color: var(--dv-text); font: 700 clamp(1.6rem, 1.3rem + .7vw, 2rem)/1 var(--dv-font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dv15 .csp-reach-big span { color: var(--dv-faint); font-size: .8125rem; }
.dv15 .csp-reach-deltas { display: flex; gap: 22px; margin: 0; }
.dv15 .csp-reach-deltas dt { margin: 0 0 3px; color: var(--dv-faint); font-size: .74rem; font-weight: 600; }
.dv15 .csp-reach-deltas dd { margin: 0; color: var(--dv-text); font: 650 .95rem/1.2 var(--dv-font); font-variant-numeric: tabular-nums; }
.dv15 .csp-reach > .csp-spark { margin-bottom: 18px; }
.dv15 .csp-reach > .dv-error { margin: -6px 0 16px; }
.dv15 .csp-reach-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--dv-line); }
.dv15 .csp-reach-foot form { margin: 0; }
.dv15 .csp-reach-foot .cs-count { height: 18px; margin-left: 2px; padding: 0 6px; font-size: .66rem; }
/* Kleine Kurve: Linie in Volt (Bereichsfarben nur an der Kachel) */
.dv15 .csp-spark { display: grid; gap: 6px; margin: 18px 0 0; }
.dv15 .csp-spark svg { display: block; width: 100%; height: 56px; color: var(--dv-volt); overflow: visible; }
.dv15 .csp-spark figcaption { color: var(--dv-faint); font-size: .76rem; }
.dv15 .csp-spark figcaption.csp-spark-empty { display: grid; place-items: center; min-height: 76px; padding: 0 12px; border: 1px dashed var(--dv-line-strong); border-radius: var(--dv-r-sm); text-align: center; }
/* Fenster "Stand eintragen": Felder in zwei Spalten */
.dv15 .csp-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
/* Seitenblatt "Verlauf" */
.dv15 .csp-sheet .cs-sheet-head .csp-pf { justify-self: start; }
.dv15 .csp-sheet .cs-facts + .dv-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dv-line); }
.dv15 .csp-sheet-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dv15 .csp-sheet-row .dv-subhead { margin: 0; }
.dv15 .csp-sheet-row form { margin: 0; }
.dv15 .csp-sheet .dv-table:last-child, .dv15 .csp-sheet .dv-table-wrap + .dv-hint { margin-bottom: 0; }
/* Module (Tabelle "Plattformen"): Kontofeld so breit wie ein Name */
.dv15 .csp-modules td input[type="text"] { width: 100%; max-width: var(--dv-field-md); }
.dv15 .csp-modules .csp-mod-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.dv15 .csp-modules .csp-mod-actions form { margin: 0; }
.dv15 .csp-notes { margin: 0; padding: 0; list-style: none; }
.dv15 .csp-notes li { display: flex; gap: 10px; max-width: 64ch; margin: 0 0 10px; color: var(--dv-muted); font-size: .84rem; line-height: 1.5; }
.dv15 .csp-notes li:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- 5. Posts */
/* Rechte Spalte (Neuer Post) klebt nicht - das Formular ist hoeher als der Bildschirm */
.dv15 .csp-posts-rail { position: static; }
/* Vorschaubild in Tabellenzeilen */
.dv15 .csp-thumb { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--dv-line); border-radius: 12px; background: var(--dv-surface-2); color: var(--dv-faint); overflow: hidden; }
.dv15 .csp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dv15 .csp-thumb--lg { width: 64px; height: 64px; border-radius: 14px; }
.dv15 .csp-when { display: grid; gap: 2px; white-space: nowrap; }
.dv15 .csp-when b { color: var(--dv-text); font: 650 .9rem/1.2 var(--dv-font); font-variant-numeric: tabular-nums; }
.dv15 .csp-when small { color: var(--dv-faint); font: 600 .72rem/1.2 var(--dv-mono); letter-spacing: .02em; }
.dv15 .csp-rowactions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.dv15 .csp-rowactions form { margin: 0; }
/* Zu erledigen: je Post ein Block mit gelber Kante */
.dv15 .csp-due { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--dv-warn-line); border-radius: var(--dv-r); background: linear-gradient(180deg, var(--dv-warn-soft), transparent 70%); }
.dv15 .csp-due + .csp-due { margin-top: 12px; }
.dv15 .csp-due-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dv15 .csp-due-head .cs-who > b { color: var(--dv-text); font-size: .95rem; font-weight: 650; }
.dv15 .csp-due-text { display: grid; grid-template-columns: minmax(0, var(--dv-field-xl)) auto; justify-content: start; align-items: start; gap: 8px; }
.dv15 .csp-due-text textarea { width: 100%; max-width: none; min-height: 84px; resize: vertical; font-size: .875rem; }
.dv15 .csp-due-file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dv15 .csp-targets { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dv15 .csp-target { display: grid; gap: 10px; max-width: none; margin: 0; padding: 12px; border: 1px solid var(--dv-line); border-radius: var(--dv-r-sm); background: var(--dv-surface); }
.dv15 .csp-target-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dv15 .csp-target-head b { color: var(--dv-text); font-size: .9rem; }
.dv15 .csp-target-head .dv-hint { flex-basis: 100%; margin: 0; }
.dv15 .csp-target-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dv15 .csp-target-actions form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.dv15 .csp-target-actions form:has(input[type="url"]) { flex: 1 1 24rem; }
.dv15 .csp-target-actions input[type="url"] { flex: 1 1 12rem; width: auto; min-width: 0; max-width: var(--dv-field-md); }
.dv15 .csp-done-targets { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.dv15 .csp-done-targets li { display: inline-flex; align-items: center; gap: 6px; max-width: none; margin: 0; color: var(--dv-muted); font-size: .8125rem; }
/* Formular "Neuer Post" / "Post aendern" */
.dv15 .csp-postform { display: grid; gap: 18px; }
.dv15 .csp-postform .form-group { margin: 0; }
.dv15 .csp-postform :is(input[type="text"], input[type="file"], textarea) { width: 100%; max-width: none; }
.dv15 .csp-count { display: block; margin-top: 6px; color: var(--dv-faint); font: 500 .76rem/1.4 var(--dv-mono); }
.dv15 .csp-count.is-too-long { color: var(--dv-warn); }
/* Plattformen als Chips mit Haken */
.dv15 .csp-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dv15 .csp-picks legend { margin-bottom: 8px; padding: 0; }
.dv15 .csp-pick { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 12px 0 10px; border: 1px solid var(--dv-line-strong); border-radius: 999px; color: var(--dv-muted); font-size: .84rem; font-weight: 550; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.dv15 .csp-pick:hover { border-color: var(--dv-line-hover); color: var(--dv-text); }
.dv15 .csp-pick:has(input:checked) { border-color: var(--dv-volt-line); background: var(--dv-volt-soft); color: var(--dv-text); }
.dv15 .csp-pick input[type="checkbox"] { width: 18px; height: 18px; border-radius: 5px; }
.dv15 .csp-pickhint { flex-basis: 100%; }
.dv15 .csp-postform .dv-btns { margin-top: 2px; }

/* ---------------------------------------------------------------- 6. Fenster (Post aendern, Link aendern)
   dialog.dv-dialog.cs-form-dialog (cs15.css) mit Formular. Ohne Skript (kein html.dv-js) zeigt der Sprung #<id> das
   Fenster an seiner Stelle in der Seite - so bleibt Aendern auch ohne JavaScript moeglich. */
.dv15 dialog.dv-dialog.csp-dialog { width: calc(100% - 24px); max-width: 560px; }
.dv15 dialog.csp-dialog .dv-dialog-body { gap: 16px; max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain; }
.dv15 dialog.csp-dialog .dv-dialog-body :is(input[type="text"], input[type="url"], textarea) { width: 100%; max-width: none; }
.dv15 dialog.csp-dialog .dv-dialog-actions { border-top: 1px solid var(--dv-line); }
html.dv15:not(.dv-js) dialog.csp-dialog:target { position: static; display: block; margin: 16px 0; }
/* Seitenblatt aus der Seite (Reichweite "Verlauf") ohne Skript: an seiner Stelle als Karte */
html.dv15:not(.dv-js) dialog.csp-sheet:target { position: static; display: block; width: auto; height: auto; margin: 16px 0; border: 1px solid var(--dv-line-strong); border-radius: var(--dv-r); box-shadow: none; }

/* ---------------------------------------------------------------- 7. Link-in-Bio-Editor */
.dv15 .csp-bio-stats { margin: 18px 0 0; }
.dv15 .csp-online { display: flex; align-items: center; gap: 10px; margin: 0; }
/* Kanaele und Links: Kanalzeile oben (Chips), darunter die eigenen Links */
.dv15 .csp-chanrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px 14px; margin: 0 0 20px; padding: 0 0 18px; border-bottom: 1px solid var(--dv-line); }
.dv15 .csp-chanrow > :is(.dv-subhead, .dv-hint, .cs-cardlink) { display: flex; align-items: center; min-height: 36px; margin: 0; }
.dv15 .csp-links-sub { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.dv15 .csp-links-sub .cs-count { height: 20px; padding: 0 7px; font-size: .68rem; }
/* Profilbild + Aktionen */
.dv15 .csp-avatar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-bottom: 22px; }
.dv15 .csp-avatar { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--dv-surface-3); color: var(--dv-label); font: 700 1.15rem/1 var(--dv-mono); object-fit: cover; box-shadow: 0 0 0 2px var(--dv-bg), 0 0 0 3px var(--csp-accent, var(--dv-line-strong)); }
.dv15 .csp-avatar-actions { display: grid; flex: 1 1 18rem; gap: 10px; min-width: 0; }
.dv15 .csp-avatar-actions .dv-btns { gap: 8px; }
.dv15 .csp-avatar-actions form { margin: 0; }
.dv15 .csp-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dv15 .csp-upload input[type="file"] { flex: 1 1 14rem; max-width: var(--dv-field-md); }
/* Designs als Kacheln: Mini-Vorschau + Name; gewaehlte Kachel mit Volt-Rand */
.dv15 .csp-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.dv15 .csp-themes legend { grid-column: 1 / -1; margin-bottom: 8px; padding: 0; }
.dv15 .csp-theme { position: relative; display: grid; gap: 10px; margin: 0; padding: 10px; border: 1px solid var(--dv-line-strong); border-radius: var(--dv-r); background: var(--dv-surface); color: var(--dv-muted); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.dv15 .csp-theme:hover { border-color: var(--dv-line-hover); }
.dv15 .csp-theme:has(input:checked) { border-color: var(--dv-volt-line); background: var(--dv-surface-2); box-shadow: 0 0 0 1px var(--dv-glow-soft); }
.dv15 .csp-theme:has(input:focus-visible) { outline: var(--dv-focus); outline-offset: 2px; }
.dv15 .csp-theme > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.dv15 .csp-theme-text { display: grid; gap: 2px; }
.dv15 .csp-theme-text b { display: flex; align-items: center; gap: 6px; color: var(--dv-text); font-size: .875rem; font-weight: 650; }
.dv15 .csp-theme-text small { color: var(--dv-faint); font-size: .74rem; line-height: 1.35; }
.dv15 .csp-theme-text .dv-tag { height: 18px; padding: 0 6px; font-size: .62rem; }
/* Mini-Vorschau je Design (zeigt das Kunden-Design grob: Flaeche, Akzent, Knopf) */
.dv15 .csp-swatch { position: relative; display: grid; align-content: end; gap: 4px; height: 64px; padding: 8px; border-radius: 10px; overflow: hidden; background: var(--dv-bg); box-shadow: inset 0 0 0 1px var(--dv-line); }
.dv15 .csp-swatch::before { content: ""; position: absolute; left: 50%; top: 8px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--dv-surface-3); box-shadow: 0 0 0 2px var(--csp-accent, var(--dv-volt)); }
.dv15 .csp-swatch i { display: block; height: 7px; border-radius: 999px; background: var(--dv-surface-3); }
.dv15 .csp-swatch i:first-child { background: var(--csp-accent, var(--dv-volt)); }
.dv15 .csp-swatch.is-joghurt { background: radial-gradient(60% 55% at 50% 15%, color-mix(in srgb, var(--csp-accent, var(--dv-volt)) 30%, transparent), transparent 70%), var(--dv-bg); }
.dv15 .csp-swatch.is-dunkel { background: var(--dv-surface-2); }
.dv15 .csp-swatch.is-dunkel::before { box-shadow: 0 0 0 2px var(--dv-line-hover); }
.dv15 .csp-swatch.is-neon { background: var(--dv-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--csp-accent, var(--dv-volt)) 55%, transparent), inset 0 0 18px -4px color-mix(in srgb, var(--csp-accent, var(--dv-volt)) 60%, transparent); }
.dv15 .csp-swatch.is-hell { background: var(--dv-text); }
.dv15 .csp-swatch.is-hell i { background: var(--dv-muted); }
.dv15 .csp-swatch.is-hell i:first-child { background: var(--csp-accent, var(--dv-volt)); }
/* Farben, Schieberegler */
.dv15 .csp-colors { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.dv15 .csp-colors .form-group { margin: 0; }
.dv15 .csp-range { max-width: var(--dv-field-md); }
.dv15 .csp-range output { color: var(--dv-text); font-family: var(--dv-mono); }
.dv15 .csp-optgroup { display: grid; justify-items: start; gap: 12px; }
.dv15 .csp-optgroup > .dv-hint { margin: 0; }
/* Abschnitte in einem Formular (Profil, Hintergrund): erster Abschnitt nach Feldern bekommt dieselbe Trennlinie wie im
   System zwischen zwei Abschnitten (die Systemregel greift nur fuer direkte Kinder der Karte) */
.dv15 .csp-form > :not(.dv-section, input[type="hidden"]) + .dv-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--dv-line); }
.dv15 .csp-form .dv-section > .checkbox-row + .checkbox-row { margin-top: 4px; }
.dv15 .csp-form .dv-section > .form-group + .checkbox-row { margin-top: 14px; }
.dv15 .csp-bgrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-bottom: 22px; }
.dv15 .csp-bgthumb { display: grid; place-items: center; flex: none; width: 64px; height: 96px; border: 1px solid var(--dv-line-strong); border-radius: 12px; background: var(--dv-surface-2); color: var(--dv-faint); object-fit: cover; }
/* Kanaele (aus der Reichweite) */
.dv15 .csp-channels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dv15 .csp-channels li { display: inline-flex; align-items: center; gap: 8px; max-width: none; min-height: 36px; margin: 0; padding: 4px 12px 4px 6px; border: 1px solid var(--dv-line); border-radius: 999px; background: var(--dv-surface-2); color: var(--dv-text); font-size: .84rem; font-weight: 600; }
.dv15 .csp-channels li small { color: var(--dv-faint); font: 500 .74rem/1 var(--dv-mono); }
/* Eigene Links */
.dv15 .csp-links .cs-who { max-width: 28rem; }
.dv15 .csp-links .cs-sub a { color: inherit; text-decoration: none; }
.dv15 .csp-links .cs-sub a:hover { color: var(--dv-text); text-decoration: underline; }
.dv15 .csp-links tr.is-off .cs-name { color: var(--dv-faint); }
.dv15 .csp-order { display: inline-flex; gap: 4px; }
.dv15 .csp-order form { margin: 0; }
/* Vorschau im Handy-Rahmen (die echte Seite /@<name>?vorschau=1) */
.dv15 .csp-phone { display: grid; place-items: center; padding: 6px 0 2px; }
.dv15 .csp-phone iframe { display: block; width: min(100%, 390px); height: min(780px, calc(100vh - 210px)); min-height: 420px; border: 1px solid var(--dv-line-strong); border-radius: 30px; background: var(--dv-bg); box-shadow: 0 0 0 6px var(--dv-surface-2), 0 40px 90px -40px var(--dv-glow-soft); }

/* Zuschnitt des Profilbilds rund zeigen (mediaCrop.js, vorher panel.css) - nur auf Seiten mit data-crop-round */
.dv15 body:has(input[data-crop-round]) .crop-modal :is(.cropper-view-box, .cropper-face) { border-radius: 50%; }
.dv15 body:has(input[data-crop-round]) .crop-modal .cropper-view-box { outline: 2px solid var(--dv-text); }

/* ---------------------------------------------------------------- 8. Schmal (Handy <= 760 px) */
@media (max-width: 760px) {
  .dv15 .csp-due { padding: 12px; }
  .dv15 .csp-due-text { grid-template-columns: minmax(0, 1fr); }
  .dv15 .csp-target-actions form { width: 100%; }
  .dv15 .csp-target-actions input[type="url"] { width: 100%; }
  .dv15 .csp-rowactions { justify-content: flex-start; flex-wrap: wrap; }
  .dv15 .csp-modules .csp-mod-actions { justify-content: flex-start; }
  .dv15 .csp-modules td input[type="text"] { max-width: none; }
  .dv15 .csp-phone iframe { height: 640px; }
  .dv15 .csp-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv15 .csp-chanrow { grid-template-columns: minmax(0, 1fr) auto; }
  .dv15 .csp-chanrow > :is(.csp-channels, .dv-hint) { grid-column: 1 / -1; grid-row: 2; }
  .dv15 .csp-reach-deltas { gap: 18px; }
  /* Posts (Geplant, Entwuerfe, Erledigt): je Post drei Zeilen statt Beschriftung je Zelle -
     Post / Zeitpunkt + Plattformen / Aktionen */
  .dv15 .main table.csp-ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "post post" "when pf" "act act"; align-items: center; gap: 10px 12px; }
  .dv15 .main table.csp-ptable tr[hidden] { display: none; }
  .dv15 .main table.csp-ptable td { padding: 0; }
  .dv15 .main table.csp-ptable td::before { content: none; }
  .dv15 .main table.csp-ptable td:nth-child(1) { grid-area: when; justify-content: flex-start; text-align: left; }
  .dv15 .main table.csp-ptable td:nth-child(2) { grid-area: post; padding: 0; }
  .dv15 .main table.csp-ptable td:nth-child(3) { grid-area: pf; justify-content: flex-end; }
  .dv15 .main table.csp-ptable td:nth-child(4) { grid-area: act; justify-content: flex-start; }
  .dv15 .main table.csp-ptable td[colspan] { grid-area: auto; grid-column: 1 / -1; justify-content: center; }
  .dv15 .csp-ptable .csp-when { display: flex; align-items: baseline; gap: 8px; }
  .dv15 .csp-ptable .csp-done-targets { justify-content: flex-end; }
  /* Reichweite "Plattformen": Plattform + Stand / Konto / Zahlen + Aktion */
  .dv15 .main table.csp-mtable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pf st" "acc acc" "num act"; align-items: center; gap: 10px 12px; }
  .dv15 .main table.csp-mtable td { padding: 0; }
  .dv15 .main table.csp-mtable td::before { content: none; }
  .dv15 .main table.csp-mtable td:nth-child(1) { grid-area: pf; justify-content: flex-start; }
  .dv15 .main table.csp-mtable td:nth-child(2) { grid-area: acc; justify-content: flex-start; }
  .dv15 .main table.csp-mtable td:nth-child(3) { grid-area: num; justify-content: flex-start; gap: 6px; color: var(--dv-faint); font-size: .8125rem; }
  .dv15 .main table.csp-mtable td:nth-child(3)::before { content: attr(data-label) ":"; font-size: .8125rem; font-weight: 500; }
  .dv15 .main table.csp-mtable td:nth-child(4) { grid-area: st; }
  .dv15 .main table.csp-mtable td:nth-child(5) { grid-area: act; }
}
/* Touch: kleine Knoepfe in Zeilen 40 px (System macht das fuer .btn.small in Karten) */
@media (pointer: coarse), (max-width: 760px) {
  .dv15 :is(.csp-rowactions, .csp-order, .csp-mod-actions, .csp-target-actions) .btn { min-height: 40px; }
  .dv15 :is(.csp-rowactions, .csp-order) .dv-iconbtn { min-width: 40px; }
}

/* ---------------------------------------------------------------- 9. Bewegung aus */
@media (prefers-reduced-motion: reduce) {
  .dv15 :is(.csp-pick, .csp-theme) { transition: none; }
}
