/* Shared application chrome: navigation stays quiet while the work changes. */
body[data-space="commerce"] { background: #fbfbfc; }
body[data-space] .sidebar { padding: 22px 14px 20px; }
body[data-space] .brand { gap: 6px; padding: 0 6px; }
body[data-space] .brand strong { font-size: 15px; letter-spacing: -.3px; }
body[data-space] .brand img { width: 35px; height: 29px; }
body[data-space] .sidebar-brand-row { margin-bottom: 24px; }
body[data-space] .space-switch-trigger { min-height: 54px; border-radius: 8px; padding: 10px; box-shadow: none; }
body[data-space] .space-label { gap: 2px; }
body[data-space] .space-label small { font-size: 11px; }
body[data-space] .nav-button { min-height: 44px; padding: 0 12px; border-radius: 7px; font-size: 14px; }
body[data-space] .nav-group-label { padding-left: 12px; }
body[data-space] .nav-button.active { box-shadow: none; }
body[data-space="commerce"] .sidebar { background: #f2f2f4; }
body[data-space="commerce"] .nav-button.active { color: #24262b; background: #e5e5e9; }
body[data-space="commerce"] .topbar { background: #fbfbfcee; }
body[data-space] .model-trigger { border-radius: 7px; box-shadow: none; }
body[data-space] .demo-chip { background: none; border: 1px solid var(--line); border-radius: 7px; }
body[data-space="commerce"] .panel { border-radius: 12px; box-shadow: none; }
body[data-space="commerce"] .btn { border-radius: 8px; }
body[data-space="commerce"] .workspace, body[data-space="commerce"] .brand-layout { max-width: 1120px; margin: 0 auto; }
body[data-space="commerce"] .product-panel { max-width: 760px; margin: auto; }
body[data-space="commerce"] .page-title-row h1 { font-size: 30px; letter-spacing: -.7px; }

/* Film workspace: graphite editing desk, one luminous brand image. */
body[data-space="drama"] { --paper: #15171c; --white: #202329; --line: #353940; --space-muted: #a5aab4; background: #15171c; }
body[data-space="drama"] .app-shell { background: #15171c; }
body[data-space="drama"] .sidebar { background: #1b1d23; border-color: #30333a; }
body[data-space="drama"] .nav-button.active { color: #f0edf3; background: #30323a; box-shadow: none; }
body[data-space="drama"] .nav-button.active svg { color: #d2bdc9; }
body[data-space="drama"] .space-switch-trigger { background: #23262d; border-color: #3c3f47; }
body[data-space="drama"] .topbar { background: #15171cee; border-color: #30333a; }
body[data-space="drama"] .main { padding-top: 38px; }
body[data-space="drama"] .site-legal { border-color: #30333a; }

.desk-recent { margin-top: 38px; }
.desk-recent .studio-section-heading { margin-bottom: 10px; }
.desk-recent .studio-section-heading h2 { color: #e7e3eb; font-size: 17px; font-weight: 550; }
.desk-recent .studio-recent-list { border-color: #393d45; }
.desk-recent .studio-recent-row { min-height: 92px; border-color: #353840; padding: 18px 2px; }
.desk-recent .studio-recent-row:hover { background: #ffffff04; }
.desk-recent .studio-recent-copy>strong { color: #e8e4eb; }
.desk-recent .studio-recent-copy>span, .desk-recent .studio-recent-meta { color: #a6aab5; }
.desk-first-project { margin-top: 38px; padding: 22px 0; border-top: 1px solid #393d45; }
.desk-first-project>span { display: flex; align-items: center; gap: 10px; color: #c7c4cd; font-size: 14px; }
.desk-first-project p { margin: 10px 0 0 28px; color: #a2a6b1; font-size: 13px; line-height: 1.8; }

/* Editor content has priority over containers. */
.drama-workbench .drama-stage-tabs { padding: 0; gap: 18px; border: 0; border-bottom: 1px solid #41434c; border-radius: 0; background: none; }
.drama-workbench .drama-stage-tab { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 15px; background: none; }
.drama-workbench .drama-stage-tab.is-active { color: #f2e7ef; border-color: #d6b8cc; background: none; box-shadow: none; }
.drama-workbench .drama-stage-tab:hover:not(.is-active) { background: #ffffff06; }
.drama-workbench .character-file.is-selected, .drama-workbench .shot-card.is-selected { border-color: #bda8ba; background: #32323e; box-shadow: inset 3px 0 #cdb5c7; }
.drama-workbench .character-inspector, .drama-workbench .shot-inspector { background: #252830; border-color: #494b57; border-radius: 9px; }
.drama-workbench .drama-button { border-radius: 6px; box-shadow: none; }
.drama-workbench .screenplay-paper { border-color: #b9b8bc; border-radius: 9px; background: #eae9ed; box-shadow: none; }
.drama-workbench .screenplay-textarea { font-family: 'PingFang SC','Microsoft YaHei',sans-serif; background: #fbfafc; border-color: #cbc6cf; }
.drama-project-card { border-radius: 9px; box-shadow: none; }
.drama-project-cover.is-original { background: #282b34; }
.drama-project-cover.is-original:before { opacity: .3; }
.studio-cover-index { display: none; }

@media (max-width: 760px) {
  body[data-space="drama"] .main { padding-top: 28px; }

  .desk-recent { margin-top: 29px; }
  .desk-recent .studio-recent-continue { font-size: 12px; }
  .desk-first-project { margin-top: 26px; }
  .drama-workbench .drama-stage-tabs { gap: 0; }
  .drama-workbench .drama-stage-tab { flex: 1 1 0; padding: 12px 5px; }
}

/* 2026-10-24 director desk: a focused, cinematic workspace inspired by the
   story-first flows of LTX Studio and StoryHub. Light is reserved for focus
   states so the editor stays readable while still feeling like a film tool. */
body[data-space="drama"] .main { position: relative; overflow: hidden; }
body[data-space="drama"] .main:before,
body[data-space="drama"] .main:after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: .45; z-index: 0; }
body[data-space="drama"] .main:before { width: 420px; height: 420px; top: 40px; right: -190px; background: radial-gradient(circle, #4c5aff2e 0, transparent 68%); }
body[data-space="drama"] .main:after { width: 360px; height: 360px; bottom: 120px; left: -220px; background: radial-gradient(circle, #25c8df20 0, transparent 68%); }
body[data-space="drama"] .main > * { position: relative; z-index: 1; }

body[data-space="drama"] .director-kicker { display: block; color: #8f9bb7; font-size: 10px; line-height: 1.5; letter-spacing: .18em; font-weight: 650; }

body[data-space="drama"] .desk-recent { margin-top: 35px; }
body[data-space="drama"] .desk-recent .studio-section-heading { border-bottom: 1px solid #2a3550; padding-bottom: 11px; }
body[data-space="drama"] .desk-recent .studio-section-heading h2 { color: #dce4f6; }
body[data-space="drama"] .desk-recent .studio-recent-row { border-color: #2d3954; }
body[data-space="drama"] .desk-recent .studio-recent-row:hover { background: #222c432e; }

/* Film language inside the storyboard: a real frame placeholder, metadata
   and a restrained glow on the selected shot. */
body[data-space="drama"] .shot-board-layout { align-items: start; }
body[data-space="drama"] .shot-board-panel { padding: 17px; border: 1px solid #35425e; border-radius: 13px; background: #111827; box-shadow: 0 18px 55px #0002; }
body[data-space="drama"] .shot-board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body[data-space="drama"] .shot-card { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 14px; align-items: stretch; min-height: 190px; padding: 10px; border: 1px solid #33415c; border-radius: 11px; background: #171f31; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
body[data-space="drama"] .shot-card:hover { border-color: #7284bd; transform: translateY(-1px); }
body[data-space="drama"] .shot-card.is-selected { border-color: #9ba7ff; background: #1b2540; box-shadow: 0 0 0 1px #8c9cff33, 0 0 28px #6e7eff24; }
body[data-space="drama"] .shot-card-frame { position: relative; display: flex; align-items: center; justify-content: center; min-height: 166px; overflow: hidden; border: 1px solid #3b4a6c; border-radius: 7px; background: radial-gradient(circle at 68% 30%, #b4a5ff31, transparent 25%), linear-gradient(145deg, #202e4a, #0b111d 72%); }
body[data-space="drama"] .shot-card-frame:after { content: ''; position: absolute; inset: 9px; border: 1px solid #9bb7ee40; border-radius: 3px; pointer-events: none; }
body[data-space="drama"] .shot-card-frame-grid { position: absolute; inset: 22% 0; border-top: 1px solid #9fb0da2e; border-bottom: 1px solid #9fb0da2e; }
body[data-space="drama"] .shot-card-frame-status { position: relative; z-index: 1; padding: 5px 7px; border: 1px solid #88a4d055; border-radius: 4px; color: #b4c8e6; background: #0b1220aa; font-size: 10px; }
body[data-space="drama"] .shot-card-frame-time { position: absolute; z-index: 2; right: 8px; bottom: 7px; color: #c7d2e8; font-size: 10px; font-variant-numeric: tabular-nums; }
body[data-space="drama"] .shot-card-info { min-width: 0; padding: 6px 4px 4px 0; }
body[data-space="drama"] .shot-card-kicker { color: #7f8ca9; font-size: 10px; letter-spacing: .09em; }
body[data-space="drama"] .shot-card-heading strong { color: #eef3ff; }
body[data-space="drama"] .shot-card-heading span { color: #a9b8d8; background: #253553; }
body[data-space="drama"] .shot-card-text { min-height: 48px; margin-top: 15px; color: #c7d2e9; font-size: 13px; line-height: 1.65; }
body[data-space="drama"] .shot-card-dialogue { margin-top: 14px; padding-top: 10px; border-top-color: #33415a; color: #91a0be; }
body[data-space="drama"] .shot-card-dialogue [data-shot-live="dialogue"] { color: #b4bfd4; }
body[data-space="drama"] .shot-timeline-item { border-color: #374868; background: #192339; }
body[data-space="drama"] .shot-timeline-item.is-selected { border-color: #a3a8ff; box-shadow: 0 0 18px #7c82ff2a; }

@media (max-width: 760px) {

  body[data-space="drama"] .shot-board-panel { padding: 10px; }
  body[data-space="drama"] .shot-board-grid { grid-template-columns: 1fr; }
  body[data-space="drama"] .shot-card { grid-template-columns: 112px minmax(0, 1fr); min-height: 160px; gap: 10px; }
  body[data-space="drama"] .shot-card-frame { min-height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
body[data-space="drama"] .shot-card { transition: none; }
}

/* Edit bay refinement: the visual language comes from a physical post
   production desk - charcoal surfaces, paper-white type, and one warm
   playhead. It keeps hierarchy visible without turning every panel into a
   glowing SaaS card. */
body[data-space="drama"] {
  --edit-canvas: #0d0f13;
  --edit-panel: #161a20;
  --edit-panel-raised: #1b2027;
  --edit-rule: #2a3038;
  --edit-ink: #e9edf2;
  --edit-muted: #8f98a8;
  --edit-dim: #68717e;
  --edit-amber: #e8a05b;
  --edit-amber-soft: #e8a05b1f;
  --edit-teal: #77b7ae;
  background: var(--edit-canvas);
}
body[data-space="drama"] .main {
  overflow-x: clip;
  overflow-y: visible;
  background: var(--edit-canvas);
}
body[data-space="drama"] .main:before,
body[data-space="drama"] .main:after { display: none; }
body[data-space="drama"] .main > * { z-index: 1; }
body[data-space="drama"] .director-desk,
body[data-space="drama"] .drama-workbench { max-width: 1220px; }
body[data-space="drama"] .director-kicker {
  color: var(--edit-dim);
  font-size: 9px;
  letter-spacing: .14em;
}

/* The inspiration rail is an editorial strip, not a stack of identical cards. */
body[data-space="drama"] .director-showcase { margin-top: 44px; }
body[data-space="drama"] .director-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--edit-rule);
}
body[data-space="drama"] .director-showcase-head h2 { margin-top: 7px; color: var(--edit-ink); font-size: 19px; font-weight: 560; }
body[data-space="drama"] .director-showcase-note { color: var(--edit-dim); font-size: 11px; }
body[data-space="drama"] .director-showcase-rail {
  display: grid;
  grid-template-columns: 1.24fr 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
body[data-space="drama"] .director-showcase-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--edit-ink);
  text-align: left;
}
body[data-space="drama"] .director-showcase-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--edit-rule);
  border-radius: 3px;
  background: #11151a;
}
body[data-space="drama"] .director-showcase-card:first-child .director-showcase-image { aspect-ratio: 1.58 / 1; }
body[data-space="drama"] .director-showcase-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
body[data-space="drama"] .director-showcase-card:hover .director-showcase-image img { transform: scale(1.035); filter: contrast(1.06) saturate(1.08); }
body[data-space="drama"] .director-showcase-index { position: absolute; top: 8px; left: 9px; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px #000; }
body[data-space="drama"] .director-showcase-play { position: absolute; right: 9px; bottom: 8px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #0d0f13aa; opacity: .8; }
body[data-space="drama"] .director-showcase-copy { display: grid; gap: 3px; padding: 9px 1px 0; }
body[data-space="drama"] .director-showcase-copy strong { color: var(--edit-ink); font-size: 13px; font-weight: 550; }
body[data-space="drama"] .director-showcase-copy small { color: var(--edit-dim); font-size: 11px; }
body[data-space="drama"] .director-reel-grid { grid-template-columns: 1.38fr 1fr 1fr 1fr; }
body[data-space="drama"] .director-reel-media { isolation: isolate; background: #090b0f; }
body[data-space="drama"] .director-reel-media img,
body[data-space="drama"] .director-reel-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-space="drama"] .director-reel-media video { opacity: .74; filter: saturate(.78) contrast(1.14); }
body[data-space="drama"] .director-reel-card:hover .director-reel-media video { opacity: .9; filter: saturate(1) contrast(1.08); }
body[data-space="drama"] .director-reel-card.reel-surface--red .director-reel-media img { filter: saturate(.84) contrast(1.12); }
body[data-space="drama"] .director-reel-card.reel-surface--amber .director-reel-media img { filter: saturate(.72) sepia(.14) contrast(1.1); }
body[data-space="drama"] .director-reel-card.reel-surface--paper .director-reel-media img { filter: saturate(.68) contrast(.98); }
body[data-space="drama"] .reel-light-sweep { position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -40%; width: 28%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, #ffffff55, transparent); opacity: .25; animation: reel-sweep 5.5s ease-in-out infinite; pointer-events: none; }
body[data-space="drama"] .reel-grain { position: absolute; z-index: 1; inset: 0; opacity: .12; background-image: radial-gradient(#fff 0.5px, transparent 0.7px); background-size: 4px 4px; mix-blend-mode: overlay; pointer-events: none; }
body[data-space="drama"] .reel-format { position: absolute; z-index: 2; right: 9px; top: 9px; color: #f2dec3; font-size: 8px; letter-spacing: .1em; text-shadow: 0 1px 4px #000; }
body[data-space="drama"] .director-reel-card:first-child .director-showcase-image { aspect-ratio: 1.72 / 1; }
@keyframes reel-sweep { 0%, 18% { transform: translateX(0) skewX(-18deg); opacity: 0; } 32% { opacity: .22; } 68% { opacity: .08; } 100% { transform: translateX(520%) skewX(-18deg); opacity: 0; } }

/* Storyboard: the image frame is the primary object and the timeline anchors the page. */
body[data-space="drama"] .shot-board-toolbar { padding-bottom: 16px; border-bottom: 1px solid var(--edit-rule); }
body[data-space="drama"] .shot-board-toolbar h2 { margin-top: 7px; color: var(--edit-ink); font-size: 26px; letter-spacing: -.045em; }
body[data-space="drama"] .shot-board-subtitle { margin-top: 7px; color: var(--edit-muted); font-size: 13px; }
body[data-space="drama"] .shot-episode-summary { border-color: var(--edit-rule); color: var(--edit-muted); }
body[data-space="drama"] .shot-source-bridge { border-color: var(--edit-rule); border-radius: 4px; background: transparent; }
body[data-space="drama"] .shot-source-route { color: var(--edit-ink); }
body[data-space="drama"] .shot-source-note { color: var(--edit-dim); }
body[data-space="drama"] .shot-board-layout { gap: 18px; align-items: stretch; }
body[data-space="drama"] .shot-board-panel {
  padding: 15px;
  border: 1px solid var(--edit-rule);
  border-radius: 4px;
  background: #111419;
  box-shadow: none;
}
body[data-space="drama"] .shot-monitor { margin-bottom: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--edit-rule); }
body[data-space="drama"] .shot-monitor-top,
body[data-space="drama"] .shot-monitor-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--edit-dim); font-size: 9px; letter-spacing: .08em; }
body[data-space="drama"] .shot-monitor-top span:first-child { color: var(--edit-amber); }
body[data-space="drama"] .shot-monitor-frame { position: relative; min-height: 205px; margin-top: 8px; overflow: hidden; border: 1px solid #353b43; border-radius: 2px; background: #080a0d; }
body[data-space="drama"] .shot-monitor-frame img { display: block; width: 100%; height: 205px; object-fit: cover; opacity: .82; filter: saturate(.84) contrast(1.08); }
body[data-space="drama"] .shot-monitor-frame:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #00000012 0%, transparent 45%, #00000058 100%); pointer-events: none; }
body[data-space="drama"] .shot-monitor-crosshair { position: absolute; inset: 17% 21%; border: 1px solid #d8c6a54a; opacity: .65; }
body[data-space="drama"] .shot-monitor-crosshair:before,
body[data-space="drama"] .shot-monitor-crosshair:after { content: ''; position: absolute; background: #d8c6a542; }
body[data-space="drama"] .shot-monitor-crosshair:before { top: 50%; right: 0; left: 0; height: 1px; }
body[data-space="drama"] .shot-monitor-crosshair:after { top: 0; bottom: 0; left: 50%; width: 1px; }
body[data-space="drama"] .shot-monitor-status,
body[data-space="drama"] .shot-monitor-time { position: absolute; z-index: 1; color: #f0dfc5; font-size: 9px; }
body[data-space="drama"] .shot-monitor-status { top: 9px; left: 10px; }
body[data-space="drama"] .shot-monitor-time { right: 10px; bottom: 9px; }
body[data-space="drama"] .shot-monitor-controls { margin-top: 8px; letter-spacing: 0; }
body[data-space="drama"] .shot-monitor-play { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #3b424a; border-radius: 50%; color: var(--edit-amber); }
body[data-space="drama"] .shot-monitor-scrub { position: relative; flex: 0 0 31%; height: 2px; background: #343b43; }
body[data-space="drama"] .shot-monitor-scrub i { position: absolute; top: -2px; left: 17%; width: 6px; height: 6px; border-radius: 50%; background: var(--edit-amber); }
body[data-space="drama"] .shot-monitor-caption { overflow: hidden; max-width: 55%; color: var(--edit-muted); white-space: nowrap; text-overflow: ellipsis; }
body[data-space="drama"] .shot-board-grid { gap: 14px; }
body[data-space="drama"] .shot-card {
  min-height: 198px;
  padding: 8px;
  border: 1px solid #2d333b;
  border-radius: 3px;
  background: var(--edit-panel);
  transition: border-color .18s ease, background .18s ease;
}
body[data-space="drama"] .shot-card:hover { border-color: #59616c; transform: none; }
body[data-space="drama"] .shot-card.is-selected {
  border-color: var(--edit-amber);
  background: #1e1d1a;
  box-shadow: inset 3px 0 var(--edit-amber);
}
body[data-space="drama"] .shot-card-frame {
  min-height: 174px;
  border: 1px solid #323942;
  border-radius: 2px;
  background: radial-gradient(circle at 68% 30%, #d18d4a28, transparent 27%), linear-gradient(145deg, #252a2d, #0b0d10 73%);
}
body[data-space="drama"] .shot-card-frame-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(.76) contrast(1.08); }
body[data-space="drama"] .shot-card.is-selected .shot-card-frame-image { opacity: .62; filter: saturate(.95) contrast(1.08); }
body[data-space="drama"] .shot-card-frame:after { border-color: #b9a78735; border-radius: 1px; }
body[data-space="drama"] .shot-card-frame-grid { border-color: #b9a78722; }
body[data-space="drama"] .shot-card-frame-status { border-color: #b9a78748; color: #d8c8ad; background: #0b0d10bb; }
body[data-space="drama"] .shot-card-frame-time { color: #d8c8ad; }
body[data-space="drama"] .shot-card-kicker { color: var(--edit-dim); }
body[data-space="drama"] .shot-card-heading strong { color: var(--edit-ink); }
body[data-space="drama"] .shot-card-heading span { color: var(--edit-amber); background: transparent; }
body[data-space="drama"] .shot-card-text { color: #c4cbd4; }
body[data-space="drama"] .shot-card-dialogue { border-top-color: var(--edit-rule); color: var(--edit-dim); }
body[data-space="drama"] .shot-card-dialogue [data-shot-live="dialogue"] { color: #b2bbc5; }
body[data-space="drama"] .shot-inspector { border-color: var(--edit-rule); border-radius: 4px; background: var(--edit-panel); }
body[data-space="drama"] .shot-inspector-heading { border-bottom-color: var(--edit-rule); }
body[data-space="drama"] .shot-inspector-heading h2 { color: var(--edit-ink); }
body[data-space="drama"] .director-filmstrip {
  margin-top: 18px;
  padding: 12px 14px 10px;
  border: 1px solid var(--edit-rule);
  border-radius: 4px;
  background: #101318;
}
body[data-space="drama"] .director-filmstrip-head,
body[data-space="drama"] .director-filmstrip-foot { display: flex; justify-content: space-between; gap: 12px; color: var(--edit-dim); font-size: 10px; font-variant-numeric: tabular-nums; }
body[data-space="drama"] .director-filmstrip-head span { color: var(--edit-muted); letter-spacing: .1em; }
body[data-space="drama"] .director-filmstrip-head i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--edit-amber); vertical-align: 1px; }
body[data-space="drama"] .director-filmstrip-track { position: relative; display: flex; gap: 6px; min-height: 74px; margin: 10px 0 8px; padding: 10px 7px 8px; overflow-x: auto; border-top: 1px solid #272c33; border-bottom: 1px solid #272c33; background: repeating-linear-gradient(90deg, transparent 0, transparent 47px, #ffffff05 48px); scrollbar-width: thin; scrollbar-color: #3b424c transparent; }
body[data-space="drama"] .director-filmstrip-track:before { content: ''; position: absolute; top: 0; bottom: 0; left: 16px; width: 1px; background: var(--edit-amber); opacity: .8; }
body[data-space="drama"] .director-filmstrip-shot { position: relative; display: grid; grid-template-columns: 72px auto; gap: 8px; flex: 0 0 auto; min-width: 135px; padding: 0; border: 0; border-radius: 2px; color: var(--edit-muted); background: transparent; text-align: left; }
body[data-space="drama"] .director-filmstrip-shot:before,
body[data-space="drama"] .director-filmstrip-shot:after { content: ''; position: absolute; top: -10px; bottom: -8px; width: 4px; background: radial-gradient(circle, #555d66 1px, transparent 1.5px) 0 0 / 4px 9px; opacity: .45; }
body[data-space="drama"] .director-filmstrip-shot:before { left: 0; }
body[data-space="drama"] .director-filmstrip-shot:after { left: 68px; }
body[data-space="drama"] .director-filmstrip-thumb { display: grid; place-items: end start; min-height: 50px; padding: 5px; border: 1px solid #363d46; border-radius: 2px; color: #d4bd9d; background: linear-gradient(145deg, #303337, #151719); font-size: 10px; }
body[data-space="drama"] .director-filmstrip-meta { display: grid; align-content: center; gap: 5px; min-width: 0; }
body[data-space="drama"] .director-filmstrip-meta strong { color: #cbd1d8; font-size: 10px; font-weight: 550; }
body[data-space="drama"] .director-filmstrip-meta small { color: var(--edit-dim); font-size: 10px; }
body[data-space="drama"] .director-filmstrip-shot.is-selected .director-filmstrip-thumb { border-color: var(--edit-amber); box-shadow: 0 0 0 1px #e8a05b55; }
body[data-space="drama"] .director-filmstrip-shot.is-selected .director-filmstrip-meta strong { color: var(--edit-amber); }
body[data-space="drama"] .director-filmstrip-empty { color: var(--edit-dim); font-size: 11px; align-self: center; }
body[data-space="drama"] .director-filmstrip-foot { color: var(--edit-dim); }
body[data-space="drama"] .director-filmstrip-foot span:last-child { color: var(--edit-amber); }

@media (max-width: 760px) {
  body[data-space="drama"] .director-showcase { margin-top: 32px; }
  body[data-space="drama"] .director-showcase-head { align-items: start; }
  body[data-space="drama"] .director-showcase-note { max-width: 100px; text-align: right; line-height: 1.4; }
  body[data-space="drama"] .director-showcase-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  body[data-space="drama"] .director-showcase-card { flex: 0 0 76vw; scroll-snap-align: start; }
  body[data-space="drama"] .director-showcase-card:first-child { flex-basis: 84vw; }
  body[data-space="drama"] .director-reel-grid { gap: 12px; }

  body[data-space="drama"] .shot-board-toolbar { align-items: start; }
  body[data-space="drama"] .shot-monitor-frame,
  body[data-space="drama"] .shot-monitor-frame img { min-height: 160px; height: 160px; }
  body[data-space="drama"] .shot-monitor-caption { max-width: 48%; }
  body[data-space="drama"] .director-filmstrip { margin-right: -2px; margin-left: -2px; padding-right: 9px; padding-left: 9px; }
  body[data-space="drama"] .director-filmstrip-foot { font-size: 9px; }
}

/* The first draft has a clear next action; detailed production settings stay optional. */
.drama-stage-guidance, .drama-next-step { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #c8c6ce; }
.drama-stage-guidance p, .drama-next-step p { flex: 1 1 260px; margin: 0; color: #565363; font-size: 13px; line-height: 1.7; }
.drama-stage-guidance > span { flex-basis: 100%; color: #6a6575; font-size: 12px; }
@media (max-width: 760px) {
  .drama-stage-guidance, .drama-next-step { align-items: stretch; flex-direction: column; }
  .drama-stage-guidance p, .drama-next-step p { flex-basis: auto; }
  .drama-stage-guidance .drama-button, .drama-next-step .drama-button { min-height: 46px; width: 100%; }
}
