/* editing.css — halaman Editing (SESI-Qq33rv v0.2.0). Memakai variabel tema dashboard bila ada.
   v0.11.0 (ADR-0035): token tema dashboard (--surface/--text/--line/--text-3) dipakai lebih dulu → terbaca di tema gelap. */
.ed-root { --ed-bg: var(--surface, var(--bg, #fff)); --ed-fg: var(--text, var(--fg, #1d2125)); --ed-garis: var(--line, var(--border, #e3e6ea));
  --ed-redup: var(--text-3, var(--muted, #6c757d));
  color: var(--ed-fg); font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
.ed-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ed-bar select { max-width: 100%; }
.ed-kartus { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ed-kartu { border: 1px solid var(--ed-garis); border-radius: 8px; padding: 8px 10px; background: var(--ed-bg); }
.ed-k-l { font-size: 12px; color: var(--ed-redup); }
.ed-k-v { font-size: 20px; font-weight: 600; }
.ed-k-s { font-size: 12px; color: var(--ed-redup); }
.ed-sub { font-weight: 600; margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.ed-temuan ul { margin: 4px 0 0 18px; padding: 0; }
.ed-peringatan { color: var(--warning-text, #b35c00); }
.ed-info { color: var(--ed-redup); }
.ed-legenda { display: flex; gap: 12px; font-size: 12px; color: var(--ed-redup); }
.ed-legenda i, .ed-titik { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.ed-peta { position: relative; border: 1px solid var(--ed-garis); border-radius: 8px; overflow: hidden; }
.ed-peta canvas { display: block; width: 100%; cursor: crosshair; }
.ed-tip { position: absolute; background: rgba(0, 0, 0, .8); color: #fff; font-size: 12px; padding: 4px 6px; border-radius: 4px; pointer-events: none; }
.ed-tabel { max-height: 420px; overflow: auto; border: 1px solid var(--ed-garis); border-radius: 8px; }
.ed-tabel table, .ed-log { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
.ed-tabel th, .ed-tabel td, .ed-log th, .ed-log td { padding: 3px 6px; border-bottom: 1px solid var(--ed-garis); text-align: left; white-space: nowrap; }
.ed-tabel th { position: sticky; top: 0; background: var(--ed-bg); }
.ed-tabel tr[data-i] { cursor: pointer; }
.ed-tabel tr.ed-pilih { background: rgba(28, 126, 214, .12); }
.ed-redup { color: var(--ed-redup); }
.ed-rakit { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.ed-rakit label { display: flex; flex-direction: column; font-size: 12px; color: var(--ed-redup); }
.ed-rakit input { min-width: 180px; }
.ed-rakit input[type=number] { min-width: 90px; width: 90px; }
/* v0.11.0 (ADR-0035): pilihan aspek & centang interpolasi / ukur klip ragu */
.ed-rakit label.ed-cek { flex-direction: row; align-items: center; gap: 4px; }
.ed-rakit input[type=checkbox] { min-width: 0; width: auto; }
.ed-rc { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.ed-rc video { width: 100%; background: #000; border-radius: 6px; }
.ed-galat { color: var(--critical-text, #c92a2a); }
@media (max-width: 600px) { .ed-rakit input { min-width: 0; width: 100%; } .ed-rakit input[type=checkbox] { width: auto; } .ed-rakit label { width: 100%; } }
/* v0.12.0: buka folder VO / film / 04-Edit di laptop ini */
.ed-folder { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 13px; }
/* v0.14.0 (arahan Arbani 29 Sep): kesiapan bahan, bilah progres tugas, peta terlipat, judul Analisa klip */
.ed-kesiapan { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.ed-siapchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); }
.ed-siapchip.ok { color: var(--good-text); border-color: color-mix(in srgb, var(--good) 45%, var(--line)); background: color-mix(in srgb, var(--good) 10%, var(--surface)); }
.ed-siapchip.belum { color: var(--warning-text); border-color: color-mix(in srgb, var(--warning) 55%, var(--line)); background: color-mix(in srgb, var(--warning) 12%, var(--surface)); }
/* NOBAR-MVP-0616: VO dikunci di modul VO, folder belum terbaca server (menyinkronkan) */
.ed-siapchip.sinkron { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-soft); }
.ed-prog { height: 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin: 6px 0 3px; min-width: 200px; }
.ed-prog > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s ease; }
.ed-prog.antre > i { width: 0 !important; }
.ed-prog-t { font-size: 12.5px; }
.ed-siap-status, .ed-rakit-status { flex: 1 1 260px; min-width: 200px; }
.ed-peta-lipat { margin-top: 8px; }
.ed-peta-lipat > summary { cursor: pointer; list-style: none; color: var(--text-2); }
.ed-peta-lipat > summary::-webkit-details-marker { display: none; }
.ed-peta-lipat[open] > summary { color: var(--text); }
.ed-judul-analisa { margin-top: 16px; font-size: 15px; }
/* v0.14.11 (NOBAR-MVP-070): 📦 untuk vendor — tautan folder film + ZIP VO terkunci */
.ed-vendor { margin: 6px 0 10px; }
.ed-vendor-kotak { border: 1px solid var(--ed-garis); border-radius: 8px; padding: 8px 10px; margin: 6px 0; }
.ed-vendor-j { font-weight: 700; margin-bottom: 4px; }
.ed-vendor-link { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0 4px; }
.ed-vendor-link input { flex: 1 1 260px; min-width: 0; font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ed-vendor-aksi { margin-top: 6px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ed-vendor-vo { display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; padding: 4px 0; border-top: 1px dashed var(--ed-garis); overflow-wrap: anywhere; }
.ed-vendor-vo:first-of-type { border-top: 0; }
/* SESI-RsGPLd (arahan Arbani 2 Okt): naskah FINAL untuk vendor — link GDoc & link baca */
.ed-vendor-naskah { padding: 6px 0; border-top: 1px dashed var(--ed-garis); }
.ed-vendor-naskah:first-of-type { border-top: 0; }
.ed-vendor-lbl { min-width: 110px; font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .ed-vendor-lbl { min-width: 0; width: 100%; } }
.ed-ok { color: var(--good-text, #2f855a); }
/* ADR-0069 [B2] (SESI-RsGPLd): 👤 Wajah tokoh — panel konfirmasi nama di Review naskah (wajah.js) */
.wj { width: min(960px, 96vw); max-height: 92vh; overflow: auto; }
.wj-kepala, .wj-wajib { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; overflow-wrap: anywhere; }
.wj-kepala select { width: auto; min-width: 64px; flex: 0 0 auto; }
.wj-aksi { gap: 6px; margin: 6px 0 8px; flex-wrap: wrap; }
.wj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.wj-kartu { border: 1px solid var(--line, #e3e6ea); border-radius: 8px; padding: 6px 8px; background: var(--surface, #fff); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wj-kartu.ok { border-color: color-mix(in srgb, var(--good, #2f855a) 55%, var(--line, #e3e6ea)); background: color-mix(in srgb, var(--good, #2f855a) 7%, var(--surface, #fff)); }
.wj-kartu.ragu { border-style: dashed; }
.wj-foto { display: flex; gap: 3px; }
.wj-foto img { width: calc((100% - 6px) / 3); max-width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #000; }
.wj-ket { font-size: 12.5px; overflow-wrap: anywhere; }
.wj-kartu select { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.wj-cek { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.wj-alasan { max-height: 3.6em; overflow: hidden; }
.wj-status { margin-top: 8px; min-height: 1.2em; }
.wj-galat { color: var(--critical-text, #c92a2a); }
@media (max-width: 600px) { .wj-grid { grid-template-columns: 1fr 1fr; } .wj-kartu { padding: 5px; } }
@media (max-width: 380px) { .wj-grid { grid-template-columns: 1fr; } }
.wj-petunjuk { margin: 4px 0 6px; padding: 6px 8px; border-radius: 6px; background: var(--surface-2, #f4f5f7); line-height: 1.45; }
.wj-petunjuk > summary { cursor: pointer; font-weight: 600; }
.wj-baru, .wj-catatan { width: 100%; box-sizing: border-box; }
.wj-cat-btn { padding: 2px 6px; }
.wj-cat-isi { overflow-wrap: anywhere; }
/* ADR-0070 (SESI-RsGPLd): 🛡 anti-Content-ID — QC eksposur sebelum Rakit/XML */
.ed-acr { border: 1px solid var(--ed-garis); border-radius: 8px; padding: 8px 10px; margin: 10px 0; }
.ed-acr.gagal { border-color: color-mix(in srgb, var(--critical, #c92a2a) 45%, var(--line, #e3e6ea)); }
.ed-acr.ok { border-color: color-mix(in srgb, var(--good, #2f855a) 45%, var(--line, #e3e6ea)); }
.ed-acr ul { margin: 6px 0 0 18px; padding: 0; font-size: 13px; }
.ed-acr li { overflow-wrap: anywhere; }
/* NOBAR-MVP-109 (ADR-0087): 🔍 QC rough cut vendor dari .prproj */
.ed-qcpr { border: 1px solid var(--ed-garis); border-radius: 8px; padding: 6px 10px; margin: 10px 0; }
.ed-qcpr > summary { cursor: pointer; }
.ed-qc-pilih { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.ed-qc-pilih input[type=file] { max-width: 100%; }
.ed-qc-hasil { border-top: 1px solid var(--ed-garis); margin-top: 8px; padding-top: 6px; }
.ed-qc-hasil > div { margin: 6px 0; overflow-wrap: anywhere; }
.ed-qc-menit { display: flex; flex-wrap: wrap; gap: 3px; }
.ed-qc-menit span { width: 16px; height: 22px; border-radius: 3px; cursor: pointer; }
.ed-qc-menit span.aman, .ed-qc-l.aman { background: var(--good, #2f855a); }
.ed-qc-menit span.bahaya, .ed-qc-l.bahaya { background: var(--critical, #c92a2a); }
.ed-qc-menit span.kosong, .ed-qc-l.kosong { background: var(--ed-garis, #ccc); }
.ed-qc-l { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
.ed-qc-tabel { max-height: 360px; overflow: auto; }
.ed-qc-tabel table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13px; }
.ed-qc-judul { line-height: 1.6; }
.ed-qc-judul .ed-siapchip { margin-right: 6px; }
.ed-qc-tabel th, .ed-qc-tabel td { text-align: left; padding: 3px 6px; border-bottom: 1px solid var(--ed-garis); vertical-align: top; }
.ed-qc-aksi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ed-qc-riwayat ul { margin: 4px 0 0 18px; padding: 0; font-size: 13px; }
.ed-link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; min-height: 0; }
@media (max-width: 600px) { .ed-qc-menit span { width: 14px; height: 20px; } }
.ed-qc-tabel td.mono, .ed-qc-tabel td:nth-child(3), .ed-qc-tabel td:nth-child(4), .ed-qc-tabel td:nth-child(5) { white-space: nowrap; }
/* NOBAR-MVP-136: 🎨 finishing otomatis di kartu QC */
.ed-qc-fin { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--ed-garis); }
/* ADR-0087 v1.2: risiko tinggi + 🎯 Perbaiki klaim */
.ed-siapchip.tinggi { color: var(--critical-text, #c92a2a); border-color: color-mix(in srgb, var(--critical, #c92a2a) 50%, var(--line)); background: color-mix(in srgb, var(--critical, #c92a2a) 10%, var(--surface)); }
.ed-qc-klaimbox { margin: 6px 0; }
.ed-qc-klaimbox > summary { cursor: pointer; font-weight: 600; }
.ed-qc-klaimbox textarea { display: block; width: 100%; box-sizing: border-box; margin: 6px 0; font-family: var(--mono, monospace); font-size: 13px; }
.ed-qc-klaimbox select { max-width: 100%; }
.ed-qc-tabel th, .ed-qc-tabel td.ed-nw { white-space: nowrap; }
/* NOBAR-MVP-139: unggahan Private bersih (0 klaim) */
.ed-qc-privat { margin: 8px 0; }
.ed-qc-privat > summary { cursor: pointer; font-weight: 600; }
.ed-qc-privat input[type=text] { width: 100%; max-width: 520px; box-sizing: border-box; margin: 6px 0; }
/* NOBAR-MVP-139 v0.4.0: benchmark (angka edit vs video tayang aman) */
.ed-qc-bench { margin: 8px 0; }
.ed-qc-bench .ed-qc-tabel table { min-width: 480px; }
.ed-qc-pustaka > summary { cursor: pointer; }
.ed-qc-pustaka .ed-qc-tabel table { min-width: 640px; }
.ed-qc-pustaka td:first-child { min-width: 180px; }
.ed-qc-fin .ed-qc-tabel table { min-width: 560px; }
.ed-qc-fin th, .ed-qc-fin td:nth-child(1), .ed-qc-fin td:nth-child(2), .ed-qc-fin td:last-child { white-space: nowrap; }
/* NOBAR-MVP-137/138 (ADR-0089): 🎞 QC video render + pratinjau */
.ed-qv-render table { min-width: 560px; }
.ed-qv-tugas { margin: 4px 0 8px; padding-left: 18px; }
.ed-qv-temuan { padding-left: 18px; }
.ed-qv-temuan li { margin: 6px 0; }
.ed-qv-gambar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ed-qv-gambar figure { margin: 0; width: 160px; max-width: 46%; }
.ed-qv-gambar img { width: 100%; height: auto; display: block; border-radius: 4px; }
.ed-qv-gambar figcaption { font-size: 12px; opacity: .8; }
.ed-qv-putar { margin: 8px 0; }
.ed-qv-video { width: 100%; max-width: 854px; background: #000; display: block; margin: 6px 0; border-radius: 6px; }
/* ==========================================================================================================================
   NOBAR-MVP-330 · ADR-0203 (SESI-RsGPLd 8 Okt): Editing SATU LAYAR — kanvas "Studio Editing NOBAR" (disetujui Arbani 8 Okt).
   Kepala · chip bahan · tab alur 1–6 + Rinci; tiap tab satu panel yang pas di layar (gulir di dalam kolom, bukan halaman);
   rincian lewat pop up. Token tema dashboard (terang/gelap). ≤ 980 px = halaman biasa bergulir. */
body.ed-lebar main { max-width: 1480px; }
.eds { --eds-atas: 140px; display: flex; flex-direction: column; gap: 12px; height: calc(100vh - var(--eds-atas) - var(--eds-bawah, 24px)); min-height: 480px; font-size: 14px; }
.eds button { font-family: inherit; cursor: pointer; }
.eds button:focus-visible, .eds a:focus-visible, .eds select:focus-visible, .eds-dialog:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.eds .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
/* kepala */
.eds-kepala { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eds-judul-w { display: flex; align-items: center; gap: 14px; min-width: 0; }
.eds-ikon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--orbit-grad, var(--accent)); color: #fff; flex: none; }
.eds-judul-t { min-width: 0; }
.eds-judul-t h1 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.eds-kecil { font-size: 13px; color: var(--text-2); line-height: 1.45; margin: 0; }
.eds-kepala-kanan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eds-status, .eds-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.eds-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); }
.eds-status.hijau, .eds-chip.hijau { background: color-mix(in srgb, var(--good) 14%, var(--surface)); color: var(--good-text); }
.eds-status.hijau::before { background: var(--good); }
.eds-status.kuning, .eds-chip.kuning { background: color-mix(in srgb, var(--warning) 20%, var(--surface)); color: var(--warning-text); }
.eds-status.kuning::before { background: var(--warning); }
.eds-status.hue, .eds-chip.hue { background: var(--accent-soft); color: var(--accent); }
.eds-status.hue::before { background: var(--accent); }
.eds-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* tombol */
.eds-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 800;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; box-sizing: border-box; }
.eds-b:hover { border-color: var(--accent); }
.eds-b:disabled { opacity: .6; cursor: default; border-color: var(--line); }
.eds-b-kecil { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.eds-b-biru { background: var(--orbit-grad, var(--accent)); border-color: var(--accent); color: #fff; }
.eds-b-hijau { background: var(--good-text); border-color: var(--good-text); color: #fff; }
:root[data-theme="dark"] .eds-b-hijau { color: #06210a; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .eds-b-hijau { color: #06210a; } }
.eds-b-besar { min-height: 54px; font-size: 16px; border-radius: 14px; width: 100%; }
.eds-b-ikon { width: 44px; padding: 0; }
/* bilah episode (series; keluhan editor 22 Okt "tidak ada tombol untuk ganti2 episode") — pola .sb-eps Studio naskah */
.eds-eps-wadah { order: 3; flex: 1 1 100%; min-width: 0; display: flex; align-items: center; gap: 8px; }   /* baris sendiri di bawah judul */
.eds-eps-l { flex: none; font-weight: 800; }
.eds-eps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; max-width: 100%; min-width: 0; padding: 2px; }
.eds-epc { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; flex: none; border-radius: 12px; border: 2px solid transparent;
  background: var(--surface-2); color: var(--text-2); font-weight: 800; font-size: 13.5px; }
.eds-epc:hover { border-color: var(--line); }
.eds-epc.aktif { background: var(--surface); color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); cursor: default; }
.eds-epc.redup { color: var(--text-3); }
.eds-epd { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.eds-epd.d-selesai { background: var(--good); }
.eds-epd.d-perhatian { background: var(--warning); }
.eds-epd.d-jalan { background: var(--accent); animation: edsKedip 1.4s ease-in-out infinite; }
.eds-epd.d-siap { box-shadow: inset 0 0 0 2px var(--accent); }
.eds-epd.d-kosong { box-shadow: inset 0 0 0 2px var(--text-3); }
.eds-ept { color: var(--warning-text); font-weight: 900; margin-left: -2px; }
@keyframes edsKedip { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .eds-epd.d-jalan { animation: none; } }
/* dialog Bahan & resep: resep & sakelar dilipat di "Pengaturan lanjutan" */
.eds-lanjut { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.eds-lanjut > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 800; color: var(--text); }
.eds-lanjut > summary::-webkit-details-marker { display: none; }
.eds-lanjut > summary::before { content: "▸"; color: var(--text-3); }
.eds-lanjut[open] > summary::before { content: "▾"; }
.eds-lanjut > .eds-form { margin: 6px 0 4px; }
.eds-lanjut > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* chip bahan di bawah kepala */
.eds .ed-kesiapan { margin: 0; }
/* tab alur */
.eds-tabs { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: none; }
.eds-tabs::-webkit-scrollbar { display: none; }
.eds-tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 700; white-space: nowrap; flex: none; }
.eds-tab:hover { border-color: var(--accent); color: var(--text); }
.eds-no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--text-2); }
.eds-tab.on { background: var(--orbit-grad, var(--accent)); border-color: var(--accent); color: #fff; }
.eds-tab.on .eds-no { background: rgba(255, 255, 255, .25); color: inherit; }
.eds-tab.selesai .eds-no { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }
.eds-sela { flex: 1 1 12px; }
/* panel */
.eds-pane { flex: 1; min-height: 0; overflow: hidden; }
.eds-pane[hidden] { display: none; }
.eds-panggung { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; }
.eds-kol { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 2px; }
.eds-kol-penuh, .eds-pane > .eds-penuh, .eds-premiere { height: 100%; overflow: auto; box-sizing: border-box; }
.eds-kartu { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-sizing: border-box; min-width: 0; }
.eds-kartu.sorot { border-color: var(--accent); }
.eds-ttl { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.eds-baris { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.eds-baris-kiri { justify-content: flex-start; }
.eds-kanan { justify-content: flex-end; }
.eds-tumpuk { display: flex; flex-direction: column; gap: 10px; }
.eds-besar-t { font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.eds-besar { font-size: 40px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.eds-merah { color: var(--critical-text); }
.eds-awas { color: var(--warning-text) !important; }
/* pilihan versi */
.eds-versi-wadah { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.eds-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); gap: 4px; flex-wrap: wrap; }
.eds-seg button { min-height: 34px; padding: 0 12px; border-radius: 9px; border: 0; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 800; }
.eds-seg button.on, .eds-seg button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.eds-seg button.hantu { color: var(--text-3); font-style: italic; cursor: default; }
.eds-pilih-berkas { max-width: 260px; }
/* empat lampu */
.eds-lampus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.eds-lampu { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 14px; border-radius: 16px; border: 2px solid var(--line);
  background: var(--surface); color: var(--text); min-height: 132px; box-sizing: border-box; min-width: 0; }
.eds-lampu:hover { border-color: var(--accent); }
.eds-lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.eds-angka { font-size: 28px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.eds-lk-s { font-size: 13px; font-weight: 600; color: var(--text-2); line-height: 1.35; }
.eds-lagi { margin-top: auto; font-size: 12px; font-weight: 800; color: var(--accent); }
.eds-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: var(--text-3); }
.eds-dot.hijau { background: var(--good); }
.eds-dot.kuning { background: var(--warning); }
.eds-dot.merah { background: var(--critical); }
.eds-dot.hue { background: var(--accent); }
/* pita per blok */
.eds-pita { display: flex; gap: 3px; height: 58px; }
.eds-pb { flex-basis: 0; min-width: 16px; border: 0; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 6px 0;
  font-size: 12px; font-weight: 800; box-sizing: border-box; }
.eds-pb.ok { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }
.eds-pb.awas { background: color-mix(in srgb, var(--warning) 24%, var(--surface)); color: var(--warning-text); }
.eds-pb:hover { outline: 3px solid var(--accent); outline-offset: 1px; }
.eds-cue { display: flex; gap: 2px; min-height: 12px; }
.eds-cue i { width: 2px; height: 12px; border-radius: 1px; background: var(--critical); display: block; }
.eds-skala { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--text-3); }
/* daftar & isian */
.eds-daftar { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eds-daftar li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.eds-daftar li .eds-dot { align-self: flex-start; margin-top: 5px; }
.eds-isi { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.eds-daftar b { color: var(--text); }
.eds-isian { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 10px; font-size: 14px; align-items: center; margin: 0; }
.eds-isian dt { font-weight: 700; color: var(--text-2); margin: 0; }
.eds-isian dd { margin: 0; font-weight: 800; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 6 langkah Siapkan */
.eds-langkah { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.eds-langkah li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; }
.eds-bul { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--text-2); }
.eds-bul.ok { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }
.eds-bul.jalan { background: var(--orbit-grad, var(--accent)); color: #fff; }
.eds-lk-j { font-weight: 800; font-size: 14px; }
.eds .ed-prog { margin: 4px 0 0; min-width: 0; }
/* NOBAR-MVP-0567: satu baris kemajuan di bawah bar · status AI · tugas pendahulu (Wajah tokoh) · log Mesin */
.ed-kabar-baris { display: flex; gap: 8px; align-items: baseline; margin: 6px 0 2px; font-size: 12.5px; white-space: nowrap; }
.ed-kabar-isi { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ed-ai { flex: none; font-weight: 700; }
.ed-ai.ok { color: var(--good-text); }
.ed-ai.galat, .ed-ai.sempat { color: var(--critical-text, #c92a2a); }
.ed-ai.tunggu { color: var(--accent); }
.ed-pendahulu { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line); background: var(--surface-2); }
.ed-pendahulu .eds-lk-s { font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }
.ed-siapchip.jalan { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-soft); }
.ed-log { max-height: 260px; overflow: auto; margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  font: 11.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
/* spanduk (versi lama / sedang dibuat / galat) */
.eds-spanduk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; line-height: 1.4;
  background: color-mix(in srgb, var(--warning) 20%, var(--surface)); color: var(--warning-text); }
.eds-spanduk.hue { background: var(--accent-soft); color: var(--accent); }
.eds-spanduk.merah { background: color-mix(in srgb, var(--critical) 14%, var(--surface)); color: var(--critical-text); }
.eds-ikon-i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; font-style: italic; }
.eds-spanduk-wadah:empty { display: none; }
/* pop up */
.eds-tirai { position: fixed; inset: 0; background: rgba(8, 8, 10, .55); display: grid; place-items: center; padding: 24px; z-index: 60; }
.eds-dialog { width: min(640px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); box-sizing: border-box; color: var(--text); }
.eds-dialog h2 { margin: 0; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
/* NOBAR-MVP-411: 🔎 review per blok (editing_blok.js) */
.eds-dialog-lebar { width: min(1100px, 100%); }
.br-par { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.br-ph { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.br-ph .eds-b { margin-left: auto; }
.br-kal { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.br-kt { font-size: 14px; overflow-wrap: anywhere; }
.br-film { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding-bottom: 2px; }
.br-film > .eds-b { margin-left: auto; flex: none; }
.br-th { flex: none; display: inline-block; width: 112px; height: 47px; border-radius: 6px; border: 3px solid var(--line); overflow: hidden; background: var(--surface-2, rgba(127, 127, 127, .12)); }
.br-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.br-th.br-ok { border-color: #2f9e44; } .br-th.br-mid { border-color: #f08c00; } .br-th.br-bad { border-color: #e03131; }
.br-kosong { display: grid; place-items: center; height: 100%; font-size: 11px; color: var(--text-3); }
.br-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2, rgba(127, 127, 127, .08)); }
.br-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--text-2); min-width: 0; }
.br-form input { min-height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 10px; font-size: 14px; min-width: 0; }
.br-form .br-chips, .br-form .eds-baris { grid-column: 1 / -1; }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.br-alt { display: inline-flex; flex-direction: column; gap: 2px; align-items: center; background: none; border: 2px solid transparent; border-radius: 8px; padding: 2px; cursor: pointer; color: var(--text-2); font-size: 11px; }
.br-alt.aktif { border-color: var(--accent); }
.br-beat { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* #617 (NOBAR-MVP-0553): beat Kartu Adegan = kartu bergambar + teks, gambar dibuat Mesin tanpa AI */
.br-beatk { width: 150px; align-items: stretch; text-align: left; border-color: var(--line); background: var(--surface); }
.br-beatk:hover { border-color: var(--text-3); }
.br-beatk.aktif { border-color: var(--accent); }
.br-beatk .br-th { width: 100%; height: 72px; border-width: 1px; }
.br-beat-teks { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; color: var(--text-2); }
.br-beat-teks b { color: var(--text); }
.br-gambar { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--line); }
@media (max-width: 520px) { .br-beatk { width: calc(50% - 4px); } }
.br-kor, .br-pilih { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; }
.br-merah { color: var(--critical-text, #c92a2a); }
.br-pilih .br-ai { border-style: dashed; }                  /* MVP-414: usulan Gemini server, dipilih editor */
.br-kaki { position: sticky; bottom: -20px; background: var(--surface); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; padding: 10px 0 0; border-top: 1px solid var(--line); }
.br-kaki .br-status { flex: 1 1 200px; }
.eds-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eds-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; color: var(--text-2); min-width: 0; }
.eds-form select { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 700; padding: 0 10px; max-width: 100%; }
.eds-info-isi { display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; overflow-wrap: anywhere; }
.eds-cekbox { display: flex; flex-direction: column; }
.eds-cek { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--text-2); min-height: 40px; }
.eds-cek input { width: 20px; height: 20px; accent-color: var(--accent); }
/* tab 3 · Ke Premiere (kotak vendor lama jadi kartu) */
.eds-premiere { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-content: start; padding: 2px; }
.eds-premiere > .eds-vendor { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 0; }
.eds-premiere > .eds-vendor > .ed-sub { grid-column: 1 / -1; margin: 0; }
.eds-premiere .ed-vendor-kotak { margin: 0; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 16px; min-width: 0; }
/* tab 6 · Private & klaim · Rinci */
.eds-tiga { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eds-kol-penuh { display: flex; flex-direction: column; gap: 14px; padding: 2px; }
.eds-hitung { color: var(--text); }
.eds-rinci-isi { min-width: 0; }
.eds-sub[hidden] { display: none; }
.eds .ed-tabel { max-height: 46vh; }
@media (max-width: 1180px) { .eds-lampus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .eds { height: auto; min-height: 0; }
  .eds-pane { overflow: visible; }
  .eds-panggung { height: auto; grid-template-columns: minmax(0, 1fr); }
  .eds-kol, .eds-kol-penuh, .eds-pane > .eds-penuh, .eds-premiere { height: auto; overflow: visible; }
  .eds-tiga, .eds-form { grid-template-columns: minmax(0, 1fr); }
  .eds-isian { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 600px) { .eds-judul-t h1 { font-size: 19px; } .eds-angka { font-size: 24px; } .eds-lampu { min-height: 112px; padding: 12px; } .eds-pita { height: 48px; } .eds-pb { min-width: 10px; font-size: 11px; } }
.eds-pop-wadah { display: contents; }      /* wadah pop up tidak ikut tata letak (tanpa jarak gap di bawah panel) */
.eds-lampu, .eds-lampu span { white-space: normal; overflow-wrap: anywhere; }
/* Orbit gelap: aksen dibuat terang → latar tombol/tab bertulisan putih memakai gradasi Orbit (putih ≥ 4,5:1), pola orbit.css */
:root:not([data-skema="klasik"]) .eds-b-biru, :root:not([data-skema="klasik"]) .eds-tab.on, :root:not([data-skema="klasik"]) .eds-ikon,
:root:not([data-skema="klasik"]) .eds-bul.jalan { background: var(--orbit-grad); border-color: transparent; color: #fff; }
.eds-angka { font-size: clamp(20px, 1.75vw, 28px); }
/* tab 3: kartu XML + kotak vendor (Film · VO · Naskah) + folder dalam satu kisi, seperti kanvas */
.eds-premiere > .eds-vendor { display: contents; }
.eds-premiere > .eds-vendor > .ed-sub { display: none; }
.eds-tabs { flex-wrap: wrap; }              /* layar sempit-menengah: tab turun ke baris kedua (tidak terpotong) */
@media (max-width: 640px) { .eds-tabs { flex-wrap: nowrap; } }   /* HP: tab bergeser ke samping (kanvas) */
.eds-pane:focus { outline: none; }

/* #620 (SESI-1ScK6o): ⛶ Mode editor hanya di layar ≥ 900 px — di HP editor tetap tampilan biasa */
@media (max-width: 899px) { .ed-nle-penuh { display: none; } }
/* #618 (SESI-1ScK6o): tanda mepet server = cincin merah/kuning di luar bingkai nilai AI + keterangan; pratinjau 3 dtk saat hover
   (satu <video> bersama di atas gambar); panel kanan "Ganti adegan" editor timeline */
.br-th { position: relative; }
.br-th.br-mp-merah { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 5px #e03131; }
.br-th.br-mp-kuning { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 5px #f2b705; }
.br-th[data-intip] { cursor: zoom-in; }
.br-th.br-tanpa-video { cursor: default; }
.br-intip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; pointer-events: none; }
.br-mp-teks { display: block; max-width: 150px; font-size: 11px; line-height: 1.25; color: var(--text-2); overflow-wrap: anywhere; text-align: left; }
.br-mp-teks.br-mp-merah { color: var(--critical-text, #c92a2a); font-weight: 700; }
.br-mp-teks.br-mp-kuning { color: #a07400; font-weight: 700; }
.br-klip { display: inline-flex; flex-direction: column; gap: 4px; flex: none; padding: 3px; }
.gn-kepala { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gn-klip, .gn-bagian { display: flex; flex-direction: column; gap: 6px; }
.gn-kalimat { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.gn-sekarang { display: flex; gap: 10px; align-items: center; }
.gn-sekarang .br-th { width: 128px; height: 54px; }
.gn-pil { padding: 4px; }
.gn-pil .br-th { width: 104px; height: 44px; }
.gn-pil.br-beatk { width: 132px; }
.gn-pil.br-beatk .br-th { width: 100%; height: 58px; }
.gn-minta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.gn-minta input { min-height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 8px; font-size: 13px; min-width: 0; }
.gn-aksi { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.gn-detail .br-mp-teks { max-width: none; }
@media (prefers-reduced-motion: reduce) { .br-th[data-intip] { cursor: pointer; } }
/* Laporan Arbani 6 Nov: tautan ⬇ Simpan XML/SRT yang tetap tampil + petunjuk Premiere yang dilipat (bukan toast panjang) */
.ed-srt-unduh { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.ed-srt-unduh > .eds-kecil:first-child { flex-basis: 100%; }
.ed-srt-unduh a.eds-b { text-decoration: none; }
.ed-xml-petunjuk { flex-basis: 100%; }
.ed-xml-petunjuk summary { cursor: pointer; }
.ed-xml-petunjuk ul { margin: 6px 0 0; padding-left: 18px; max-height: 260px; overflow: auto; line-height: 1.45; }
.ed-xml-petunjuk li { margin-bottom: 4px; }
