/* Video-Werkstatt (30.09.2026). Farben nur aus den Tokens von dashboard-1.css. */
sistenta-werkstatt { display: block; margin-bottom: 18px; }
.ws { padding: 26px 28px 28px; }
.ws-sym { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ws-sym--gross { width: 34px; height: 34px; stroke-width: 1.3; color: var(--accent); }

.ws__kopf { display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.ws__kicker { margin: 0 0 8px; font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.ws__kopf h2 { margin: 0; font-size: 26px; letter-spacing: -.6px; line-height: 1.12; }
.ws__satz { margin: 10px 0 0; max-width: 640px; color: var(--muted); font-size: 14px; line-height: 1.55; }
/* Fluss: ein Video fliesst in fuenf Kanaele */
.ws__fluss { display: flex; align-items: center; gap: 10px; color: var(--muted); flex: none; }
.ws__fluss > .ws-sym { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.3; }
.ws__fluss-linie { position: relative; width: 70px; height: 2px; border-radius: 2px; overflow: hidden;
  background: color-mix(in srgb, var(--accent) 22%, transparent); }
.ws__fluss-linie::after { content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: ws-fliessen 2.4s ease-in-out infinite; }
@keyframes ws-fliessen { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.ws__fluss-ziele { display: grid; grid-template-columns: repeat(5, 30px); gap: 6px; }
.ws__fluss-ziele .ws-sym { width: 30px; height: 30px; padding: 6px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel2);
  animation: of2-rein .4s ease-out both; }
.ws__fluss-ziele .ws-sym:nth-child(2) { animation-delay: .06s; } .ws__fluss-ziele .ws-sym:nth-child(3) { animation-delay: .12s; }
.ws__fluss-ziele .ws-sym:nth-child(4) { animation-delay: .18s; } .ws__fluss-ziele .ws-sym:nth-child(5) { animation-delay: .24s; }

/* Videowahl */
.ws__quellen { display: flex; gap: 10px; margin: 22px 0 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.ws__quelle { flex: 0 0 250px; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; min-height: 64px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel2); color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s; }
.ws__quelle:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.ws__quelle[aria-selected=true] { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.ws__quelle.of2-laedt { height: 64px; }
.ws__quelle-sym { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--panel); color: var(--accent); font-size: 20px; }
.ws__quelle-text { display: grid; gap: 3px; min-width: 0; }
.ws__quelle-text b { font-size: 13.5px; font-weight: 580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws__quelle-text small { font-size: 11.5px; color: var(--muted); }
.ws__quelle--neu { border-style: dashed; background: transparent; }

/* Video und Zeitleiste */
.ws__video h3 { margin: 16px 0 10px; font-size: 17px; font-weight: 600; }
.ws__zeit { margin: 0 0 20px; padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--panel2) 50%, transparent); }
.ws__zeit figcaption { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.ws__zeit-svg { display: block; width: 100%; height: 52px; overflow: visible; }
.ws__zeit-grund { fill: color-mix(in srgb, var(--muted) 25%, transparent); }
.ws__stelle rect { fill: color-mix(in srgb, var(--accent) 60%, transparent); transform-box: fill-box; transform-origin: bottom; animation: ws-wachsen .5s cubic-bezier(.2, .7, .2, 1) both; }
.ws__stelle[data-i="0"] rect { fill: var(--accent); }
.ws__stelle[data-i="1"] rect { animation-delay: .05s; } .ws__stelle[data-i="2"] rect { animation-delay: .1s; } .ws__stelle[data-i="3"] rect { animation-delay: .15s; }
.ws__stelle:hover rect { fill: var(--text); }
@keyframes ws-wachsen { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ws__zeit-marken { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Ausgabe-Karten */
.ws__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ws__karte { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel2);
  padding: 16px 18px; animation: of2-rein .42s cubic-bezier(.2, .7, .2, 1) both; transition: border-color .25s; }
.ws__karte:nth-child(2) { animation-delay: .05s; } .ws__karte:nth-child(3) { animation-delay: .1s; }
.ws__karte:nth-child(4) { animation-delay: .15s; } .ws__karte:nth-child(5) { animation-delay: .2s; }
.ws__karte:hover { border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.ws__karte--short { grid-row: span 2; }
.ws__karte header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ws__karte header h4 { margin: 0; font-size: 14.5px; font-weight: 620; }
.ws__karte-sym { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--panel); color: var(--accent); }
.ws__karte-inhalt { flex: 1; min-width: 0; }
.ws__karte-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ws__karte-fuss .button { display: inline-flex; align-items: center; gap: 8px; }
.ws__karte-fuss .button .ws-sym { width: 16px; height: 16px; }
.ws__still { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.ws__fehler { margin: 0; font-size: 13px; line-height: 1.5; color: var(--warn); }
.ws__hinweis { margin: 8px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.ws__kosten, .ws__laeuft { font-size: 11.5px; color: var(--muted); }
.ws__laeuft::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); animation: brain-puls 1.6s ease-in-out infinite; }
.ws__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.ws__link:hover { color: var(--accent); }
.ws__link .ws-sym { width: 14px; }
.ws--kopiert { border-color: var(--accent) !important; color: var(--accent); }

.ws__clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ws__clips li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ws__clips li:first-child { border-top: 0; }
.ws__clip-zeit { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.ws__clip-text { display: grid; gap: 3px; min-width: 0; }
.ws__clip-text b { font-size: 13.5px; font-weight: 560; }
.ws__clip-text small { font-size: 11.5px; color: var(--muted); }
.ws__staerke { display: grid; grid-template-columns: 46px auto; align-items: center; gap: 7px; font-size: 11.5px; }
.ws__staerke i { position: relative; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--muted) 25%, transparent); overflow: hidden; }
.ws__staerke i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0); border-radius: 3px; background: var(--accent); animation: ws-balken .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ws-balken { from { width: 0; } }
.ws__formate { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.ws__format { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 7px; cursor: pointer; min-height: 32px; }
.ws__format[aria-pressed=true] { background: var(--panel2); color: var(--text); }

.ws__text { white-space: pre-line; font-size: 13px; line-height: 1.55; max-height: 220px; overflow: auto; padding: 12px 14px;
  border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ws__text--kurz { max-height: 130px; margin-top: 10px; }
.ws__folien { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.ws__folie { aspect-ratio: 4 / 5; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; scroll-snap-align: start;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--panel)), var(--panel)); border: 1px solid var(--line);
  animation: of2-rein .35s ease-out both; }
.ws__folie--bild { padding: 0; overflow: hidden; } .ws__folie--bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws__folie:nth-child(2) { animation-delay: .05s; } .ws__folie:nth-child(3) { animation-delay: .1s; } .ws__folie:nth-child(4) { animation-delay: .15s; } .ws__folie:nth-child(5) { animation-delay: .2s; }
.ws__folie small { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ws__folie b { font-size: 12.5px; line-height: 1.3; font-weight: 620; }
.ws__folie span { font-size: 11px; line-height: 1.4; color: var(--muted); }
.ws__bild { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--panel); }
.ws__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws__haupt { margin: 0 0 8px; font-size: 13px; }
.ws__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ws__tags li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.ws__tags b { font-size: 12.5px; font-weight: 600; }
.ws__tags small { font-size: 10.5px; color: var(--muted); }
.ws__schimmer { display: grid; gap: 8px; }
.ws__schimmer i { height: 12px; }
.ws__schimmer i:nth-child(2) { width: 86%; } .ws__schimmer i:nth-child(3) { width: 62%; }

.ws__leer { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 34px 20px 10px; }
.ws__leer p { margin: 0; max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ws__leer p b { color: var(--text); }
.ws__leer-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) { .ws__fluss { display: none; } }
@media (max-width: 760px) {
  .ws { padding: 20px 16px 20px; }
  .ws__kopf h2 { font-size: 22px; }
  .ws__quelle { flex-basis: 220px; }
  .ws__raster { grid-template-columns: 1fr; }
  .ws__karte--short { grid-row: auto; }
  .ws__clips li { grid-template-columns: 40px 1fr; }
  .ws__staerke { grid-column: 2; }
}
html[data-motion=off] .ws *, html[data-motion=off] .ws *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .ws__fluss-linie::after { animation: none; } }
