/* Sendeablauf – hell/dunkel nach Systemeinstellung, Akzent blau wie Prompter und Schnittplatz */
:root {
  --bg: #f6f5f2; --flaeche: #ffffff; --flaeche-2: #f0eee9; --linie: #e2dfd8; --text: #1d1f23; --leise: #6b7079;
  --akzent: #2f7cf6; --akzent-text: #ffffff; --gut: #1f9d55; --warn: #c27a12; --schlecht: #d23b4b;
  --zeile-aktiv: #eaf2ff; --schatten: 0 8px 30px rgba(0, 0, 0, 0.12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a; --flaeche: #1c1f25; --flaeche-2: #242830; --linie: #2e333c; --text: #e8eaed; --leise: #9aa1ab;
    --akzent: #4c9dff; --akzent-text: #0b1220; --gut: #3ccf7a; --warn: #ffb35e; --schlecht: #ff4d5e;
    --zeile-aktiv: #1d2a3d; --schatten: 0 8px 30px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text);
  font: 14px/1.45 -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button {
  background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 7px; padding: 6px 12px; cursor: pointer;
}
button:hover { border-color: var(--leise); }
button.primaer { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); font-weight: 600; }
button.gefahr { color: var(--schlecht); }
button:disabled { opacity: 0.5; cursor: default; }
input, select, textarea { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 6px; padding: 6px 8px; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
a { color: var(--akzent); text-decoration: none; }
h1, h2 { margin: 0 0 10px; }
h1 { font-size: 20px; } h2 { font-size: 16px; }
.leise { color: var(--leise); }
[hidden] { display: none !important; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.marke { font-weight: 800; color: var(--text); letter-spacing: 0.01em; }
.pfad { color: var(--leise); display: flex; gap: 6px; align-items: center; min-width: 0; }
.pfad a { color: var(--leise); }
.pfad b { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.anwesend { display: flex; }
.punkt { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700;
  color: #fff; border: 2px solid var(--flaeche); margin-left: -6px; text-shadow: 0 0 2px rgba(0,0,0,0.5); }
.verbindung { width: 9px; height: 9px; border-radius: 50%; background: var(--leise); }
.verbindung.ok { background: var(--gut); }
.verbindung.weg { background: var(--schlecht); }
.ich { border-radius: 20px; padding: 4px 12px; }

main { padding: 18px; max-width: 1500px; margin: 0 auto; }

/* Anmeldung */
.anmeldung { max-width: 360px; margin: 12vh auto; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 20px; display: flex;
  flex-direction: column; gap: 12px; }
.karte label { display: flex; flex-direction: column; gap: 4px; color: var(--leise); font-size: 12px; }
.knoepfe { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fehler { color: var(--schlecht); min-height: 1em; }

/* Übersicht */
.leiste { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.leiste .abstand { flex: 1; }
table.liste { width: 100%; border-collapse: collapse; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
table.liste th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--leise);
  padding: 8px 12px; background: var(--flaeche-2); }
table.liste td { padding: 9px 12px; border-top: 1px solid var(--linie); }
table.liste tr.klick { cursor: pointer; }
table.liste tr.klick:hover td { background: var(--zeile-aktiv); }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.etikett { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--flaeche-2);
  color: var(--leise); }
.etikett.fertig, .etikett.abgenommen { color: var(--gut); }
.etikett.vorlage { color: var(--akzent); }
.ueber { color: var(--schlecht); } .unter { color: var(--warn); }
h3.abschnitt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--leise); margin: 22px 0 8px; }

/* Sendung */
.sendung { display: grid; grid-template-columns: minmax(560px, 1.25fr) minmax(420px, 1fr); gap: 16px; align-items: start; }
.sendekopf { grid-column: 1 / -1; display: flex; gap: 12px; align-items: end; flex-wrap: wrap; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 10px; padding: 12px 14px; }
.sendekopf label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--leise); }
.sendekopf .titel { font-size: 18px; font-weight: 700; min-width: 280px; }
.sendekopf .summe { margin-left: auto; text-align: right; }
.sendekopf .summe b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ablauf { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
.ablauf table { width: 100%; border-collapse: collapse; }
.ablauf th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--leise); text-align: left;
  padding: 7px 6px; background: var(--flaeche-2); }
