/* IdeaForge – ein Schnittplatz fürs Handy. Das Auffälligste ist der Multiplikator auf dem Winner-Thumbnail;
   alles andere bleibt ruhig: kühles Grau, Tinte, ein Kobalt für Aktionen. */
:root {
  --bg: #F2F4F7; --surface: #FFFFFF; --sunk: #E7EBF0; --line: #D5DCE4;
  --ink: #152238; --ink-2: #4A5A70; --ink-3: #7A889B;
  --act: #2445D6; --act-ink: #FFFFFF; --act-soft: #E3E9FF;
  --ok: #18794E; --ok-soft: #DDF3E6; --bad: #B42318; --bad-soft: #FDE5E2; --warn: #94600A; --warn-soft: #FBEFD5;
  /* Heat-Skala für den Score */
  --h1: #6B7A90; --h2: #E08A00; --h3: #E5531A; --h4: #C9184A;
  --r-s: 8px; --r-m: 14px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --text: "DM Sans", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --tabs-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Dunkles Design im neuen Aussehen: warmes Schwarz statt Blaugrau. Blau = nächste Aktion, Grün = gut, Gelb = wartet, Rot = Problem. */
    --bg: #100F0E; --surface: #1A1917; --sunk: #24221F; --line: #2E2B27;
    --ink: #F5F1EA; --ink-2: #B5AEA3; --ink-3: #978F84;
    --act: #7AA2FF; --act-ink: #0A1430; --act-soft: #1C2742;
    --ok: #4CC38A; --ok-soft: #17301F; --bad: #FF7A6B; --bad-soft: #3A1A18; --warn: #F2B34A; --warn-soft: #3A2C12;
    --h1: #978F84; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--text); padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 16px); }
a { color: var(--act); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.brand { font: 800 22px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--act); }
.top-status { font-size: 13px; color: var(--ink-3); text-align: right; min-height: 1em; }
.top-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--act); margin-right: 6px; animation: pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .top-status .dot { animation: none; } }
@keyframes pulse { 50% { opacity: .35; } }

main { max-width: 1120px; margin: 0 auto; padding: 4px 16px 24px; outline: none; }
h1 { font: 700 30px/1.1 var(--display); letter-spacing: -0.02em; margin: 8px 0 4px; }
h2 { font: 700 20px/1.2 var(--display); margin: 28px 0 10px; }
.lead { color: var(--ink-2); margin: 0 0 16px; max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* Untere Leiste */
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.tabs a { position: relative; flex: 1; max-width: 180px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-decoration: none; border-radius: 10px; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { color: var(--act); background: var(--act-soft); }
.tabs b { position: absolute; top: 2px; right: calc(50% - 26px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--act); color: var(--act-ink); font-size: 11px; line-height: 18px; text-align: center; }

/* Kanal-Filter */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip.solo { padding-left: 14px; }
.chip[aria-pressed="true"] { border-color: var(--act); background: var(--act-soft); color: var(--ink); }
.chip img, .chip .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.chip .n { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.ph { display: grid; place-items: center; font: 700 14px var(--display); color: var(--ink-2); }

/* Ideen */
.ideas { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ideas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ideas { grid-template-columns: 1fr 1fr 1fr; } }
.idea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.idea .ref { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sunk); }
.idea .ref img { width: 100%; height: 100%; object-fit: cover; }
.idea .ref::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 20, .78), rgba(8, 12, 20, 0) 55%); }
.idea .ref .wt { position: absolute; z-index: 1; left: 12px; right: 96px; bottom: 10px; color: #fff; font-size: 13.5px; line-height: 1.35; }
.idea .ref .wt small { display: block; opacity: .82; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea .ref .wt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
.idea .body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.idea .ch { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.idea .ch img { width: 18px; height: 18px; border-radius: 50%; }
.idea h3 { font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; margin: 0; overflow-wrap: anywhere; }
.idea h3[contenteditable="true"] { outline: 2px dashed var(--act); outline-offset: 4px; border-radius: 4px; }
.idea .why { font-size: 14px; color: var(--ink-2); margin: 0; }
.idea .pat { font-size: 13px; color: var(--ink-3); margin: 0; }
.idea .acts { display: flex; gap: 8px; padding: 0 14px 14px; align-items: center; }

/* Der Multiplikator: das eine laute Element */
.mult { position: absolute; z-index: 2; right: 10px; bottom: 8px; font: 800 30px/1 var(--display); letter-spacing: -0.03em; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.mult::before { content: ""; position: absolute; left: -6px; right: -6px; bottom: -4px; height: 5px; border-radius: 3px; background: var(--heat, var(--h2)); }
.mult small { font-size: 18px; font-weight: 700; margin-left: 1px; }
.mult.inline { position: static; color: var(--ink); text-shadow: none; font-size: 22px; display: inline-block; padding-bottom: 6px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; color: var(--ink); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.go { flex: 1; background: var(--act); border-color: var(--act); color: var(--act-ink); font-size: 16px; min-height: 48px; }
.btn.go.arm { background: var(--ink); border-color: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.btn.go.arm::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--act); transform-origin: left; animation: drain 4s linear forwards; }
@keyframes drain { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .btn.go.arm::after { animation: none; } }
.btn.icon { width: 48px; padding: 0; flex: none; }
.btn.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn.icon.on { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--act); padding: 0 8px; }
.btn.danger { color: var(--bad); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Hinweise */
.note { border-radius: var(--r-m); padding: 14px 16px; margin: 8px 0 16px; background: var(--surface); border: 1px solid var(--line); }
.note.warn { background: var(--warn-soft); border-color: transparent; }
.note.bad { background: var(--bad-soft); border-color: transparent; }
.note p { margin: 4px 0; }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); }
.empty h2 { margin-top: 0; }

/* Kanäle */
.chlist { display: grid; gap: 10px; }
@media (min-width: 760px) { .chlist { grid-template-columns: 1fr 1fr; } }
.chrow { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.chrow img, .chrow .ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.chrow .nm { font: 700 17px/1.2 var(--display); }
.chrow .meta { font-size: 13px; color: var(--ink-3); }
.chrow .stat { text-align: right; font-size: 13px; color: var(--ink-2); }
.chrow .stat b { display: block; font: 800 22px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.flag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); }
.flag.bad { background: var(--bad-soft); color: var(--bad); }

.head { display: flex; gap: 14px; align-items: center; margin: 8px 0 12px; }
.head img, .head .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.head h1 { margin: 0; font-size: 26px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--sunk); border-radius: 12px; overflow-x: auto; margin: 4px 0 16px; }
.seg button { flex: 1 0 auto; min-height: 40px; border: 0; background: none; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; padding: 0 12px; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.vids { display: grid; gap: 10px; }
@media (min-width: 760px) { .vids { grid-template-columns: 1fr 1fr; } }
.vid { display: grid; grid-template-columns: 136px 1fr; gap: 12px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.vid .th { position: relative; aspect-ratio: 16/9; border-radius: var(--r-s); overflow: hidden; background: var(--sunk); }
.vid .th img { width: 100%; height: 100%; object-fit: cover; }
.vid .th .mult { font-size: 20px; right: 6px; bottom: 6px; }
.vid .th .mult small { font-size: 13px; }
.vid .th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,12,20,.6), transparent 60%); }
.vid .t { font-weight: 600; font-size: 15px; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vid .m { font-size: 13px; color: var(--ink-3); }
.vid .row { margin-top: 6px; }
.vid .btn { min-height: 36px; font-size: 14px; padding: 0 12px; }

/* Formulare */
label.f { display: block; margin: 0 0 14px; }
label.f > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label.f > small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
input[type="text"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
textarea { min-height: 150px; resize: vertical; line-height: 1.45; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }

.refs { display: grid; gap: 8px; margin-bottom: 14px; }
.refrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.refrow img, .refrow .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--sunk); }

/* Produktion */
.jobs { display: grid; gap: 10px; }
.job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: grid; gap: 8px; }
.job .t { font: 700 17px/1.25 var(--display); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steps i { height: 6px; border-radius: 3px; background: var(--sunk); }
.steps i.done { background: var(--ok); }
.steps i.now { background: var(--act); animation: pulse 1.6s ease-in-out infinite; }
.steps i.fail { background: var(--bad); }
.steplbl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11.5px; color: var(--ink-3); }
.err { font-size: 14px; color: var(--bad); background: var(--bad-soft); padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; }

/* Login */
.login { max-width: 380px; margin: 12vh auto 0; }
.login h1 { font-size: 40px; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 14px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: #fff; }
details.more summary { cursor: pointer; color: var(--act); font-weight: 600; margin: 8px 0; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .8s linear infinite; vertical-align: -2px; }
@keyframes rot { to { transform: rotate(1turn); } }

/* Winner-Gruppen: kompakte Zeile, aufklappbar */
.groups { display: grid; gap: 10px; }
@media (min-width: 900px) { .groups { grid-template-columns: 1fr 1fr; align-items: start; } }
.grp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.grp-head { width: 100%; display: grid; grid-template-columns: 112px 1fr auto 20px; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.grp-head:hover { background: color-mix(in srgb, var(--sunk) 50%, transparent); }
.gth { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-s); overflow: hidden; background: var(--sunk); }
.gth img { width: 100%; height: 100%; object-fit: cover; }
.gtx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gwt { font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.gme { font-size: 12.5px; color: var(--ink-3); }
.gme b { color: var(--act); font-weight: 600; }
.gmult { position: relative; font: 800 24px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; padding-bottom: 6px; }
.gmult small { font-size: 15px; }
.gmult::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--heat); }
.gchev { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.grp-head[aria-expanded="true"] .gchev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .gchev { transition: none; } }
.grp-body { border-top: 1px solid var(--line); padding: 4px 12px 8px; }
.gsrc { display: inline-block; font-size: 13px; font-weight: 600; margin: 8px 0 2px; }
.opt { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.opt:last-child { border-bottom: 0; }
.opt h3 { font: 700 17px/1.3 var(--display); margin: 0; overflow-wrap: anywhere; }
.opt h3[contenteditable="true"] { outline: 2px dashed var(--act); outline-offset: 4px; border-radius: 4px; }
.opt .why { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.opt .acts { display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.pill { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--act-soft); color: var(--act); }
/* Handy: Bild + Multiplikator oben, darunter der komplette Titel über die ganze Breite */
@media (max-width: 560px) {
  .grp-head { grid-template-columns: 132px 1fr 20px; grid-template-areas: "th mult chev" "tx tx tx"; gap: 10px 12px; padding: 12px; }
  .grp-head .gth { grid-area: th; } .grp-head .gtx { grid-area: tx; } .grp-head .gmult { grid-area: mult; justify-self: end; } .grp-head .gchev { grid-area: chev; }
  .gwt { font-size: 16px; }
}

/* Kanal-Leiste mit Pfeilen */
.chipbar { position: relative; }
.cbtn { position: absolute; z-index: 2; top: 4px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cbtn[hidden] { display: none; }
.cbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn.prev { left: -6px; } .cbtn.next { right: -6px; }
.chipbar.more-r .chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); }
.chipbar.more-l .chips { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent); }
.chipbar.more-l.more-r .chips { -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
@media (hover: none) { .cbtn { width: 34px; height: 34px; top: 7px; } }

/* Sync-Knopf oben rechts */
.top-r { position: relative; display: flex; align-items: center; gap: 10px; }
.sync { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.sync svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sync.spin svg { animation: rot 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sync.spin svg { animation: none; } }
.syncmenu { position: absolute; z-index: 40; top: 48px; right: 0; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 8px 28px rgba(0,0,0,.25); padding: 6px; }
.syncmenu[hidden] { display: none; }
.syncmenu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.syncmenu button:hover { background: var(--sunk); }
.syncmenu b { display: block; font-size: 15px; }
.syncmenu span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.gdate { font-size: 12.5px; color: var(--ink-3); }

/* Zeitraum-Umschalter 7 / 30 / 90 Tage */
.seg.days { max-width: 360px; }
.seg.days a { flex: 1 0 auto; display: grid; place-items: center; min-height: 40px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 0 12px; white-space: nowrap; }
.seg.days a[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.vid .m + .m { margin-top: 2px; }
.vid .row { flex-wrap: wrap; gap: 6px; }
.ownflag { font-weight: 600; color: var(--act); }
/* Ideen: Alter des Vorbilds */
.agefilter { margin: -4px 0 14px; }
.agefilter > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 4px 2px; }
.agefilter .seg.days { max-width: 520px; margin: 0; }
.agefilter .seg.days a { padding: 0 10px; font-size: 13.5px; gap: 4px; display: inline-flex; align-items: center; justify-content: center; }
.agefilter .seg.days .n { font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
/* Referenzen: auch bei anderen Kanälen eintragen */
details.also { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; }
details.also summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.alsolist { display: grid; gap: 2px; margin-top: 8px; }
@media (min-width: 640px) { .alsolist { grid-template-columns: 1fr 1fr; } }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--act); flex: none; }
.chk img, .chk .ph { width: 26px; height: 26px; border-radius: 50%; flex: none; }
#refres .note { margin: 12px 0 0; }

/* Plan: geplante Videos und was fehlt */
.plan { margin-bottom: 28px; }
.planhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.planhead h2 { margin-top: 4px; }
.plans { display: grid; gap: 10px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.pc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px; display: grid; gap: 10px; }
.pc.off { background: transparent; border-style: dashed; }
.pc-top { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.pc-top > img, .pc-top > .ph { width: 36px; height: 36px; border-radius: 50%; }
.pc-nm { display: grid; min-width: 0; }
.pc-nm b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-miss { display: grid; justify-items: center; font-size: 11px; font-weight: 600; color: var(--ink-3); line-height: 1.1; }
.pc-miss b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; color: var(--bad); }
.pc-miss.ok b { color: var(--ok); font-size: 20px; }
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.strip i { display: grid; place-items: end center; height: 30px; border-radius: 5px; background: var(--sunk); padding-bottom: 2px; }
.strip i.on { background: var(--act); }
.strip em { font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--ink-3); }
.strip i.on em { color: var(--act-ink); }
.pc .row { gap: 6px; }
.pc .btn { min-height: 38px; font-size: 14px; padding: 0 12px; }
.pc .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.pl-list { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; font-size: 14px; }
.pl-list li { display: grid; gap: 1px; padding: 8px 10px; background: var(--sunk); border-radius: var(--r-s); }
.pl-list span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.pl-list[hidden] { display: none; }

