/* n2v Studio: the look of the 30 Nov mockup. Dark, warm amber accent, Space Grotesk headings, Inter text. */
:root {
  --bg: #0E1013; --bar: #12151A; --panel: #15181D; --panel2: #1C2026; --line: #262B33; --line2: #3A414B;
  --text: #ECE9E2; --muted: #A3ABB6; --faint: #8A93A0;
  --accent: #F2B544; --accent-hover: #FFD07A; --on-accent: #1A1305;
  --ok: #49C98E; --ok-text: #8FD9B6; --ok-bg: rgba(73, 201, 142, 0.14);
  --warn: #F2B544; --warn-text: #F2C46A; --warn-bg: rgba(242, 181, 68, 0.14);
  --bad: #FF7468; --bad-text: #FF9C93; --bad-bg: rgba(255, 116, 104, 0.14);
  --info-bg: rgba(110, 160, 255, 0.12); --info-text: #A9C5FF;
  --idle: #2E343D;
  --radius: 14px; --radius-s: 10px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: 30px; letter-spacing: -0.02em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ----- layout ----- */
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 10px 24px; background: var(--bar);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 17px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); }
.nav a.on { background: var(--panel2); color: var(--text); font-weight: 600; }
.grow { flex: 1 1 0; }
.page { max-width: 1400px; margin: 0 auto; padding: 26px 24px 64px; }
.page.narrow { max-width: 560px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.tight { gap: 6px; }
.row.between { justify-content: space-between; }
.col { display: flex; flex-direction: column; gap: 12px; }
.col.tight { gap: 6px; }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split > .main { flex: 999 1 640px; min-width: 0; }
.split > .side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grid.tiny { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.big { font-size: 16px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt { margin-top: 14px; } .mt2 { margin-top: 24px; } .mb { margin-bottom: 14px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ----- surfaces ----- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card.flush { padding: 0; overflow: hidden; }
.card .pad { padding: 16px 18px; }
.card h2 + p, .card h3 + p { margin-top: 4px; }
.well { background: var(--panel2); border-radius: var(--radius-s); padding: 12px 14px; }
.callout { border-radius: var(--radius-s); padding: 12px 14px; background: var(--info-bg); color: var(--info-text); }
.callout.warn { background: var(--warn-bg); color: var(--warn-text); }
.callout.bad { background: var(--bad-bg); color: var(--bad-text); }
.callout.ok { background: var(--ok-bg); color: var(--ok-text); }
.empty { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: var(--faint);
  background: repeating-linear-gradient(135deg, #171B21 0 12px, #1A1E25 12px 24px); font-size: 13px; text-align: center; padding: 10px; }
.empty.square { aspect-ratio: 1 / 1; }
.empty.tall { aspect-ratio: 3 / 4; }

/* ----- controls ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--radius-s); border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #56606d; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn.danger { border-color: #6b3a36; color: var(--bad-text); }
.btn.small { min-height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.ghost { border-color: transparent; }
.btn[disabled], .btn.busy { opacity: 0.55; cursor: default; pointer-events: none; }
.btn.big { min-height: 50px; font-size: 16px; padding: 0 22px; }
label.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
label.field > span.hint { font-size: 12px; color: var(--faint); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  background: #101317; border: 1px solid var(--line2); border-radius: 9px; padding: 9px 11px; color: var(--text); width: 100%; min-height: 40px; }
textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
textarea.code { font-family: var(--mono); font-size: 12.5px; }
textarea.tall { min-height: 360px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--text); cursor: pointer; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 6px 12px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--panel2); color: var(--text); font-weight: 600; }
.drop { border: 1.5px dashed var(--line2); border-radius: var(--radius); padding: 30px 20px; text-align: center; cursor: pointer; }
.drop.over { border-color: var(--accent); background: rgba(242, 181, 68, 0.06); }

/* ----- pills and badges ----- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; border-radius: 999px; padding: 2px 10px;
  border: 1px solid #2E343D; color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok-text); border-color: transparent; }
.pill.warn { background: var(--warn-bg); color: var(--warn-text); border-color: transparent; }
.pill.bad { background: var(--bad-bg); color: var(--bad-text); border-color: transparent; }
.pill.info { background: var(--info-bg); color: var(--info-text); border-color: transparent; }
.pill.wrap { white-space: normal; border-radius: 10px; }
.pill.solid { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 700; }
.pill.accent { color: var(--accent); border-color: rgba(242, 181, 68, 0.45); }

/* the engine: chosen at sign-in, switched in the top bar, kept by each film */
.enginepick { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px 12px; margin: 0;
  display: flex; flex-direction: column; gap: 4px; }
.enginepick legend { padding: 0 4px; }
.engineopt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 6px; border-radius: 8px; }
.engineopt:hover { background: var(--panel2); }
.engineopt > span { display: flex; flex-direction: column; gap: 2px; }
.engineopt input { margin-top: 4px; accent-color: var(--accent); flex: none; }
.enginesel { display: inline-flex; align-items: center; gap: 6px; }
.enginesel select { width: auto; min-width: 0; padding: 4px 8px; font-size: 13px; border-radius: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #8C95A1; flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.dot.run { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ----- the stage bar ----- */
.filmhead { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.stagebar { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-bottom: 24px; }
.stagebar a { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line); color: var(--text); min-width: 0; }
.stagebar a .n { font-size: 11px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
.stagebar a .t { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stagebar a .s { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stagebar a.on { border-color: var(--accent); background: #1A1C1F; }
.stagebar a.approved .s { color: var(--ok-text); }
.stagebar a.review .s, .stagebar a.stale .s { color: var(--warn-text); }
.stagebar a.failed .s { color: var(--bad-text); }
.bars { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.bars span { height: 6px; border-radius: 3px; background: var(--idle); }
.bars span.approved { background: var(--ok); } .bars span.review, .bars span.stale { background: var(--warn); }
.bars span.running { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; } .bars span.failed { background: var(--bad); }

/* ----- films ----- */
.filmcard { display: flex; flex-direction: column; }
.filmcard img, .filmcard .empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.filmcard .pad { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.newcard { min-height: 330px; border: 1.5px dashed var(--line2); border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--text); cursor: pointer; background: none; }

/* ----- takes and media ----- */
.media { position: relative; background: #000; border-radius: 10px; overflow: hidden; }
.media img, .media video { width: 100%; height: auto; display: block; }
.media.contain img { object-fit: contain; max-height: 420px; margin: 0 auto; }
.media .badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.media .badges .pill { background: rgba(14, 16, 19, 0.8); }
.item { display: flex; flex-direction: column; gap: 8px; }
.item .title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.item .title b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
.takes { display: flex; gap: 6px; flex-wrap: wrap; }
.takes button { width: 54px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: #000; cursor: pointer; position: relative; }
.takes button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.85; }
.takes button.sel { border-color: var(--accent); }
.takes button.sel img { opacity: 1; }
.takes button span { position: absolute; right: 2px; bottom: 1px; font-size: 10px; background: rgba(0,0,0,.7); padding: 0 3px; border-radius: 3px; }
.takes .vt { width: 54px; height: 31px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); background: var(--panel2); }

/* ----- a stage's heading, and the Grid | One by one switch ----- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.stage-title { font-size: 26px; letter-spacing: -0.02em; }
.view-seg button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; }
.view-seg svg { fill: currentColor; flex: none; }
button.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline dotted; text-underline-offset: 3px; }
button.linkish:hover { color: var(--accent); }
.warn-text { color: var(--warn-text); }

/* ----- One by one: the player, the takes, the speech check, the filmstrip and the side panel ----- */
.one { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.one > .main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.oneside { flex: 1 1 360px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.side-title { font-size: 20px; margin-top: 2px; }
.player { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.player video, .player img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #000; }
.takepick { display: flex; flex-wrap: wrap; gap: 8px; }
.takepick button { min-height: 44px; padding: 6px 14px; border-radius: 10px; border: 1px solid #2E343D; background: transparent;
  color: var(--text); font-size: 13px; cursor: pointer; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; text-align: left; }
.takepick button[aria-checked="true"] { border-color: var(--accent); background: rgba(242, 181, 68, 0.08); }
.takepick .when { color: var(--muted); }
.takepick .tag { font-size: 11px; border-radius: 999px; padding: 0 7px; border: 1px solid #2E343D; color: var(--muted); }
.takepick .tag.ok { background: var(--ok-bg); color: var(--ok-text); border-color: transparent; }
.takepick .tag.bad { background: var(--bad-bg); color: var(--bad-text); border-color: transparent; }
.takepick .tag.warn { background: var(--warn-bg); color: var(--warn-text); border-color: transparent; }
.speech { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); display: flex;
  flex-direction: column; gap: 10px; }
.speech.ok { border-color: #2D5A45; }
.speech.bad { border-color: #5A3A36; }
.speech h3 { font-size: 15px; }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
mark { color: inherit; border-radius: 4px; padding: 0 3px; }
mark.extra { background: var(--bad-bg); color: var(--bad-text); }
mark.miss { background: var(--warn-bg); color: var(--warn-text); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 10px; border-radius: 999px; font-size: 12px; background: var(--ok-bg); color: var(--ok-text); }
.chips li.warn { background: var(--warn-bg); color: var(--warn-text); }
.chips li.bad { background: var(--bad-bg); color: var(--bad-text); }
.chips li.plain { background: transparent; border: 1px solid #2E343D; color: var(--muted); }
.strip-h { font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--font); }
.strip { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-behavior: smooth; }
.strip button { flex: 0 0 auto; width: 112px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); cursor: pointer; text-align: left; }
.strip button[aria-pressed="true"] { border-color: var(--accent); }
.strip .th { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #1B1F25 0 8px, #1F242B 8px 16px); }
.strip .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 11px; font-family: var(--mono); }
.strip .dot { width: 7px; height: 7px; }
.rulebox { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line2); color: var(--muted); }
.rulebox .small { color: var(--text); }

/* ----- tables ----- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 9px 10px; border-bottom: 1px solid #1E2228; vertical-align: top; }
.table tr.pick { cursor: pointer; }
.table tr.pick:hover td { background: #171A1F; }
.table tr.on td { background: #1B1E23; }
.table tr.on td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.table td.thumb { width: 92px; }
.table td.thumb img, .table td.thumb .empty { width: 84px; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; font-size: 10px; }
.scroll-x { overflow-x: auto; }

/* ----- the workflow panel ----- */
.wf { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.wf dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 13px; }
.wf dt { color: var(--muted); }
.wf dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.wf section + section { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.refs { display: flex; gap: 6px; flex-wrap: wrap; }
.refs figure { margin: 0; width: 70px; }
.refs img, .refs .empty { width: 70px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; font-size: 9px; padding: 2px; }
.refs figcaption { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
pre.prompt { white-space: pre-wrap; background: #101317; border: 1px solid var(--line); border-radius: 9px; padding: 10px; font-family: var(--mono);
  font-size: 12px; max-height: 260px; overflow: auto; margin: 0; }

/* ----- drawer, modal and toasts ----- */
.drawer-back { position: fixed; inset: 0; background: rgba(4, 5, 7, 0.55); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: var(--panel); border-left: 1px solid var(--line);
  z-index: 41; display: flex; flex-direction: column; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer .body { padding: 16px 18px; overflow: auto; flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; }
.drawer footer { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: #22262D; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 16px; box-shadow: 0 8px 30px rgba(0,0,0,.4); max-width: 90vw; }
.toast.bad { border-color: #6b3a36; color: var(--bad-text); }
.toast.ok { border-color: #2d5f49; color: var(--ok-text); }

/* ----- jobs ----- */
.jobs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.job { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: #17191C; border: 1px solid #3a3424; }
.job .meter { flex: 1 1 160px; height: 6px; border-radius: 3px; background: var(--idle); overflow: hidden; min-width: 80px; }
.job .meter span { display: block; height: 100%; background: var(--accent); transition: width .4s; }

/* ----- notes ----- */
.note { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.note .q { font-size: 14px; }
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diff pre { max-height: 200px; }

/* ----- auth ----- */
.authbox { max-width: 440px; margin: 9vh auto 40px; padding: 0 20px; }
.authbox .card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.codeinput { font-family: var(--mono); font-size: 24px !important; letter-spacing: 0.3em; text-align: center; }

/* ----- the phone review ----- */
.phone { max-width: 480px; margin: 0 auto; padding: 14px 16px 30px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1000px) {
  .stagebar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wf, .oneside { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .page { padding: 18px 14px 50px; }
  .topbar { padding: 10px 14px; }
  .stagebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stagebar a .s { display: none; }
  h1 { font-size: 24px; }
  .diff { grid-template-columns: 1fr; }
  .hide-phone { display: none !important; }
}

/* ----- the narrator (Stage 7) ----- */
.voicepick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; }
.voicepick.on { border-color: var(--accent); background: rgba(242, 181, 68, 0.06); }
.voicepick audio, .narr-lines audio { height: 36px; width: min(100%, 340px); }
.narr-lines { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 14px; }
.narr-lines > li { display: flex; flex-direction: column; gap: 8px; }
.refvoice { border-top: 1px solid var(--line); padding-top: 12px; }
.upload-voice > summary { cursor: pointer; color: var(--muted); width: fit-content; }
.upload-voice > summary:hover { color: var(--text); }
.upload-voice input[type=file] { color: var(--muted); font-size: 13px; max-width: 100%; }

/* Stage 4 of an Advanced film: what MAD compiled for each shot */
.madpanel .kv { margin: 0; }
.madframe { border-top: 1px solid var(--line); padding-top: 8px; }
.madframe > summary { cursor: pointer; list-style-position: inside; }
.madframe p { margin: 6px 0 0; }
.madwho { margin: 6px 0 0; padding-left: 18px; }
.madwho li + li { margin-top: 3px; }

/* ----- the reels: all shots joined (Stage 8) and the movie so far (Stages 9-10) ----- */
.reel .media video { max-height: 48vh; object-fit: contain; background: #000; }
.reel.collapsed .media, .reel.collapsed .reelstripbox, .reel.collapsed .reelfoot { display: none; }
.reelstripbox { overflow-x: auto; padding-bottom: 2px; }
.reelstrip { display: flex; gap: 6px; min-width: 100%; }
.reelscene { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reelshots { display: flex; gap: 2px; }
.reelshot { min-width: 34px; height: 30px; padding: 0 4px; border: 1px solid var(--line2); border-radius: 6px;
  background: var(--panel2); color: var(--muted); font: 600 11px/1 var(--mono); cursor: pointer; overflow: hidden;
  white-space: nowrap; text-overflow: clip; }
.reelshot:hover { color: var(--text); border-color: var(--faint); }
.reelshot.still { background: repeating-linear-gradient(135deg, var(--panel2) 0 6px, var(--panel) 6px 12px); }
.reelshot.stale { border-color: var(--warn); color: var(--warn-text); }
.reelshot.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