.ablauf td { padding: 4px 6px; border-top: 1px solid var(--linie); vertical-align: middle; }
.ablauf tr.aktiv td { background: var(--zeile-aktiv); }
.ablauf tr.ziel td { box-shadow: inset 0 2px 0 var(--akzent); }
.ablauf .griff { cursor: grab; color: var(--leise); width: 18px; text-align: center; user-select: none; }
.ablauf .nr { color: var(--leise); width: 26px; font-variant-numeric: tabular-nums; }
.ablauf input, .ablauf select { border-color: transparent; background: transparent; padding: 4px 5px; width: 100%; }
.ablauf input:hover, .ablauf select:hover { border-color: var(--linie); }
.ablauf input:focus, .ablauf select:focus { background: var(--flaeche); border-color: var(--akzent); }
.ablauf .typ { width: 138px; }
.ablauf .typ select { font-weight: 700; font-size: 12px; }
.ablauf .dauer { width: 74px; } .ablauf .dauer input { text-align: right; font-variant-numeric: tabular-nums; }
.ablauf .status { width: 112px; }

.ablauf .wer { width: 54px; }
.ablauf .wer .punkt { width: 20px; height: 20px; font-size: 9px; }
.ablauf tfoot td { padding: 8px; }
.typfarbe { display: inline-block; width: 4px; height: 22px; border-radius: 2px; vertical-align: middle; }

.editor { position: sticky; top: 64px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px;
  display: flex; flex-direction: column; max-height: calc(100vh - 84px); }
.editor .ekopf { padding: 12px 14px; border-bottom: 1px solid var(--linie); display: flex; flex-direction: column; gap: 8px; }
.editor .ekopf .zeile { display: flex; gap: 8px; align-items: center; }
.editor .ekopf input.etitel { font-size: 16px; font-weight: 700; flex: 1; }
.editor .felder { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.editor .felder label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--leise); }
.editor .werkzeuge { display: flex; gap: 4px; flex-wrap: wrap; }
.editor .werkzeuge button { padding: 2px 8px; font-size: 12px; }
.editor .cm-editor { flex: 1; min-height: 320px; overflow: auto; font: 16px/1.6 -apple-system, "SF Pro Text", "Segoe UI", sans-serif; }
.editor .cm-editor.cm-focused { outline: none; }
.editor .cm-scroller { padding: 12px 6px; font-family: inherit; line-height: 1.6; }
.editor .cm-content { caret-color: var(--text); }
.editor .efuss { padding: 8px 14px; border-top: 1px solid var(--linie); color: var(--leise); font-size: 12px; display: flex;
  justify-content: space-between; gap: 8px; }
.leerhinweis { padding: 40px 20px; text-align: center; color: var(--leise); }