/* Empfehlung */
.rec { border: 1.5px solid var(--act); border-radius: var(--r-m); background: color-mix(in srgb, var(--act-soft) 45%, var(--surface)); padding: 12px 14px; margin: 0 0 16px; }
.rec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; color: var(--ink-2); }
.rec-l { font: 800 15px/1.2 var(--display); color: var(--act); }
.rec-i { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; }
.rec-h + .rec-i { border-top: 0; margin-top: 4px; }
.rec-i .opt { border-bottom: 0; padding-bottom: 6px; }
.rec-ch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.rec-ch img, .rec-ch .ph { width: 22px; height: 22px; border-radius: 50%; }
.rec-why { font-size: 13.5px; color: var(--ink-2); margin: 0 0 6px; }
.lnk { background: none; border: 0; padding: 4px 0; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--act); cursor: pointer; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill.best { background: var(--act); color: var(--act-ink); }

/* Zugänge */
.chrow.acc { margin: 12px 0 4px; grid-template-columns: 52px 1fr 20px; }
.chrow.acc .ph { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--act-soft); color: var(--act); }
.chrow.acc .ph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.go-chev { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.whoami { margin: 28px 0 8px; font-size: 14px; color: var(--ink-3); text-align: center; }
.back { display: inline-block; margin: 0 0 8px; font-weight: 600; font-size: 14px; color: var(--act); text-decoration: none; }
.users { display: grid; gap: 10px; margin-bottom: 8px; }
.urow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; display: grid; gap: 10px; }
.urow.off { opacity: .7; border-style: dashed; }
.uinfo { display: grid; gap: 2px; } .uinfo b { font-size: 16px; }
.urow .row { gap: 6px; flex-wrap: wrap; } .urow .btn { min-height: 38px; font-size: 14px; padding: 0 12px; }
.pwrow { display: flex; gap: 8px; } .pwrow input { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; }
.upw small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .02em; user-select: all; }
.note.ok { background: var(--ok-soft); border-color: transparent; }