/* Hervorhebung der Prompter-Schreibweise */
.cm-cue { color: #2a8bd8; background: rgba(42, 139, 216, 0.10); border-radius: 3px; font-weight: 600; }
.cm-cue-bb { color: #c27a12; background: rgba(255, 179, 94, 0.16); }
.cm-cue-maz { color: #d23b4b; background: rgba(255, 122, 138, 0.14); }
.cm-hinweis { color: var(--leise); font-style: italic; }
.cm-betont { color: #b8860b; font-weight: 700; }
.cm-pause { color: var(--leise); font-weight: 700; }
.cm-titel { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--leise); }
@media (prefers-color-scheme: dark) {
  .cm-cue { color: #5ec8ff; } .cm-cue-bb { color: #ffb35e; } .cm-cue-maz { color: #ff7a8a; } .cm-betont { color: #ffd166; }
}
/* fremde Schreibmarken (y-codemirror) */
.cm-ySelectionInfo { font: 600 10px/1.2 -apple-system, sans-serif !important; padding: 1px 4px !important; border-radius: 3px; opacity: 1 !important; }

/* Verwaltung */
.verwaltung { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.verwaltung .karte form, .zeilenform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zeilenform label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--leise); }
.token { font-family: ui-monospace, Menlo, monospace; word-break: break-all; background: var(--flaeche-2); padding: 8px; border-radius: 6px; }

dialog { border: 1px solid var(--linie); border-radius: 12px; padding: 0; background: var(--flaeche); color: var(--text);
  box-shadow: var(--schatten); width: min(520px, 94vw); }
dialog::backdrop { background: rgba(0, 0, 0, 0.4); }
dialog .karte { border: 0; }

.meldung { position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 20px); opacity: 0; transition: all 0.25s;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 9px; padding: 10px 16px; box-shadow: var(--schatten);
  pointer-events: none; z-index: 20; max-width: 80vw; }
.meldung.an { opacity: 1; transform: translate(-50%, 0); }
.meldung.fehler { border-color: var(--schlecht); }

@media (max-width: 1100px) {
  .sendung, .verwaltung { grid-template-columns: 1fr; }
  .editor { position: static; max-height: none; }
}
@media (max-width: 640px) {
  main { padding: 10px; }
  .ablauf .status, .ablauf .wer, .ablauf .start { display: none; }
  .sendekopf .titel { min-width: 0; width: 100%; }
}

/* ---------------------------------------------------------------- Sendeuhr, Live, Hold, Blöcke */
.sendeuhr { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; position: sticky; top: 52px; z-index: 4; }
.sendeuhr .feld { display: flex; flex-direction: column; line-height: 1.15; min-width: 74px; }
.sendeuhr .feld small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--leise); }
.sendeuhr .feld b { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sendeuhr .feld.gross b { font-size: 24px; }
.sendeuhr .trenner { width: 1px; align-self: stretch; background: var(--linie); }
.sendeuhr .live b { color: var(--leise); }
.sendeuhr.ist-live { border-color: var(--schlecht); box-shadow: inset 4px 0 0 var(--schlecht); }
.sendeuhr.ist-live .live b { color: var(--text); }
.sendeuhr .knoepfe-live { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.sendeuhr #uOnAir { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }

.ablauf .zeit { width: 70px; color: var(--leise); font-variant-numeric: tabular-nums; font-size: 12px; white-space: nowrap; }
.ablauf .zeit.back { opacity: 0.8; }
.ablauf .titelzelle { display: flex; align-items: center; gap: 4px; }
.ablauf .titelzelle input { flex: 1; min-width: 80px; }
.ablauf .einzug { color: var(--leise); padding-left: 10px; }
.ablauf .blocksumme { font-size: 11px; color: var(--leise); white-space: nowrap; }
.ablauf .symbol { font-size: 12px; opacity: 0.8; }
.ablauf .holdzelle { width: 58px; }
.hold-schalter { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: var(--leise); cursor: pointer; }
.hold-schalter input { margin: 0; }
.ablauf tr.hold td { opacity: 0.45; }
.ablauf tr.hold .hold-schalter { color: var(--warn); opacity: 1; }
.ablauf tr.hold input[data-feld="titel"] { text-decoration: line-through; }
.ablauf tr.onair td { background: rgba(255, 77, 94, 0.13); }
.ablauf tr.onair td:first-child { box-shadow: inset 4px 0 0 var(--schlecht); }
.ablauf tr.gelaufen td { opacity: 0.55; }
.ablauf tr.blockkopf td { border-top: 2px solid #2fb7c9; }
.ablauf tr.blockkopf input[data-feld="titel"] { font-weight: 700; }
.ablauf tr.imblock td { background: rgba(47, 183, 201, 0.05); }
.ablauf tr.gezogen td { opacity: 0.4; }
#endeZiel.ziel td { box-shadow: inset 0 2px 0 var(--akzent); }
.ablauf .wer { width: 74px; white-space: nowrap; }
.ablauf .einfuegen { visibility: hidden; padding: 0 7px; font-size: 13px; line-height: 20px; border-radius: 50%; }
.ablauf tr:hover .einfuegen { visibility: visible; }
.ablauf .griff { cursor: grab; }

.typmenue { position: absolute; z-index: 30; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px;
  box-shadow: var(--schatten); padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 220px; }
.typmenue button { display: flex; align-items: center; gap: 6px; text-align: left; font-size: 12px; padding: 5px 8px; }

.bildkasten { display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: start; }
.bildvorschau { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--flaeche-2);
  display: grid; place-items: center; text-align: center; font-size: 11px; border: 1px dashed var(--linie); }
.bildvorschau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bildvorschau .ki-marke { position: absolute; top: 4px; right: 4px; font-size: 8px; font-weight: 700; background: rgba(0,0,0,0.6); color: #fff; padding: 1px 4px; border-radius: 3px; }
.bildvorschau .unterzeile { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 9px; font-weight: 700; color: #fff;
  background: rgba(0, 40, 80, 0.85); padding: 2px 5px; border-radius: 2px; text-align: left; }
.bildfelder { display: flex; flex-direction: column; gap: 6px; }
.bildfelder label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--leise); }
.bildfelder .knoepfe button, .bildfelder .knopf { font-size: 12px; padding: 4px 8px; }
label.knopf { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 7px; cursor: pointer; }
.ekopf.dateiziel { outline: 2px dashed var(--akzent); outline-offset: -4px; }
@media (max-width: 640px) { .ablauf .zeit.back, .ablauf .holdzelle { display: none; } .bildkasten { grid-template-columns: 1fr; } }
.ablauf .typ { white-space: nowrap; }
.ablauf .typ select { width: calc(100% - 10px); display: inline-block; vertical-align: middle; }
.ablauf .titelzelle input { min-width: 120px; }
.ablauf .blocksumme { flex-shrink: 0; }

/* ---------------------------------------------------------------- Newsroom-Funktionen */
.ampel { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: transparent; vertical-align: 1px; }
.ampel.gelb { background: #f2c94c; } .ampel.rot { background: var(--schlecht); } .ampel.gruen { background: var(--gut); }
.ablauf .nr { width: 62px; white-space: nowrap; font-size: 12px; }
.ablauf .textzeit { width: 56px; text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; }
.ablauf .textzeit .warn { color: var(--warn); font-weight: 700; }
.ablauf .textzeit .ist { font-weight: 700; color: var(--gut); }
.ablauf .textzeit .ist.ueber { color: var(--schlecht); }
.ablauf .fest { margin-left: 3px; font-size: 11px; }
.ablauf .fest.konflikt { color: var(--schlecht); font-weight: 800; }
.ablauf tr.hold td { background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(128, 128, 128, 0.10) 8px 16px); }
.ablauf tr.reserve td { opacity: 0.55; background: var(--flaeche-2); }
.ablauf tr.endelinie td { border-top: 3px solid var(--text); background: var(--flaeche-2); font-weight: 700; }
.ablauf tr.next td:first-child { box-shadow: inset 4px 0 0 var(--gut); }
.ablauf tr.next td { background: rgba(60, 207, 122, 0.10); }
.ablauf tr.gesperrt .griff { cursor: not-allowed; font-size: 10px; }
.fussleiste { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fussleiste .abstand { flex: 1; }
#lSperre.an { border-color: var(--warn); color: var(--warn); }
.abnahme { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.abnahme .abgenommen { color: var(--gut); font-weight: 700; }
.abnahme button { padding: 3px 10px; font-size: 12px; }

/* Druck */
.druckwahl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.druckseite { background: #fff; color: #000; padding: 24px; border-radius: 8px; }
.druckkopf h1 { margin: 0; font-size: 20px; } .druckkopf p { margin: 2px 0 14px; color: #444; font-size: 12px; }
table.druck { width: 100%; border-collapse: collapse; font-size: 12px; }
table.druck th, table.druck td { border-bottom: 1px solid #ccc; padding: 4px 6px; text-align: left; vertical-align: top; }
table.druck tr.hold td { color: #888; text-decoration: line-through; }
table.druck tr.endelinie td { border-top: 2px solid #000; font-weight: 700; }
.skriptseite { break-inside: avoid-page; margin-bottom: 18px; }
.skriptseite h2 { font-size: 14px; border-bottom: 2px solid #000; padding-bottom: 3px; margin: 14px 0 6px; }
.skriptseite h2 small { font-weight: 400; color: #555; }
table.skript { width: 100%; border-collapse: collapse; }
table.skript td { vertical-align: top; padding: 3px 6px; }
table.skript td.links { width: 32%; font-size: 11px; color: #a00; border-right: 1px solid #ccc; }
table.skript td.links .hinweis { color: #555; font-style: italic; }
table.skript td.rechts { font-size: 15px; line-height: 1.6; text-transform: uppercase; }
@media print {
  .kopf, .nicht-drucken, #meldung { display: none !important; }
  main { padding: 0; max-width: none; }
  body, .druckseite { background: #fff; }
  .druckseite { padding: 0; }
}
/* Platz für die breitere Ablauftabelle */
main { max-width: 1760px; }
.sendung { grid-template-columns: minmax(760px, 1.75fr) minmax(360px, 1fr); }
.ablauf td, .ablauf th { padding-left: 4px; padding-right: 4px; }
.ablauf .typ { width: 128px; }
.ablauf .typ select { font-size: 11px; }
.ablauf .status { width: 104px; }
.ablauf .status select { font-size: 12px; }
.ablauf .dauer { width: 62px; }
.ablauf .zeit { width: 64px; font-size: 11.5px; }
@media (max-width: 1350px) { .sendung { grid-template-columns: 1fr; } .editor { position: static; max-height: none; } }

.kizeile { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--linie); }
.kizeile .ok { color: var(--gut); font-weight: 600; font-size: 12px; }
.kifelder { display: flex; gap: 6px; flex-wrap: wrap; }
.kifelder input { flex: 1; min-width: 200px; }

/* Staging/Entwicklung */
body.teststand .kopf { background: repeating-linear-gradient(135deg, var(--flaeche) 0 14px, rgba(255, 179, 94, 0.18) 14px 28px); }
body.teststand .marke { color: var(--warn); }

/* ---------------------------------------------------------------- Videoarchiv */
.hauptnav { display: flex; gap: 4px; }
.hauptnav a { padding: 5px 10px; border-radius: 7px; color: var(--leise); font-weight: 600; }
.hauptnav a.an { background: var(--flaeche-2); color: var(--text); }
.vraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vraster.klein { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); max-height: 60vh; overflow: auto; margin-top: 10px; }
.vkarte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.vkarte:hover { border-color: var(--akzent); }
.vbild { position: relative; aspect-ratio: 16 / 9; background: var(--flaeche-2); display: grid; place-items: center; font-size: 28px; }
.vbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vdauer, .vstatus { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.vstatus { left: 6px; right: auto; background: var(--warn); color: #000; }
.vtext { padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.vmarken { display: flex; gap: 4px; flex-wrap: wrap; }
.etikett.recht-agentur, .etikett.recht-fremd { color: var(--warn); }
.etikett.recht-unklar { color: var(--schlecht); }
.schnipsel { font-size: 12px; color: var(--leise); }
.schnipsel mark { background: rgba(255, 209, 102, 0.5); color: inherit; padding: 0 2px; border-radius: 2px; }
.uploads { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.uploadzeile { display: grid; grid-template-columns: 1fr 200px 120px; gap: 10px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.uploadzeile.fehler { border-color: var(--schlecht); }
.hinweisbox { background: rgba(255, 179, 94, 0.15); border: 1px solid var(--warn); border-radius: 8px; padding: 8px 12px; }
main.dateiziel, #inhalt.dateiziel { outline: 2px dashed var(--akzent); outline-offset: 4px; }
dialog.vdialog { width: min(1100px, 96vw); }
.vkopf { display: flex; justify-content: space-between; align-items: center; }
.vspalten { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.vspalten video { width: 100%; border-radius: 8px; background: #000; }
.vfelder { display: flex; flex-direction: column; gap: 8px; }
.vfelder label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--leise); }
.vfelder label.zeile { flex-direction: row; align-items: center; gap: 6px; color: var(--text); }
.segmente { max-height: 220px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.segmente button { text-align: left; border: 0; background: transparent; padding: 3px 4px; font-size: 13px; }
.segmente button:hover { background: var(--flaeche-2); }
.segmente button span { color: var(--akzent); font-variant-numeric: tabular-nums; margin-right: 6px; }
.fliesstext { white-space: pre-wrap; font-size: 13px; max-height: 160px; overflow: auto; }
.mediumzeile { display: flex; gap: 4px; }
.mediumzeile input { flex: 1; }
.mediumzeile button { padding: 4px 8px; font-size: 12px; }
label.primaer-knopf { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); font-weight: 600; padding: 6px 12px; }
@media (max-width: 900px) { .vspalten { grid-template-columns: 1fr; } }