/* Eingebauter Player */
.player { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 20, .82); display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.pl-box { width: min(960px, 100%); display: grid; gap: 10px; }
.pl-bar { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 10px; color: #fff; }
.pl-t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pl-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pl-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pl-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pl-ext { justify-self: center; color: rgba(255,255,255,.75); font-size: 13.5px; padding: 6px; }
body.noscroll { overflow: hidden; }

/* ===== Heute ===== */
.hhead .lead b { color: var(--ink); }
.hgrid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "win" "ch"; }
.h-main { grid-area: main; } .h-side { grid-area: side; } .h-win { grid-area: win; } .h-src { grid-area: src; display: none; } .h-ch { grid-area: ch; }
h2.lab { display: flex; justify-content: space-between; align-items: baseline; font: 700 12px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
h2.lab a { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 600; text-decoration: none; }
.hrec { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hr-th { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.hr-th img { width: 100%; height: 100%; object-fit: cover; }
.hr-th .for { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 99px; background: rgba(8, 12, 22, .8); color: #fff; font-size: 13px; font-weight: 600; }
.hr-th .for img, .hr-th .for .ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.hr-th .hx { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 10px; background: var(--h4); color: #fff; font: 800 19px/1.2 var(--display); }
.hr-th .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(8, 12, 22, .62); color: #fff; display: grid; place-items: center; font-size: 20px; padding-left: 4px; opacity: .9; }
.hr-b { padding: 14px 16px 16px; display: flex; flex-direction: column; }
.kick { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--act); margin-bottom: 6px; }
.hr-b .opt { padding: 0; border: 0; }
.hr-b .opt h3 { font-size: 21px; }
.hr-b > .lnk { align-self: flex-start; margin-top: 8px; text-decoration: none; }
.whychips { display: flex; flex-wrap: wrap; gap: 6px; }
.whychips span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.whychips .wc-hot { background: var(--bad-soft); color: var(--bad); }
.whychips .wc-src { background: var(--act-soft); color: var(--act); white-space: normal; }
.whytext { font-size: 14px; color: var(--ink-2); margin: 2px 0 0; line-height: 1.5; }
.whytext b { color: var(--ink); }
.mrow { display: grid; grid-template-columns: 112px 1fr auto; gap: 12px; align-items: center; padding: 8px; margin-bottom: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mrow img.t { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.mrow .mt { display: grid; gap: 4px; min-width: 0; }
.mrow .mt b { font-size: 14px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mrow small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.mrow small img, .mrow small .ph { width: 16px; height: 16px; border-radius: 50%; }
.mrow .mx { font: 800 18px/1 var(--display); color: var(--h4); padding-right: 6px; }
.wgrid { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.wgrid::-webkit-scrollbar { display: none; }
.wcard { scroll-snap-align: start; min-width: 0; }
.wcard .th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--sunk); }
.wcard .th img { width: 100%; height: 100%; object-fit: cover; }
.wcard .x { position: absolute; right: 6px; top: 6px; padding: 2px 7px; border-radius: 7px; background: var(--h4); color: #fff; font: 800 13px/1.3 var(--display); }
.wcard p { margin: 7px 0 2px; font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcard small { font-size: 12px; color: var(--ink-3); }
.ctiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ctile { display: grid; gap: 4px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ctile img, .ctile .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.ctile b { font-size: 14px; line-height: 1.2; }
.ctile span { font-size: 12px; color: var(--ink-3); } .ctile em { font-style: normal; font-weight: 700; color: var(--ink); }
.ctile .prod { color: var(--ok); font-weight: 600; }

/* ===== Quellen ===== */
.srclist { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.srow { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.srow:last-child { border-bottom: 0; }
.srow:hover { background: color-mix(in srgb, var(--sunk) 50%, transparent); }
.srow > img, .srow > .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.sn { display: grid; gap: 5px; min-width: 0; } .sn b { font-size: 15px; }
.stack { display: flex; align-items: center; flex-wrap: wrap; }
.stack img, .stack .ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -6px; background: var(--sunk); font-size: 11px; display: grid; place-items: center; }
.stack img:first-child, .stack .ph:first-child { margin-left: 0; }
.stack em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 6px; } .stack em.warn { color: var(--warn); margin-left: 0; }
.flags { display: flex; gap: 6px; flex-wrap: wrap; }
.sw { display: grid; justify-items: end; font-size: 11.5px; color: var(--ink-3); line-height: 1.2; } .sw b { font: 800 19px/1.1 var(--display); color: var(--ink); }
.refrow { grid-template-columns: 40px 1fr auto; }
.rb { min-width: 0; } .rt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rt .rw { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); }
.bar { height: 7px; border-radius: 4px; background: var(--sunk); margin: 6px 0 4px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--act), color-mix(in srgb, var(--act) 55%, #fff)); }
#sugg h2.lab { margin-top: 22px; }
.sugg { border: 1.5px dashed color-mix(in srgb, var(--act) 55%, var(--line)); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: color-mix(in srgb, var(--act-soft) 40%, transparent); }
.sg-h { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.sg-h img, .sg-h .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sugg p { margin: 10px 0 8px; }
.topic { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); margin: 2px 2px 0 0; }
.sg-best { display: block; font-size: 13.5px; color: var(--ink-2); text-decoration: none; margin-bottom: 10px; line-height: 1.35; }
.sg-best .mx { font: 800 14px var(--display); color: var(--h4); margin-right: 6px; }
.sugg .row .btn { min-height: 40px; }

/* ===== Varianten ===== */
.vars { display: grid; gap: 6px; margin: 4px 0 2px; }
.vars-h { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.var { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 12px; background: var(--sunk); border: 1.5px solid transparent; font-size: 14px; line-height: 1.3; cursor: pointer; }
.var.on { border-color: var(--act); background: var(--act-soft); }
.var input { width: 20px; height: 20px; accent-color: var(--act); margin: 0; }
.var .k { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--surface); color: var(--ink-2); text-align: center; min-width: 56px; }
.addvars { align-self: flex-start; font-size: 14px; text-align: left; padding: 2px 0; }

/* ===== Desktop: feste Seitenleiste ===== */
.side-only, .tabs .side-only { display: none; }
.hgrid:not(:has(.h-side)) .h-main { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  body { padding: 0 0 32px 248px; }
  .top { justify-content: flex-end; } .top > .brand { display: none; }
  main { max-width: 1280px; padding: 0 32px 24px; }
  .tabs { top: 0; bottom: 0; right: auto; width: 248px; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 22px 14px; border-top: 0; border-right: 1px solid var(--line); overflow-y: auto; }
  .tabs a { flex: none; max-width: none; flex-direction: row; gap: 12px; padding: 10px 12px; font-size: 15px; justify-content: flex-start; }
  .tabs a svg { width: 22px; height: 22px; }
  .tabs b { position: static; margin-left: auto; }
  .tabs .brand.side-only { display: block; padding: 0 12px 20px; font-size: 24px; }
  .sidech.side-only { display: grid; gap: 1px; margin-top: 18px; }
  .sl { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 6px; }
  .chn { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
  .chn:hover { background: var(--sunk); } .chn.on { background: var(--act-soft); color: var(--ink); }
  .chn img, .chn .ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
  .chn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chn em { font-style: normal; font-size: 12px; color: var(--ink-3); }
  .hgrid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-areas: "main side" "win src"; gap: 20px; }
  .h-src { display: block; } .h-ch { display: none; }
  .hrec { display: grid; grid-template-columns: 1.05fr 1fr; }
  .hr-th { aspect-ratio: auto; min-height: 100%; }
  .hr-b { padding: 18px 20px; }
  .wgrid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
  .h-win, .h-src { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
  .h-src .srclist { border: 0; background: none; border-radius: 0; }
  .h-src .srow { padding: 9px 0; }
  .srclist.big { grid-template-columns: 1fr 1fr; }
  .srclist.big .srow:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.tag.new { background: var(--act-soft); color: var(--act); margin-left: 6px; }
#sugg h2.lab .lnk { font-size: 13.5px; letter-spacing: 0; text-transform: none; padding: 0; }
/* Verbindungen */
.conns { display: grid; gap: 10px; }
@media (min-width: 900px) { .conns { grid-template-columns: 1fr 1fr; } .conns > :first-child { grid-column: 1 / -1; } }
.conn { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.conn-h { display: flex; align-items: center; gap: 10px; } .conn-h b { font-size: 16px; }
.conn .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex: none; } .conn.ok .dot { background: var(--ok); }
.conn .st { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--warn); } .conn.ok .st { color: var(--ok); }
.conn p { margin: 4px 0 0; }
.cform { margin-top: 10px; } .cform .f { margin-bottom: 10px; }
.chlink { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.chlink:hover b { text-decoration: underline; }
.chlink .ext { width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.refrow > .chlink, .sg-h > .chlink { display: block; }
/* Eigenes Video */
.ownv { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 6px 0 22px; }
.ownv summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; }
.ownv summary::-webkit-details-marker { display: none; }
.ownv summary .plus { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--act); color: var(--act-ink); font-weight: 700; }
.ownv[open] summary { border-bottom: 1px solid var(--line); }
.ownv form { padding: 14px; }
.refprev { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.refprev img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.jref { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; } .jref img { width: 64px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.hhead { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; gap: 10px; }
.newown { flex: none; margin-top: 10px; }

/* ===== Ideen-Karte (einfach) ===== */
.groups { display: grid; gap: 14px; }
.icard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 12px; }
.ic-ch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.ic-ch b { color: var(--ink-2); } .ic-ch img, .ic-ch .ph { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.icard .opt { padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.icard .opt.main h3 { font: 700 20px/1.28 var(--display); margin: 0; letter-spacing: -.01em; }
.ic-why { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); } .ic-why b { color: var(--ink); }
.ic-ref { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--sunk); text-decoration: none; color: var(--ink); }
.ic-th { position: relative; display: block; } .ic-th img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.ic-th i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.ic-rt { display: grid; gap: 2px; min-width: 0; } .ic-rt small { font-size: 12px; color: var(--act); font-weight: 600; }
.ic-rt span { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.icard .acts { display: flex; align-items: center; gap: 8px; position: relative; margin-top: 2px; }
.icard .acts .go { flex: 1; max-width: 320px; }
.btn.more { font-size: 22px; line-height: 1; letter-spacing: 1px; }
.saved-flag { font-size: 12.5px; color: var(--ink-3); }
.ic-more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.ic-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--act); list-style: none; display: flex; align-items: center; gap: 6px; }
.ic-more summary::-webkit-details-marker { display: none; }
.ic-more summary::before { content: '▸'; transition: transform .15s; } .ic-more[open] summary::before { transform: rotate(90deg); }
.ic-alts { display: grid; gap: 12px; margin-top: 10px; }
.ic-alts .opt { padding: 10px 12px; border-radius: 12px; background: var(--sunk); }
.ic-alts .opt h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; margin: 0; }
.ic-alts .opt .btn { min-height: 38px; font-size: 14px; }
/* Menü hinter „⋯“ */
.imenu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30; min-width: 250px; display: grid; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 32px -8px rgba(0,0,0,.45); }
.imenu button { text-align: left; background: none; border: 0; padding: 11px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.imenu button:hover { background: var(--sunk); } .imenu button.warn { color: var(--bad); }
.imenu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
/* Filter oben */
.ifilter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 10px; }
.seg.two { display: inline-flex; background: var(--sunk); border-radius: 12px; padding: 3px; }
.seg.two a { padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.seg.two a[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.agesel { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.agesel select { width: auto; min-height: 40px; padding: 6px 10px; font-size: 14px; }
.ichan { margin: 0 0 12px; color: var(--ink-3); } .ichan a { font-weight: 600; } .ichan .lnk { font-size: 13.5px; padding: 0; }
/* Rückgängig-Meldung */
.toast.act { display: flex; align-items: center; gap: 14px; pointer-events: auto; z-index: 60; }
.toast .undo { background: none; border: 0; color: var(--act); font-weight: 700; font-size: 15px; cursor: pointer; padding: 4px 2px; }
.icard.flash { border-color: var(--act); box-shadow: 0 0 0 3px var(--act-soft); }
.hr-b .opt { display: flex; flex-direction: column; gap: 8px; }
.hr-b .acts { display: flex; align-items: center; gap: 8px; position: relative; }
.hr-b .acts .go { flex: 1; max-width: 320px; }
.ic-ch .ph { display: inline-grid; place-items: center; background: var(--sunk); font-size: 11px; }
/* „Gibt es schon“-Hinweis */
.dupe { border-radius: 12px; padding: 10px 12px; background: var(--warn-soft, rgba(242,179,74,.14)); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); font-size: 14px; line-height: 1.4; }
.dupe b { display: block; margin-bottom: 4px; }
.dupe.same { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.dupe.used { background: var(--sunk); border-color: var(--line); }
.dupe ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.dupe li span { color: var(--ink-3); font-size: 13px; }
.dupe + .dupe { margin-top: -2px; }
#owndupe { margin: -4px 0 12px; display: grid; gap: 8px; } #owndupe:empty { display: none; }
.okline { color: var(--ok); margin: 0; }
/* Ideenfinder */
.hbtns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fsrc { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; line-height: 1.35; }
.fsrc img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.icard .pill { align-self: flex-start; }
.refacts { display: flex; gap: 6px; align-items: center; } .refacts .btn { min-height: 40px; font-size: 14px; padding: 0 12px; }
/* Suchfeld */
.qsearch { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0 12px; min-height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); max-width: 520px; }
.qsearch svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; flex: none; }
.qsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 8px 0; font-size: 15px; }
.qsearch:focus-within { border-color: var(--act); }
.qcount { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.vid[hidden], .icard[hidden] { display: none; }
/* Wochenplan + Auswertung */
.wbar { height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; } .wbar i { display: block; height: 100%; background: var(--act); border-radius: 4px; }
.pc-miss.ok b { font-size: 20px; }
.strip.week { grid-template-columns: repeat(7, 1fr); } .strip.week i.today { outline: 2px solid var(--ink-3); outline-offset: 1px; }
.rsum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; }
.rbox { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.rbox small { display: block; font-weight: 700; color: var(--ink-3); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.rbox > b { font: 800 30px/1.1 var(--display); margin-right: 6px; } .rbox > span { color: var(--ink-3); font-size: 13px; }
.rbox dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin: 8px 0 0; font-size: 13.5px; } .rbox dt { color: var(--ink-2); } .rbox dd { margin: 0; font-weight: 700; }
.rbox:first-child { border-color: var(--act); }
.rverdict { font-size: 15px; margin: 12px 0 0; max-width: 640px; }
.rch { margin-top: 26px; } .rch h2 { margin-bottom: 2px; }
.iftag { color: var(--act); font-weight: 700; }
.planhead { flex-wrap: wrap; } .planhead > div { flex: 1 1 100%; } .planhead > .btn { white-space: nowrap; margin-bottom: 12px; }

/* ===== Heute: Aufgabenliste ===== */
[hidden] { display: none !important; }
body.staff .adminonly { display: none !important; }
.tsum { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--act-soft); border: 1.5px solid var(--act); margin: 4px 0 16px; }
.tsum > b { font: 800 40px/1 var(--display); color: var(--act); min-width: 44px; text-align: center; }
.tsum span { font-size: 16px; font-weight: 600; line-height: 1.35; } .tsum small { font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.tsum.ok { background: var(--ok-soft); border-color: var(--ok); } .tsum.ok > b { color: var(--ok); }
.tasks { display: grid; gap: 14px; }
@media (min-width: 1024px) { .tasks { grid-template-columns: 1fr 1fr; align-items: start; } }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.t-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--sunk) 55%, transparent); }
.t-head > img, .t-head > .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.t-head > div { display: grid; min-width: 0; } .t-head b { font-size: 16px; }
.t-need { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.15; } .t-need b { display: block; font: 800 26px/1 var(--display); color: var(--act); }
.t-idea { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.t-idea .opt { padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.t-idea .opt.main h3 { font: 700 19px/1.3 var(--display); margin: 0; }
.t-idea .acts { display: flex; align-items: center; gap: 8px; position: relative; } .t-idea .acts .go { flex: 1; max-width: 320px; }
.t-idea > .lnk { align-self: flex-start; text-decoration: none; font-size: 14px; }
.tdone { display: grid; gap: 6px; } @media (min-width: 700px) { .tdone { grid-template-columns: 1fr 1fr; } }
.tdone a { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tdone img, .tdone .ph { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.tdone b { font-size: 14px; } .tdone span { font-size: 12.5px; color: var(--ok); }
.hmore { margin-top: 28px; } .hmore summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: 8px 0; } .hmore .hgrid { margin-top: 12px; grid-template-areas: "win" "src"; }
@media (min-width: 1024px) { .hmore .hgrid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-areas: "win src"; } }
/* Status-Satz in der Produktion */
.jstate { font-size: 14.5px; line-height: 1.45; padding: 9px 12px; border-radius: 12px; background: var(--sunk); margin-top: 6px; }
.jstate.done { background: var(--ok-soft); } .jstate.failed { background: var(--bad-soft); }
.jerr { margin-top: 6px; font-size: 13px; } .jerr summary { cursor: pointer; color: var(--ink-3); }
/* Kurzanleitung */
#helpBtn { font: 700 18px/1 var(--display); color: var(--ink-2); }
.guide { position: fixed; inset: 0; z-index: 120; background: rgba(5, 10, 20, .78); display: grid; place-items: center; padding: 20px; }
.g-box { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 20px; text-align: center; }
.g-ic { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.g-box h2 { font: 800 22px/1.2 var(--display); margin: 0 0 8px; } .g-box p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.g-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; } .g-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .g-dots i.on { background: var(--act); }
.g-box .row { justify-content: center; } .g-box .btn.go { min-width: 130px; }
.g-box.taken { text-align: left; width: min(520px, 100%); max-height: 86vh; overflow: auto; } .g-box.taken .g-ic, .g-box.taken h2 { text-align: center; }
.tk { background: var(--sunk); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: 14px; } .tk ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; } .tk li span { color: var(--ink-3); font-size: 13px; }

/* ---------- Assistent ---------- */
.chat { position: fixed; inset: 0; z-index: 110; background: rgba(5, 10, 20, .55); display: flex; align-items: flex-end; justify-content: center; }
.c-box { width: 100%; max-width: 520px; max-height: min(86dvh, 720px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom); }
.c-head { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.c-head b { font: 700 18px/1.2 var(--display); color: var(--ink); }
.c-head span { grid-row: 2; font-size: 13.5px; color: var(--ink-3); }
.c-x { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--ink-2); font-size: 15px; cursor: pointer; }
.c-log { flex: 1; min-height: 140px; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.c-hi { margin: auto 0; text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.5; padding: 8px; }
.c-hi span { color: var(--ink-3); font-size: 13.5px; }
.c-msg { max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.c-msg.me { align-self: flex-end; background: var(--act); color: var(--act-ink); border-bottom-right-radius: 5px; }
.c-msg.bot { align-self: flex-start; background: var(--sunk); color: var(--ink); border-bottom-left-radius: 5px; }
.c-msg.bot.bad { background: var(--bad-soft); color: var(--bad); }
.c-msg:empty { display: none; }
.c-res { margin-top: 4px; font-weight: 600; }
.c-res:first-child { margin-top: 0; }
.c-res.ok { color: var(--ok); } .c-res.bad { color: var(--bad); }
.c-ask { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-weight: 600; }
.c-ask .row { display: flex; gap: 8px; }
.c-open { display: inline-flex; margin-top: 8px; }
.c-msg.wait { display: flex; gap: 5px; padding: 14px; }
.c-msg.wait i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: cdot 1s infinite; }
.c-msg.wait i:nth-child(2) { animation-delay: .15s; } .c-msg.wait i:nth-child(3) { animation-delay: .3s; }
@keyframes cdot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.c-foot { border-top: 1px solid var(--line); padding: 12px 16px 14px; }
.c-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.c-pick .chip { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14.5px var(--text); cursor: pointer; }
.c-pick .chip:hover { border-color: var(--act); color: var(--act); }
.c-form { display: grid; gap: 10px; }
.c-cmd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c-cmd b { font-size: 15.5px; color: var(--ink); }
.c-back { border: 0; background: none; color: var(--act); font: 600 14px var(--text); cursor: pointer; padding: 8px 0; }
.c-hint { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.c-form .f { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 1024px) { .chat { align-items: flex-end; justify-content: flex-end; padding: 24px; background: rgba(5, 10, 20, .3); } .c-box { border-radius: 20px; max-width: 440px; } }
@media (prefers-reduced-motion: reduce) { .c-msg.wait i { animation: none; } }

/* Mitarbeiter: Kanäle ja, allgemeine Einstellungen nein */
body.staff .aonly, body.staff #minv, body.staff .row:has(> #daily), body.staff details.more:has(#delch) { display: none; }

/* Bot-Zugang */
.keybox { margin: 10px 0; padding: 12px; border-radius: var(--r-m); background: var(--ok-soft); display: grid; gap: 8px; }
.keybox textarea { width: 100%; font: 12.5px/1.45 ui-monospace, Menlo, monospace; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px; background: var(--surface); color: var(--ink); resize: vertical; }
.keyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }

/* Einstellungen */
a.sync { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.setrow { margin-bottom: 8px; }
.setrow .ph { display: grid; place-items: center; color: var(--act); background: var(--act-soft); }
.setrow .ph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.setrow .meta.warn { color: var(--bad); font-weight: 600; }
.go-chev { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Produktion: Vorbild-Video mit Titel */
.jref-t { display: grid; gap: 1px; min-width: 0; }
.jref-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.jref-title:hover { color: var(--act); }

.icard.rec { border-color: var(--act); box-shadow: 0 0 0 1px var(--act); }

/* Schnell-Eingabe Ideenfinder */
.qfind { margin: 0 0 16px; padding: 14px; border-radius: var(--r-m); background: var(--act-soft); border: 1px solid color-mix(in srgb, var(--act) 25%, transparent); display: grid; gap: 10px; }
.qf-h { display: grid; gap: 2px; }
.qf-h b { font: 700 16.5px/1.25 var(--display); color: var(--ink); }
.qf-h span { font-size: 13.5px; color: var(--ink-2); }
.qf-r { display: grid; gap: 8px; }
.qf-r input, .qf-r select { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 16px var(--text); width: 100%; min-width: 0; }
@media (min-width: 720px) { .qf-r { grid-template-columns: 1fr 220px auto; } }

.pill.swap { background: var(--sunk); color: var(--ink-2); }
.icard .opt.main > .pill + .pill { margin-top: -2px; }
.fgrp { margin-top: 22px; } .fhint { margin: 2px 0 10px; }

/* Thumbnail-Vorlage groß ansehen */
.jzoom { position: relative; flex: none; padding: 0; border: 0; background: none; border-radius: 8px; overflow: hidden; cursor: zoom-in; line-height: 0; }
.jref .jzoom img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.jzoom span { position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.jzoom:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; }
.player.zoom .pl-box { width: min(100%, 1100px); }
.zimg { width: 100%; height: auto; max-height: 72dvh; object-fit: contain; background: #000; display: block; border-radius: 0 0 4px 4px; }
.zrow { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }

/* Neuen Kanal einrichten */
.btn.wide { display: flex; width: 100%; justify-content: center; }
.ncw { display: grid; gap: 12px; }
.ncs { display: grid; gap: 10px; }
.ncn { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 17px/1.2 var(--display); color: var(--ink); }
.ncn span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--act); color: var(--act-ink); font-size: 14px; }
.ncn em { font: 500 13px var(--text); color: var(--ink-3); font-style: normal; }
.ncopt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.ncopt:has(input:checked) { border-color: var(--act); background: var(--act-soft); }
.ncopt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--act); flex: none; }
.ncopt span { display: grid; gap: 2px; } .ncopt b { color: var(--ink); font-size: 15px; } .ncopt small { color: var(--ink-3); font-size: 13px; }
.ncsub { padding: 0 2px 4px 30px; }
.ncerr { padding: 12px 14px; border-radius: var(--r-m); background: var(--bad-soft); color: var(--bad); font-size: 14.5px; line-height: 1.45; }

.instr-miss { margin: 0 0 14px; } .instr-miss .row { flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Aufrufe der Vorbild-Videos hervorheben */
.views { color: var(--ok); font-weight: 600; white-space: nowrap; }

/* Titelformat (Schablone) */
.tfmt { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--r-s); background: var(--sunk); font-size: 14px; line-height: 1.45; color: var(--ink-2); } .tfmt b { color: var(--ink); }

/* Länge aus den Skript-Anweisungen */
.lenhint { margin: 6px 0 0; padding: 9px 12px; border-radius: var(--r-s); background: var(--act-soft); color: var(--ink-2); font-size: 14px; line-height: 1.45; } .lenhint b { color: var(--ink); }
.lencalc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-3); }
.lencalc input { width: 70px; min-height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 15px var(--text); }
.lencalc .out b { color: var(--ink); }

/* „Mit auswählen“ bei anderen Titeln zum selben Vorbild */
.pick { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; padding: 9px 11px; border-radius: 12px; background: var(--sunk); border: 1.5px solid transparent; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pick.on { border-color: var(--act); background: var(--act-soft); color: var(--ink); }
.pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--act); flex: none; }

.vars-sub { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--act); }

/* Private und geplante Videos */
.gsec { margin-top: 14px; display: grid; gap: 8px; } .gsec h2 { margin: 0; font: 700 17px/1.2 var(--display); }
.schl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.schl li { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--r-s); background: var(--sunk); font-size: 14px; }
.schl .sd { font-size: 12.5px; color: var(--ink-3); } .schl a { color: var(--ink); text-decoration: none; font-weight: 600; }
.bad-t { color: var(--bad); }

/* Kalender */
.cal-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; } .cal-nav b { font-size: 15.5px; color: var(--ink); }
.cal-sum { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-m); background: var(--act-soft); color: var(--ink-2); font-size: 14.5px; } .cal-sum b { color: var(--ink); font-size: 18px; }
.cal { display: grid; gap: 10px; }
@media (min-width: 1024px) { .cal { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.cal-d { padding: 10px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.cal-d.today { border-color: var(--act); box-shadow: 0 0 0 1px var(--act); }
.cal-d.empty { opacity: .7; }
.cal-d h2 { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; font: 700 15px/1.2 var(--display); color: var(--ink); text-transform: capitalize; }
.cal-d h2 span { font: 500 13px var(--text); color: var(--ink-3); } .cal-d h2 em { margin-left: auto; font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--act); color: var(--act-ink); }
.cal-d ul, .cal-priv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-v { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; padding: 8px; border-radius: var(--r-s); background: var(--sunk); font-size: 13.5px; line-height: 1.35; }
.cal-v > img, .cal-v > .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 12px; background: var(--surface); } .cal-v.pub { opacity: .6; }
.cal-v a, .cal-v b { color: var(--ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; } .cal-t { display: block; font-size: 12px; color: var(--ink-3); }
.cal-v { grid-template-columns: 28px minmax(0, 1fr); } .cal-v > div { min-width: 0; }
@media (min-width: 1024px) { .cal-d .cal-v { grid-template-columns: minmax(0, 1fr); } .cal-d .cal-v > img, .cal-d .cal-v > .ph { display: none; } }

/* Kalender: alle Kanäle auf einen Blick (Zeilen = Kanäle, Spalten = Tage) */
.cal-mode { margin: 0 0 12px; }
.calx { display: grid; gap: 6px; }
.calx-h, .calx-r { display: grid; grid-template-columns: 220px repeat(var(--n), minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.calx-h span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; text-transform: capitalize; padding: 4px 0; border-radius: 8px; }
.calx-h span em { display: block; font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 11.5px; } .calx-h span.today { background: var(--act-soft); color: var(--act); }
.calx-c { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); }
.calx-c > img, .calx-c > .ph { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--sunk); font-size: 12px; }
.calx-c b { display: block; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .calx-c span { font-size: 12px; color: var(--ink-3); } .calx-c div { min-width: 0; }
.calx-r.none .calx-c span { color: var(--bad); font-weight: 600; }
.calx-cell { min-height: 54px; padding: 4px; border-radius: var(--r-s); background: var(--sunk); display: grid; gap: 4px; align-content: start; min-width: 0; }
.calx-cell.today { box-shadow: inset 0 0 0 1.5px var(--act); } .calx-cell.has { background: var(--act-soft); }
.calx-day { display: none; }
.calx-v { font-size: 12px; line-height: 1.3; min-width: 0; } .calx-v i { display: block; font-style: normal; font-weight: 700; color: var(--act); font-size: 11.5px; }
.calx-v a, .calx-v b { color: var(--ink); text-decoration: none; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .calx-h { display: none; }
  .calx-r { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
  .calx-c { grid-column: 1 / -1; border: 0; padding: 0 0 4px; background: none; }
  .calx-cell { min-height: 40px; } .calx-day { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-3); text-align: center; text-transform: capitalize; }
  .calx-cell .calx-v a, .calx-cell .calx-v b { display: none; } .calx-v i { text-align: center; font-size: 11px; }
  .calx-r .calx-list { grid-column: 1 / -1; }
}

.calx-list { display: none; }
@media (max-width: 899px) { .calx-list { display: grid; gap: 4px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; line-height: 1.35; } .calx-list i { font-style: normal; font-weight: 700; color: var(--act); margin-right: 4px; } .calx-list a { color: var(--ink); text-decoration: none; } }

/* Fertig, noch nicht geplant */
.ready { margin: 0 0 14px; padding: 12px; border-radius: var(--r-m); background: var(--ok-soft); display: grid; gap: 8px; }
.ready h2 { margin: 0; display: flex; align-items: center; gap: 8px; font: 700 16px/1.2 var(--display); color: var(--ink); } .ready h2 span { font: 700 12px var(--text); padding: 2px 8px; border-radius: 10px; background: var(--ok); color: #fff; }
.rd-ch { padding: 8px; border-radius: var(--r-s); background: var(--surface); display: grid; gap: 6px; }
.rd-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rd-h > img, .rd-h > .ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--sunk); font-size: 11px; }
.rd-h b { font-size: 14px; color: var(--ink); } .rd-h span { font-size: 12.5px; color: var(--ink-3); }
.rd-v { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.rd-v img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.rd-v .btn { white-space: nowrap; }
@media (max-width: 599px) { .rd-v { grid-template-columns: auto 1fr; } .rd-v .btn { grid-column: 1 / -1; } }
.calx-v.queued i, .cal-v.queued .cal-t { color: var(--warn); } .calx-v.failed i, .cal-v.failed .cal-t { color: var(--bad); }
.cal-v { position: relative; } .cal-x { position: absolute; top: 4px; right: 4px; border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 12px; padding: 4px; }
.calx-v { position: relative; } .calx-x { position: absolute; top: -2px; right: -2px; border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 11px; padding: 2px 4px; }
.warn-t { color: var(--warn); font-weight: 600; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; margin-top: 6px; }

/* Nächstes Video planen – direkt in der Kanalzeile */
.calx-c { position: relative; align-items: flex-start; }
.calx-plan { display: block; margin-top: 4px; padding: 4px 8px; border: 1px solid var(--act); border-radius: 8px; background: var(--act-soft); color: var(--act); font: 600 12px var(--text); cursor: pointer; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.calx-plan:hover { background: var(--act); color: var(--act-ink); }
.calx-menu { position: absolute; z-index: 40; top: 100%; left: 0; width: min(420px, 86vw); margin-top: 4px; padding: 6px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.35); display: grid; gap: 4px; max-height: 340px; overflow: auto; }
.calx-menu p { margin: 2px 4px 4px; font-size: 12.5px; color: var(--ink-3); }
.calx-menu button { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; text-align: left; padding: 8px; border: 0; border-radius: 8px; background: var(--sunk); color: var(--ink); font: 500 13.5px/1.3 var(--text); cursor: pointer; }
.calx-menu button:hover { background: var(--act-soft); }
.calx-menu em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--surface); color: var(--ink-2); }
.ready summary { list-style: none; cursor: pointer; } .ready summary::-webkit-details-marker { display: none; } .ready summary h2::after { content: '▸'; margin-left: auto; color: var(--ink-3); } .ready[open] summary h2::after { content: '▾'; } .ready[open] { gap: 8px; }
.calx-plan { white-space: normal; text-align: left; } .calx-plan small { display: block; font-weight: 500; font-size: 11px; opacity: .85; }

/* Umsatz alle Kanäle */
.rev { display: grid; gap: 2px; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.rev span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rev b { font: 800 30px/1.1 var(--display); color: var(--ok); letter-spacing: -.01em; }
.rev small { font-size: 13px; color: var(--ink-3); } .rev small em { font-style: normal; font-weight: 700; color: var(--ok); }
.rev.empty b { color: var(--ink-3); }
.rev-d { display: block; font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--ok); }
.ic-done { display: grid; gap: 8px; margin-top: 12px; }
.ic-done .opt.done { padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); display: grid; gap: 4px; }
.ic-done .opt.done h3 { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0; color: var(--ink-2); }
.pill.ok { background: var(--ok); color: #fff; }
/* Kanal testen */
.ktest { display: grid; gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-m); }
.ktest [data-check] { justify-self: start; }
.chkres { display: grid; gap: 10px; }
.chk-h { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-s); }
.chk-h.ok { background: var(--ok-soft); } .chk-h.ok b { color: var(--ok); }
.chk-h.warn { background: var(--sunk); } .chk-h.warn b { color: var(--warn); }
.chk-h.bad { background: var(--bad-soft); } .chk-h.bad b { color: var(--bad); }
.chk-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chk-l li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
.chk-l li > i { font-style: normal; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--sunk); color: var(--ink-3); }
.chk-l li.ok > i { background: var(--ok-soft); color: var(--ok); }
.chk-l li.warn > i { background: var(--sunk); color: var(--warn); }
.chk-l li.bad > i { background: var(--bad-soft); color: var(--bad); }
.chk-l li div { display: grid; gap: 1px; min-width: 0; } .chk-l li b { overflow-wrap: anywhere; font-weight: 600; }
.chk-l li small { color: var(--ink-2); }
.chk-l li.bad small { color: var(--bad); }
.chk-f { margin: 0; color: var(--ink-2); }
.ktarget:empty { display: none; }
.ktarget { margin: -4px 0 12px; }
.ktfix { margin: 0; padding: 8px 12px; border-radius: var(--r-s); background: var(--sunk); }
.vfmap { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-s); background: var(--act-soft); }
.vfmap b { color: var(--ink); }
.vfres { display: grid; gap: 10px; margin-top: 8px; }
.vfres:empty, .vfprev:empty { display: none; }
.warnt { color: var(--warn); }
/* Nischen-Finder */
.nform .row { gap: 8px; flex-wrap: wrap; } .nform select { width: auto; min-width: 180px; }
.nform small { display: block; margin-top: 8px; }
.nideas { margin-top: 14px; display: grid; gap: 10px; }
.nideas .nh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .nideas h2 { margin: 0; }
.nchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.nchip { text-align: left; display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); cursor: pointer; }
.nchip:hover { border-color: var(--act); background: var(--act-soft); }
.nchip b { color: var(--ink); font-size: 15px; } .nchip span { color: var(--ink-2); font-size: 13.5px; } .nchip small { color: var(--ink-3); font-size: 12px; }
.nlist { display: grid; gap: 6px; }
.nrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: inherit; text-decoration: none; }
.nrow > div { display: grid; gap: 2px; min-width: 0; }
.nlvl { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.nlvl.ok, .nverdict.ok { background: var(--ok-soft); color: var(--ok); }
.nlvl.mid, .nverdict.mid { background: var(--act-soft); color: var(--act); }
.nlvl.low, .nverdict.low { background: var(--sunk); color: var(--ink-3); }
.nverdict { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--r-m); margin-bottom: 14px; }
.nverdict b { font: 700 18px/1.2 var(--display); } .nverdict span { color: var(--ink-2); font-size: 14px; }
.nwait { display: flex; gap: 12px; align-items: flex-start; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ncard { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); align-content: start; }
.ncard.good { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.nc-h { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.nc-h img, .nc-h .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nc-h > div { display: grid; gap: 1px; min-width: 0; } .nc-h a { color: var(--ink); text-decoration: none; }
.nhits { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sunk); color: var(--ink-3); white-space: nowrap; }
.nhits.on { background: var(--ok-soft); color: var(--ok); }
.nc-best { display: grid; grid-template-columns: 120px 1fr; gap: 10px; color: inherit; text-decoration: none; padding: 8px; border-radius: var(--r-s); background: var(--sunk); }
.nc-best img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.nc-best > span { display: grid; gap: 2px; align-content: start; min-width: 0; } .nc-best b { font-size: 14px; line-height: 1.3; color: var(--ink); }
.ncard p { margin: 0; }
.nc-act { gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; } .nc-act select { width: auto; min-height: 38px; font-size: 14px; }
.nbar { position: sticky; bottom: 76px; z-index: 5; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--act); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
@media (min-width: 900px) { .nbar { bottom: 16px; } }
.nicheref p { margin: 0; }
@media (max-width: 520px) { .tabs a { font-size: 10.5px; padding: 6px 2px; } .ngrid { grid-template-columns: 1fr; } .nc-best { grid-template-columns: 96px 1fr; } .nc-best img { width: 96px; } }
.appline { margin: 22px 0 0; text-align: center; }
.fhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.fhead .seg button { min-height: 36px; }
.fstats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
.fstats b { color: var(--ink); }
.flast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flast a { position: relative; display: block; } .flast img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; }
.flast span { position: absolute; right: 4px; bottom: 4px; font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,.7); color: #fff; }
.fv-th { position: relative; display: block; } .fv-th img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-s); display: block; }
.fv-th span { position: absolute; right: 6px; bottom: 6px; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.75); color: #fff; }
.fv-t { font-size: 15px; line-height: 1.35; color: var(--ink); }
.fv-ch { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.fv-ch img, .fv-ch .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; } .fv-ch > span { display: grid; min-width: 0; }
.nknown { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.nsearch { margin-top: 26px; } .nsearch > summary { cursor: pointer; font-weight: 700; color: var(--act); margin-bottom: 12px; }
.nsearch[open] > summary { margin-bottom: 14px; }
h2.lab .small { font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }
/* Referenz-Skripte */
.rscripts { display: grid; gap: 10px; margin-top: 14px; } .rscripts h2 { margin: 0; } .rscripts > p { margin: 0; }
.rslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rslist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); }
.rslist li > div:first-child { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.rsadd > summary { cursor: pointer; font-weight: 700; color: var(--act); margin: 4px 0 10px; }
.rsadd .rsor { margin: -4px 0 8px; } .rsfile { cursor: pointer; }
.rsview { max-width: 760px; text-align: left; } .rstext { white-space: pre-wrap; max-height: 60vh; overflow: auto; padding: 12px; border-radius: var(--r-s); background: var(--sunk); font-size: 14.5px; line-height: 1.55; margin: 10px 0; }
/* Kanal-Analyse */
.anaform { display: grid; gap: 10px; margin-bottom: 16px; } .anaform > div:first-child { display: grid; gap: 2px; }
.anaform .row { gap: 8px; flex-wrap: wrap; } .anaform input { flex: 1 1 240px; } .anaform select { width: auto; }
.nc-act .btn.quiet { min-height: 38px; padding: 0 10px; font-size: 14px; }
.anahead { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; margin-bottom: 16px; }
.anahead img, .anahead .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.anahead h1 { margin: 0 0 6px; } .anahead h1 a { color: inherit; text-decoration: none; }
.anastats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 4px; } .anastats b { color: var(--ink); }
.ampel { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px; border-radius: var(--r-m); margin-bottom: 16px; }
.ampel.ok { background: var(--ok-soft); } .ampel.mid { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); } .ampel.bad { background: var(--bad-soft); }
.amp-dot { width: 54px; height: 54px; border-radius: 50%; } .ampel.ok .amp-dot { background: var(--ok); } .ampel.mid .amp-dot { background: var(--warn); } .ampel.bad .amp-dot { background: var(--bad); }
.ampel > div:last-child { display: grid; gap: 6px; } .ampel b { font: 700 20px/1.2 var(--display); } .ampel ul { margin: 2px 0; padding-left: 18px; }
.crit { display: flex; flex-wrap: wrap; gap: 6px; } .cr { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--surface); }
.cr.ok b { color: var(--ok); } .cr.mid b { color: var(--warn); } .cr.bad b { color: var(--bad); }
.anasec { margin-bottom: 18px; } .anasec h2 .small { font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.dots { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.vb { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.vb.ok { background: var(--ok-soft); color: var(--ok); } .vb.mid { background: var(--act-soft); color: var(--act); } .vb.bad { background: var(--bad-soft); color: var(--bad); }
.vb.warn { background: color-mix(in srgb, var(--warn) 18%, var(--surface)); color: var(--warn); } .vb.low { background: var(--sunk); color: var(--ink-3); }
.fmts { display: grid; gap: 8px; } .fmt { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.fmt > summary { list-style: none; cursor: pointer; padding: 12px 14px; display: grid; gap: 6px; } .fmt > summary::-webkit-details-marker { display: none; }
.fm-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .fmt code { font-size: 13px; color: var(--ink-2); white-space: normal; }
.fm-n { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--ink-2); } .fm-n b { color: var(--ink); } .fmt p { margin: 0; }
.fvids { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; } .fvids li { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); align-items: start; }
.fvids img { width: 88px; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; } .fvids li > div { display: grid; gap: 2px; min-width: 0; }
.fmt { padding: 12px 14px; display: grid; gap: 6px; } .fmore > summary { cursor: pointer; font-size: 13px; color: var(--act); font-weight: 600; margin-top: 4px; }
.iref { display: grid; grid-template-columns: 96px 1fr; gap: 10px; color: inherit; text-decoration: none; padding: 8px; border-radius: var(--r-s); background: var(--sunk); }
.iref img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; } .iref > span { display: grid; gap: 2px; min-width: 0; } .iref b { font-size: 13.5px; line-height: 1.3; }
.fvids a { color: var(--ink); text-decoration: none; font-size: 14px; }
.hints { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .hints p { margin: 2px 0 0; }
.reco { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.reco .card.ok { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); } .reco .card.bad { border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); } .reco h2 { margin-top: 0; }
.ifilt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .ifilt select { width: auto; }
.ideas2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 12px; }
.icard2 { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); align-content: start; }
.icard2 h3 { margin: 0; font-size: 17px; line-height: 1.3; } .icard2 p { margin: 0; } .ic2-h { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.icard2 dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 14px; } .icard2 dt { color: var(--ink-3); font-weight: 600; } .icard2 dd { margin: 0; }
.thtext { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; background: #111; color: #fff; padding: 1px 6px; border-radius: 4px; }
.prio { font-size: 12px; color: var(--ink-3); margin-left: auto; } .prio.p1 { color: var(--bad); font-weight: 700; }
.vlist { display: grid; gap: 6px; margin-top: 10px; } .vrow { display: grid; grid-template-columns: 120px 1fr; gap: 10px; color: inherit; text-decoration: none; padding: 6px; border-radius: var(--r-s); }
.vrow:hover { background: var(--sunk); } .vrow img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; } .vrow > div { display: grid; gap: 3px; align-content: start; min-width: 0; } .vrow b { font-size: 14px; line-height: 1.3; }
.risk { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
@media (max-width: 520px) { .vrow { grid-template-columns: 96px 1fr; } .vrow img { width: 96px; } .ampel { grid-template-columns: 36px 1fr; } .amp-dot { width: 36px; height: 36px; } }
/* Kanal starten */
.starter { display: grid; gap: 10px; margin-bottom: 18px; border-color: color-mix(in srgb, var(--act) 40%, var(--line)); } .starter h2 { margin: 0; } .starter > p { margin: 0; }
.names { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.nchip.nm small { color: var(--act); font-weight: 600; } .nchip.on { border-color: var(--act); background: var(--act-soft); }
.starter .row { gap: 8px; flex-wrap: wrap; align-items: center; } .starter .row input { flex: 1 1 200px; }
.stwait { margin: 0; display: flex; gap: 8px; align-items: center; }
.pack { display: grid; gap: 10px; margin-top: 4px; }
.pk { padding: 10px 12px; border-radius: var(--r-s); background: var(--sunk); display: grid; gap: 4px; } .pk p { margin: 0; font-size: 14px; }
.pk-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pk-t { white-space: pre-wrap; font-size: 14px; line-height: 1.5; max-height: 280px; overflow: auto; }
.pk > summary { cursor: pointer; } .pk[open] > summary { margin-bottom: 6px; }
.pk-name { background: var(--act-soft); } .pk-name b { font: 700 22px/1.2 var(--display); } .pk-name span:last-child { color: var(--act); font-weight: 600; }
.pk-go { display: grid; gap: 6px; } .pk-go .btn { justify-self: start; }
.ifch { display: inline-flex; align-items: center; gap: 6px; } .ifch select { width: auto; }
.packnote { margin-bottom: 14px; } .packnote p { margin: 0 0 6px; } .packnote ul { margin: 0 0 6px; }
/* Batch-Planer */
.bform { display: grid; gap: 12px; } .bform .btn.go { justify-self: start; }
.brefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 320px; overflow: auto; }
.bref { display: grid; grid-template-columns: auto 32px 1fr; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.bref:has(input:checked) { border-color: var(--act); background: var(--act-soft); }
.bref img, .bref .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; } .bref > span { display: grid; min-width: 0; } .bref small { color: var(--ink-3); }
.stbatch { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--r-s); background: var(--sunk); }
.bslots { display: grid; gap: 14px; }
.bslot { display: grid; gap: 10px; } .bslot.picked { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.bs-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .bs-h b { font: 700 17px/1.2 var(--display); }
.bopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.bopt { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; background: var(--surface); }
.bopt input { position: absolute; opacity: 0; pointer-events: none; }
.bopt.on, .bopt:has(input:checked) { border-color: var(--act); background: var(--act-soft); box-shadow: inset 0 0 0 1px var(--act); }
.bo-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--sunk); color: var(--ink-2); }
.bopt.on .bo-n { background: var(--act); color: #fff; }
.bo-b { display: grid; gap: 4px; min-width: 0; } .bo-b > b { font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.bo-tags { display: flex; gap: 6px; flex-wrap: wrap; } .bo-ref a { color: var(--ink-2); }
.bs-a { gap: 8px; flex-wrap: wrap; } .bs-a input { flex: 1 1 220px; }
.bbar { flex-wrap: wrap; } .bbar select { width: auto; min-height: 40px; }
.bs-t { font-size: 13px; color: var(--ink-2); white-space: normal; }

/* ---------- „+ Neuer Kanal“ oben (von überall erreichbar) ---------- */
.newch { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--act); color: var(--act); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.newch:hover { background: var(--act-soft); }

/* ---------- Assistent „Neuer Kanal“ (neues Aussehen: warmes Schwarz, große Überschriften, Vorschaubilder) ----------
   Farben mit fester Bedeutung: Blau = nächste Aktion, Grün = gut/fertig, Gelb = wartet, Rot = Problem. */
body.wz-on { padding: 0; background: #100F0E; }
body.wz-on > .top, body.wz-on > .tabs { display: none; }
body.wz-on main#view { max-width: none; padding: 0; margin: 0; }
body.wz-on .toast { bottom: 96px; }
.wz { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #100F0E; color: #F5F1EA; font: 15px/1.45 "DM Sans", var(--text); }
.wz *, .wz *::before, .wz *::after { box-sizing: border-box; }
.wz h1 { font: 700 40px/1.05 var(--display); letter-spacing: -.02em; margin: 0; }
.wz h2, .wz p { margin: 0; }
.wz a { color: #B5AEA3; }
.wz a:hover { color: #F5F1EA; }
.wz small { display: block; font-size: 13px; color: #978F84; font-weight: 400; }
.wz :focus-visible { outline: 2px solid #7AA2FF; outline-offset: 2px; border-radius: 10px; }
.wz-mut { color: #B5AEA3; }
.wz-dim { color: #978F84; font-size: 13px; }
.wz-lab { display: block; font: 600 14px/1.3 "DM Sans", var(--text); color: #B5AEA3; margin: 0; letter-spacing: 0; text-transform: none; }
.wz-grow { flex: 1; min-width: 0; }
.wz-clip { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-num { font-variant-numeric: tabular-nums; white-space: nowrap; color: #B5AEA3; }
b.wz-num { color: #F5F1EA; }
.wz-key { width: 130px; flex: none; color: #B5AEA3; }
.wz-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; }
.wz-brand { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.wz-brand em { font: 400 15px "DM Sans", var(--text); font-style: normal; color: #B5AEA3; margin-left: 12px; letter-spacing: 0; }
.wz-hr, .wz-fr { display: flex; align-items: center; gap: 16px; }
.wz-steps { list-style: none; margin: 0; padding: 14px 32px 6px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.wz-steps li { display: flex; align-items: center; gap: 8px; color: #978F84; font-size: 14px; font-weight: 500; }
.wz-steps li + li::before { content: ""; width: 36px; height: 1px; background: #3A3631; margin-right: 2px; }
.wz-steps b { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid #3A3631; font-size: 13px; font-weight: 600; }
.wz-steps li.on { color: #F5F1EA; font-weight: 600; }
.wz-steps li.on b { background: #7AA2FF; border-color: #7AA2FF; color: #0A1430; }
.wz-steps li.done { color: #B5AEA3; }
.wz-steps li.done b { background: #17301F; border-color: #17301F; color: #4CC38A; }
.wz-m { flex: 1; display: flex; justify-content: center; padding: 36px 32px 40px; }
.wz-c { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.wz-c.wide { max-width: 980px; }
.wz-f { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 32px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #2E2B27; background: #100F0E; }
.wz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid #3A3631; background: transparent; color: #F5F1EA; font: 500 15px "DM Sans", var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.wz a.wz-btn { color: #F5F1EA; }
.wz-btn:hover { background: #1A1917; }
.wz-btn.pri { background: #7AA2FF; border-color: #7AA2FF; color: #0A1430; font-weight: 600; font-size: 16px; min-height: 52px; padding: 0 30px; }
.wz a.wz-btn.pri { color: #0A1430; }
.wz-btn.pri:hover { background: #93B4FF; }
.wz-btn:disabled { opacity: 1; background: #1A1917; border-color: #2E2B27; color: #978F84; cursor: default; }
.wz-q { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; color: #B5AEA3; font: 500 14.5px "DM Sans", var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.wz-q:hover { color: #F5F1EA; }
.wz-q:disabled { color: #978F84; text-decoration: none; cursor: default; }
.wz-sec { display: flex; flex-direction: column; gap: 10px; }
.wz-fh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.wz-inline { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.wz-card { background: #1A1917; border-radius: 20px; overflow: hidden; }
.wz-row { display: flex; align-items: center; gap: 16px; padding: 10px 20px; min-height: 64px; border-top: 1px solid #2E2B27; text-decoration: none; color: inherit; }
.wz-row:first-child { border-top: 0; }
.wz label.wz-row { cursor: pointer; }
.wz label.wz-row:has(input:checked) { background: #24221F; }
.wz a.wz-row { color: #F5F1EA; }
.wz a.wz-row:hover { background: #211F1C; }
.wz-row b { font-weight: 600; }
.wz-pill { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.wz-pill.ok { background: #17301F; color: #4CC38A; }
.wz-pill.warn { background: #3A2C12; color: #F2B34A; }
.wz-pill.bad { background: #3A1A18; color: #FF7A6B; }
.wz-pill.neu { border: 1px solid #3A3631; color: #B5AEA3; }
.wz-st { min-width: 86px; justify-content: center; }
.wz-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; display: inline-block; background: #978F84; }
.wz-dot.sm { width: 9px; height: 9px; margin-right: 8px; }
.wz-dot.ok { background: #4CC38A; } .wz-dot.warn { background: #F2B34A; } .wz-dot.bad { background: #FF7A6B; }
.wz-note { padding: 14px 18px; border-radius: 16px; background: #1A1917; }
.wz-note.bad { background: #3A1A18; color: #FFC9C2; }
.wz-note.warn { background: #3A2C12; color: #F7DBA6; }
.wz-note a { color: inherit; }
.wz-note[hidden] { display: none; }
.wz-wait { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: #3A2C12; color: #F7DBA6; }
.wz-wait .spin { margin-top: 4px; color: #F2B34A; }
.wz-wait b { display: block; font-weight: 600; color: #FBE9C4; }
.wz-wait p { font-size: 14px; }
.wz .spin { vertical-align: -2px; }
.wz input[type="text"], .wz textarea, .wz select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #3A3631; background: #1A1917; color: #F5F1EA; font: 400 15px/1.45 "DM Sans", var(--text); box-shadow: none; margin: 0; }
.wz textarea { padding: 12px 16px; min-height: 0; resize: vertical; }
.wz input::placeholder { color: #978F84; }
.wz select.wz-sel { width: auto; max-width: 100%; min-height: 46px; border-radius: 999px; padding: 0 16px; }
.wz select[hidden] { display: none; }
.wz-field { display: flex; flex-direction: column; gap: 8px; }
.wz-own { display: inline-flex; align-items: center; gap: 12px; flex: 1 1 260px; }
.wz-seg { display: inline-flex; gap: 2px; background: #1A1917; border-radius: 999px; padding: 4px; }
.wz-seg button { min-height: 38px; padding: 0 16px; background: none; border: 0; border-radius: 999px; color: #B5AEA3; font: 500 14.5px "DM Sans", var(--text); cursor: pointer; }
.wz-seg button[aria-pressed="true"] { background: #2E2B27; color: #F5F1EA; font-weight: 600; }
.wz input[type="radio"], .wz-ck { appearance: none; -webkit-appearance: none; position: relative; width: 24px; height: 24px; min-height: 0; padding: 0; border-radius: 50%; border: 1.5px solid #5A544C; background: transparent; margin: 0; flex: none; cursor: pointer; }
.wz input[type="radio"]:checked, .wz-ck:checked { background: #7AA2FF; border-color: #7AA2FF; }
.wz input[type="radio"]:checked::after, .wz-ck:checked::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 6px; height: 10px; border: solid #0A1430; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.wz-hit { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.wz-av, .wz img.wz-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #2A2723; flex: none; }
.wz .ph.wz-av { color: #DAD3C8; font: 600 14px "DM Sans", var(--text); }
.wz-av.lg, .wz img.wz-av.lg { width: 72px; height: 72px; }
.wz-head { display: flex; align-items: center; gap: 20px; }
.wz-head h1 { margin-bottom: 6px; }
.wz-amp { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.wz-amp-h { display: flex; align-items: center; gap: 12px; }
.wz-amp-h b { font: 700 22px/1.2 var(--display); letter-spacing: -.01em; }
.wz-crit { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid #2E2B27; }
.wz-crit b { display: flex; align-items: center; font-weight: 600; }
.wz-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.wz-th { position: relative; width: 136px; aspect-ratio: 16 / 9; border-radius: 12px; background: #2A2723; flex: none; overflow: hidden; display: block; }
.wz-th img, img.wz-th { width: 100%; height: 100%; object-fit: cover; }
img.wz-th.sm { width: 80px; height: 45px; border-radius: 8px; }
.wz-th.sm { width: 80px; border-radius: 8px; }
.wz-th em { position: absolute; left: 8px; bottom: 8px; background: #100F0E; color: #F5F1EA; font: 600 13px "DM Sans", var(--text); font-style: normal; padding: 2px 9px; border-radius: 999px; }
.wz-names { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.wz-name { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 18px; border-radius: 18px; background: #1A1917; cursor: pointer; }
.wz-name.on { background: #24221F; }
.wz-name b { display: block; font-weight: 600; font-size: 16px; }
.wz-more { background: #1A1917; border-radius: 20px; padding: 0 20px; }
.wz-more summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 500; color: #B5AEA3; }
.wz-more[open] { padding-bottom: 20px; display: flex; flex-direction: column; gap: 18px; }
.wz-more textarea { background: #100F0E; }
.wz-ava { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.wz-ava img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: #2A2723; flex: none; }
.wz-add { display: flex; gap: 10px; flex-wrap: wrap; }
.wz .wz-add input[type="text"] { flex: 1 1 260px; width: auto; border-radius: 999px; padding: 0 22px; }
.wz-grp { padding: 6px 0 4px; }
.wz-gh { display: flex; align-items: center; gap: 14px; padding: 10px 20px 12px; border-bottom: 1px solid #2E2B27; }
.wz-gh b { font-weight: 600; font-size: 16px; }
.wz-gh .wz-pill { margin-left: 6px; vertical-align: 1px; }
.wz-gn { font-size: 13.5px; white-space: nowrap; }
.wz small.wz-ref { font-size: 14px; color: #B5AEA3; margin: 2px 0; } .wz-ref a { color: #F5F1EA; text-decoration: underline; text-underline-offset: 3px; }
.wz-gh { align-items: flex-start; } .wz-gh .wz-th { margin-top: 3px; }
.wz-ti { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 20px; cursor: pointer; color: #B5AEA3; }
.wz-ti.on { color: #F5F1EA; }
.wz-ti:hover { background: #211F1C; }
.wz-gf { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 2px 20px 4px; }
.wz-list { margin: 0; padding: 8px 20px 8px 44px; }
.wz-list li { padding: 9px 0; border-top: 1px solid #2E2B27; }
.wz-list li:first-child { border-top: 0; }
.wz-bars { display: flex; gap: 4px; flex: none; }
.wz-bars i { width: 30px; height: 6px; border-radius: 3px; background: #2E2B27; display: block; }
.wz-bars i.g { background: #4CC38A; } .wz-bars i.y { background: #F2B34A; }
.wz .ktarget { margin: 0; } .wz .ktfix { background: #1A1917; color: #B5AEA3; border-radius: 14px; }
.wz .ktarget label.f > span { color: #B5AEA3; } .wz .err { background: #3A1A18; color: #FFC9C2; border-radius: 14px; }
@media (max-width: 720px) {
  .wz h1 { font-size: 30px; }
  .wz-h, .wz-f { padding-left: 16px; padding-right: 16px; }
  .wz-m { padding: 20px 16px 28px; }
  .wz-steps { padding: 8px 16px 0; gap: 4px; flex-wrap: nowrap; }
  .wz-steps li { gap: 6px; }
  .wz-steps li span { display: none; } .wz-steps li.on span { display: inline; white-space: nowrap; }
  .wz-steps li + li::before { width: 8px; margin-right: 0; }
  .wz-th { width: 96px; }
  .wz-gh, .wz-ti, .wz-gf { padding-left: 14px; padding-right: 14px; }
  .wz-gh { flex-wrap: wrap; } .wz-gh > .wz-grow { flex: 1 1 160px; }
  .wz-row { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
  .wz-row > .wz-grow { flex: 1 1 150px; } .wz-key { width: 100%; }
  .wz-own { flex-basis: 100%; }
  .wz-hr .wz-dim, .wz-fr .wz-dim { display: none; }
}

/* ---------- Heute im neuen Aussehen: eine Karte pro Kanal, alle angehakt, ein Knopf für alle ---------- */
.hy-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 10px 0 18px; }
.hy-head .lead { margin: 0; }
.hy-big { font: 800 clamp(34px, 6vw, 54px)/1 var(--display); letter-spacing: -.02em; margin: 6px 0 2px; }
.hy-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hy-acts .newown { margin-top: 0; }
.btn.go.hy-all { flex: none; min-height: 52px; padding: 0 28px; border-radius: 999px; }
.btn.go.hy-all[hidden] { display: none; }
.btn.go.hy-all:disabled { background: var(--sunk); border-color: var(--line); color: var(--ink-3); cursor: default; }
.hy-notes { display: grid; gap: 8px; margin: 0 0 16px; }
.hy-notes:empty { display: none; }
.hy-note { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.hy-note > b { margin-left: auto; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hy-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--warn); }
.hy-dot.ok { background: var(--ok); } .hy-dot.bad { background: var(--bad); }
.hy-list { display: grid; gap: 10px; }
.hy-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hy-card.open { background: color-mix(in srgb, var(--sunk) 40%, var(--surface)); }
.hy-line { display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 10px; }
.hy-open { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; padding: 0; background: none; border: 0; border-radius: 12px; color: inherit; font: inherit; text-align: left; }
button.hy-open { cursor: pointer; }
.hy-th { position: relative; width: 136px; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--sunk); flex: none; overflow: hidden; display: grid; place-items: center; }
.hy-th > img { width: 100%; height: 100%; object-fit: cover; }
.hy-th.av > img, .hy-th.av > .ph { width: 44px; height: 44px; border-radius: 50%; }
.hy-th em { position: absolute; left: 8px; bottom: 8px; background: var(--bg); color: var(--ink); font: 600 13px var(--text); font-style: normal; padding: 2px 9px; border-radius: 999px; }
.hy-tx { display: grid; gap: 3px; min-width: 0; }
.hy-ch { font-size: 13.5px; color: var(--ink-2); } .hy-ch b { color: var(--ink); font-weight: 600; }
.hy-ti { font: 600 17px/1.3 var(--text); color: var(--ink); }
.hy-meta { font-size: 13px; color: var(--ink-3); }
.hy-tx .row { margin-top: 6px; }
.hy-hit { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.hy-ck { appearance: none; -webkit-appearance: none; position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink-3); background: transparent; margin: 0; cursor: pointer; }
.hy-ck:checked { background: var(--act); border-color: var(--act); }
.hy-ck:checked::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 6px; height: 10px; border: solid var(--act-ink); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.hy-detail { padding: 4px 18px 16px 162px; }
.hy-detail[hidden] { display: none; }
.hy-detail.t-idea .opt.main h3 { font: 600 15.5px/1.35 var(--text); color: var(--ink-2); }
@media (max-width: 720px) { .hy-th { width: 96px; } .hy-open { gap: 12px; } .hy-ti { font-size: 15.5px; } .hy-detail { padding-left: 14px; } .hy-acts { width: 100%; } .btn.go.hy-all { flex: 1; } }

/* ---------- Heute als Vorrats-Übersicht: eine Zeile pro Kanal, 7 Kästchen für die nächsten 7 Tage ---------- */
.sv-leg { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin: 0 0 6px; }
.sv-leg i, .sv-box i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; background: transparent; border: 1.5px solid color-mix(in srgb, var(--ink-3) 45%, transparent); }
.sv-leg i { width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.sv-leg i.p, .sv-box i.p { background: var(--ok); border-color: var(--ok); }
.sv-leg i.f, .sv-box i.f { background: transparent; border-color: var(--ok); }
.sv-leg i.w, .sv-box i.w { background: var(--warn); border-color: var(--warn); }
.sv-box i.c { background: color-mix(in srgb, var(--ok) 28%, var(--sunk)); border-color: transparent; }
.sv-box { display: inline-flex; gap: 3px; flex: none; }
.sv-grp { margin-top: 18px; }
.sv-h, .sv-ok > summary { display: flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--text); margin: 0 0 8px; letter-spacing: 0; }
.sv-h span:last-child, .sv-ok > summary span:last-child { font-weight: 400; font-size: 13.5px; color: var(--ink-3); }
.sv-ok { margin-top: 18px; } .sv-ok > summary { cursor: pointer; min-height: 44px; margin: 0; }
.sv-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; margin-bottom: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sv-row > img, .sv-row > .ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.sv-n { display: grid; width: 190px; flex: none; min-width: 0; }
.sv-n b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-st { font-size: 13px; color: var(--ok); } .sv-st.leer { color: var(--bad); } .sv-st.knapp { color: var(--warn); }
.sv-info { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-3); } .sv-info b { color: var(--ink-2); font-weight: 600; }
.sv-act { display: flex; align-items: center; gap: 14px; flex: none; }
.sv-act .lnk { font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.sv-act .btn { min-height: 44px; border-radius: 999px; padding: 0 18px; white-space: nowrap; }
.sv-act .btn.go { flex: none; font-size: 15px; }
.sv-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
.hy-big.sm { font-size: clamp(28px, 5vw, 40px); }
/* Batch planen: Ideen eines Kanals nach Vorbild */
.rf-add { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.rf-add input[type="text"] { flex: 1 1 260px; width: auto; min-height: 48px; border-radius: 999px; padding: 0 20px; margin: 0; }
.rf-add .btn { border-radius: 999px; min-height: 48px; }
.rf-range { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin: 0 0 12px; }
.rf-grp { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 0 6px; margin-bottom: 10px; overflow: hidden; }
.rf-h { display: flex; align-items: flex-start; gap: 14px; padding: 10px 18px 12px; border-bottom: 1px solid var(--line); }
.rf-ht { display: grid; gap: 2px; flex: 1; min-width: 0; }
.rf-ref { font-size: 14.5px; color: var(--ink-2); } .rf-ref a { color: var(--ink); font-weight: 600; }
.rf-n { white-space: nowrap; }
.hy-th.sm { width: 88px; border-radius: 8px; } .hy-th.sm em { left: 5px; bottom: 5px; font-size: 12px; padding: 1px 7px; }
.rf-ti { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 18px; cursor: pointer; color: var(--ink-2); }
.rf-ti.on { color: var(--ink); } .rf-ti:hover { background: color-mix(in srgb, var(--sunk) 45%, transparent); }
.rf-ti > span:nth-of-type(1) { flex: 1; min-width: 0; }
.rf-ti .pill { white-space: nowrap; } .rf-ti .lnk { flex: none; }
.rf-more { display: block; padding: 8px 18px 10px; font-size: 14px; }
.rf-links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin: 16px 0 0; font-size: 14px; } .rf-links a { color: var(--ink-2); }
@media (max-width: 720px) {
  .sv-row { flex-wrap: wrap; gap: 8px 12px; } .sv-n { width: auto; flex: 1 1 140px; } .sv-info { flex-basis: 100%; order: 5; } .sv-act { margin-left: auto; }
  .rf-h, .rf-ti { padding-left: 14px; padding-right: 14px; }
}

.rf-range .seg { margin: 0; }

/* Titel in „Batch planen“ direkt in der Zeile bearbeiten */
.rf-ti .rf-edit { width: 40px; min-height: 40px; border-radius: 50%; border-color: transparent; background: transparent; color: var(--ink-3); }
.rf-ti .rf-edit:hover { color: var(--ink); background: var(--sunk); }
.rf-ti .rf-edit svg { width: 18px; height: 18px; }
.rf-ti .rf-in { flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 0 12px; border-radius: 10px; }
.rf-ti > span[hidden] { display: none; }

/* ===== Bereich „Kanäle“: Kopf mit Kanalwahl und Reitern (Ideen, Produktion, Erfolge, Kalender, Mehr) ===== */
#chbar { max-width: 1120px; margin: 0 auto; padding: 4px 16px 0; }
.chb-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; }
.chb-head > img, .chb-head > .ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--sunk); flex: none; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.chb-t { flex: 1; min-width: 0; }
.chb-t h1 { display: none; margin: 0; font-size: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#chPick { display: block; width: 100%; max-width: 440px; min-height: 48px; padding: 0 40px 0 16px; border-radius: 999px; font: 700 18px/1.2 var(--display); text-overflow: ellipsis; }
.chb-sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }
.svt.bad { color: var(--bad); } .svt.warn { color: var(--warn); } .svt.ok { color: var(--ok); }
.chb-head > .btn { flex: none; }
.chb-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chb-tabs > a, .chb-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-decoration: none; cursor: pointer; white-space: nowrap; list-style: none; user-select: none; }
.chb-more > summary::-webkit-details-marker { display: none; }
.chb-tabs > a:hover, .chb-more > summary:hover { background: var(--sunk); color: var(--ink); }
.chb-tabs > a[aria-current="page"], .chb-more.on > summary { background: var(--sunk); color: var(--ink); }
.chb-tabs > a span { font-weight: 500; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chb-more summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chb-more[open] summary svg { transform: rotate(180deg); }
.chb-menu { position: absolute; z-index: 15; top: calc(100% - 4px); left: 0; right: 0; display: grid; gap: 2px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.chb-menu a, .chb-menu button { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 9px; background: none; font: 500 14.5px var(--text); color: var(--ink); text-decoration: none; cursor: pointer; }
.chb-menu a:hover, .chb-menu button:hover { background: var(--sunk); }
.chb-menu a[aria-current="page"] { background: var(--act-soft); }
.chb-menu button { color: var(--ink-3); }
h2.chb-part { margin: 4px 0 10px; }
.chb-row { margin-bottom: 12px; } .chb-row h2.chb-part { margin: 0 auto 0 0; }
.entd { margin: 14px 0; display: grid; gap: 10px; }
.entd .nh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; } .entd h2 { margin: 0; }
.pill.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
@media (max-width: 520px) { .chb-head { flex-wrap: wrap; } .chb-head > .btn { width: 100%; } .chb-tabs > a, .chb-more > summary { padding: 0 11px; font-size: 14px; } }
@media (min-width: 1024px) {
  #chbar { max-width: 1280px; padding: 0 32px; }
  .chb-t h1 { display: block; } #chPick { display: none; }
  .chb-more { position: relative; } .chb-menu { top: calc(100% + 6px); right: auto; min-width: 230px; }
  /* Kanalliste links: einklappbar, mit Suche und Farbpunkt für den Vorrat (rot leer, gelb knapp, grün versorgt) */
  button.sl { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; cursor: pointer; padding: 6px 12px; border-radius: 8px; }
  button.sl:hover { color: var(--ink); background: var(--sunk); }
  .sl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .sl[aria-expanded="false"] svg { transform: rotate(180deg); }
  .sidech.side-only { grid-template-columns: minmax(0, 1fr); } #sideBody { min-width: 0; }
  #sideList { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); }
  #sideQ { box-sizing: border-box; width: 100%; min-height: 36px; margin: 2px 0 6px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
  .tabs a.chn { gap: 8px; } .chn > span:not(.ph) { flex: 1; min-width: 0; }
  .chn .ph { display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; } .chn img { flex: none; }
  .svd { width: 8px; height: 8px; border-radius: 50%; flex: none; } .svd.bad { background: var(--bad); } .svd.warn { background: var(--warn); } .svd.ok { background: var(--ok); }
  .side-none { padding: 6px 12px; margin: 0; }
}
.pill.bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }

/* ===== Zahlen: Tagesübersicht pro Kanal ===== */
.st-stand { margin: 0 0 12px; font-size: 14px; color: var(--ink-3); }
.st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.st-tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.st-tile { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.st-tile small { font-size: 12.5px; color: var(--ink-3); }
.st-tile b { font: 700 24px/1.15 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tile b i { font-style: normal; } .st-tile span { font-size: 12.5px; color: var(--ink-3); }
.st-p { font-size: 12.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; } .st-p.up, .st-tile i.up { color: var(--ok); } .st-p.dn, .st-tile i.dn { color: var(--bad); }
.st-list { display: grid; margin: 0 0 12px; }
.st-r { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) 76px 92px 74px 104px; gap: 12px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-variant-numeric: tabular-nums; }
a.st-r:hover { background: var(--surface); }
.st-r.st-h { border-top: 0; padding: 0 6px 6px; font-size: 12px; color: var(--ink-3); }
.st-r.st-v { grid-template-columns: minmax(0, 1fr) 130px 110px 104px; }
.st-n { display: flex; align-items: center; gap: 9px; min-width: 0; } .st-n b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-n img, .st-n .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--sunk); flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.st-n .svd { width: 8px; height: 8px; border-radius: 50%; flex: none; } .svd.mid { background: var(--ink-3); } .st-n .svd.ok { background: var(--ok); } .st-n .svd.warn { background: var(--warn); } .st-n .svd.bad { background: var(--bad); }
.st-sp { width: 70px; height: 22px; } .st-sp polyline { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-sp.ok polyline { stroke: var(--ok); } .st-sp.warn polyline { stroke: var(--warn); } .st-sp.bad polyline { stroke: var(--bad); }
.st-pill { justify-self: end; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--sunk); color: var(--ink-2); }
.st-pill.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); } .st-pill.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.st-pill.bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); } .st-pill.none { background: none; color: var(--ink-3); font-weight: 500; padding-right: 0; }
.st-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-top > div:first-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .st-why { color: var(--ink-2); font-size: 14.5px; }
.st-seg { margin: 0; } .st-seg button { min-height: 36px; }
.st-bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 0 2px; }
.st-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--line); min-height: 4px; }
.st-bars i.na { background: repeating-linear-gradient(135deg, var(--line) 0 3px, transparent 3px 6px); }
.st-bars i.ref { background: var(--ink-2); } .st-bars i.ref.ok { background: var(--ok); } .st-bars i.ref.warn { background: var(--warn); } .st-bars i.ref.bad { background: var(--bad); }
.st-ax { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.st-hint { margin-top: 14px; max-width: 70ch; }
@media (max-width: 760px) {
  .st-tiles, .st-tiles.five { grid-template-columns: 1fr 1fr; }
  .st-r.st-h { display: none; }
  .st-r { grid-template-columns: 1fr 1fr 1fr; gap: 4px 10px; padding: 12px 2px; }
  .st-r .st-n { grid-column: 1 / 3; } .st-r > .st-pill { grid-column: 3; grid-row: 1; }
  .st-r > span[data-l]::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--ink-3); }
  .st-r > .st-sp { display: none; }
  .st-r.st-v { grid-template-columns: 1fr 1fr; } .st-r.st-v .st-n { grid-column: 1 / -1; } .st-r.st-v .st-n b { white-space: normal; } .st-r.st-v > .st-pill { grid-column: auto; grid-row: auto; }
  .st-bars { height: 110px; gap: 3px; }
}
.st-tiles.five .st-tile b { font-size: 20px; }

/* Löschen-Knopf neben Analysen und Batches */
.nrow-w { display: flex; align-items: center; gap: 4px; } .nrow-w > .nrow { flex: 1; min-width: 0; }
.nrow-del { width: 44px; min-height: 44px; border-color: transparent; background: none; color: var(--ink-3); }
.nrow-del:hover { color: var(--bad); background: var(--sunk); } .nrow-del svg { width: 19px; height: 19px; }
/* Assistent „Neuer Kanal“: Produktion verbinden – eigener Kasten mit kurzer Anleitung */
.wz-prod { padding: 18px; border: 1px solid #2E2B27; border-radius: 16px; background: #151412; }
.wz-how { display: grid; gap: 6px; margin: 2px 0 6px; } .wz-how p { display: flex; gap: 10px; align-items: baseline; margin: 0; color: #B5AEA3; font-size: 14.5px; line-height: 1.45; }
.wz-how b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #24221F; color: #F5F1EA; font-size: 12.5px; font-weight: 600; display: inline-grid; place-items: center; }
.wz-lab.sm { font-size: 13.5px; color: #B5AEA3; }
