/* V2-BASE-CORE BEGIN */
/* V2-BASE-CORE insert below */
html[data-studio="v2"] {
  --v2-bg: #121009;
  --v2-bg-reading: linear-gradient(180deg,#0a0908 0%,#0f0d0b 55%,#14110e 100%);
  --v2-bg-2: #121009;
  --v2-surface: #16130f;
  --v2-surface-2: #1c1916;
  --v2-surface-3: #242019;
  --v2-surface-glass: rgba(28,25,22,.85);
  --v2-line: rgba(236,229,216,.08);
  --v2-line-strong: rgba(236,229,216,.16);
  --v2-line-row: rgba(236,229,216,.09);
  --v2-ink: #ece5d8;
  --v2-ink-title: #f3ede2;
  --v2-ink-question: #f6f0e4;
  --v2-ink-body: #cfc6b6;
  --v2-muted: #8f8778;
  --v2-dim: #5f584c;
  --v2-label: #a08a62;
  --v2-paper: #f3ecdd;
  --v2-paper-signed: #f4eddf;
  --v2-paper-under-1: #e6ddcc;
  --v2-paper-under-2: #ede5d5;
  --v2-paper-under-3: #e9e1d1;
  --v2-paper-under-4: #f0e8d8;
  --v2-ink-paper: #1a1612;
  --v2-ink-paper-muted: #5c554a;
  --v2-paper-rule-row: rgba(26,22,18,.18);
  --v2-paper-rule-cover: rgba(26,22,18,.20);
  --v2-paper-rule-footer: rgba(26,22,18,.25);
  --v2-kept: #b97f2e;
  --v2-back: #c0392b;
  --v2-brass: #c9922f;
  --v2-brass-light: #f4cd7e;
  --v2-hairline: linear-gradient(90deg, transparent, #c9922f 20%, #f4cd7e 50%, #c9922f 80%, transparent);
  --v2-hairline-composer: linear-gradient(90deg, transparent, rgba(201,146,47,.7) 25%, rgba(244,205,126,.9) 50%, rgba(201,146,47,.7) 75%, transparent);
  --v2-hairline-silver: linear-gradient(90deg, transparent, rgba(146,184,216,.7) 30%, rgba(207,227,245,.9) 50%, rgba(146,184,216,.7) 70%, transparent);
  --v2-picked: rgba(201,146,47,.10);
  --v2-tab-active: rgba(201,146,47,.14);
  --v2-send: linear-gradient(180deg,#f4cd7e,#c9922f);
  --v2-gold: #e3a94f;
  --v2-gold-bright: #f4cd7e;
  --v2-link: #d9a55a;
  --v2-info: #92b8d8;
  --v2-silver: #92b8d8;
  --v2-silver-light: #cfe3f5;
  --v2-silver-mote-a: #eaf2fa;
  --v2-silver-mote-b: #a9c6e0;
  --v2-silver-glow: rgba(170,205,235,.35);
  --v2-table-band-1: rgba(214,228,255,.55);
  --v2-table-band-2: rgba(236,242,255,1);
  --v2-rec: #ff4b3c;
  --v2-safelight: #ff4b3c;
  --v2-back-label: #ff7263;
  --v2-red-mote: #ff9a86;
  --v2-ok: #a4cf72;
  --v2-warm-beam-1: rgba(255,218,160,.26);
  --v2-warm-beam-2: rgba(255,214,150,.14);
  --v2-warm-beam-3: rgba(255,210,140,.04);
  --v2-warm-mote: #ffe3b0;
  --v2-dot-reading: #ffd27a;
  --v2-dot-writing: #ffbe6e;
  --v2-lamp-wash: rgba(255,204,138,.10);
  --v2-reply-glow: rgba(255,210,150,.19);
  --v2-spot-core: rgba(244,205,126,.22);
  --v2-spot-edge: rgba(227,169,79,.08);
  --v2-house: rgba(255,214,150,.16);
  --v2-hush: rgba(0,0,0,.46);
  --v2-cloud: rgba(10,9,8,.8);
  --v2-slat: rgba(10,9,8,.34);
  --v2-film-stage: #080502;
  --v2-film-base: #0c0a08;
  --v2-film-frame: #15120f;
  --v2-film-perf: #1f150b;
  --v2-film-caption: #1c130a;
  --v2-film-splice: #140d06;
  --v2-film-window-1: rgba(60,46,30,.42);
  --v2-film-window-2: rgba(18,13,9,.36);
  --v2-film-window-3: rgba(34,25,16,.42);
  --v2-film-rim-1: rgba(255,244,220,.12);
  --v2-film-rim-2: rgba(255,244,220,.10);
  --v2-film-rim-3: rgba(255,244,220,.05);
  --v2-negative: #c96f2e;
  --v2-printhead: rgba(255,246,224,.55);
  --v2-lacquer: linear-gradient(180deg,#1a1714 0%,#121009 100%);
  --v2-lacquer-inset: inset 0 1px 0 rgba(255,255,255,.04);
  --v2-shadow: 0 24px 60px rgba(0,0,0,.55);
  --v2-shadow-soft: 0 18px 40px rgba(0,0,0,.45);
  --v2-shadow-sheet: 0 18px 50px rgba(0,0,0,.45);
  --v2-shadow-now: 0 16px 40px rgba(0,0,0,.45);
  --v2-radius-sm: 4px;
  --v2-radius: 10px;
  --v2-radius-lg: 12px;
  --v2-radius-paper: 3px;
  --v2-radius-paper-b: 6px;
  --v2-radius-tab-bar: 8px;
  --v2-radius-tab: 6px;
  --v2-radius-chip: 8px;
  --v2-radius-frame: 3px;
  --v2-topbar-h: 56px;
  --v2-rail-width: 276px;
  --v2-chat-max: 600px;
  --v2-rail-strip: 72px;
  --v2-rail-panel: 440px;
  --v2-chat-reader: 480px;
  --v2-rail-pad: 24px;
}


html[data-studio="v2"] #directorCommandForm[hidden] {
  display: block !important;
}

/* V2-BASE-CORE insert above */
/* V2-BASE-CORE END */

/* V2-S01-SEC02-SHELL BEGIN */
/* V2-S01-SEC02-SHELL insert below */
/* Shell geometry; v1 tokens and room styles retain their own scopes. */
html[data-studio="v2"] .app-shell {
  background: var(--v2-bg);
}
html[data-studio="v2"] .workspace {
  position: relative;
  transition: grid-template-columns .42s cubic-bezier(.5, 0, .2, 1);
}
html[data-studio="v2"][data-rail="strip"] .workspace {
  grid-template-columns: minmax(0, 1fr) var(--v2-rail-strip);
}
html[data-studio="v2"][data-rail="panel"] .workspace {
  grid-template-columns: minmax(0, 1fr) var(--v2-rail-panel);
}
html[data-studio="v2"][data-rail="reader"] .workspace {
  grid-template-columns: var(--v2-chat-reader) minmax(0, 1fr);
}
html[data-studio="v2"] .chat-stage {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 44px;
  z-index: 1;
  overscroll-behavior: contain;
}
html[data-studio="v2"] .stage-watermark {
  display: none;
}
html[data-studio="v2"] #commandThread {
  flex: 0 0 auto;
  overflow: visible;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin: 0 auto;
  padding: 28px 0 0;
}
html[data-studio="v2"] #motionDock {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin-inline: auto;
  color: var(--v2-muted);
  font-size: 11px;
}
html[data-studio="v2"] #queuedComposer, html[data-studio="v2"] #decisionComposer {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin: 0 auto;
  padding: 0;
}
html[data-studio="v2"] #queuedComposer {
  order: 98;
  border: 0;
  background: transparent;
  font-size: 13px;
}
html[data-studio="v2"] #directorCommandForm {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  flex-shrink: 0;
  order: 99;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin-inline: auto;
  padding: 12px 0 18px;
  z-index: 4;
  background: var(--v2-bg);
}
html[data-studio="v2"] #directorCommandForm::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--v2-bg));
  pointer-events: none;
}
html[data-studio="v2"] .drop-zone {
  border: 0;
  border-radius: var(--v2-radius);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset), var(--v2-shadow-soft);
  backdrop-filter: none;
}
html[data-studio="v2"] .drop-zone::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: var(--v2-hairline-composer);
}
html[data-studio="v2"] .drop-zone.drag-over {
  outline: 1px dashed var(--v2-brass);
}
html[data-studio="v2"] .drop-zone:focus-within {
  outline: 2px solid var(--v2-brass-light);
  outline-offset: 2px;
}
html[data-studio="v2"] body.composer-queue-mode .drop-zone::before {
  background: var(--v2-hairline-silver);
}
html[data-studio="v2"] .attach-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(236,229,216,.14);
  color: #a89e8c;
}
html[data-studio="v2"] #directorCommand {
  font-size: 14px;
  color: var(--v2-ink);
}
html[data-studio="v2"] #directorCommand::placeholder {
  color: var(--v2-muted);
}
html[data-studio="v2"] .send-button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--v2-send);
  color: var(--v2-ink-paper);
}
html[data-studio="v2"] .send-button svg {
  stroke-width: 2.2;
}
html[data-studio="v2"] [data-v2-gated] .send-button, html[data-studio="v2"] [data-v2-gated] .attach-button {
  opacity: .6;
}
html[data-studio="v2"] .attachment-tray > * {
  background: var(--v2-surface-2);
  border-radius: var(--v2-radius-chip);
  font-size: 13px;
}
html[data-studio="v2"] body.file-drag-active::after {
  inset: 24px;
  border: 1px solid var(--v2-brass);
  font-size: 13px;
}
html[data-studio="v2"][data-rail="reader"] .chat-stage > * {
  max-width: 100%;
}
html[data-studio="v2"] #outputWall {
  padding: var(--v2-rail-pad);
  background: rgba(18,16,9,.55);
  border-left: 1px solid var(--v2-line);
}
html[data-studio="v2"] .v2-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}
html[data-studio="v2"] .v2-rail-heading {
  min-width: 0;
}
html[data-studio="v2"] .v2-rail-head h2 {
  font: 400 20px/1.2 "Instrument Serif", Georgia, serif;
  color: var(--v2-ink-title);
}
html[data-studio="v2"] .v2-rail-head p {
  margin-top: 6px;
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.4;
}
html[data-studio="v2"] .v2-paper-tab {
  flex: 0 0 auto;
  max-width: 110px;
  padding: 7px 9px;
  border-radius: var(--v2-radius-paper);
  background: var(--v2-paper);
  color: var(--v2-ink-paper);
  font: 400 11px/1.2 "Courier Prime", "Courier New", Courier, monospace;
}
html[data-studio="v2"] .v2-strip {
  display: none;
  min-height: 0;
  z-index: 1;
  background: rgba(18,16,9,.55);
}
html[data-studio="v2"][data-rail="strip"] .v2-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-left: 1px solid var(--v2-line);
}
html[data-studio="v2"] .v2-stage-dot, html[data-studio="v2"] .v2-strip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--v2-ok);
}
html[data-studio="v2"] .v2-strip-dot {
  width: 22px;
  height: 22px;
  border: 7px solid var(--v2-bg-2);
  box-sizing: content-box;
}
html[data-studio="v2"][data-light="reading"] .v2-stage-dot, html[data-studio="v2"][data-light="reading"] .v2-strip-dot {
  background: var(--v2-dot-reading);
}
html[data-studio="v2"][data-light="writing"] .v2-stage-dot, html[data-studio="v2"][data-light="writing"] .v2-strip-dot {
  background: var(--v2-dot-writing);
}
html[data-studio="v2"][data-light="drawing"] .v2-stage-dot, html[data-studio="v2"][data-light="drawing"] .v2-strip-dot {
  background: var(--v2-rec);
}
html[data-studio="v2"][data-light="checking"] .v2-stage-dot, html[data-studio="v2"][data-light="checking"] .v2-strip-dot {
  background: var(--v2-silver);
}
html[data-studio="v2"][data-light="waiting"] .v2-stage-dot, html[data-studio="v2"][data-light="waiting"] .v2-strip-dot {
  background: var(--v2-gold);
}
html[data-studio="v2"] .v2-strip-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html[data-studio="v2"] .v2-strip-thumbs[data-v2-scene-board] {
  max-block-size: 36vh;
  max-inline-size: 78px;
  padding-inline: 4px;
  overflow: auto;
}
html[data-studio="v2"] .v2-strip-thumbs .scene-board-compact .scene-board-frames {
  display: grid;
}
html[data-studio="v2"] #storyboardDialog .v2-board-pills[hidden] {
  display: none;
}
html[data-studio="v2"] .v2-strip-thumb {
  width: 52px;
  height: 30px;
  border-radius: var(--v2-radius-frame);
  overflow: hidden;
  border: 1px solid var(--v2-line-strong);
}
html[data-studio="v2"] .v2-strip-thumb img {
  display: block;
  object-fit: cover;
}
html[data-studio="v2"] .v2-strip-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  align-items: center;
}
html[data-studio="v2"] .v2-strip-tabs button {
  font-size: 10px;
  font-weight: 400;
  color: var(--v2-muted);
}
html[data-studio="v2"] .v2-strip-tabs .is-active {
  color: var(--v2-ink);
}
html[data-studio="v2"] .v2-strip-download {
  color: var(--v2-muted);
  font-size: 20px;
}
/* Existing toolbar nodes participate directly in this grid; handlers stay put. */
html[data-studio="v2"] .latest-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  gap: 10px 7px;
  position: relative;
  padding: 16px 16px 14px;
  border-radius: var(--v2-radius);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset), var(--v2-shadow-now);
}
html[data-studio="v2"] .latest-output::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: var(--v2-hairline);
}
html[data-studio="v2"][data-light="checking"] .latest-output::before {
  background: var(--v2-hairline-silver);
}
html[data-studio="v2"][data-light="drawing"] .latest-output::before {
  background: linear-gradient(90deg, transparent, rgba(255,246,232,.55) 30%, rgba(255,246,232,.9) 50%, rgba(255,246,232,.55) 70%, transparent);
}
html[data-studio="v2"] .output-toolbar, html[data-studio="v2"] .output-toolbar-actions, html[data-studio="v2"] .output-toolbar .icon-actions {
  display: contents;
}
html[data-studio="v2"] #stageTabs {
  grid-column: 1 / -1;
  grid-row: 1;
  order: -1;
  display: flex;
  padding: 3px;
  gap: 2px;
  border: 0;
  border-radius: var(--v2-radius-tab-bar);
  background: var(--v2-surface);
  margin: -16px -16px 6px;
}
html[data-studio="v2"] .stage-tab {
  flex: 1;
  padding: 8px 4px;
  border: 0;
  color: var(--v2-muted);
  font: 400 12px/1.2 "Instrument Sans", "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
html[data-studio="v2"] .stage-tab.is-active {
  color: var(--v2-brass-light);
  background: var(--v2-tab-active);
  border-radius: var(--v2-radius-tab);
}
html[data-studio="v2"] .stage-tab[data-v2-label] {
  font-size: 0;
}
html[data-studio="v2"] .stage-tab[data-v2-label]::after {
  content: attr(data-v2-label);
  font-size: 12px;
}
html[data-studio="v2"] #latestLabel, html[data-studio="v2"] #fullStoryboardQuickButton {
  display: none;
}
html[data-studio="v2"] .v2-now-label {
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  color: var(--v2-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.4;
}
html[data-studio="v2"][data-light="checking"] .v2-now-label {
  color: var(--v2-silver);
}
html[data-studio="v2"] #returnLiveButton {
  grid-row: 2;
  grid-column: 2;
  color: var(--v2-muted);
}
html[data-studio="v2"] #needsReviewChip {
  grid-row: 2;
  grid-column: 3;
  border-radius: 14px;
  background: var(--v2-picked);
  color: var(--v2-brass-light);
}
html[data-studio="v2"] #downloadLatest {
  grid-row: 2;
  grid-column: 4;
  width: 24px;
  height: 24px;
  color: var(--v2-muted);
}
html[data-studio="v2"] .v2-more {
  grid-row: 2;
  grid-column: 5;
  width: 22px;
  height: 22px;
  color: var(--v2-muted);
}
html[data-studio="v2"] #reviewRoomButton, html[data-studio="v2"] #lockLooksButton, html[data-studio="v2"] #wrapPassButton, html[data-studio="v2"] #planRangeButton {
  grid-row: 3;
  justify-self: start;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] #wrapPassButton {
  background: var(--v2-send);
  color: var(--v2-ink-paper);
}
html[data-studio="v2"] #latestPreview {
  grid-row: 4;
  grid-column: 1 / -1;
}
html[data-studio="v2"] .latest-meta {
  grid-row: 5;
  grid-column: 1 / -1;
  color: var(--v2-muted);
  font: 400 11px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] #directorCue, html[data-studio="v2"] #latestWorkflowNext {
  grid-row: 6;
  display: inline-flex;
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 4px 0 0;
  color: var(--v2-muted);
  font-size: 12px;
}
html[data-studio="v2"] #directorCue {
  grid-column: 1 / 4;
}
html[data-studio="v2"] #directorCue::before {
  content: attr(data-v2-next);
}
html[data-studio="v2"] .latest-output:has([data-v2-card="blocked"])::before {
  background: none;
}
html[data-studio="v2"] #latestWorkflowNext {
  grid-row: 7;
  grid-column: 1 / -1;
}
html[data-studio="v2"]:not([data-v2-stage="board"]) #boardStrip {
  display: none;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) .v2-now-label {
  display: none;
}
html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-glow, html[data-studio="v2"]:not([data-v2-more]) .latest-output .orchestra-rail, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-chips, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-log, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-status-line {
  display: none;
}
html[data-studio="v2"][data-rail="reader"] #outputWall > * {
  visibility: hidden;
}
html[data-studio="v2"] .v2-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-muted);
  font-size: 13px;
  white-space: nowrap;
}
html[data-studio="v2"] .left-rail .rail-section.muted {
  display: none;
}
@media (min-width: 761px) {
html[data-studio="v2"] .topbar-title > span:first-child, html[data-studio="v2"] .status-chip, html[data-studio="v2"] .tally { display: none;
}
html[data-studio="v2"] #currentProjectTitle { color: var(--v2-ink-title); font: 400 22px/1.2 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] #projectSpendLine { color: var(--v2-muted); font: 400 13px/1.2 "Instrument Sans", "Segoe UI", sans-serif; text-transform: none; letter-spacing: 0;
}
html[data-studio="v2"] .app-shell { grid-template-rows: var(--v2-topbar-h) minmax(0, 1fr);
}
html[data-studio="v2"] .topbar { display: grid; grid-template-areas: "toggle title . status office rail out"; grid-template-columns: 34px minmax(0, 1fr) 1fr auto auto 34px auto; align-items: center; gap: 14px; padding: 0 28px; background: var(--v2-bg-2); border-bottom: 1px solid var(--v2-line);
}
html[data-studio="v2"] .topbar-left, html[data-studio="v2"] .topbar-status { display: contents;
}
html[data-studio="v2"] #railToggleButton { grid-area: toggle; width: 34px; height: 34px;
}
html[data-studio="v2"] .topbar-title { grid-area: title;
}
html[data-studio="v2"] .v2-status-chip { grid-area: status;
}
html[data-studio="v2"] #productionOfficeButton { grid-area: office; max-width: 240px;
}
html[data-studio="v2"] #outputToggleButton { grid-area: rail; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; background: transparent; color: var(--v2-muted); font-size: 0; position: relative;
}
html[data-studio="v2"] #outputToggleButton:hover { color: var(--v2-ink); border-color: transparent; background: rgba(227,169,79,.08);
}
html[data-studio="v2"] #outputToggleButton::after { content: ""; width: 18px; height: 14px; border: 1.5px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor, currentColor) right 4px center / 1.5px 100% no-repeat;
}
html[data-studio="v2"] #outputToggleButton.is-live::before { content: ""; position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--v2-brass); animation: none;
}
html[data-studio="v2"] #signOutButton { grid-area: out; font: 400 13px/1.2 "Instrument Sans", "Segoe UI", sans-serif; border: 0; background: transparent; padding: 0 4px; color: var(--v2-muted); text-transform: none; letter-spacing: 0;
}
html[data-studio="v2"] #signOutButton:hover { color: var(--v2-ink);
}
html[data-studio="v2"] #outputWall { position: relative; z-index: 1;
}
}
@media (min-width: 761px) and (max-width: 1100px) {
html[data-studio="v2"][data-rail="panel"] .workspace { grid-template-columns: minmax(320px, 1fr) var(--v2-rail-panel);
}
html[data-studio="v2"] #outputWall { position: static; transform: none; width: auto; max-width: none; box-shadow: none;
}
html[data-studio="v2"] body.workbench-open .workspace::after { display: none;
}
}
@media (max-width: 1100px) {
html[data-studio="v2"] .left-rail { pointer-events: none;
}
html[data-studio="v2"] .left-rail > :not(.brand-block), html[data-studio="v2"] .brand-block > :not(.brand-mark) { pointer-events: auto;
}
}
@media (max-width: 1280px) {
html[data-studio="v2"] .chat-stage { padding: 0 24px;
}
}
@media (max-width: 760px) {
html[data-studio="v2"][data-rail] .workspace { grid-template-columns: minmax(0, 1fr);
}
html[data-studio="v2"][data-rail] .v2-strip { display: none;
}
html[data-studio="v2"] #outputWall { position: fixed; z-index: 60; width: min(440px, 92vw); top: var(--topbar-h); right: 0; bottom: 0; background: var(--v2-bg);
}
html[data-studio="v2"] body:not(.workbench-open) #outputWall { display: none;
}
html[data-studio="v2"] .v2-status-chip { display: none;
}
html[data-studio="v2"] .chat-stage { padding: 0 16px;
}
}
html[data-studio="v2"] #outputWall:has(.lt-stage.lt-expanded) {
  z-index: 76;
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .workspace, html[data-studio="v2"] .v2-lit, html[data-studio="v2"] .v2-mote, html[data-studio="v2"] .v2-page, html[data-studio="v2"] .v2-w, html[data-studio="v2"] .v2-dev, html[data-studio="v2"] .v2-mark { animation: none !important; transition: none !important;
}
html[data-studio="v2"] .workspace { transition-property: grid-template-columns !important; transition-duration: 10ms !important;
}
}

/* V2-S01-SEC02-SHELL insert above */
/* V2-S01-SEC02-SHELL END */

/* V2-S06-SEC02-RAIL BEGIN */
/* V2-S06-SEC02-RAIL insert below */

/* The wall bounds wide reel content; the tab strip remains inside its padding box. */
html[data-studio="v2"] #outputWall { overflow-x: hidden;
}
/* A local viewport preserves the card's old reel paint edge and its fixed gauge. */
html[data-studio="v2"] .latest-output > .v2-reel-viewport { grid-area: body; margin: 0 -16px; min-width: 0; display: flex; justify-content: center; overflow-x: clip;
}
html[data-studio="v2"] .v2-reel-viewport > .v2-reel { flex: 0 0 440px; margin: 0;
}
html[data-studio="v2"] .latest-output:not([data-v2-body="drawing"]):not([data-v2-body="redrawing"]):not([data-v2-body="checking"]):not([data-v2-body="lightsup"]) > .v2-reel-viewport { display: none;
}
html[data-studio="v2"] .latest-output[data-v2-body="drawing"]:has(> .v2-reel-viewport:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="redrawing"]:has(> .v2-reel-viewport:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="checking"]:has(> .v2-reel-viewport:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="lightsup"]:has(> .v2-reel-viewport:not([hidden])) .v2-now-body-line { display: none;
}
html[data-studio="v2"] .latest-output > #latestPreview[data-v2-now-preview="body"]:has(~ .v2-reel-viewport:not([hidden])) { display: none;
}


html[data-studio="v2"]:not([data-v2-stage="auto"]) #downloadLatest[data-v2-download-target="document"] { display: inline-flex;
}

/* Rail panes preserve app-owned nodes and dispatch attributes. */
html[data-studio="v2"] #outputWall > .latest-output {
  order: 1;
}
html[data-studio="v2"] #boardStrip {
  order: 2;
}
html[data-studio="v2"] #sequencePanel {
  display: flex;
  order: 3;
  min-width: 0;
  padding-top: 4px;
}
html[data-studio="v2"] #sequencePanel .sequence-head > div:first-child {
  display: none;
}
html[data-studio="v2"][data-v2-stage="auto"] #sequencePanel {
  margin-top: 4px;
}
html[data-studio="v2"]:not([data-v2-stage="board"]) #boardStrip {
  display: none;
}
html[data-studio="v2"] .latest-output {
  grid-template-columns: minmax(0, 1fr) repeat(4, minmax(0, auto));
  grid-template-areas: "tabs tabs tabs tabs tabs" "label head-right head-right head-right head-right" "actions actions actions actions actions" "plan plan plan plan plan" "recovery recovery recovery recovery recovery" "body body body body body" "decisions decisions decisions decisions decisions" "meta meta meta meta meta" "cue cue cue cue cue" "next next next next next" "docs docs docs docs docs";
  gap: 0 12px;
  margin-top: 44px;
  background: var(--v2-lacquer);
  border-radius: var(--v2-radius);
  box-shadow: var(--v2-lacquer-inset), var(--v2-shadow-now);
  padding: 16px 16px 14px;
  position: relative;
  min-width: 0;
}
html[data-studio="v2"] .latest-output > * {
  min-width: 0;
}
html[data-studio="v2"] #stageTabs {
  grid-area: tabs;
  display: grid;
  width: auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  overflow: hidden;
  margin: -52px -16px 12px;
  align-self: start;
  background: var(--v2-surface);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
html[data-studio="v2"] #stageTabs .stage-tab {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--v2-muted);
  background: transparent;
  border-radius: 6px;
  font: 400 12px/1.2 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] #stageTabs .stage-tab.is-active {
  background: var(--v2-tab-active);
  color: var(--v2-brass-light);
}
html[data-studio="v2"] #stageTabs .stage-tab[data-v2-label] {
  font-size: 0;
}
html[data-studio="v2"] #stageTabs .stage-tab[data-v2-label]::after {
  content: attr(data-v2-label);
  font-size: 12px;
}
html[data-studio="v2"] .v2-now-label {
  grid-area: label;
  display: grid;
  min-width: 0;
  align-self: center;
  align-items: center;
  min-height: 32px;
  white-space: normal;
  overflow-wrap: anywhere;
  font: 400 11px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: .12em;
  color: var(--v2-label);
}
html[data-studio="v2"] .v2-now-label-current, html[data-studio="v2"] .v2-now-label-prev {
  grid-area: 1 / 1;
  color: var(--v2-label);
  transition: opacity 3s ease;
}
html[data-studio="v2"] .v2-now-label-prev {
  opacity: 0;
  pointer-events: none;
}
html[data-studio="v2"] .v2-now-label-current[data-v2-card="checking"], html[data-studio="v2"] .v2-now-label-current[data-v2-card="drafting"], html[data-studio="v2"] .v2-now-label-current[data-v2-card="queued"], html[data-studio="v2"] .v2-now-label-current[data-v2-card="blocked"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="checking"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="drafting"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="queued"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="blocked"] {
  color: var(--v2-silver);
}
html[data-studio="v2"] .v2-now-label-current[data-v2-card="drawing"], html[data-studio="v2"] .v2-now-label-current[data-v2-card="redrawing"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="drawing"], html[data-studio="v2"] .v2-now-label-prev[data-v2-card="redrawing"] {
  color: rgba(255,246,232,.9);
}
html[data-studio="v2"] .latest-output[data-v2-card]::before, html[data-studio="v2"] .latest-output[data-v2-card]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--v2-hairline);
  pointer-events: none;
  transition: opacity 3s ease;
}
html[data-studio="v2"] .latest-output[data-v2-card]::after {
  opacity: 0;
}
html[data-studio="v2"] .latest-output[data-v2-hairline="silver"]::before, html[data-studio="v2"] .latest-output[data-v2-hairline="silver-dim"]::before, html[data-studio="v2"] .latest-output[data-v2-hairline-prev="silver"]::after, html[data-studio="v2"] .latest-output[data-v2-hairline-prev="silver-dim"]::after {
  background: var(--v2-hairline-silver);
}
html[data-studio="v2"] .latest-output[data-v2-hairline="warm"]::before, html[data-studio="v2"] .latest-output[data-v2-hairline-prev="warm"]::after {
  background: linear-gradient(90deg, transparent, rgba(255,246,232,.55) 30%, rgba(255,246,232,.9) 50%, rgba(255,246,232,.55) 70%, transparent);
}
html[data-studio="v2"] .latest-output[data-v2-hairline="none"]::before, html[data-studio="v2"] .latest-output[data-v2-hairline-prev="none"]::after {
  background: none;
}
html[data-studio="v2"] .latest-output[data-v2-hairline="silver-dim"]::before {
  opacity: .5;
}
html[data-studio="v2"] .latest-output[data-v2-transition]::after, html[data-studio="v2"] .latest-output[data-v2-transition] .v2-now-label-prev {
  opacity: 1;
  transition: none;
}
html[data-studio="v2"] .latest-output[data-v2-transition][data-v2-hairline-prev="silver-dim"]::after {
  opacity: .5;
}
html[data-studio="v2"] .latest-output[data-v2-transition]::before, html[data-studio="v2"] .latest-output[data-v2-transition] .v2-now-label-current {
  opacity: 0;
  transition: none;
}
html[data-studio="v2"] #returnLiveButton, html[data-studio="v2"] #needsReviewChip, html[data-studio="v2"] #downloadLatest {
  align-self: center;
}
html[data-studio="v2"] #returnLiveButton {
  grid-area: head-right;
  grid-column: 2;
  color: var(--v2-muted);
  font-size: 12px;
}
html[data-studio="v2"] #needsReviewChip {
  grid-area: head-right;
  grid-column: 3;
  background: var(--v2-picked);
  color: var(--v2-brass-light);
  border-radius: 14px;
  font-size: 12px;
}
html[data-studio="v2"] #downloadLatest {
  grid-area: head-right;
  grid-column: 4;
}
html[data-studio="v2"] .v2-more {
  grid-area: head-right;
  grid-column: 5;
  width: 22px;
  height: 22px;
  padding: 0;
  color: var(--v2-muted);
  align-self: center;
}
html[data-studio="v2"] #reviewRoomButton, html[data-studio="v2"] #lockLooksButton, html[data-studio="v2"] #wrapPassButton, html[data-studio="v2"] #planRangeButton {
  grid-area: actions;
  margin-top: 10px;
  justify-self: start;
  align-self: start;
  max-width: 100%;
  padding: 6px 8px;
  background: var(--v2-lacquer);
  border: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius-chip);
  color: var(--v2-ink);
  font-size: 12px;
}
html[data-studio="v2"] #reviewRoomButton {
  grid-column: 1;
}
html[data-studio="v2"] #lockLooksButton {
  grid-column: 2 / 4;
}
html[data-studio="v2"] #wrapPassButton {
  grid-column: 4 / -1;
  background: var(--v2-send);
  color: var(--v2-ink-paper);
}
html[data-studio="v2"] #planRangeButton {
  grid-area: plan;
  grid-column: 1 / -1;
}
html[data-studio="v2"] #latestPreview, html[data-studio="v2"] .v2-tabs-gallery, html[data-studio="v2"] .v2-now-body {
  grid-area: body;
  min-width: 0;
  margin-top: 10px;
  opacity: 1;
  transition: opacity .3s ease;
}
html[data-studio="v2"] .latest-output[data-v2-body-dip] #latestPreview, html[data-studio="v2"] .latest-output[data-v2-body-dip] .v2-tabs-gallery, html[data-studio="v2"] .latest-output[data-v2-body-dip] .v2-now-body {
  opacity: .45;
}
html[data-studio="v2"] [data-v2-now-native] {
  display: none;
}
html[data-studio="v2"] [data-v2-now-native="reel"], html[data-studio="v2"] [data-v2-now-native="recovery"] {
  display: contents;
}
html[data-studio="v2"] #latestPreview[data-v2-now-preview="body"] {
  display: none;
}
html[data-studio="v2"] .latest-output > #latestPreview[data-v2-now-preview="recovery"] {
  grid-area: recovery;
  min-height: 0;
  margin: 0;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
}
html[data-studio="v2"] .latest-output > #latestPreview[data-v2-now-preview]:has(.still-recovery-stack), html[data-studio="v2"] .latest-output > #latestPreview[data-v2-now-preview]:has(.still-recovery-bar) {
  display: flex;
  flex-direction: column;
}
html[data-studio="v2"] #latestPreview[data-v2-now-preview] .still-recovery-stack, html[data-studio="v2"] #latestPreview[data-v2-now-preview] .still-recovery-bar {
  order: -1;
}
html[data-studio="v2"] #latestPreview[data-v2-now-preview="recovery"]::after {
  display: none;
}
html[data-studio="v2"] .v2-now-body {
  display: grid;
  gap: 12px;
  pointer-events: none;
  color: var(--v2-ink);
  font: 400 14px/1.6 "Instrument Sans", "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
html[data-studio="v2"] .v2-now-body > * {
  pointer-events: auto;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) .v2-now-body {
  display: none;
}
html[data-studio="v2"] .v2-now-body-line {
  margin: 0;
  white-space: pre-line;
}
html[data-studio="v2"] .v2-now-body[data-v2-body="blocked"] .v2-now-body-line {
  color: var(--v2-silver);
}
html[data-studio="v2"] .v2-now-body-files {
  display: grid;
  gap: 8px;
}
html[data-studio="v2"] .v2-now-scenes {
  display: flex;
  gap: 2px;
  height: 6px;
  margin: 12px 0;
}
html[data-studio="v2"] .v2-now-scenes > span {
  flex: 1 1 0;
  min-width: 0;
  height: 6px;
  border-radius: 1px;
  background: var(--v2-line);
}
html[data-studio="v2"] .v2-now-scenes > [data-segment-state="drafted"] {
  background: var(--v2-brass);
}
html[data-studio="v2"] .v2-now-scenes > [data-segment-state="drafting"] {
  background: var(--v2-silver);
}
html[data-studio="v2"] .v2-now-scenes > [data-segment-state="queued"] {
  background: var(--v2-surface-2);
}
html[data-studio="v2"] .v2-now-body-files:empty, html[data-studio="v2"] .v2-now-scenes:empty {
  display: none;
}
html[data-studio="v2"] .v2-now-body:not([data-v2-body="reading"]) > .v2-stage-script, html[data-studio="v2"] .v2-now-body:not([data-v2-body="drafting"]) > .v2-now-scenes, html[data-studio="v2"] .v2-now-body:not([data-v2-body="drafting"]) > .v2-chain-strip, html[data-studio="v2"] .v2-now-body:not([data-v2-body="drawing"]):not([data-v2-body="redrawing"]):not([data-v2-body="checking"]):not([data-v2-body="lightsup"]) > .lt-stage.v2-reel, html[data-studio="v2"] .v2-now-body:not([data-v2-body="writing"]) > .v2-now-body-files {
  display: none;
}
html[data-studio="v2"] .v2-now-body[data-v2-body="reading"]:has(> .v2-stage-script:not([hidden])) > .v2-now-body-line, html[data-studio="v2"] .v2-now-body[data-v2-body="drawing"]:has(> .lt-stage.v2-reel:not([hidden])) > .v2-now-body-line, html[data-studio="v2"] .v2-now-body[data-v2-body="redrawing"]:has(> .lt-stage.v2-reel:not([hidden])) > .v2-now-body-line, html[data-studio="v2"] .v2-now-body[data-v2-body="checking"]:has(> .lt-stage.v2-reel:not([hidden])) > .v2-now-body-line, html[data-studio="v2"] .v2-now-body[data-v2-body="lightsup"]:has(> .lt-stage.v2-reel:not([hidden])) > .v2-now-body-line {
  display: none;
}
html[data-studio="v2"] .v2-now-body[data-v2-body="blocked"] > :not(.v2-now-body-line), html[data-studio="v2"] .latest-output[data-v2-body="blocked"] .v2-now-decisions {
  display: none;
}
html[data-studio="v2"] .latest-output > .v2-stage-script, html[data-studio="v2"] .latest-output > .lt-stage.v2-reel {
  grid-area: body;
  min-width: 0;
}
html[data-studio="v2"] .latest-output:not([data-v2-body="reading"]) > .v2-stage-script, html[data-studio="v2"] .latest-output:not([data-v2-body="drawing"]):not([data-v2-body="redrawing"]):not([data-v2-body="checking"]):not([data-v2-body="lightsup"]) > .lt-stage.v2-reel {
  display: none;
}
html[data-studio="v2"] .latest-output[data-v2-body="reading"]:has(> .v2-stage-script:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="drawing"]:has(> .lt-stage.v2-reel:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="redrawing"]:has(> .lt-stage.v2-reel:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="checking"]:has(> .lt-stage.v2-reel:not([hidden])) .v2-now-body-line, html[data-studio="v2"] .latest-output[data-v2-body="lightsup"]:has(> .lt-stage.v2-reel:not([hidden])) .v2-now-body-line {
  display: none;
}
html[data-studio="v2"] .v2-now-decisions {
  grid-area: decisions;
  min-width: 0;
  margin-top: 10px;
}
html[data-studio="v2"] [data-v2-credit-source] {
  display: none;
}
html[data-studio="v2"] .decision-topline .v2-paid-credit {
  margin-left: auto;
  text-align: right;
  color: var(--v2-muted);
}
html[data-studio="v2"] .latest-output[data-v2-body="writing"] .latest-meta, html[data-studio="v2"] .latest-output[data-v2-body="pausing"] .latest-meta {
  display: none;
}
html[data-studio="v2"] .latest-meta {
  grid-area: meta;
  margin-top: 10px;
  color: var(--v2-muted);
  font: 400 11px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #directorCue, html[data-studio="v2"] #latestWorkflowNext {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  contain: inline-size;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--v2-muted);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  white-space: normal;
  align-self: start;
  overflow: visible;
}
html[data-studio="v2"] #directorCue {
  grid-area: cue;
}
html[data-studio="v2"] #latestWorkflowNext {
  grid-area: next;
}
html[data-studio="v2"] #directorCue:has(+ #latestPreview + #latestWorkflowNext[hidden]) {
  grid-column: 1 / -1;
}
html[data-studio="v2"] #directorCue[hidden] ~ #latestWorkflowNext {
  grid-column: 1 / -1;
}
html[data-studio="v2"] #directorCue::before {
  content: attr(data-v2-next);
  flex: none;
}
html[data-studio="v2"] #directorCue .cue-dot {
  display: none;
}
html[data-studio="v2"] #directorCue .cue-text, html[data-studio="v2"] #directorCue .cue-text strong, html[data-studio="v2"] #directorCue .cue-text span {
  display: inline;
  font: inherit;
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: unset;
}
html[data-studio="v2"] #directorCue .cue-text {
  display: block;
  flex: 1 1 140px;
}
html[data-studio="v2"] #directorCue .cue-text span::before {
  content: " · ";
}
html[data-studio="v2"][data-light="reading"] #directorCue, html[data-studio="v2"][data-light="writing"] #directorCue, html[data-studio="v2"][data-light="drawing"] #directorCue, html[data-studio="v2"][data-light="checking"] #directorCue {
  display: none;
}
html[data-studio="v2"] #directorCue > button, html[data-studio="v2"] #latestWorkflowNext button {
  flex: 0 1 auto;
  max-width: 100%;
  font: inherit;
  color: var(--v2-muted);
  white-space: normal;
}
html[data-studio="v2"] #latestWorkflowNext .workflow-next-strip, html[data-studio="v2"] #latestWorkflowNext .primary-workbench-dock, html[data-studio="v2"] #latestWorkflowNext .primary-workbench-action, html[data-studio="v2"] #latestWorkflowNext .office-mode-strip, html[data-studio="v2"] #latestWorkflowNext .post-board-fork {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: normal;
}
html[data-studio="v2"] #latestWorkflowNext .workflow-next-strip > div, html[data-studio="v2"] #latestWorkflowNext .primary-workbench-action > div {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px;
}
html[data-studio="v2"] #latestWorkflowNext strong, html[data-studio="v2"] #latestWorkflowNext p, html[data-studio="v2"] #latestWorkflowNext .mini-status {
  margin: 0;
  color: inherit;
  font: inherit;
  white-space: normal;
}
html[data-studio="v2"] #latestWorkflowNext .primary-workbench-action:not(:has(button)), html[data-studio="v2"] .primary-workbench-related, html[data-studio="v2"] #latestWorkflowNext .mini-status {
  display: none;
}
html[data-studio="v2"] #latestLabel, html[data-studio="v2"] #fullStoryboardQuickButton {
  display: none;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) .v2-now-decisions, html[data-studio="v2"]:not([data-v2-stage="auto"]) .v2-now-label, html[data-studio="v2"]:not([data-v2-stage="auto"]) .v2-more, html[data-studio="v2"]:not([data-v2-stage="auto"]) .latest-meta, html[data-studio="v2"]:not([data-v2-stage="auto"]) #directorCue, html[data-studio="v2"]:not([data-v2-stage="auto"]) #latestWorkflowNext, html[data-studio="v2"]:not([data-v2-stage="auto"]) #needsReviewChip, html[data-studio="v2"]:not([data-v2-stage="auto"]) #downloadLatest {
  display: none;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) .latest-output {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-inline: 0;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) .latest-output::before, html[data-studio="v2"]:not([data-v2-stage="auto"]) .latest-output::after {
  opacity: 0;
}
html[data-studio="v2"]:not([data-v2-stage="auto"]) #stageTabs {
  margin-inline: 0;
}
html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-glow, html[data-studio="v2"]:not([data-v2-more]) .latest-output .orchestra-rail, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-chips, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-log, html[data-studio="v2"]:not([data-v2-more]) .latest-output .workbench-status-line {
  display: none;
}
/* Gallery and binder rows keep the original group and open handlers. */
html[data-studio="v2"] .v2-tabs-gallery {
  grid-area: body;
  min-width: 0;
}
html[data-studio="v2"][data-v2-stage="media"] .latest-output {
  grid-template-areas: "tabs tabs tabs tabs tabs" "label head-right head-right head-right head-right" "actions actions actions actions actions" "plan plan plan plan plan" "native native native native native" "recovery recovery recovery recovery recovery" "body body body body body" "meta meta meta meta meta" "cue cue cue cue cue" "next next next next next" "docs docs docs docs docs";
}
html[data-studio="v2"] #latestPreview[data-v2-curated] > .stage-group[data-v2-native-keep] {
  grid-area: native;
}
html[data-studio="v2"] #latestPreview[data-v2-curated] {
  display: contents;
  min-height: 0;
  padding: 0;
}
html[data-studio="v2"] #latestPreview[data-v2-curated] > .stage-group:not([data-v2-native-keep]), html[data-studio="v2"] #latestPreview[data-v2-curated] > .stage-gallery-empty {
  display: none;
}

html[data-studio="v2"] #latestPreview .stage-group-header, html[data-studio="v2"] .v2-tabs-gallery .stage-group-header {
  border-color: var(--v2-line);
  background: var(--v2-surface);
  color: var(--v2-ink);
}
html[data-studio="v2"] #latestPreview .stage-group-header strong, html[data-studio="v2"] .v2-tabs-gallery .stage-group-header strong {
  color: var(--v2-ink);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] #latestPreview .stage-group-count, html[data-studio="v2"] .v2-tabs-gallery .stage-group-count {
  color: var(--v2-muted);
  border-color: var(--v2-line-strong);
  font: 400 11px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #latestPreview .stage-group .stage-gallery, html[data-studio="v2"] #latestPreview .stage-group .stage-doclist, html[data-studio="v2"] .v2-tabs-gallery .stage-group .stage-gallery, html[data-studio="v2"] .v2-tabs-gallery .stage-group .stage-doclist {
  border-color: var(--v2-line);
  background: transparent;
}
html[data-studio="v2"][data-v2-stage="refs"] #latestPreview, html[data-studio="v2"][data-v2-stage="refs"] #latestPreview .reference-bench-toolbar, html[data-studio="v2"][data-v2-stage="refs"] #latestPreview .refs-continuity-hint, html[data-studio="v2"][data-v2-stage="refs"] #latestPreview .stage-group, html[data-studio="v2"][data-v2-stage="refs"] #latestPreview > .stage-gallery-empty, html[data-studio="v2"][data-v2-stage="refs"] #latestPreview > [data-open-reference-library] {
  display: none;
}
html[data-studio="v2"] .v2-stage-refs .reference-roster {
  border: 1px solid var(--v2-line);
  color: var(--v2-ink);
}
html[data-studio="v2"][data-v2-stage="media"] #latestPreview .stage-card, html[data-studio="v2"][data-v2-stage="media"] .v2-tabs-gallery .stage-card {
  border-color: var(--v2-line-strong);
  background: var(--v2-surface-2);
}
html[data-studio="v2"][data-v2-stage="media"] #latestPreview .stage-card-main, html[data-studio="v2"][data-v2-stage="media"] .v2-tabs-gallery .stage-card-main {
  background: var(--v2-surface-3);
}
html[data-studio="v2"][data-v2-stage="media"] #latestPreview [data-room-motion], html[data-studio="v2"][data-v2-stage="media"] .v2-tabs-gallery [data-room-motion] {
  border: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius);
  background: var(--v2-lacquer);
  color: var(--v2-ink);
}
html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--v2-line);
  border-radius: 0;
  padding: 12px 0;
  text-align: left;
}
html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row strong, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row strong {
  grid-column: 1;
  color: var(--v2-ink);
  font: 400 14px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row > span, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row > span {
  grid-column: 1 / -1;
  color: var(--v2-muted);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row .v2-doc-status, html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row .v2-doc-read-time, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row .v2-doc-status, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row .v2-doc-read-time {
  grid-column: 2;
  grid-row: 1;
  color: var(--v2-muted);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  white-space: nowrap;
}
html[data-studio="v2"][data-v2-stage="docs"] #latestPreview .stage-doc-row[data-v2-engine]::before, html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row[data-v2-engine]::before {
  content: attr(data-v2-engine);
  grid-column: 2;
  grid-row: 2;
  color: var(--v2-muted);
  font: 400 10px/1.4 "IBM Plex Mono", monospace;
}
html[data-studio="v2"][data-v2-stage="docs"] .v2-tabs-gallery .stage-doc-row[data-v2-read-time]::after {
  content: attr(data-v2-read-time);
  grid-column: 2;
  grid-row: 1;
  color: var(--v2-muted);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
  white-space: nowrap;
}
html[data-studio="v2"] .v2-docs-footer {
  grid-area: docs;
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid var(--v2-line);
  color: var(--v2-muted);
  font: 400 12px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  text-align: left;
}
html[data-studio="v2"] .v2-docs-footer button {
  color: var(--v2-brass-light);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html[data-studio="v2"]:not([data-v2-stage="docs"]) .v2-docs-footer {
  display: none;
}
/* Relabel only through attributes written by the base dispatcher. */
html[data-studio="v2"] .still-recovery-bar [data-v2-label] {
  font-size: 0;
}
html[data-studio="v2"] .still-recovery-bar [data-v2-label]::after {
  content: attr(data-v2-label);
  font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .still-recovery-bar {
  flex-direction: column;
  align-items: stretch;
  border-color: var(--v2-line-strong);
  background: var(--v2-lacquer);
  border-radius: var(--v2-radius);
}
html[data-studio="v2"] .still-recovery-actions {
  flex-direction: column;
  align-items: stretch;
}
html[data-studio="v2"] .still-recovery-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--v2-line-strong);
  background: var(--v2-surface-2);
  border-radius: var(--v2-radius-chip);
  padding: 10px 12px;
  color: var(--v2-ink);
  text-align: left;
}
html[data-studio="v2"] .still-recovery-actions button::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid var(--v2-brass);
  border-radius: 50%;
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .latest-output::before, html[data-studio="v2"] .latest-output::after, html[data-studio="v2"] .v2-now-label-current, html[data-studio="v2"] .v2-now-label-prev, html[data-studio="v2"] #latestPreview, html[data-studio="v2"] .v2-tabs-gallery, html[data-studio="v2"] .v2-now-body { transition-duration: .01s;
}
}

/* Sheet arrivals use the same development animation as newly landed frames. */
html[data-studio="v2"] .v2-now-reference-sheets img {
  animation: developFrame 3.2s cubic-bezier(0.3, 0, 0.2, 1) both;
}
html[data-studio="v2"] .v2-now-reference-sheets[data-paused="true"] img {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .v2-now-reference-sheets img { animation: none;
}
}
/* V2-S06-SEC02-RAIL insert above */
/* V2-S06-SEC02-RAIL END */

/* V2-GUARD-SEC02-SEC03 1 */
/* V2-GUARD-SEC02-SEC03 2 */
/* V2-GUARD-SEC02-SEC03 3 */
/* V2-GUARD-SEC02-SEC03 4 */

/* V2-S02-SEC03-THREAD BEGIN */
/* V2-S02-SEC03-THREAD insert below */

/* The local cutoff must not inherit into the conversation's descendants. */
@property --v2-composer-fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
/* Only the final visible saved-description status clears the composer fade. This card
   lives inside the decision host; hidden notices after it do not remove its clearance. */
html[data-studio="v2"] .chat-stage > #decisionComposer > #writtenReviewDock:not([hidden]) > .prompt-batch-status:not([hidden]):not(:has(~ :not([hidden]))) {
  margin-bottom: 24px;
}
/* The final saved-description choice keeps its creative control above the same fade. */
html[data-studio="v2"] .chat-stage > #decisionComposer > #writtenReviewDock:not([hidden]) > [data-saved-prompt-attention]:not([hidden]):not(:has(~ :not([hidden]))) {
  margin-bottom: 24px;
}
/* Only the final queued card needs clearance from the composer fade. */
html[data-studio="v2"] .chat-stage > #queuedComposer > .queued-command-card:last-child {
  margin-bottom: 24px;
}
@supports (mask-clip: no-clip) {
html[data-studio="v2"] .chat-stage.v2-composer-fade-ready > #directorCommandForm {
  background: transparent;
}
html[data-studio="v2"] .chat-stage.v2-composer-fade-ready > #directorCommandForm::before {
  display: none;
}
html[data-studio="v2"] .chat-stage > .v2-composer-fade {
  mask-image: linear-gradient(180deg, #000 calc(var(--v2-composer-fade-end) + 40px), transparent calc(var(--v2-composer-fade-end) + 64px));
  mask-size: 100% calc(100% + 128px);
  mask-position: 0 -64px;
  mask-repeat: repeat-x;
  mask-clip: no-clip;
  clip-path: inset(-64px -64px calc(100% - var(--v2-composer-fade-end)) -64px);
}
}

/* Conversation typography and arrivals are confined to the current skin. */
html[data-studio="v2"] #commandThread article {
  contain: layout paint;
}
html[data-studio="v2"] .command-message {
  grid-template-columns: max-content max-content minmax(0, 1fr);
  grid-template-areas: "title time .";
  column-gap: 6px;
  row-gap: 10px;
  max-width: 100%;
  animation: none;
}
html[data-studio="v2"] .command-message.v2-new {
  animation: v2messagein .42s ease-out both;
}
html[data-studio="v2"] .message-avatar, html[data-studio="v2"] .thinking-cue {
  display: none;
}
html[data-studio="v2"] .command-message > .message-copy {
  display: contents;
}
html[data-studio="v2"] .command-message > .message-copy > * {
  grid-column: 1 / -1;
  min-width: 0;
}
html[data-studio="v2"] .command-message > .message-copy > .message-title {
  grid-area: title;
}
html[data-studio="v2"] .message-title, html[data-studio="v2"] .command-message time {
  color: var(--v2-muted);
  font: 400 12px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] .message-title::after {
  content: "·";
}
html[data-studio="v2"] .message-title .mini-status {
  display: none;
}
html[data-studio="v2"] .command-message time {
  grid-area: time;
  padding: 0;
}
html[data-studio="v2"] .message-body {
  color: var(--v2-ink-body);
  font: 400 15px/1.55 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .message-body strong {
  color: inherit;
}
html[data-studio="v2"] .message-body [data-v2-lede] {
  margin-bottom: 16px;
  color: var(--v2-ink-title);
  font: 400 30px/1.15 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"][data-rail="reader"] .message-body [data-v2-lede] {
  font-size: 26px;
}
html[data-studio="v2"] .message-body .v2-aside {
  color: var(--v2-muted);
  font: 400 14px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .message-body .v2-aside-start {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--v2-line);
}
html[data-studio="v2"] .message-body .v2-aside-heading {
  display: none;
}
html[data-studio="v2"] .working-notes {
  color: var(--v2-muted);
  font: 400 13px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  border-color: var(--v2-line);
  background: transparent;
}
html[data-studio="v2"] .working-notes summary, html[data-studio="v2"] .working-notes-body {
  color: var(--v2-muted);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  border-color: var(--v2-line);
}
html[data-studio="v2"] .working-notes summary::before {
  color: var(--v2-gold);
}
html[data-studio="v2"] .activity-details, html[data-studio="v2"] .activity-details summary, html[data-studio="v2"] .activity-details li, html[data-studio="v2"] .activity-details li strong, html[data-studio="v2"] .activity-details li small {
  color: var(--v2-muted);
  font: 400 12px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  border-color: var(--v2-line);
  background: transparent;
}
html[data-studio="v2"] .activity-details li.completed {
  border-left-color: var(--v2-ok);
}
html[data-studio="v2"] .activity-details li.failed {
  border-left-color: var(--v2-rec);
}
html[data-studio="v2"] .activity-details li.working, html[data-studio="v2"] .activity-details li.running {
  border-left-color: var(--v2-silver);
}
html[data-studio="v2"] .activity-details summary::before {
  color: var(--v2-gold);
}
html[data-studio="v2"] .paper-trail, html[data-studio="v2"] .message-artifact-card, html[data-studio="v2"] .message-attachments .attachment-card {
  padding: 8px 12px;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  background: var(--v2-surface-2);
  color: var(--v2-ink);
  font: 400 13px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .paper-trail > summary {
  padding: 0;
  color: var(--v2-muted);
  font-size: 13px;
}
html[data-studio="v2"] .paper-trail .working-notes-body {
  margin-top: 8px;
  padding: 8px 0 0;
  font-size: 13px;
}
html[data-studio="v2"] .message-artifact-card:hover {
  border-color: var(--v2-gold);
  background: var(--v2-surface-3);
}
html[data-studio="v2"] .message-artifact-card .attachment-kind, html[data-studio="v2"] .message-attachments .attachment-kind {
  color: var(--v2-gold);
}
html[data-studio="v2"] .message-artifact-card b, html[data-studio="v2"] .message-artifact-card span strong, html[data-studio="v2"] .message-attachments .attachment-card strong {
  color: var(--v2-ink);
  font: 400 13px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] .message-artifact-card b {
  color: var(--v2-gold);
}
html[data-studio="v2"] .message-artifact-card span small, html[data-studio="v2"] .message-attachments .attachment-card > div:last-child span {
  color: var(--v2-muted);
  font: 400 12px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] .message-body a, html[data-studio="v2"] .message-artifact-newtab {
  color: var(--v2-link);
  text-decoration: none;
}
html[data-studio="v2"] .message-body a:hover, html[data-studio="v2"] .message-artifact-newtab:hover {
  text-decoration: underline;
}
html[data-studio="v2"] .command-message.from-user:not(.v2-answered) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: fit-content;
  max-width: 88%;
  margin-right: 0;
  margin-left: auto;
  gap: 0;
}
html[data-studio="v2"] .command-message.from-user:not(.v2-answered) > .message-copy {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--v2-surface-glass);
  font-size: 14px;
}
html[data-studio="v2"] .command-message.from-user:not(.v2-answered) .message-title {
  padding-right: 85px;
}
html[data-studio="v2"] .command-message.from-user:not(.v2-answered) time {
  position: absolute;
  top: 10px;
  right: 14px;
}
html[data-studio="v2"] .command-message.from-user .message-body {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}
html[data-studio="v2"] .command-message.is-activity .message-body {
  padding-left: 14px;
  position: relative;
  color: var(--v2-muted);
  font-size: 13px;
  font-style: normal;
}
html[data-studio="v2"] .command-message.v2-duplicate-hold {
  display: none;
}
html[data-studio="v2"] .command-message.is-activity .message-body::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-silver);
}
html[data-studio="v2"] .command-message.is-activity.status-completed .message-body::before {
  background: var(--v2-ok);
}
html[data-studio="v2"] .command-message.is-activity.status-failed .message-body::before {
  background: var(--v2-rec);
}
html[data-studio="v2"][data-light="reading"] .command-message.is-activity.status-working .message-body::before {
  background: var(--v2-dot-reading);
}
html[data-studio="v2"][data-light="drawing"] .command-message.is-activity.status-working .message-body::before {
  background: var(--v2-rec);
}
html[data-studio="v2"][data-light="checking"] .command-message.is-activity.status-working .message-body::before {
  background: var(--v2-silver);
}
html[data-studio="v2"]:not([data-v2-more]) #commandThread .is-activity.status-working, html[data-studio="v2"]:not([data-v2-more]) #commandThread .is-activity.status-running, html[data-studio="v2"]:not([data-v2-more]) #commandThread .is-activity.status-queued, html[data-studio="v2"]:not([data-v2-more]) #commandThread .is-activity.status-starting, html[data-studio="v2"]:not([data-v2-more]) .active-workbench .workbench-status-line {
  display: none;
}
html[data-studio="v2"] .v2-w {
  display: inline;
  opacity: 0;
  animation: v2wordin .42s ease-out forwards;
}
html[data-studio="v2"] .v2-w.v2-shown {
  opacity: 1;
  animation: none;
}
html[data-studio="v2"] .command-message.v2-whole-reply {
  animation: v2reveal 2.4s ease-out both;
}
html[data-studio="v2"] .v2-chips-pending .paper-trail, html[data-studio="v2"] .v2-chips-pending .message-artifact-card, html[data-studio="v2"] .paper-trail.v2-chips-pending, html[data-studio="v2"] .message-artifact-card.v2-chips-pending {
  opacity: 0;
  animation: v2chipin .6s ease-out forwards;
  animation-delay: var(--v2-chip-delay, .5s);
}
html[data-studio="v2"] .v2-status {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin: 14px auto 18px;
  color: var(--v2-ink-body);
  font: 400 13px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-status::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-silver);
}
html[data-studio="v2"] .v2-status[data-v2-quiet="true"] {
  margin: 0;
}
html[data-studio="v2"] .v2-status[data-v2-quiet="true"]::before {
  display: none;
}
html[data-studio="v2"] .v2-status[data-v2-state="reading"]::before, html[data-studio="v2"] .v2-status[data-state="reading"]::before {
  background: var(--v2-dot-reading);
  animation: v2pulse 2.4s ease-in-out infinite;
}
html[data-studio="v2"] .v2-status[data-v2-state="drawing"]::before, html[data-studio="v2"] .v2-status[data-state="drawing"]::before {
  background: var(--v2-rec);
}
html[data-studio="v2"] .v2-status[data-v2-state="checking"]::before, html[data-studio="v2"] .v2-status[data-state="checking"]::before {
  background: var(--v2-silver);
}
html[data-studio="v2"] .v2-status[data-v2-terminal="true"], html[data-studio="v2"] .v2-status[data-terminal="true"], html[data-studio="v2"] .v2-status.v2-receipt {
  color: var(--v2-muted);
}
html[data-studio="v2"] .v2-status[data-v2-terminal="true"]::before, html[data-studio="v2"] .v2-status[data-terminal="true"]::before, html[data-studio="v2"] .v2-status.v2-receipt::before {
  background: var(--v2-ok);
  animation: none;
}
html[data-studio="v2"] .v2-status.v2-failed::before, html[data-studio="v2"] .v2-status[data-v2-state="failed"]::before, html[data-studio="v2"] .v2-status[data-state="failed"]::before {
  background: var(--v2-rec);
}
html[data-studio="v2"] .v2-status[data-mark] {
  padding-left: 24px;
}
html[data-studio="v2"] .v2-status[data-mark]::before {
  display: none;
}
html[data-studio="v2"] .v2-status .v2-mark {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
html[data-studio="v2"] .v2-mark-edge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
html[data-studio="v2"] .v2-mark-edge > .v2-mark {
  width: 100%;
  height: 100%;
}
html[data-studio="v2"] .v2-status[hidden], html[data-studio="v2"] .v2-mark-edge[hidden] {
  display: none;
}
@keyframes v2messagein {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes v2wordin {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes v2reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes v2chipin {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .command-message.v2-new, html[data-studio="v2"] .v2-whole-reply, html[data-studio="v2"] .v2-w, html[data-studio="v2"] .v2-chips-pending .paper-trail, html[data-studio="v2"] .v2-chips-pending .message-artifact-card, html[data-studio="v2"] .paper-trail.v2-chips-pending, html[data-studio="v2"] .message-artifact-card.v2-chips-pending, html[data-studio="v2"] .v2-status::before { animation: none !important; transition: none !important; opacity: 1;
}
}

/* V2-S02-SEC03-THREAD insert above */
/* V2-S02-SEC03-THREAD END */

/* V2-GUARD-SEC03-SEC04 1 */
/* V2-GUARD-SEC03-SEC04 2 */
/* V2-GUARD-SEC03-SEC04 3 */
/* V2-GUARD-SEC03-SEC04 4 */

/* V2-S03-SEC04-DECISIONS BEGIN */
/* V2-S03-SEC04-DECISIONS insert below */

html[data-studio="v2"] #decisionComposer { display: flex; flex-direction: column;
}
html[data-studio="v2"] #decisionComposer > div { width: 100%;
}

/* The dock is the Studio decision surface; shared native room cards keep their own skin. */
html[data-studio="v2"] #decisionComposer .decision-card, html[data-studio="v2"] #decisionComposer .approval-card { position: relative; display: flex; flex-direction: column; width: 100%; max-width: none; max-height: none; margin: 8px 0 0; padding: 24px 26px 18px; border: 0; border-radius: 4px; background: var(--v2-lacquer); box-shadow: var(--v2-lacquer-inset), var(--v2-shadow); color: var(--v2-ink); overflow: visible;
}
html[data-studio="v2"] #decisionComposer .decision-card::before, html[data-studio="v2"] #decisionComposer .approval-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 1px; background: var(--v2-hairline); pointer-events: none;
}
html[data-studio="v2"] #decisionComposer .decision-card::after, html[data-studio="v2"] #decisionComposer .approval-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 26px rgba(244,205,126,.16); pointer-events: none; animation: v2brass 6s ease-in-out infinite;
}
html[data-studio="v2"] #decisionComposer .decision-main { padding: 0; overflow: visible;
}
html[data-studio="v2"] #decisionComposer .decision-topline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; color: var(--v2-label); font: 400 12px/1.4 "Instrument Sans", "Segoe UI", sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
html[data-studio="v2"] #decisionComposer .decision-type, html[data-studio="v2"] #decisionComposer .decision-scope { position: absolute; font-size: 0; letter-spacing: 0; line-height: 0; width: 0; margin: 0; gap: 0;
}
html[data-studio="v2"] #decisionComposer .decision-type::before { display: none;
}
html[data-studio="v2"] #decisionComposer .v2-label { font-size: 12px; font-weight: 400;
}
html[data-studio="v2"] #decisionComposer .v2-label-right { margin-left: auto; text-align: right;
}
html[data-studio="v2"] #decisionComposer .decision-title, html[data-studio="v2"] #decisionComposer h3[data-question-focus], html[data-studio="v2"] #decisionComposer .open-ask-headline { margin: 10px 0 18px; color: var(--v2-ink-question); font: italic 400 28px/1.2 "Instrument Serif", Georgia, serif; letter-spacing: 0;
}
html[data-studio="v2"] #decisionComposer .question-header, html[data-studio="v2"] #decisionComposer .decision-chat { display: none;
}
html[data-studio="v2"] #decisionComposer .question-options { display: flex; flex-direction: column; gap: 0; margin: 0 0 12px;
}
html[data-studio="v2"] #decisionComposer .question-option { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 0; width: 100%; min-height: 48px; padding: 14px 10px; border: 0; border-top: 1px solid var(--v2-line-row); border-radius: 0; background: transparent; color: var(--v2-ink); text-align: left; font: 500 15px/1.45 "Instrument Sans", "Segoe UI", sans-serif; transition: transform .18s ease-out;
}
html[data-studio="v2"] #decisionComposer .question-option:last-child { border-bottom: 1px solid var(--v2-line);
}
html[data-studio="v2"] #decisionComposer .question-option:hover { background: var(--v2-surface-2);
}
html[data-studio="v2"] #decisionComposer .question-choice-mark { width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--v2-brass); border-radius: 50%; background: transparent; font-size: 0;
}
html[data-studio="v2"] #decisionComposer .question-option > .v2-option-text:empty { display: none;
}
html[data-studio="v2"] #decisionComposer [data-v2-autosubmit] .v2-key { display: none;
}
html[data-studio="v2"] #decisionComposer .v2-option-text { min-width: 0; overflow-wrap: anywhere;
}
html[data-studio="v2"] #decisionComposer .v2-consequence { color: var(--v2-muted); font-size: 15px; font-weight: 400;
}
html[data-studio="v2"] .v2-key { margin-left: 12px; border: 0; padding: 0; background: transparent; color: var(--v2-dim); font: 400 12px/1.3 "Instrument Sans", "Segoe UI", sans-serif; white-space: nowrap;
}
html[data-studio="v2"] #decisionComposer .question-option.is-selected { border-color: var(--v2-line-row); border-radius: 6px; background: var(--v2-picked); transform: translateY(-1px);
}
html[data-studio="v2"] #decisionComposer .question-option.is-selected .question-choice-mark { border-color: var(--v2-brass-light); background: radial-gradient(circle, #f4cd7e 0 5px, transparent 6px);
}
html[data-studio="v2"] #decisionComposer .question-option.is-selected .v2-key { color: var(--v2-brass-light);
}
html[data-studio="v2"] #decisionComposer .decision-footer { gap: 8px 14px; padding: 14px 0 0; border-top: 0; color: var(--v2-muted); font-size: 14px;
}
html[data-studio="v2"] #decisionComposer .decision-footer .question-button, html[data-studio="v2"] #decisionComposer .decision-footer .text-button, html[data-studio="v2"] #decisionComposer .question-custom-toggle { border: 0; background: transparent; color: var(--v2-ink); font: 400 14px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionComposer [data-question-action="later"], html[data-studio="v2"] #decisionComposer [data-question-action="back"] { color: var(--v2-muted);
}
html[data-studio="v2"] #decisionComposer [data-question-action="next"], html[data-studio="v2"] #decisionComposer [data-question-action="submit"] { color: var(--v2-brass-light);
}
html[data-studio="v2"] #decisionComposer .question-brief-link { color: var(--v2-link); font: 400 13px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionComposer .v2-custom .question-options, html[data-studio="v2"] #decisionComposer .decision-card:has([data-question-custom]) .question-options { flex-direction: row; flex-wrap: wrap; gap: 7px;
}
html[data-studio="v2"] #decisionComposer .v2-custom .question-option, html[data-studio="v2"] #decisionComposer .decision-card:has([data-question-custom]) .question-option { display: inline-flex; width: auto; min-height: 30px; border: 1px solid var(--v2-line-strong); border-radius: 999px; padding: 6px 12px; color: var(--v2-muted); font-size: 13px;
}
html[data-studio="v2"] #decisionComposer .v2-custom .question-choice-mark, html[data-studio="v2"] #decisionComposer .v2-custom .v2-key, html[data-studio="v2"] #decisionComposer .decision-card:has([data-question-custom]) .question-choice-mark, html[data-studio="v2"] #decisionComposer .decision-card:has([data-question-custom]) .v2-key { display: none;
}
html[data-studio="v2"] #decisionComposer .question-custom { min-height: 72px; padding: 12px 14px; border: 1px solid var(--v2-line-strong); border-radius: 10px; background: var(--v2-bg); color: var(--v2-ink); font: 400 14px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionComposer .question-custom-label { color: var(--v2-label); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
}
html[data-studio="v2"] #decisionComposer .v2-custom [data-question-action="next"], html[data-studio="v2"] #decisionComposer .decision-card:has([data-question-custom]) [data-question-action="next"] { min-height: 34px; border: 0; border-radius: 8px; background: var(--v2-send); color: var(--v2-ink-paper);
}
html[data-studio="v2"] .v2-answered, html[data-studio="v2"] .v2-answer-row { display: grid; grid-template-columns: 16px 1fr auto auto; align-items: baseline; gap: 10px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--v2-line); background: transparent; color: var(--v2-muted); font: 400 14px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-answered:has(> .v2-answer-row) { display: block; padding: 0; border-bottom: 0; border-radius: 0; background: transparent; box-shadow: none; animation: none;
}
html[data-studio="v2"] .v2-answered > .message-avatar, html[data-studio="v2"] .v2-answered > .message-copy, html[data-studio="v2"] .v2-answered > time { display: none;
}
html[data-studio="v2"] .v2-answer-row:hover, html[data-studio="v2"] .v2-answered:hover { background: var(--v2-surface);
}
html[data-studio="v2"] .v2-answer-check { width: 16px; height: 16px; color: var(--v2-ok); fill: none; stroke: currentColor; stroke-width: 2;
}
html[data-studio="v2"] .v2-answer-question { color: var(--v2-ink); font-weight: 400;
}
html[data-studio="v2"] .v2-answer-value { color: var(--v2-muted); font-weight: 400;
}
html[data-studio="v2"] .v2-answer-time { color: var(--v2-muted); font-size: 12px; white-space: nowrap;
}
html[data-studio="v2"] .v2-change { border: 0; padding: 2px 0; background: transparent; color: var(--v2-label); font: 400 11px/1.4 "Instrument Sans", "Segoe UI", sans-serif; letter-spacing: .14em; cursor: pointer;
}
html[data-studio="v2"] .v2-change-tray { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: var(--v2-muted); font: 400 13px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-change-tray button { border: 1px solid var(--v2-line-strong); border-radius: var(--v2-radius-chip); padding: 5px 9px; background: var(--v2-surface-2); color: var(--v2-ink); font: inherit;
}
html[data-studio="v2"] #decisionComposer .v2-deferred { padding: 0; border-radius: 0; background: transparent; box-shadow: none;
}
html[data-studio="v2"] #decisionComposer .v2-deferred > .decision-main, html[data-studio="v2"] #decisionComposer .v2-deferred > .decision-footer, html[data-studio="v2"] #decisionComposer .v2-deferred::before, html[data-studio="v2"] #decisionComposer .v2-deferred::after { display: none;
}
html[data-studio="v2"] .v2-sheet, html[data-studio="v2"] #decisionComposer .v2-sheet { padding: 16px 18px 12px; border: 0; border-radius: var(--v2-radius-paper-b); background: var(--v2-paper); color: var(--v2-ink-paper); box-shadow: var(--v2-shadow-sheet); font-family: "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionComposer .v2-sheet::before, html[data-studio="v2"] #decisionComposer .v2-sheet::after { display: none;
}
html[data-studio="v2"] .v2-sheet.v2-signed-record, html[data-studio="v2"] #decisionComposer .v2-sheet.v2-signed-record { background: var(--v2-paper-signed); box-shadow: var(--v2-shadow);
}
html[data-studio="v2"] #decisionComposer .v2-sheet .decision-topline { display: none;
}
html[data-studio="v2"] .v2-sheet-header { color: var(--v2-ink-paper-muted); font: 400 11px/1.45 "Courier Prime", "Courier New", monospace; letter-spacing: 0;
}
html[data-studio="v2"] .v2-sheet-header > span { display: block;
}
html[data-studio="v2"] .v2-sheet-rule { margin: 8px 0 10px; border: 0; border-top: 2px solid var(--v2-ink-paper);
}
html[data-studio="v2"] .v2-sheet-title, html[data-studio="v2"] #decisionComposer .v2-sheet .decision-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 8px 0 10px; color: var(--v2-ink-paper); font: 700 13px/1.45 "Courier Prime", "Courier New", monospace; letter-spacing: 0;
}
html[data-studio="v2"] .v2-sheet-title small { color: var(--v2-ink-paper-muted); font-size: 12px; font-weight: 400;
}
html[data-studio="v2"] .v2-sheet .written-review-summary, html[data-studio="v2"] .v2-sheet .written-review-status, html[data-studio="v2"] .v2-sheet p { color: var(--v2-ink-paper); font-size: 14px; line-height: 1.45;
}
html[data-studio="v2"] .v2-sheet [data-written-note], html[data-studio="v2"] .v2-sheet [data-review-queue-note], html[data-studio="v2"] #decisionComposer .v2-sheet .question-custom { border: 1px solid var(--v2-paper-rule-row); border-radius: 4px; background: rgba(26,22,18,.04); color: var(--v2-ink-paper);
}
html[data-studio="v2"] .v2-sheet [data-written-action], html[data-studio="v2"] .v2-sheet [data-review-queue-action], html[data-studio="v2"] .v2-sheet [data-written-history], html[data-studio="v2"] .v2-sheet [data-written-select], html[data-studio="v2"] .v2-sheet [data-review-queue-select], html[data-studio="v2"] .v2-sheet [data-review-queue-continuation], html[data-studio="v2"] .v2-sheet [data-review-queue-dismiss], html[data-studio="v2"] .v2-sheet [data-compact-review-read], html[data-studio="v2"] #decisionComposer .v2-sheet .question-brief-link { color: var(--v2-ink-paper-muted); font: 400 12px/1.45 "Courier Prime", "Courier New", monospace; letter-spacing: 0;
}
html[data-studio="v2"] #decisionComposer .v2-sheet .decision-footer [data-written-action="approve"], html[data-studio="v2"] #decisionComposer .v2-sheet .decision-footer [data-review-queue-action="approve"] { flex: 1; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--v2-ink-paper); color: var(--v2-paper); font: 500 14px/1.4 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionComposer .v2-sheet [data-written-action="edit"], html[data-studio="v2"] #decisionComposer .v2-sheet [data-written-action="changes"], html[data-studio="v2"] #decisionComposer .v2-sheet [data-written-action="back"], html[data-studio="v2"] #decisionComposer .v2-sheet [data-review-queue-action="changes"], html[data-studio="v2"] #decisionComposer .v2-sheet [data-review-queue-action="submit-changes"], html[data-studio="v2"] #decisionComposer .v2-sheet [data-review-queue-action="cancel-changes"] { border: 1px solid var(--v2-ink-paper); border-radius: 6px; background: transparent; color: var(--v2-ink-paper);
}
html[data-studio="v2"] #decisionComposer .v2-sheet .decision-footer .question-button.review-queue-quiet { color: var(--v2-ink-paper-muted);
}
html[data-studio="v2"] #decisionComposer .v2-sheet .decision-footer .question-button:not(.review-queue-quiet):not([data-review-queue-action="approve"]):not([data-written-action="approve"]) { border: 1px solid var(--v2-ink-paper); border-radius: 6px; color: var(--v2-ink-paper);
}
html[data-studio="v2"] .v2-sheet-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--v2-paper-rule-footer); color: var(--v2-ink-paper-muted); font: 400 11px/1.45 "Courier Prime", "Courier New", monospace; letter-spacing: 0;
}
html[data-studio="v2"] .v2-signature { display: block; color: var(--v2-ink-paper); font: italic 400 22px/1.25 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] .v2-sheet-history, html[data-studio="v2"] .v2-sheet .written-review-history > div { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--v2-paper-rule-row); color: var(--v2-ink-paper); font: 400 15px/1.5 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .written-review-history.v2-sheet:not([open]) { padding: 6px 0; border-radius: 0; background: transparent; box-shadow: none;
}
html[data-studio="v2"] .written-review-history.v2-sheet > summary { color: var(--v2-muted); font: 400 12px/1.45 "Courier Prime", "Courier New", monospace; cursor: pointer;
}
html[data-studio="v2"] .written-review-history.v2-sheet[open] > summary { color: var(--v2-ink-paper-muted);
}
html[data-studio="v2"] .v2-sheet-history svg { width: 24px; height: 24px; fill: none; stroke: var(--v2-brass); stroke-width: 3;
}
html[data-studio="v2"] .v2-history-open { width: 16px; height: 16px; border: 1.5px solid var(--v2-ink-paper); border-radius: 2px; color: var(--v2-ink-paper-muted);
}
html[data-studio="v2"] .v2-sheet .script-check-status { border-color: var(--v2-paper-rule-row); color: var(--v2-ink-paper-muted); font: 400 12px/1.45 "Courier Prime", "Courier New", monospace; letter-spacing: 0;
}
html[data-studio="v2"] #decisionComposer .v2-deferred.v2-sheet { padding: 0; border-radius: 0; background: transparent; box-shadow: none;
}
html[data-studio="v2"] #decisionComposer .v2-deferred > .v2-sheet-header, html[data-studio="v2"] #decisionComposer .v2-deferred > .v2-sheet-footer { display: none;
}
html[data-studio="v2"] #decisionNavigator { order: 1; margin-top: 10px;
}
html[data-studio="v2"] #decisionNavigator .decision-switcher { margin: 0 0 10px; color: var(--v2-muted); font: 400 12px/1.45 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] #decisionNavigator .decision-switcher summary { padding: 8px 2px;
}
html[data-studio="v2"] #decisionNavigator .decision-switcher summary > span:last-child { color: var(--v2-muted); font-size: 12px;
}
html[data-studio="v2"] #decisionNavigator .decision-choices { position: static; margin-top: 8px; padding: 8px; border: 1px solid var(--v2-line-strong); border-radius: 4px; background: var(--v2-lacquer); box-shadow: none;
}
html[data-studio="v2"] #decisionNavigator .decision-choices > button { color: var(--v2-ink);
}
html[data-studio="v2"] #decisionNavigator .decision-choices > button[aria-current="true"] { border-color: var(--v2-brass); background: var(--v2-picked);
}
html[data-studio="v2"] #decisionNavigator .decision-choices > button:hover { background: var(--v2-surface-2);
}
html[data-studio="v2"] #decisionNavigator .decision-choices small { color: var(--v2-muted);
}
html[data-studio="v2"] .v2-paperwork-exit { box-sizing: border-box; width: 100%; max-width: var(--v2-chat-max); margin: 8px auto; padding: 2px 26px; color: var(--v2-muted); font: 400 12px/1.45 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-paperwork-exit button { border: 0; padding: 2px 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
html[data-studio="v2"] .v2-now-decisions { display: grid; grid-column: 1 / -1; gap: 2px; margin: 6px 0;
}
html[data-studio="v2"] .v2-now-decisions button { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; width: 100%; border: 0; border-radius: 6px; padding: 10px 6px; background: transparent; color: var(--v2-ink); text-align: left; font: 400 14px/1.45 "Instrument Sans", "Segoe UI", sans-serif; cursor: pointer;
}
html[data-studio="v2"] .v2-now-decisions button::before { content: ""; width: 14px; height: 14px; margin-top: 3px; border: 1.5px solid var(--v2-line-strong); border-radius: 50%;
}
html[data-studio="v2"] .v2-now-decisions button[aria-current="true"]::before { border-color: var(--v2-brass); background: radial-gradient(circle, #f4cd7e 0 3px, transparent 4px);
}
html[data-studio="v2"] .v2-now-decisions button:hover { background: var(--v2-surface-2);
}
html[data-studio="v2"] .v2-now-decisions strong { display: block; font-size: 14px; font-weight: 500;
}
html[data-studio="v2"] .v2-now-decisions small { display: block; margin-top: 2px; color: var(--v2-muted); font-size: 12px;
}
html[data-studio="v2"] #decisionComposer.v2-held { opacity: 0; pointer-events: none;
}
html[data-studio="v2"] #decisionComposer.v2-revealing { animation: v2decisionin 2.4s ease-out both;
}
@keyframes v2decisionin {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes v2brass {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
@media (max-width: 760px) {
html[data-studio="v2"] #decisionComposer .decision-card, html[data-studio="v2"] #decisionComposer .approval-card { padding: 24px 26px 18px;
}
html[data-studio="v2"] .v2-answer-row { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px;
}
html[data-studio="v2"] .v2-answer-time { grid-column: 2; grid-row: 2;
}
html[data-studio="v2"] .v2-change { grid-column: 3; grid-row: 1;
}
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] #decisionComposer.v2-revealing { animation-duration: .01s;
}
html[data-studio="v2"] #decisionComposer .decision-card::after, html[data-studio="v2"] #decisionComposer .approval-card::after { animation: none; opacity: .5;
}
html[data-studio="v2"] #decisionComposer .question-option { transition-duration: .01s;
}
}


html[data-studio="v2"] .v2-now-decisions button[data-v2-newest] strong { color: var(--v2-brass-light); text-decoration: underline; text-decoration-color: var(--v2-brass); text-underline-offset: 4px;
}
html[data-studio="v2"] .v2-signed-record { box-shadow: var(--v2-shadow);
}
html[data-studio="v2"] .v2-history-check { color: var(--v2-brass); font-size: 24px;
}
html[data-studio="v2"] .v2-history-signature { grid-column: 2; font: 400 12px/1.4 "Courier Prime", "Courier New", monospace;
}

/* Source sheets retain their individual proportions in the decision preview. */
html[data-studio="v2"] #decisionComposer .reference-ask-images {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px;
}
html[data-studio="v2"] #decisionComposer .reference-ask-images > button {
  flex: 1 1 0; min-width: 0; max-width: 96px; padding: 0; border: 0; background: transparent;
}
html[data-studio="v2"] #decisionComposer .reference-ask-images img {
  display: block; width: 100%; height: auto; border-radius: 4px;
}
/* V2-S03-SEC04-DECISIONS insert above */
/* V2-S03-SEC04-DECISIONS END */

/* V2-GUARD-SEC04-SEC05 1 */
/* V2-GUARD-SEC04-SEC05 2 */
/* V2-GUARD-SEC04-SEC05 3 */
/* V2-GUARD-SEC04-SEC05 4 */

/* V2-S04-SEC05-LIGHT BEGIN */
/* V2-S04-SEC05-LIGHT insert below */

/* The room rig stays mounted; state wrappers cross-fade their light. */
html[data-studio="v2"] .workspace {
  position: relative;
}
html[data-studio="v2"] .chat-stage, html[data-studio="v2"] .v2-strip {
  position: relative;
  z-index: 1;
}
html[data-studio="v2"] .v2-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  contain: paint;
  overflow: hidden;
  opacity: 1;
  transition: opacity 3s ease-in-out;
}
html[data-studio="v2"] .v2-light * {
  pointer-events: none;
  will-change: transform, opacity;
}
html[data-studio="v2"] .v2-rig-scale {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 820px;
  transform-origin: 0 0;
}
html[data-studio="v2"] .v2-light-base, html[data-studio="v2"] .v2-vignette, html[data-studio="v2"] .v2-sunlevel, html[data-studio="v2"] .v2-sunfade, html[data-studio="v2"] .v2-sway, html[data-studio="v2"] .v2-light-writing, html[data-studio="v2"] .v2-light-waiting, html[data-studio="v2"] .v2-light-drawing, html[data-studio="v2"] .v2-light-checking, html[data-studio="v2"] .v2-light-house, html[data-studio="v2"] .v2-light-motes {
  position: absolute;
  inset: 0;
}
html[data-studio="v2"] .v2-light-base {
  background: var(--v2-bg-reading);
}
html[data-studio="v2"] .v2-light-base::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v2-bg);
  opacity: 0;
  transition: opacity var(--v2-light-ms, 3000ms) var(--v2-light-curve, ease-in-out);
}
html[data-studio="v2"][data-light="drawing"] .v2-light-base::after, html[data-studio="v2"][data-light="checking"] .v2-light-base::after {
  opacity: 1;
}
html[data-studio="v2"] .v2-vignette {
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%);
}
html[data-studio="v2"] .v2-sunlevel {
  opacity: 1;
  transition: opacity var(--v2-light-ms, 3000ms) var(--v2-light-curve, ease-in-out);
}
html[data-studio="v2"][data-light="writing"] .v2-sunlevel {
  opacity: .32;
}
html[data-studio="v2"][data-light="drawing"] .v2-sunlevel, html[data-studio="v2"][data-light="checking"] .v2-sunlevel {
  opacity: 0;
}
html[data-studio="v2"] .v2-sunfade {
  animation: v2sunfade 120s ease-in-out infinite;
}
html[data-studio="v2"] .v2-sway {
  transform-origin: 20% 0;
  animation: v2sway 91s ease-in-out infinite alternate;
}
html[data-studio="v2"] .v2-light-beam {
  position: absolute;
  left: 120px;
  top: -60px;
  width: 600px;
  height: 720px;
  transform-origin: 0 0;
  background: linear-gradient(104deg, rgba(255,218,160,.26) 0%, rgba(255,214,150,.14) 36%, rgba(255,210,140,.04) 64%, transparent 80%);
  filter: blur(30px);
  animation: v2sundrift 58s ease-in-out infinite alternate, v2clouds 13s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-slat-mask {
  position: absolute;
  left: 120px;
  top: -60px;
  width: 600px;
  height: 720px;
  transform-origin: 0 0;
  mask-image: linear-gradient(104deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 78%);
  animation: v2sundrift 58s ease-in-out infinite alternate, v2clouds 13s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-slats {
  position: absolute;
  left: 0;
  top: 0;
  width: 740px;
  height: 720px;
  background: repeating-linear-gradient(90deg, rgba(10,9,8,0) 0 118px, var(--v2-slat) 118px 140px);
  filter: blur(11px);
  animation: v2slats 46s ease-in-out infinite alternate;
}
html[data-studio="v2"] .v2-light-endglow {
  position: absolute;
  left: 140px;
  top: 470px;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,214,150,.08), rgba(255,214,150,.03) 50%, transparent 72%);
  filter: blur(48px);
  animation: v2endglow 47s ease-in-out infinite alternate, v2clouds 13s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-beam2 {
  position: absolute;
  left: 330px;
  top: -80px;
  width: 320px;
  height: 680px;
  transform-origin: 0 0;
  background: linear-gradient(100deg, rgba(255,222,170,.16) 0%, rgba(255,214,150,.07) 40%, transparent 72%);
  filter: blur(34px);
  animation: v2sundrift2 73s ease-in-out infinite alternate, v2clouds2 29s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-cloud {
  position: absolute;
  left: 20px;
  top: -20px;
  width: 520px;
  height: 560px;
  border-radius: 50%;
  background: var(--v2-cloud);
  filter: blur(80px);
  animation: v2cloudpass 120s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-spill {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--v2-light-rail-width, 440px);
  height: 100%;
  background: linear-gradient(270deg, rgba(146,184,216,.05), transparent 70%);
}
html[data-studio="v2"] .v2-light-skyfill {
  position: absolute;
  left: 60px;
  top: -40px;
  width: 700px;
  height: 760px;
  background: linear-gradient(104deg, rgba(170,196,224,.10) 0%, rgba(170,196,224,.05) 45%, transparent 78%);
  filter: blur(40px);
  animation: v2skyfill 120s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .06;
  mix-blend-mode: overlay;
}
html[data-studio="v2"] .v2-light-writing, html[data-studio="v2"] .v2-light-waiting, html[data-studio="v2"] .v2-light-drawing, html[data-studio="v2"] .v2-light-checking, html[data-studio="v2"] .v2-light-house {
  opacity: 0;
  transition: opacity var(--v2-light-ms, 3000ms) var(--v2-light-curve, ease-in-out);
}
html[data-studio="v2"][data-light="writing"] .v2-light-writing, html[data-studio="v2"][data-light="drawing"] .v2-light-drawing, html[data-studio="v2"][data-light="checking"] .v2-light-checking {
  opacity: 1;
}
html[data-studio="v2"] .v2-light[data-light-hold="writing"] .v2-sunlevel {
  opacity: .32;
}
html[data-studio="v2"] .v2-light[data-light-hold="writing"] .v2-light-writing {
  opacity: 1;
}
html[data-studio="v2"] .v2-light-lamp {
  position: absolute;
  left: -560px;
  top: -560px;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--v2-lamp-wash) 0%, rgba(255,200,130,.04) 30%, transparent 50%);
  animation: v2lamp 7s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-reply {
  position: absolute;
  left: 0;
  top: 0;
  width: 810px;
  height: 600px;
  transform-origin: 0 0;
  will-change: transform, opacity;
  border-radius: 80px;
  background: radial-gradient(ellipse at 38% 45%, var(--v2-reply-glow), rgba(255,200,130,.08) 50%, rgba(255,200,130,.02) 72%, transparent 85%);
  filter: blur(34px);
  opacity: 0;
  transition: transform .6s ease-out, opacity 3s ease-in-out;
}
html[data-studio="v2"] .v2-light-reply[data-visible="true"] {
  opacity: 1;
  transition: transform .6s ease-out, opacity .6s ease-out;
}
html[data-studio="v2"] .v2-light-reply[data-returning="true"] {
  opacity: 0;
  transition: transform .6s ease-out, opacity 3s ease-in-out;
}
html[data-studio="v2"][data-light="waiting"] .v2-light[data-waiting-hush="true"] .v2-light-waiting {
  opacity: 1;
}
html[data-studio="v2"] .v2-light-hush {
  position: absolute;
  inset: 0;
  background: var(--v2-hush);
}
html[data-studio="v2"] .v2-light-spot-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 760px;
  height: 480px;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}
html[data-studio="v2"][data-light="waiting"] .v2-light[data-waiting-hush="true"] .v2-light-spot-track {
  opacity: 1;
}
html[data-studio="v2"] .v2-light-spot {
  position: absolute;
  inset: 0;
  transform-origin: 42% 45%;
  background: radial-gradient(ellipse at 42% 45%, var(--v2-spot-core), var(--v2-spot-edge) 40%, transparent 66%);
  filter: blur(30px);
  animation: v2spot 8s ease-in-out infinite;
}
html[data-studio="v2"] .v2-glow {
  position: relative;
}
html[data-studio="v2"] .v2-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 28px rgba(244,205,126,.18);
  opacity: 0;
  animation: v2brass 6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-house {
  background: linear-gradient(180deg, var(--v2-house), rgba(255,214,150,.06) 50%, rgba(255,214,150,.10));
  transition: opacity 3s ease-in-out;
}
html[data-studio="v2"] .v2-light[data-house="up"] .v2-light-house, html[data-studio="v2"] .v2-light[data-house="hold"] .v2-light-house {
  opacity: 1;
}
html[data-studio="v2"][data-light] .v2-light[data-house="up"] .v2-light-waiting, html[data-studio="v2"][data-light] .v2-light[data-house="hold"] .v2-light-waiting, html[data-studio="v2"][data-light] .v2-light[data-house="down"] .v2-light-waiting, html[data-studio="v2"][data-light] .v2-light[data-house="up"] .v2-light-spot-track, html[data-studio="v2"][data-light] .v2-light[data-house="hold"] .v2-light-spot-track, html[data-studio="v2"][data-light] .v2-light[data-house="down"] .v2-light-spot-track {
  opacity: 0;
}
html[data-studio="v2"] .v2-light-drop, html[data-studio="v2"] .v2-light-cooldrop {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--v2-light-column-width, 840px);
  height: 100%;
  background: #000;
}
html[data-studio="v2"] .v2-light-drop {
  opacity: .38;
  animation: v2drop 13s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-bulb {
  position: absolute;
  left: 380px;
  top: -160px;
  width: 760px;
  height: 760px;
  animation: v2bulb 7s linear infinite;
}
html[data-studio="v2"] .v2-light-safelight {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255,75,60,.30), rgba(255,75,60,.10) 40%, rgba(255,60,50,.03) 62%, transparent 74%);
  filter: blur(30px);
  animation: v2safelight 17s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-pool {
  position: absolute;
  left: 300px;
  top: 260px;
  width: 520px;
  height: 620px;
  border-radius: 50%;
  background: rgba(255,75,60,.08);
  filter: blur(50px);
  animation: v2safelight 17s ease-in-out 4s infinite;
}
html[data-studio="v2"] .v2-light-cooldrop {
  opacity: .36;
  animation: v2cooldrop 11s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-coolwash {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--v2-light-rail-width, 440px);
  height: 100%;
  background: linear-gradient(180deg, rgba(146,184,216,.05), transparent 60%);
}
html[data-studio="v2"] .v2-light-mote {
  position: absolute;
  left: 220px;
  top: 360px;
  width: 3px;
  height: 3px;
  opacity: 0;
  animation: v2moteA 24s linear infinite;
}
html[data-studio="v2"] .v2-light-mote > i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--v2-warm-mote);
}
html[data-studio="v2"] .v2-light-mote:nth-child(2) {
  left: 370px;
  top: 530px;
  width: 2px;
  height: 2px;
  animation: v2moteB 23s linear 6s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(3) {
  left: 480px;
  top: 300px;
  width: 4px;
  height: 4px;
  animation: v2moteC 28s linear 11s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(4) {
  left: 310px;
  top: 640px;
  width: 2px;
  height: 2px;
  animation: v2moteD 19s linear 3s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(5) {
  left: 550px;
  top: 480px;
  animation: v2moteA 30s linear 14s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(6) {
  left: 160px;
  top: 460px;
  animation: v2moteB 21s linear 8s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(7) {
  left: 420px;
  top: 700px;
  width: 5px;
  height: 5px;
  animation: v2moteC 31s linear 5s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(8) {
  left: 620px;
  top: 390px;
  animation: v2moteD 26s linear 16s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(9) {
  left: 270px;
  top: 270px;
  animation: v2moteA 19s linear 1s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(10) {
  left: 510px;
  top: 600px;
  width: 6px;
  height: 6px;
  filter: blur(2.6px);
  animation: v2moteB 22s linear 10s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(11) {
  left: 340px;
  top: 420px;
  animation: v2moteC 24s linear 4s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(12) {
  left: 680px;
  top: 660px;
  animation: v2moteD 17s linear 13s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(13) {
  left: 190px;
  top: 580px;
  animation: v2moteA 27s linear 7s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(14) {
  left: 580px;
  top: 240px;
  animation: v2moteB 20s linear 15s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(15) {
  left: 390px;
  top: 350px;
  width: 4px;
  height: 4px;
  filter: blur(.6px);
  animation: v2moteC 29s linear 2s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(16) {
  left: 710px;
  top: 530px;
  animation: v2moteD 23s linear 12s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(17) {
  left: 240px;
  top: 720px;
  width: 5px;
  height: 5px;
  animation: v2moteA 25s linear 9s infinite;
}
html[data-studio="v2"] .v2-light-mote:nth-child(18) {
  left: 460px;
  top: 180px;
  animation: v2moteC 26s linear 16s infinite;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(1) > i {
  animation: v2twinkle 3.4s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(4) > i {
  animation: v2twinkle 4.1s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(8) > i {
  animation: v2twinkle 5s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(12) > i {
  animation: v2twinkle 6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(6) > i {
  animation: v2drift 34s linear infinite alternate;
}
html[data-studio="v2"] .v2-light-reading-motes .v2-light-mote:nth-child(14) > i {
  animation: v2drift 41s linear infinite alternate;
}
html[data-studio="v2"] .v2-light-writing-motes .v2-light-mote > i {
  background: #ffd9a8;
}
html[data-studio="v2"] .v2-light-writing-motes .v2-light-mote:nth-child(1) {
  animation: v2moteAw 21s linear infinite;
}
html[data-studio="v2"] .v2-light-writing-motes .v2-light-mote:nth-child(2) {
  animation: v2moteBw 25s linear 6s infinite;
}
html[data-studio="v2"] .v2-light-writing-motes .v2-light-mote:nth-child(3) {
  animation: v2moteAw 27s linear 11s infinite;
}
html[data-studio="v2"] .v2-light-red-motes .v2-light-mote > i {
  background: var(--v2-red-mote);
}
html[data-studio="v2"] .v2-light-cool-motes .v2-light-mote > i {
  background: var(--v2-silver-light);
}
@media (prefers-reduced-motion: no-preference) {
html[data-studio="v2"][data-v2-doors="down"] .v2-light { opacity: .12;
}
}
html[data-studio="v2"][data-v2-doors="down"] .v2-light *, html[data-studio="v2"][data-v2-doors="down"] .v2-mark, html[data-studio="v2"][data-v2-doors="down"] .v2-mark * {
  animation-play-state: paused;
}
html[data-studio="v2"]:not([data-light="ready"]) .v2-stage-dot.v2-lit, html[data-studio="v2"]:not([data-light="ready"]) .v2-strip-dot.v2-lit {
  animation: v2pulse 2.6s ease-in-out infinite;
}
html[data-studio="v2"][data-light="waiting"] .v2-stage-dot, html[data-studio="v2"][data-light="waiting"] .v2-strip-dot {
  background: var(--v2-brass-light);
}
html[data-studio="v2"] .v2-light-mark-host {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}
html[data-studio="v2"] .v2-status-chip[data-v2-thinking="true"] > .v2-stage-dot {
  display: none;
}
/* Mark D is silver, with a hexagon and six motes; no ring. */
html[data-studio="v2"] .v2-mark {
  display: inline-block;
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--v2-silver);
  opacity: 1;
  pointer-events: none;
  vertical-align: middle;
  transition: opacity 1.2s ease-in-out;
}
html[data-studio="v2"] .v2-mark[hidden] {
  display: none;
}
html[data-studio="v2"] .v2-mark-header {
  order: -1;
  width: 14px;
  height: 14px;
}
html[data-studio="v2"] .v2-mark-status {
  width: 16px;
  height: 16px;
}
html[data-studio="v2"] .v2-mark-edge {
  width: 20px;
  height: 20px;
}
html[data-studio="v2"] .v2-mark[data-closing="true"] {
  opacity: 0;
}
html[data-studio="v2"] .v2-mark-glow {
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, var(--v2-silver-glow), transparent 70%);
  filter: blur(5px);
  opacity: .25;
  animation: v2glowsoft 3.6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-mark-orbit, html[data-studio="v2"] .v2-mark-gather {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}
html[data-studio="v2"] .v2-mark-orbit {
  animation: v2orbitslow 9s linear infinite;
}
html[data-studio="v2"] .v2-mark-gather {
  animation: v2gather 3.6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
html[data-studio="v2"] .v2-mark polygon {
  stroke: var(--v2-silver-light);
  stroke-width: 1.1;
  fill: rgba(170,205,235,.10);
  opacity: 0;
  animation: v2bladeshow 3.6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-mark-mote {
  position: absolute;
  width: 3.2px;
  height: 3.2px;
  left: 50%;
  top: 6%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--v2-silver-mote-a);
  box-shadow: 0 0 6px rgba(170,205,235,.8);
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(even) {
  width: 2.4px;
  height: 2.4px;
  background: var(--v2-silver-mote-b);
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(2) {
  left: 88.1%;
  top: 28%;
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(3) {
  left: 88.1%;
  top: 72%;
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(4) {
  left: 50%;
  top: 94%;
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(5) {
  left: 11.9%;
  top: 72%;
}
html[data-studio="v2"] .v2-mark-mote:nth-of-type(6) {
  left: 11.9%;
  top: 28%;
}
html[data-studio="v2"] .v2-now-label, html[data-studio="v2"] .v2-now-hairline {
  transition: opacity 3s ease-in-out;
}
html[data-studio="v2"] .v2-now-body {
  transition: opacity .6s ease-in-out;
}
@keyframes v2sunfade { 0%, 28% { opacity: 1 } 36% { opacity: .72 } 44% { opacity: .36 } 50% { opacity: .3 } 56% { opacity: .42 } 64% { opacity: .74 } 72%, 100% { opacity: 1 }
}
@keyframes v2sway { from { transform: rotate(-.8deg) } to { transform: rotate(1.1deg) }
}
@keyframes v2sundrift { from { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(-26px) } to { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(54px) }
}
@keyframes v2sundrift2 { from { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(30px) translateY(-10px) } to { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(-44px) translateY(16px) }
}
@keyframes v2clouds { 0%, 100% { opacity: .62 } 38% { opacity: .95 } 71% { opacity: .74 }
}
@keyframes v2clouds2 { 0%, 100% { opacity: .35 } 27% { opacity: .7 } 61% { opacity: .48 } 83% { opacity: .8 }
}
@keyframes v2slats { from { transform: translateX(0) } to { transform: translateX(34px) }
}
@keyframes v2endglow { from { transform: translate(-30px, 10px) scale(1) } to { transform: translate(50px, -24px) scale(1.12) }
}
@keyframes v2cloudpass { 0% { transform: translate(-420px, -40px); opacity: 0 } 24% { opacity: .35 } 40% { opacity: .7 } 62% { opacity: .6 } 82% { opacity: .2 } 100% { transform: translate(820px, 60px); opacity: 0 }
}
@keyframes v2skyfill { 0%, 28% { opacity: 0 } 38% { opacity: .4 } 46% { opacity: .72 } 52% { opacity: .8 } 60% { opacity: .5 } 68% { opacity: .15 } 74%, 100% { opacity: 0 }
}
@keyframes v2moteA { 0% { transform: none; opacity: 0 } 12% { opacity: .8 } 85% { opacity: .5 } 100% { transform: translate(44px, -160px); opacity: 0 }
}
@keyframes v2moteB { 0% { transform: none; opacity: 0 } 18% { opacity: .6 } 80% { opacity: .4 } 100% { transform: translate(-32px, -130px); opacity: 0 }
}
@keyframes v2moteC { 0% { transform: none; opacity: 0 } 22% { opacity: .7 } 90% { opacity: .3 } 100% { transform: translate(26px, -200px); opacity: 0 }
}
@keyframes v2moteD { 0% { transform: none; opacity: 0 } 15% { opacity: .45 } 70% { opacity: .35 } 100% { transform: translate(-18px, -90px); opacity: 0 }
}
@keyframes v2moteAw { 0% { transform: none; opacity: 0 } 12% { opacity: .8 } 85% { opacity: .5 } 100% { transform: translate(30px, -110px); opacity: 0 }
}
@keyframes v2moteBw { 0% { transform: none; opacity: 0 } 18% { opacity: .6 } 80% { opacity: .4 } 100% { transform: translate(-22px, -90px); opacity: 0 }
}
@keyframes v2twinkle { 0%, 100% { opacity: .2 } 50% { opacity: .9 }
}
@keyframes v2drift { from { transform: none } to { transform: translate(60px, -40px) }
}
@keyframes v2pulse { 0%, 100% { opacity: .55 } 50% { opacity: 1 }
}
@keyframes v2lamp { 0%, 100% { opacity: .92 } 50% { opacity: 1 }
}
@keyframes v2spot { 0%, 100% { opacity: .85; transform: scale(1) } 50% { opacity: 1; transform: scale(1.05) }
}
@keyframes v2drop { 0%, 100% { opacity: .38 } 50% { opacity: .46 }
}
@keyframes v2safelight { 0%, 100% { opacity: .78 } 23% { opacity: .92 } 41% { opacity: .74 } 67% { opacity: 1 } 84% { opacity: .8 }
}
@keyframes v2bulb { 0%, 92%, 96%, 100% { opacity: 1 } 94% { opacity: .86 } 98% { opacity: .92 }
}
@keyframes v2cooldrop { 0%, 100% { opacity: .36 } 50% { opacity: .42 }
}
@keyframes v2orbitslow { to { transform: rotate(360deg) }
}
@keyframes v2gather { 0%, 100% { transform: scale(1) } 50% { transform: scale(.52) }
}
@keyframes v2bladeshow { 0%, 30%, 70%, 100% { opacity: 0 } 50% { opacity: .9 }
}
@keyframes v2glowsoft { 0%, 100% { opacity: .25 } 50% { opacity: .7 }
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .v2-light, html[data-studio="v2"] .v2-light *, html[data-studio="v2"] .v2-light::before, html[data-studio="v2"] .v2-light::after, html[data-studio="v2"] .v2-light-base::after, html[data-studio="v2"] .v2-mark, html[data-studio="v2"] .v2-mark *, html[data-studio="v2"] .v2-glow::after, html[data-studio="v2"] .v2-now-label, html[data-studio="v2"] .v2-now-hairline, html[data-studio="v2"] .v2-now-body { animation: none !important; transition-duration: .01s !important;
}
html[data-studio="v2"] .v2-light .v2-mote { display: none;
}
html[data-studio="v2"] .v2-light-cloud, html[data-studio="v2"] .v2-light-skyfill { opacity: 0;
}
html[data-studio="v2"] .v2-sunfade { opacity: 1;
}
html[data-studio="v2"] .v2-sway { transform: rotate(-.8deg);
}
html[data-studio="v2"] .v2-light-beam, html[data-studio="v2"] .v2-light-slat-mask { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(-26px); opacity: .62;
}
html[data-studio="v2"] .v2-light-beam2 { transform: perspective(1100px) rotateY(-22deg) skewX(-10deg) translateX(30px) translateY(-10px); opacity: .35;
}
html[data-studio="v2"] .v2-light-endglow { transform: translate(-30px, 10px) scale(1); opacity: .62;
}
html[data-studio="v2"] .v2-light-lamp { opacity: .92;
}
html[data-studio="v2"] .v2-light-spot { opacity: .85; transform: scale(1);
}
html[data-studio="v2"] .v2-light-safelight { opacity: .78;
}
html[data-studio="v2"] .v2-mark polygon { opacity: .9;
}
html[data-studio="v2"] .v2-glow::after { opacity: .5;
}
}

/* V2-S04-SEC05-LIGHT insert above */
/* V2-S04-SEC05-LIGHT END */

/* V2-GUARD-SEC05-SEC06 1 */
/* V2-GUARD-SEC05-SEC06 2 */
/* V2-GUARD-SEC05-SEC06 3 */
/* V2-GUARD-SEC05-SEC06 4 */

/* V2-S05-SEC06-REEL BEGIN */
/* V2-S05-SEC06-REEL insert below */

/* The gate is fixed. Only arriving prints, delivered findings and the finale pull the film. */
html[data-studio="v2"] #latestPreview:has(.v2-reel) {
  margin: 0 -16px;
  max-height: none;
  min-height: 720px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html[data-studio="v2"] .active-workbench:has(.v2-reel) {
  padding: 0;
  overflow: visible;
}
html[data-studio="v2"] .active-workbench:has(.v2-reel) > .workbench-glow, html[data-studio="v2"] #latestPreview:has(.v2-reel)::after {
  display: none;
}
html[data-studio="v2"] .workbench-stage:has(.v2-reel) {
  aspect-ratio: auto;
}
html[data-studio="v2"] .stage-frame:has(.v2-reel) {
  height: 720px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html[data-studio="v2"] .stage-frame:has(.v2-reel) > .frame-corner {
  display: none;
}
html[data-studio="v2"] .v2-reel {
  position: relative;
  inset: auto;
  width: 440px;
  height: 720px;
  margin: 0 -24px;
  overflow: hidden;
  contain: paint;
  cursor: zoom-in;
  aspect-ratio: auto;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 108%, rgba(227,169,79,.04), transparent 60%), var(--v2-film-stage);
  transition: opacity 1.5s ease;
}
/* The fallback is a sibling grid item, so its fixed gauge must not create a new column. */
html[data-studio="v2"] .latest-output > .v2-empty-stage {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: center;
  margin: 0;
}
html[data-studio="v2"] .latest-output > #latestPreview:not([data-v2-now-preview="recovery"]):has(~ .v2-empty-stage:not([hidden])) {
  display: none;
}
html[data-studio="v2"] .v2-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(90% 70% at 50% 50%, rgba(214,228,255,.06), transparent 70%);
  transition: opacity 1.4s ease 3s;
}
html[data-studio="v2"] .v2-reel.lt-lit::before {
  opacity: 1;
}
html[data-studio="v2"] .v2-reel.v2-seaming {
  opacity: 0;
}
html[data-studio="v2"] .v2-reel.lt-expanded {
  visibility: visible;
  position: relative;
  inset: auto;
  width: 440px;
  height: 720px;
  margin: 0 auto;
  transform: scale(1.6);
  transform-origin: 50% 300px;
  cursor: zoom-out;
  z-index: 1;
  border-radius: 0;
  box-shadow: none;
}
html[data-studio="v2"][data-rail="reader"] .stage-frame:has(.v2-reel.lt-expanded) {
  display: flex;
  justify-content: center;
  height: 1152px;
}
html[data-studio="v2"][data-rail="strip"] .v2-reel, html[data-studio="v2"][data-rail="strip"] .v2-reel *, html[data-studio="v2"][data-rail="strip"] .v2-reel::before, html[data-studio="v2"][data-rail="strip"] .v2-reel *::before, html[data-studio="v2"][data-v2-doors="down"] .v2-reel, html[data-studio="v2"][data-v2-doors="down"] .v2-reel *, html[data-studio="v2"][data-v2-doors="down"] .v2-reel::before, html[data-studio="v2"][data-v2-doors="down"] .v2-reel *::before {
  animation-play-state: paused;
}
/* Four blurred boxes total: the two bands, spill and printhead (§11.1). */
html[data-studio="v2"] .v2-reel-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  height: 300px;
  z-index: 0;
  filter: blur(8px);
  opacity: 0;
  transition: opacity .45s ease;
  background: linear-gradient(180deg, transparent 0%, var(--v2-table-band-1) 18%, var(--v2-table-band-2) 50%, var(--v2-table-band-1) 82%, transparent 100%);
  will-change: transform, opacity;
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel-band-cool {
  background: linear-gradient(180deg, transparent, rgba(170,205,235,.24), transparent);
  transition: opacity 3s ease;
}
html[data-studio="v2"] .v2-reel-spill {
  position: absolute;
  left: -80px;
  right: -80px;
  top: 60px;
  height: 480px;
  z-index: 0;
  filter: blur(30px);
  opacity: 0;
  transition: opacity .45s ease;
  background: radial-gradient(ellipse 70% 50%, rgba(214,228,255,.22), transparent 70%);
  will-change: transform, opacity;
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel.lt-lit .v2-reel-band:not(.v2-reel-band-cool), html[data-studio="v2"] .v2-reel.lt-lit .v2-reel-spill {
  opacity: 1;
}
html[data-studio="v2"] .v2-reel.v2-checking .v2-reel-band:not(.v2-reel-band-cool) {
  opacity: 0;
  transition: opacity 3s ease;
}
html[data-studio="v2"] .v2-reel.v2-checking .v2-reel-band-cool {
  opacity: 1;
  animation: v2beam 5s ease-in-out infinite;
}
html[data-studio="v2"] .v2-reel.lt-house .v2-reel-band {
  opacity: .9;
  filter: blur(10px);
  animation: none;
}
html[data-studio="v2"] .v2-reel .lt-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  width: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  transform: translateY(189px);
  transition: transform 1.2s linear;
  will-change: transform;
}
html[data-studio="v2"] .v2-reel .lt-strip.lt-cut {
  transition: none;
}
html[data-studio="v2"] .v2-reel-perfs {
  position: absolute;
  top: -486px;
  bottom: -486px;
  width: 22px;
  z-index: 0;
  background: radial-gradient(6.5px 9px at 50% 13px, transparent 52%, var(--v2-film-rim-1) 57%, var(--v2-film-perf) 66%) center top / 100% 28px repeat-y;
  box-shadow: inset 1px 0 0 rgba(255,244,220,.05), inset -1px 0 0 rgba(255,244,220,.05);
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel-perfs-l {
  left: 0;
}
html[data-studio="v2"] .v2-reel-perfs-r {
  right: 0;
}
html[data-studio="v2"] .v2-reel .lt-cell {
  position: relative;
  flex: none;
  box-sizing: border-box;
  height: 243px;
  width: 100%;
  border-top: 3px solid var(--v2-film-splice);
  border-left: 0;
  background: transparent;
  transition: opacity 1.2s ease;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-ghost {
  opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-spliced::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  bottom: auto;
  width: auto;
  height: 3px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.85), transparent);
  animation: v2glint .5s ease-out forwards;
  z-index: 5;
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel .lt-window {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  width: 396px;
  height: 222px;
  overflow: hidden;
  aspect-ratio: auto;
  background: linear-gradient(160deg, var(--v2-film-window-1), var(--v2-film-window-2) 45%, var(--v2-film-window-3));
  box-shadow: inset 0 0 0 1px var(--v2-film-rim-1), inset 0 1px 0 var(--v2-film-rim-2), inset 0 -18px 30px rgba(0,0,0,.25);
}
html[data-studio="v2"] .v2-reel .lt-art, html[data-studio="v2"] .v2-reel .lt-print {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html[data-studio="v2"] .v2-reel .lt-art {
  opacity: 1;
  filter: brightness(.34) contrast(1.2) saturate(.75);
  transition: opacity 1.2s ease;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-ghost .lt-art {
  opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-art {
  filter: invert(1) hue-rotate(160deg) brightness(.9) contrast(0.85) sepia(.55) saturate(1.4);
  animation: v2negativefade 1.2s ease forwards;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-window::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(214,228,255,.10), transparent 75%);
  animation: v2negativefade 1.2s ease forwards;
  opacity: 1;
  transition: opacity 4.2s ease;
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v2-negative);
  mix-blend-mode: multiply;
  animation: v2orangefade 1.2s ease forwards;
  opacity: .75;
  transition: opacity 1.2s ease;
  z-index: 2;
  pointer-events: none;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-ghost .lt-window::after, html[data-studio="v2"] .v2-reel .lt-cell.lt-ghost .lt-window::before {
  opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-window::after, html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-window::before {
  animation: none;
  transition: opacity 4.2s ease;
  opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-print {
  filter: brightness(1) contrast(1.02) saturate(1);
  clip-path: inset(0 100% 0 0);
  z-index: 2;
  transition: filter 1.2s linear;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-print {
  animation: v2printpass 4.2s linear forwards;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-printed .lt-print {
  clip-path: inset(0 0 0 0);
}
/* Lit/near are state only. Dimming belongs solely to a print that has left the gate. */
html[data-studio="v2"] .v2-reel .lt-cell.v2-offgate .lt-print {
  filter: brightness(.62) contrast(1.1) saturate(.9);
  transition: filter 1.2s linear;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-litcell:not(.v2-offgate) .lt-print, html[data-studio="v2"] .v2-reel .lt-cell.lt-nearcell:not(.v2-offgate) .lt-print {
  filter: brightness(1) contrast(1.02) saturate(1);
}
html[data-studio="v2"] .v2-reel .lt-printhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 10%;
  background: linear-gradient(90deg, transparent, rgba(255,246,224,.08) 20%, var(--v2-printhead) 48%, rgba(255,246,224,.12) 70%, transparent);
  filter: blur(2px);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform, opacity;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-printhead {
  animation: v2headpass 4.2s linear forwards;
}
html[data-studio="v2"] .v2-reel .lt-rebate {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 222px;
  height: 18px;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--v2-film-caption);
  box-shadow: -22px 0 0 var(--v2-film-caption), 22px 0 0 var(--v2-film-caption);
  font: 400 8.5px/18px var(--mono);
  letter-spacing: .16em;
  color: #a89e8c;
  white-space: nowrap;
  text-transform: none;
}
html[data-studio="v2"] .v2-reel .lt-rebate .lt-code {
  clip-path: inset(0 100% 0 0);
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-litcell .lt-rebate .lt-code, html[data-studio="v2"] .v2-reel.lt-house .lt-rebate .lt-code {
  animation: v2expose .9s cubic-bezier(.4,0,.3,1) forwards;
}
html[data-studio="v2"] .v2-reel .lt-rebate .lt-feet {
  color: #6f675a;
  font-variant-numeric: tabular-nums;
  flex: none;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-leader .lt-window {
  background: repeating-linear-gradient(135deg, #0a0806 0 8px, #141009 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
html[data-studio="v2"] .v2-reel .lt-cell.v2-leader .lt-window {
  background: linear-gradient(160deg, var(--v2-film-window-1), var(--v2-film-window-2) 45%, var(--v2-film-window-3));
  box-shadow: inset 0 0 0 1px var(--v2-film-rim-1), inset 0 1px 0 var(--v2-film-rim-2), inset 0 -18px 30px rgba(0,0,0,.25);
}
html[data-studio="v2"] .v2-reel .lt-leader-label {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--v2-muted);
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-undeveloped .lt-window {
  background-color: var(--v2-film-frame);
}
html[data-studio="v2"] .v2-reel .lt-cell.v2-finding .lt-window {
  outline: 2px solid var(--v2-silver);
  outline-offset: 2px;
}
html[data-studio="v2"] .v2-reel .lt-cell.v2-finding .lt-code, html[data-studio="v2"] .v2-reel .lt-cell.v2-clear .lt-code {
  font-family: "Courier Prime", "Courier New", monospace;
  letter-spacing: 0;
  clip-path: inset(0);
}
html[data-studio="v2"] .v2-reel .lt-cell.v2-finding .lt-code {
  color: var(--v2-silver);
}
html[data-studio="v2"] .v2-reel .lt-cell.v2-clear .lt-code {
  color: var(--v2-ok);
}
html[data-studio="v2"] .v2-reel .lt-loupe {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(244, 205, 126, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7), inset 0 0 14px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
  animation: v2setdown 0.5s cubic-bezier(0.2, 1.2, 0.3, 1) forwards;
}
/* The rack is opacity-only; the glass and grease add no blurred layer. */
html[data-studio="v2"] .v2-reel .lt-loupe .lt-glass {
  position: absolute;
  left: 0; top: 0;
  transform-origin: 0 0;
  object-fit: cover; /* match the source print exactly — default `fill` skewed the magnified region */
  filter: brightness(1.12);
  animation: v2rack 0.6s ease 0.3s forwards;
}
html[data-studio="v2"] .v2-reel .lt-loupe-tag {
  position: absolute;
  z-index: 5;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(10, 7, 4, 0.82);
  border: 1px solid rgba(244, 205, 126, 0.5);
  color: var(--v2-brass-light);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.18em;
  pointer-events: none;
  animation: v2qapulse 1.6s ease-in-out infinite;
}
html[data-studio="v2"] .v2-reel.v2-checking .lt-loupe, html[data-studio="v2"] .v2-reel.v2-checking .lt-loupe-tag {
  border-color: var(--v2-silver);
}
html[data-studio="v2"] .v2-reel .lt-grease {
  position: absolute;
  top: 5px; right: 6px;
  width: 30px; height: 30px;
  z-index: 3;
  transform: rotate(-8deg);
  opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show {
  opacity: 1;
}
html[data-studio="v2"] .v2-reel .lt-grease path {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}
html[data-studio="v2"] .v2-reel .lt-grease path.lt-under {
  stroke-width: 6; opacity: 0.35;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show path {
  stroke-dashoffset: 0;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show path.lt-under {
  animation-delay: 0.04s;
}
html[data-studio="v2"] .v2-reel .lt-grease circle {
  fill: currentColor; opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show circle {
  animation: v2smudge 0.2s ease 0.48s forwards;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-pass {
  color: var(--v2-brass-light);
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-pass path {
  stroke: var(--v2-brass-light);
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-flag {
  color: #e06c5a;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-flag path {
  stroke: #e06c5a;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-pass path.lt-under, html[data-studio="v2"] .v2-reel .lt-grease.lt-flag path.lt-under {
  stroke: #140d07; opacity: 0.9; stroke-width: 7.5;
}
html[data-studio="v2"] .v2-reel .lt-grease {
  overflow: visible;
}
html[data-studio="v2"] .v2-reel .lt-grease .lt-puddle {
  fill: rgba(12, 8, 4, 0.5); filter: none; opacity: 0;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show .lt-puddle {
  opacity: 1; transition: opacity 0.3s ease 0.1s;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-pressing .lt-window {
  animation: v2press 0.35s ease;
}
html[data-studio="v2"] .v2-reel .lt-status, html[data-studio="v2"] .v2-reel .lt-status .lt-left, html[data-studio="v2"] .v2-reel .lt-status .lt-right, html[data-studio="v2"] .v2-reel .lt-caption {
  display: none;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-decided {
  cursor: pointer;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-decided:hover .lt-print {
  filter: brightness(1.08) contrast(1.02);
}
html[data-studio="v2"] .v2-reel.lt-house .lt-code {
  color: var(--v2-brass-light);
}
html[data-studio="v2"] .v2-reel-varnish {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 22%, transparent 78%, rgba(255,255,255,.03));
}
html[data-studio="v2"] .v2-reel-sheen {
  position: absolute;
  left: -200px;
  top: -100px;
  width: 300px;
  height: 1000px;
  z-index: 2;
  pointer-events: none;
  transform: skewX(-12deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
  animation: v2sheen 28s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes v2negativefade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes v2orangefade {
  from { opacity: 0; }
  to { opacity: .75; }
}
@keyframes v2printpass {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes v2headpass {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(1140%); opacity: 0; }
}
@keyframes v2expose {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes v2glint {
  0% { opacity: .9; }
  100% { opacity: 0; }
}
@keyframes v2sheen {
  from { transform: translateX(0) skewX(-12deg); }
  to { transform: translateX(560px) skewX(-12deg); }
}
@keyframes v2beam {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}
@keyframes v2setdown {
  0% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes v2rack {
  from { opacity: .65; }
  to { opacity: 1; }
}
@keyframes v2qapulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes v2smudge {
  to { opacity: 0.5; }
}
@keyframes v2press {
  40% { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .v2-reel, html[data-studio="v2"] .v2-reel::before, html[data-studio="v2"] .v2-reel .lt-strip, html[data-studio="v2"] .v2-reel .lt-print, html[data-studio="v2"] .v2-reel .lt-art, html[data-studio="v2"] .v2-reel .lt-cell, html[data-studio="v2"] .v2-reel .lt-window::before, html[data-studio="v2"] .v2-reel .lt-window::after, html[data-studio="v2"] .v2-reel-band, html[data-studio="v2"] .v2-reel-spill { transition: none !important;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-spliced::before, html[data-studio="v2"] .v2-reel .lt-cell.lt-pressing .lt-window, html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-printhead, html[data-studio="v2"] .v2-reel .lt-loupe, html[data-studio="v2"] .v2-reel .lt-loupe .lt-glass, html[data-studio="v2"] .v2-reel .lt-loupe-tag, html[data-studio="v2"] .v2-reel .lt-grease.lt-show path, html[data-studio="v2"] .v2-reel .lt-grease.lt-show circle, html[data-studio="v2"] .v2-reel-band-cool, html[data-studio="v2"] .v2-reel-sheen { animation: none !important;
}
html[data-studio="v2"] .v2-reel .lt-cell.lt-developing .lt-print, html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-art, html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-window::before, html[data-studio="v2"] .v2-reel .lt-cell.lt-negative .lt-window::after { animation-duration: .01s !important;
}
html[data-studio="v2"] .v2-reel .lt-grease.lt-show path, html[data-studio="v2"] .v2-reel .lt-grease.lt-show circle, html[data-studio="v2"] .v2-reel .lt-grease.lt-show .lt-puddle { stroke-dashoffset: 0; opacity: 1; transition: none !important;
}
html[data-studio="v2"] .v2-reel .lt-loupe-tag, html[data-studio="v2"] .v2-reel .lt-loupe .lt-glass { opacity: 1;
}
html[data-studio="v2"] .v2-reel .lt-rebate .lt-code { animation: none !important; clip-path: inset(0) !important;
}
}

/* V2-S05-SEC06-REEL insert above */
/* V2-S05-SEC06-REEL END */

/* V2-GUARD-SEC06-SEC07 1 */
/* V2-GUARD-SEC06-SEC07 2 */
/* V2-GUARD-SEC06-SEC07 3 */
/* V2-GUARD-SEC06-SEC07 4 */

/* V2-S07-SEC07-READERS BEGIN */
/* V2-S07-SEC07-READERS insert below */

/* Readers keep the conversation live; the left column remains CSS-owned. */
html[data-studio="v2"] body { --v2-rail-width-current: var(--rail-width);
}
html[data-studio="v2"] body.rail-collapsed { --v2-rail-width-current: 0px;
}
@media (max-width: 1100px) {
html[data-studio="v2"] body { --v2-rail-width-current: 0px;
}
}
html[data-studio="v2"] dialog.v2-reader[open] { position: fixed; top: var(--v2-topbar-h); right: 0; bottom: 0; left: auto; width: calc(100vw - var(--v2-rail-width-current) - var(--v2-chat-reader)); min-width: 900px; max-width: none; max-height: none; margin: 0; border: 0; border-left: 1px solid var(--v2-line); background: var(--v2-bg-2); padding: 22px 32px; overflow: auto; z-index: 40
}
html[data-studio="v2"] dialog.v2-reader[open] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: calc(100dvh - var(--v2-topbar-h));
  box-sizing: border-box;
  border-radius: 0;
  box-shadow: none;
  color: var(--v2-ink);
  animation: none;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-stack="1"][open] {
  z-index: 41;
}
html[data-studio="v2"][data-rail="reader"] .chat-stage {
  --v2-chat-max: 100%;
  min-width: 0;
  padding-inline: 24px;
}
html[data-studio="v2"][data-v2-return="tab"] .workspace, html[data-studio="v2"][data-v2-return="conversation"] .workspace {
  grid-template-columns: 56px minmax(0, 1fr);
}
html[data-studio="v2"][data-v2-return="tab"] dialog.v2-reader[open], html[data-studio="v2"][data-v2-return="conversation"] dialog.v2-reader[open] {
  width: calc(100vw - 56px);
}
html[data-studio="v2"][data-v2-return="tab"] .chat-stage {
  visibility: hidden;
}
html[data-studio="v2"][data-v2-return="conversation"] .chat-stage {
  position: fixed;
  top: var(--v2-topbar-h);
  left: var(--v2-rail-width-current);
  bottom: 0;
  width: var(--v2-chat-reader);
  max-width: calc(100vw - 56px);
  z-index: 42;
  background: var(--v2-bg-2);
  border-right: 1px solid var(--v2-line-strong);
  box-shadow: var(--v2-shadow-soft);
}
html[data-studio="v2"] .v2-return-tab {
  position: fixed;
  top: var(--v2-topbar-h);
  left: var(--v2-rail-width-current);
  bottom: 0;
  z-index: 43;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 56px;
  padding: 24px 12px;
  border: 0;
  border-right: 1px solid var(--v2-line-strong);
  border-radius: 0;
  background: var(--v2-lacquer);
  color: var(--v2-muted);
  font: 400 18px/1.2 "Instrument Serif", Georgia, serif;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
}
html[data-studio="v2"] .v2-return-tab[hidden] {
  display: none;
}
html[data-studio="v2"] .v2-return-tab:focus-visible, html[data-studio="v2"] .v2-reader-actions button:focus-visible {
  outline: 1px solid var(--v2-brass-light);
  outline-offset: -3px;
}
html[data-studio="v2"][data-v2-return="conversation"] .v2-return-tab {
  left: min(var(--v2-chat-reader), calc(100vw - 56px));
}
/* At the drawer breakpoint the reader yields the 900px desktop floor. */
@media (max-width: 760px) {
html[data-studio="v2"] dialog.v2-reader[open], html[data-studio="v2"][data-v2-return="tab"] dialog.v2-reader[open], html[data-studio="v2"][data-v2-return="conversation"] dialog.v2-reader[open] { left: 56px; right: 0; min-width: 0; width: min(900px, calc(100vw - 56px));
}
html[data-studio="v2"][data-v2-return="tab"] .workspace, html[data-studio="v2"][data-v2-return="conversation"] .workspace { grid-template-columns: minmax(0, 1fr);
}
html[data-studio="v2"][data-v2-return] #outputWall, html[data-studio="v2"][data-v2-return] body.workbench-open .workspace::after { display: none;
}
html[data-studio="v2"][data-v2-return="conversation"] .chat-stage { width: calc(100vw - 56px);
}
html[data-studio="v2"][data-v2-return="conversation"] .v2-return-tab { left: calc(100vw - 56px);
}
}
html[data-studio="v2"] dialog.v2-reader .v2-reader-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  flex: none;
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v2-line);
}
html[data-studio="v2"] dialog.v2-reader .v2-reader-head > div:first-child {
  flex: 1 1 220px;
  min-width: 0;
}
html[data-studio="v2"] dialog.v2-reader .v2-reader-head h2 {
  margin: 0;
  color: var(--v2-ink-title);
  font: 400 20px/1.2 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] dialog.v2-reader .v2-reader-head p {
  color: var(--v2-muted);
  font: 400 12px/1.45 "Instrument Sans", sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
html[data-studio="v2"] .v2-reader-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 16px;
  margin-left: auto;
}
html[data-studio="v2"] .v2-reader-actions button {
  border: 0;
  border-radius: var(--v2-radius-sm);
  background: transparent;
  color: var(--v2-muted);
  font: 400 13px/1.4 "Instrument Sans", sans-serif;
  padding: 6px 0;
  cursor: pointer;
}
html[data-studio="v2"] .v2-reader-actions button:disabled {
  color: var(--v2-dim);
  cursor: default;
}
html[data-studio="v2"] .v2-reader-actions button:hover:not(:disabled) {
  color: var(--v2-brass-light);
}
html[data-studio="v2"] dialog.v2-reader > .project-dialog-card {
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
html[data-studio="v2"] dialog.v2-reader .look-engine-body {
  max-height: none;
}
html[data-studio="v2"] dialog.v2-reader .doc-focus-body {
  flex: 1;
  min-height: 0;
}
html[data-studio="v2"] dialog.v2-reader .review-stage {
  border-color: var(--v2-line-strong);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-film-stage);
}
html[data-studio="v2"] dialog.v2-reader .review-side {
  border-color: var(--v2-line);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset);
}
html[data-studio="v2"] dialog.v2-reader .review-room-kicker {
  color: var(--v2-label);
  font: 400 10px/1.4 "IBM Plex Mono", monospace;
}
html[data-studio="v2"] dialog.v2-reader .review-strip {
  border-color: var(--v2-line);
  background: var(--v2-surface);
  padding: 12px;
  border-radius: var(--v2-radius-sm);
}
html[data-studio="v2"] dialog.v2-reader .review-thumb {
  border-color: var(--v2-line-strong);
  border-radius: var(--v2-radius-frame);
}
html[data-studio="v2"] dialog.v2-reader .review-thumb.is-current {
  border-color: var(--v2-brass-light);
  box-shadow: 0 0 0 1px var(--v2-brass);
}
html[data-studio="v2"] dialog.v2-reader .review-stage-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: contain;
}
html[data-studio="v2"] dialog.v2-reader .review-room-body:has(.review-stage-video) {
  flex: none;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
}
html[data-studio="v2"] dialog.v2-reader .review-room-body:has(.review-stage-video) .review-side {
  grid-column: 1;
  grid-row: 2;
  max-height: none;
}
html[data-studio="v2"] dialog.v2-reader .review-room-body:has(.review-stage-video) .review-strip {
  grid-column: 1;
  grid-row: 3;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-compare), html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-marking) {
  flex: none;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-stage.is-compare {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-stage.is-compare .review-compare-frame img, html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-stage.is-compare .review-compare-frame video {
  max-height: 34vh;
  aspect-ratio: 16 / 9;
  flex: none;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-stage.is-marking {
  min-height: 320px;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-compare) .review-side, html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-marking) .review-side {
  grid-column: 1;
  grid-row: 2;
  max-height: none;
  overflow: visible;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-compare) .review-strip, html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-room-body:has(.is-marking) .review-strip {
  grid-row: 3;
  grid-column: 1;
}
html[data-studio="v2"] dialog.v2-reader[data-v2-narrow] .review-annotate-hint {
  flex-wrap: wrap;
}

/* Storyboard is the one full-screen room this slice skins. */
html[data-studio="v2"] #storyboardDialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  color: var(--v2-ink);
  background: var(--v2-bg-2);
  box-shadow: none;
  animation: none;
}
html[data-studio="v2"] #storyboardDialog > .dialog-top {
  min-height: 64px;
  height: 64px;
  flex: none;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--v2-line);
  box-sizing: border-box;
  background: var(--v2-bg-2);
}
html[data-studio="v2"] #storyboardDialogTitle {
  color: var(--v2-ink-title);
  font: 400 24px/1.2 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] #storyboardDialogMeta {
  color: var(--v2-muted);
  font: 400 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .04em;
  text-transform: none;
}
html[data-studio="v2"] #storyboardDialog .dialog-actions .text-button, html[data-studio="v2"] #storyboardDialog .full-panel-block, html[data-studio="v2"] #storyboardDialog .v2-board-pills button {
  border: 1px solid var(--v2-line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--v2-surface);
  color: var(--v2-muted);
  font: 400 12px/1.2 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #storyboardDialog .v2-board-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 32px 0;
}
html[data-studio="v2"] #fullStoryboardGrid .full-panel[hidden] {
  display: none;
}
html[data-studio="v2"] #storyboardDialog .v2-board-pills button[aria-pressed="true"] {
  border-color: var(--v2-brass);
  color: var(--v2-brass-light);
  background: var(--v2-tab-active);
}
html[data-studio="v2"] #fullStoryboardGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  padding: 28px 32px;
  scrollbar-gutter: stable;
}
html[data-studio="v2"] #storyboardDialog .full-panel {
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-frame);
  background: var(--v2-surface);
}
html[data-studio="v2"] #storyboardDialog .full-panel-image {
  background: var(--v2-film-stage);
  border-bottom: 1px solid var(--v2-line);
}
html[data-studio="v2"] #storyboardDialog .full-panel-copy {
  border: 0;
  gap: 6px;
  padding: 10px 12px 12px;
}
html[data-studio="v2"] #storyboardDialog .full-panel-copy strong, html[data-studio="v2"] #storyboardDialog .full-panel-copy span {
  color: var(--v2-muted);
  font: 400 12px/1.45 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #storyboardDialog .full-panel-copy strong {
  color: var(--v2-ink-body);
}
html[data-studio="v2"] #storyboardDialog .full-panel[data-v2-status="approved"] .full-panel-image::after, html[data-studio="v2"] #storyboardDialog .full-panel[data-v2-status="accepted_with_notes"] .full-panel-image::after {
  content: "✓";
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--v2-bg-2);
  background: var(--v2-brass-light);
  font: 400 14px/1 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #storyboardDialog .full-panel.is-candidate, html[data-studio="v2"] #storyboardDialog .full-panel[data-v2-status="checking"] {
  border-style: solid;
  border-color: var(--v2-silver);
  outline: 1px solid var(--v2-silver);
  outline-offset: 3px;
}
html[data-studio="v2"] #storyboardDialog .full-panel[data-v2-status="planned"], html[data-studio="v2"] #storyboardDialog .full-panel:not(:has(img)) {
  border-style: dashed;
  border-color: var(--v2-line-strong);
  background: transparent;
}
html[data-studio="v2"] #storyboardDialog .full-panel-flag {
  border-color: var(--v2-line-strong);
  background: var(--v2-surface-2);
  color: var(--v2-muted);
  font: 400 10px/1.4 "IBM Plex Mono", monospace;
  backdrop-filter: none;
}
html[data-studio="v2"] #storyboardDialog .full-panel-download {
  border-color: var(--v2-line-strong);
  background: var(--v2-surface);
  color: var(--v2-brass-light);
}

/* The two-field project confirmation remains a small native modal. */
html[data-studio="v2"] #projectDialog {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100vw - 48px));
  max-width: 420px;
  height: fit-content;
  margin: auto;
  padding: 0;
  border: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius);
  color: var(--v2-ink);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-shadow);
  animation: none;
}
html[data-studio="v2"] #projectDialog > .project-dialog-card {
  border: 0;
  padding: 24px;
  background: transparent;
  box-shadow: var(--v2-lacquer-inset);
}
html[data-studio="v2"] #projectDialog h2 {
  color: var(--v2-ink-title);
  font: 400 24px/1.2 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] #projectDialog .dialog-top p {
  color: var(--v2-muted);
  font: 400 12px/1.5 "Instrument Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
html[data-studio="v2"] #projectDialog input {
  color: var(--v2-ink);
  border-color: var(--v2-line-strong);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-surface);
}
html[data-studio="v2"] #toast {
  left: calc(var(--v2-rail-width-current) + 24px);
  bottom: 24px;
  transform: none;
  color: var(--v2-ink-body);
  border-color: var(--v2-line-strong);
  border-left: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-shadow-soft);
  max-width: min(520px, calc(100vw - 48px));
  font: 400 13px/1.5 "Instrument Sans", sans-serif;
  letter-spacing: 0;
  animation: none;
}
html[data-studio="v2"] #lookEngineBody [data-v2-label], html[data-studio="v2"] #toast[data-v2-label] {
  font-size: 0;
}
html[data-studio="v2"] #lookEngineBody [data-v2-label]::after, html[data-studio="v2"] #toast[data-v2-label]::after {
  content: attr(data-v2-label);
  font: 400 13px/1.5 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] .v2-catalog[lang="zxx"] {
  color: var(--v2-ink-body);
  font: 400 14px/1.5 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] .v2-engine-tag {
  display: inline-block;
  margin-right: 8px;
  color: var(--v2-label);
  font: 400 10px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .1em;
}
html[data-studio="v2"] dialog.v2-reader [data-look-provider], html[data-studio="v2"] dialog.v2-reader [data-look-model], html[data-studio="v2"] dialog.v2-reader .rerender-model-trigger {
  position: relative;
  border: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset);
  color: var(--v2-ink);
  padding: 12px 16px 12px 38px;
}
html[data-studio="v2"] dialog.v2-reader [data-look-provider]::before, html[data-studio="v2"] dialog.v2-reader [data-look-model]::before, html[data-studio="v2"] dialog.v2-reader .rerender-model-trigger::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--v2-brass);
  border-radius: 50%;
}
html[data-studio="v2"] dialog.v2-reader [data-v2-credits] {
  font-size: 0;
}
html[data-studio="v2"] dialog.v2-reader [data-v2-credits]::after {
  content: attr(data-v2-credits);
  color: var(--v2-muted);
  font: 400 11px/1.4 "IBM Plex Mono", monospace;
}

/* V2-S07-SEC07-READERS insert above */
/* V2-S07-SEC07-READERS END */

/* V2-GUARD-SEC07-SEC08 1 */
/* V2-GUARD-SEC07-SEC08 2 */
/* V2-GUARD-SEC07-SEC08 3 */
/* V2-GUARD-SEC07-SEC08 4 */

/* V2-S08-SEC08-STAGES BEGIN */
/* V2-S08-SEC08-STAGES insert below */

html[data-studio="v2"] .v2-stage-script, html[data-studio="v2"] .v2-stage-refs {
  grid-column: 1 / -1;
  grid-row: 8;
  min-width: 0;
}
html[data-studio="v2"] .v2-stage-script[hidden], html[data-studio="v2"] .v2-stage-refs[hidden], html[data-studio="v2"] .v2-stage-sheets[hidden] {
  display: none;
}

html[data-studio="v2"] .chat-hero .hero-kicker {
  display: none;
}
html[data-studio="v2"] .chat-hero h2 {
  color: var(--v2-ink-title);
  font: 400 30px/1.15 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] .chat-hero h2 em {
  font-style: italic;
}
html[data-studio="v2"] .chat-hero > p:last-of-type {
  color: var(--v2-ink-body);
  font: 400 15px/1.55 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-cover-stack {
  position: relative;
  isolation: isolate;
  width: 190px;
  height: 232px;
  margin: 18px auto 24px;
}
html[data-studio="v2"] .v2-script-cover {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: 190px;
  height: 232px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px;
  background: var(--v2-paper);
  color: var(--v2-ink-paper-muted);
  border: 1px solid var(--v2-paper-rule-cover);
  border-radius: var(--v2-radius-paper);
  box-shadow: var(--v2-shadow-sheet);
  font: 400 9px/1.5 "Courier Prime", "Courier New", monospace;
  text-align: center;
}
html[data-studio="v2"] .v2-cover-production, html[data-studio="v2"] .v2-cover-draft {
  font: 400 9px/1.5 "Courier Prime", "Courier New", monospace;
  overflow-wrap: anywhere;
}
html[data-studio="v2"] .v2-cover-title {
  color: var(--v2-ink-paper);
  font: 700 14px/1.35 "Courier Prime", "Courier New", monospace;
  overflow-wrap: anywhere;
}
html[data-studio="v2"] .v2-cover-under-1, html[data-studio="v2"] .v2-cover-under-2, html[data-studio="v2"] .v2-cover-stack .v2-page {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 190px;
  height: 232px;
  border-radius: var(--v2-radius-paper);
  pointer-events: none;
}
html[data-studio="v2"] .v2-cover-under-2 {
  z-index: 1;
  background: var(--v2-paper-under-2);
  opacity: .85;
  transform: translateY(4px);
}
html[data-studio="v2"] .v2-cover-under-1 {
  z-index: 0;
  background: var(--v2-paper-under-1);
  opacity: .7;
  transform: translateY(8px);
}
html[data-studio="v2"] .v2-cover-stack .v2-page {
  z-index: 2;
  object-fit: cover;
  background: var(--v2-paper);
  transform-origin: 50% 100%;
  animation: none;
}
html[data-studio="v2"] .v2-cover-stack[data-riffle="on"] .v2-page {
  animation: v2riffle 9s ease-in-out infinite;
}
html[data-studio="v2"] .v2-cover-stack[data-riffle="on"] .v2-page:nth-of-type(even) {
  animation: v2riffle2 7s ease-in-out infinite;
}
html[data-studio="v2"] .v2-cover-stack[data-paused="true"] .v2-page, html[data-studio="v2"][data-rail="strip"] .v2-cover-stack .v2-page, html[data-studio="v2"][data-v2-doors="down"] .v2-cover-stack .v2-page {
  animation-play-state: paused;
}
html[data-studio="v2"] .v2-cover-check {
  position: absolute;
  right: 12px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--v2-brass-light);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-studio="v2"] .v2-script-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0 0 20px;
}
html[data-studio="v2"] .v2-script-counts > * {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html[data-studio="v2"] .v2-count-value {
  min-height: 29px;
  color: var(--v2-ink);
  font: 400 24px/1.2 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-count-unit {
  color: var(--v2-muted);
  font: 400 12px/1.4 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-story-units {
  display: grid;
  gap: 8px;
  color: var(--v2-ink-body);
  font: 400 14px/1.45 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-story-units > * {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
html[data-studio="v2"] .v2-unit-id {
  color: var(--v2-dim);
  font-family: "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-stage-refs {
  display: grid;
  gap: 16px;
}
html[data-studio="v2"] .v2-ref-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
html[data-studio="v2"] .v2-ref-figure {
  min-width: 0;
  margin: 0;
}
html[data-studio="v2"] .v2-ref-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
html[data-studio="v2"] .v2-ref-figure img {
  display: block;
  width: 100%;
  height: 236px;
  object-fit: cover;
  border-radius: 6px;
}
html[data-studio="v2"] .v2-ref-figure[data-v2-view="full-body"] img {
  object-position: top;
}
html[data-studio="v2"] .v2-ref-figures[data-v2-sheets] img {
  height: auto;
  object-fit: contain;
}
html[data-studio="v2"] .v2-ref-figure figcaption {
  margin-top: 6px;
  color: var(--v2-muted);
  font: 400 12px/1.55 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-ref-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--v2-surface-2);
  border-radius: var(--v2-radius);
  color: var(--v2-muted);
  font: 400 13px/1.55 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-ref-identity strong {
  color: var(--v2-ink);
  font-weight: 500;
}
html[data-studio="v2"] .v2-ref-identity p, html[data-studio="v2"] .v2-ref-rows p {
  margin: 0;
}
html[data-studio="v2"] .v2-ref-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--v2-muted);
  font: 400 13px/1.55 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-ref-rights {
  color: var(--v2-gold);
}
html[data-studio="v2"] .v2-ref-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-studio="v2"] .v2-ref-swatch {
  display: block;
  width: 38px;
  height: 28px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 4px;
}
html[data-studio="v2"] .v2-stage-sheets {
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--v2-chat-max);
  margin-inline: auto;
}
html[data-studio="v2"] .v2-stage-sheet {
  box-sizing: border-box;
  margin: 18px 0;
  padding: 16px 18px 12px;
  background: var(--v2-paper);
  color: var(--v2-ink-paper);
  border-radius: var(--v2-radius-paper-b);
  box-shadow: var(--v2-shadow-sheet);
  font: 400 14px/1.45 "Instrument Sans", "Segoe UI", sans-serif;
}
html[data-studio="v2"] .v2-stage-sheet-head {
  color: var(--v2-ink-paper-muted);
  font: 400 11px/1.45 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-stage-sheet-head > * {
  display: block;
}
html[data-studio="v2"] .v2-stage-sheet-rule {
  border: 0;
  border-top: 2px solid var(--v2-ink-paper);
  margin: 8px 0 10px;
}
html[data-studio="v2"] .v2-stage-sheet-title {
  margin: 0 0 10px;
  color: var(--v2-ink-paper);
  font: 700 13px/1.45 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-stage-sheet-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--v2-paper-rule-footer);
  color: var(--v2-ink-paper-muted);
  font: 400 11px/1.45 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] .v2-stage-sheet button {
  border: 1px solid var(--v2-ink-paper);
  border-radius: 6px;
  padding: 10px 16px;
  color: var(--v2-ink-paper);
  font-size: 14px;
  font-weight: 500;
}
html[data-studio="v2"] .v2-stage-sheet button.primary {
  background: var(--v2-ink-paper);
  color: var(--v2-paper);
}
html[data-studio="v2"] .v2-board-row {
  padding: 9px 0;
  border-bottom: 1px solid var(--v2-paper-rule-row);
}
html[data-studio="v2"] .v2-board-row[data-verdict="kept"] {
  color: var(--v2-kept);
  font-weight: 700;
}
html[data-studio="v2"] .v2-board-row[data-verdict="back"] {
  color: var(--v2-back);
  font-weight: 700;
}
html[data-studio="v2"] .v2-board-row blockquote {
  margin: 4px 0 0;
  color: var(--v2-ink-paper-muted);
  font-weight: 400;
}
html[data-studio="v2"] [data-v2-shot-reader] .markdown-preview h2, html[data-studio="v2"] [data-v2-shot-reader] .markdown-preview h3, html[data-studio="v2"] [data-v2-shot-reader] .markdown-preview h4 {
  color: var(--v2-gold);
  font: 400 12px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] [data-v2-shot-table] tr {
  display: grid;
  grid-template-columns: 76px 150px 110px 1fr;
}
html[data-studio="v2"] [data-v2-shot-table] td, html[data-studio="v2"] [data-v2-shot-table] th {
  min-width: 0;
  overflow-wrap: anywhere;
}
html[data-studio="v2"] [data-v2-shot-table] td:first-child {
  color: var(--v2-muted);
  font: 400 12px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] [data-v2-shot-table] td:nth-child(2) {
  color: var(--v2-ink-body);
}
html[data-studio="v2"] [data-v2-shot-table] td:nth-child(3) {
  color: var(--v2-muted);
}
html[data-studio="v2"] [data-v2-shot-table] td:nth-child(4) {
  color: var(--v2-muted);
}
html[data-studio="v2"] #reviewRoomDialog .review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  min-height: 0;
  max-height: min(42vh, 300px);
  gap: 12px;
  overflow: auto;
  padding: 4px;
}
html[data-studio="v2"] #reviewRoomDialog .review-thumb {
  width: 100%;
  height: 132px;
  aspect-ratio: auto;
  opacity: 1;
  border-radius: 4px;
  background: var(--v2-film-frame);
}
html[data-studio="v2"] #reviewRoomDialog .review-thumb img, html[data-studio="v2"] #reviewRoomDialog .review-thumb video {
  width: 100%;
  height: 132px;
  border-radius: 4px;
  object-fit: cover;
}
html[data-studio="v2"] #reviewRoomDialog .review-thumb.is-current {
  outline: 2px solid var(--v2-gold);
  outline-offset: 2px;
  border-color: var(--v2-gold);
  box-shadow: none;
  transform: none;
}
html[data-studio="v2"] #reviewRoomDialog .review-thumb-mark {
  top: 50%;
  right: 50%;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 0;
  transform: translate(50%, -50%);
  background: var(--v2-brass-light);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M10 29 23 41 46 14' fill='none' stroke='white' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-studio="v2"] #reviewRoomDialog .review-thumb-mark.rejected {
  background: var(--v2-rec);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M13 13 43 43M43 13 13 43' fill='none' stroke='white' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[data-studio="v2"] #reviewRoomDialog .review-decisions {
  background: var(--v2-surface-2);
  border-radius: 10px;
  padding: 12px 16px;
}
html[data-studio="v2"] #reviewRoomDialog .review-decisions [data-review-action] {
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--v2-brass);
  color: var(--v2-ink);
}
html[data-studio="v2"] #reviewRoomDialog .review-decisions [data-review-action="approve"] {
  background: var(--v2-picked);
}
html[data-studio="v2"] #reviewRoomDialog .review-decisions [data-review-action="revise"] {
  border-color: var(--v2-rec);
}
@keyframes v2riffle {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(2.5deg); }
}
@keyframes v2riffle2 {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .v2-cover-stack .v2-page { animation: none !important; transition: none !important; transform: none;
}
html[data-studio="v2"] .v2-script-cover { transform: none;
}
}

/* V2-S08-SEC08-STAGES insert above */
/* V2-S08-SEC08-STAGES END */

/* V2-GUARD-SEC08-SEC09 1 */
/* V2-GUARD-SEC08-SEC09 2 */
/* V2-GUARD-SEC08-SEC09 3 */
/* V2-GUARD-SEC08-SEC09 4 */

/* V2-S09-SEC09-AUTO BEGIN */
/* V2-S09-SEC09-AUTO insert below */

html[data-studio="v2"] .v2-chain {
  position: relative;
  width: 100%;
  margin: 16px 0 24px;
  padding: 22px 24px;
  box-sizing: border-box;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset), var(--v2-shadow);
  color: var(--v2-ink-body);
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
html[data-studio="v2"] .v2-chain::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--v2-hairline);
  pointer-events: none;
}
html[data-studio="v2"] .v2-chain[data-chain-state="drafting"]::before, html[data-studio="v2"] .v2-chain[data-chain-state="pausing"]::before {
  background: var(--v2-hairline-silver);
}
html[data-studio="v2"] .v2-chain-label {
  display: block;
  margin: 0 0 12px;
  color: var(--v2-label);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html[data-studio="v2"] .v2-chain[data-chain-state="drafting"] .v2-chain-label, html[data-studio="v2"] .v2-chain[data-chain-state="pausing"] .v2-chain-label {
  color: var(--v2-silver);
}
html[data-studio="v2"] .v2-chain-status {
  margin: 0 0 14px;
  color: var(--v2-ink-body);
  font-size: 13px;
}
html[data-studio="v2"] .v2-chain-strip {
  display: flex;
  gap: 2px;
  height: 6px;
  margin: 12px 0;
}
html[data-studio="v2"] .v2-chain-segment {
  flex: 1 1 0;
  min-width: 0;
  height: 6px;
  border-radius: 1px;
  background: var(--v2-line);
}
html[data-studio="v2"] .v2-chain-segment[data-segment-state="drafted"] {
  background: var(--v2-brass);
}
html[data-studio="v2"] .v2-chain-segment[data-segment-state="drafting"] {
  background: var(--v2-silver);
  animation: v2pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
html[data-studio="v2"] .v2-chain-segment[data-segment-state="queued"] {
  background: var(--v2-surface-2);
}
html[data-studio="v2"] .v2-chain-quote, html[data-studio="v2"] .v2-chain-look {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  color: var(--v2-muted);
  font-size: 13px;
}
html[data-studio="v2"] .v2-chain-steer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--v2-line-row);
  color: var(--v2-muted);
  font-size: 13px;
}
html[data-studio="v2"] .v2-chain-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 12px 0;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid var(--v2-line-row);
  border-radius: 0;
  background: transparent;
  color: var(--v2-ink);
  font: 500 15px/1.45 "Instrument Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
html[data-studio="v2"] .v2-chain-row::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 1px solid var(--v2-brass);
  border-radius: 50%;
}
html[data-studio="v2"] .v2-chain-row:hover {
  background: var(--v2-picked);
  color: var(--v2-brass-light);
}
html[data-studio="v2"] .v2-chain-row:focus-visible, html[data-studio="v2"] .v2-intent-row:focus-visible {
  outline: 2px solid var(--v2-brass-light);
  outline-offset: 3px;
}
html[data-studio="v2"] .v2-chain-row:disabled {
  cursor: default;
  opacity: .55;
}
html[data-studio="v2"] .v2-chain-queued {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--v2-line-strong);
  border-radius: var(--v2-radius-chip);
  background: var(--v2-surface-2);
  color: var(--v2-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
html[data-studio="v2"] .v2-chain-queued p {
  margin: 0;
}
html[data-studio="v2"] .v2-chain-error {
  margin: 12px 0 0;
  color: var(--v2-back-label);
  overflow-wrap: anywhere;
}
html[data-studio="v2"] .v2-intent-row {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 8px 0;
  padding: 10px 14px;
  border: 1px solid var(--v2-brass);
  border-radius: var(--v2-radius-sm);
  background: var(--v2-picked);
  color: var(--v2-brass-light);
  font: 500 13px/1.45 "Instrument Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
html[data-studio="v2"][data-v2-chain-proxy] #queuedComposer, html[data-studio="v2"] .v2-chain[hidden], html[data-studio="v2"] .v2-intent-row[hidden] {
  display: none;
}
html[data-studio="v2"] .v2-decisions-prose[hidden] {
  display: none;
}
html[data-studio="v2"] #guidedQuestionDock [data-v2-chain-ask] {
  display: none;
}
@media (max-width: 760px) {
html[data-studio="v2"] .v2-chain { padding: 18px 16px;
}
html[data-studio="v2"] .v2-chain-label { letter-spacing: .12em;
}
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] .v2-chain-segment[data-segment-state="drafting"] { animation: none !important; transition: none !important; opacity: 1; transform: none;
}
}

/* V2-S09-SEC09-AUTO insert above */
/* V2-S09-SEC09-AUTO END */

/* V2-GUARD-SEC09-SEC10 1 */
/* V2-GUARD-SEC09-SEC10 2 */
/* V2-GUARD-SEC09-SEC10 3 */
/* V2-GUARD-SEC09-SEC10 4 */

/* V2-S10-SEC10-11-DOORS BEGIN */
/* V2-S10-SEC10-11-DOORS insert below */

html[data-studio="v2"] [data-v2-door] {
  position: relative;
  display: inline-grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  height: auto;
  padding: 8px 14px 8px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset), 0 10px 24px rgba(0,0,0,.35);
  color: var(--v2-ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  transition: transform .18s ease;
}
html[data-studio="v2"] [data-v2-door][data-v2-label] > .v2-door-copy {
  display: none;
}
html[data-studio="v2"] [data-v2-door][data-v2-label]::after {
  content: attr(data-v2-label);
  grid-column: 2;
  grid-row: 1;
}
html[data-studio="v2"] .topbar [data-v2-door] {
  background: linear-gradient(180deg, rgba(201,146,47,.10), rgba(201,146,47,.03)), var(--v2-lacquer);
  box-shadow: var(--v2-lacquer-inset), inset 0 0 0 1px rgba(201,146,47,.45);
  cursor: pointer;
}
html[data-studio="v2"] .topbar [data-v2-door]:not(:disabled):hover {
  box-shadow: var(--v2-lacquer-inset), inset 0 0 0 1px rgba(201,146,47,.8);
}
html[data-studio="v2"] .topbar [data-v2-door]:disabled {
  cursor: not-allowed;
}
html[data-studio="v2"] [data-v2-door][hidden] {
  display: none;
}
html[data-studio="v2"] [data-v2-door]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--v2-hairline);
  opacity: .7;
  pointer-events: none;
  transition: opacity .18s ease;
}
html[data-studio="v2"] [data-v2-door]:not(:disabled):hover {
  transform: translateY(-1px);
}
html[data-studio="v2"] [data-v2-door]:not(:disabled):hover::before {
  opacity: 1;
}
html[data-studio="v2"] [data-v2-door]:focus-visible {
  outline: 2px solid var(--v2-brass-light);
  outline-offset: 3px;
}
html[data-studio="v2"] .v2-door-glyph {
  grid-column: 1;
  display: block;
  width: 28px;
  height: 28px;
  color: var(--v2-brass-light);
  stroke: var(--v2-brass-light);
  stroke-width: 1.4;
  fill: none;
  flex-shrink: 0;
  pointer-events: none;
}
html[data-studio="v2"] .v2-door-clapper {
  position: relative;
  width: 28px;
  height: 18px;
  align-self: center;
  border-radius: 1px;
  background: var(--v2-paper);
}
html[data-studio="v2"] .v2-door-clapper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: repeating-linear-gradient(135deg,#c9922f 0 3px,#121009 3px 6px);
}
html[data-studio="v2"] [data-v2-door] .v2-door-copy, html[data-studio="v2"] [data-v2-door] .office-door-copy {
  grid-column: 2;
  min-width: 0;
}
html[data-studio="v2"] [data-v2-door] .v2-door-copy, html[data-studio="v2"] [data-v2-door] .office-door-copy strong {
  color: var(--v2-ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
}
html[data-studio="v2"] [data-v2-door] .v2-door-note, html[data-studio="v2"] [data-v2-door] .office-door-copy small {
  display: block;
  margin-top: 2px;
  color: var(--v2-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
}
html[data-studio="v2"] [data-v2-door] #productionOfficeDoorNote {
  color: var(--v2-muted);
}
html[data-studio="v2"] .office-door-mark {
  display: none;
}
html[data-studio="v2"] [data-v2-door-paper] {
  background: var(--v2-paper);
  color: var(--v2-ink-paper);
  border-radius: 3px 3px 0 0;
  border-bottom: 2px solid var(--v2-ink-paper);
}
html[data-studio="v2"] [data-v2-door-paper]::before {
  display: none;
}
html[data-studio="v2"] [data-v2-door-paper] .v2-door-copy, html[data-studio="v2"] [data-v2-door-paper] .office-door-copy strong, html[data-studio="v2"] [data-v2-door-paper] .v2-door-glyph {
  color: var(--v2-ink-paper);
  stroke: var(--v2-ink-paper);
}
html[data-studio="v2"] .office-mode-strip {
  flex-wrap: wrap;
  border: 0;
  border-bottom: 2px solid var(--v2-ink-paper);
  border-radius: 3px 3px 0 0;
  background: var(--v2-paper);
  color: var(--v2-ink-paper);
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: normal;
}
html[data-studio="v2"] .office-mode-strip > strong {
  color: var(--v2-ink-paper);
  font-weight: 700;
  letter-spacing: normal;
}
html[data-studio="v2"] [data-v2-room-citation] {
  border: 1px dashed var(--v2-brass);
  border-radius: 999px;
  background: var(--v2-picked);
  color: var(--v2-ink);
}
html[data-studio="v2"] .v2-light, html[data-studio="v2"] .v2-reel {
  contain: paint;
}
html[data-studio="v2"] .v2-sunlevel {
  transition-duration: 3000ms;
}
html[data-studio="v2"][data-v2-doors="down"] .v2-light, html[data-studio="v2"][data-v2-doors="down"] .v2-light *, html[data-studio="v2"][data-v2-doors="down"] .v2-reel, html[data-studio="v2"][data-v2-doors="down"] .v2-reel *, html[data-studio="v2"][data-rail="strip"] .v2-reel, html[data-studio="v2"][data-rail="strip"] .v2-reel * {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: no-preference) {
html[data-studio="v2"][data-v2-doors="down"] .v2-sunlevel { opacity: .12; transition: opacity 3000ms ease;
}
}
@media (prefers-reduced-motion: reduce) {
html[data-studio="v2"] [data-v2-door], html[data-studio="v2"] [data-v2-door]::before { transition: none;
}
html[data-studio="v2"] [data-v2-door]:not(:disabled):hover { transform: none;
}
html[data-studio="v2"][data-v2-doors="down"] .v2-light { opacity: 1; transition: none !important;
}
html[data-studio="v2"] .v2-sunlevel { transition: none !important;
}
}

html[data-studio="v2"] .v2-paper-tab[data-v2-door] {
  width: 156px;
  max-width: none;
  flex-shrink: 0;
}

/* V2-S10-SEC10-11-DOORS insert above */
/* V2-S10-SEC10-11-DOORS END */

/* V2-S11-LIBRARY BEGIN */
/* V2-S11-LIBRARY insert below */
/* Approved option B: only the candidate state dot carries brass. */
html[data-studio="v2"] #referenceLibraryDialog {
  padding: 22px 30px 20px; background: #171613; color: var(--v2-ink); font-family: "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-header {
  height: 52px; min-height: 52px; padding: 0; border: 0; gap: 24px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-heading {
  flex: 1; min-width: 0; align-items: baseline; gap: 18px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-header h2 {
  flex-shrink: 0; margin: 0; color: var(--v2-ink-title); font-family: "Instrument Serif", Georgia, serif; font-size: 40px; font-weight: 400; line-height: 1.1;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-subtitle {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--v2-muted); font-size: 13px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-header-actions {
  flex-shrink: 0; gap: 18px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-search {
  width: 230px; height: 32px; padding: 0 2px; gap: 8px; border: 0; border-bottom: 1px solid var(--v2-line-strong); color: var(--v2-muted); font-size: 13px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-search-icon {
  width: 13px; height: 13px; stroke: var(--v2-dim);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-search input {
  height: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--v2-muted); box-shadow: none; font-family: "Instrument Sans", sans-serif; font-size: 13px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-search input::placeholder {
  color: var(--v2-muted); opacity: 1;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-close] {
  width: 36px; height: 36px; min-height: 36px; padding: 0; border: 1px solid var(--v2-line-strong); border-radius: 50%; background: transparent; color: var(--v2-ink); font: 400 16px/1 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-close]:hover {
  border-color: var(--v2-line-strong); background: transparent; color: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-body {
  padding: 0; min-height: 0; overflow: visible;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-filters {
  gap: 22px; margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--v2-line);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-filters button {
  padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--v2-muted); font: 400 13px/1.5 "Instrument Sans", sans-serif; letter-spacing: normal; text-transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-filters button:not(:disabled):hover {
  border: 0; background: transparent; color: var(--v2-ink); transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-tab-count {
  margin-left: 6px; color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-filters [aria-pressed="true"] {
  color: var(--v2-ink); background: transparent; border: 0;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-filters [aria-pressed="true"]::after {
  content: ""; display: block; height: 1px; margin-top: 9px; margin-bottom: -11px; background: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-workspace {
  grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 20px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-sections {
  gap: 24px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-subject-heading {
  gap: 14px; margin-bottom: 12px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-subject-heading h3 {
  color: var(--v2-muted); font: 500 12px/1.5 "Instrument Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-subject-heading span {
  color: var(--v2-muted); font-size: 12px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-card {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible;
}
html[data-studio="v2"] #referenceLibraryDialog .fig {
  height: auto; min-height: 0; aspect-ratio: auto; border-radius: 6px; background: var(--v2-surface); overflow: hidden;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-card .fig {
  margin-bottom: 10px;
}
html[data-studio="v2"] #referenceLibraryDialog .fig img {
  display: block; width: 100%; height: auto; object-fit: contain; transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-card figcaption {
  align-items: flex-start; gap: 0; padding: 0;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-card-name {
  color: var(--v2-ink-title); font: 400 21px/1.1 "Instrument Serif", Georgia, serif; letter-spacing: normal;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-tag {
  margin-top: 4px; color: var(--v2-muted); font: 400 12px/1.5 "Courier Prime", "Courier New", monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-state {
  display: flex; align-items: center; gap: 7px; margin-top: 3px; color: var(--v2-muted); font: 400 12px/1.5 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-state-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--v2-ink); opacity: .85;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-state.is-candidate {
  color: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-state.is-candidate .reference-state-dot {
  width: 7px; height: 7px; background: var(--v2-brass-light); opacity: 1; box-shadow: 0 0 0 3px rgba(201,146,47,.18);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-card [aria-selected="true"].fig {
  box-shadow: 0 0 0 1px var(--v2-ink), 0 0 0 4px #171613;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-column {
  padding-left: 28px; border-left: 1px solid var(--v2-line); gap: 14px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-column > * {
  flex-shrink: 0;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-column .fig {
  margin: 0;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-name {
  color: var(--v2-ink-title); font: 400 30px/1.1 "Instrument Serif", Georgia, serif;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-identity {
  margin-top: 4px; color: var(--v2-muted); font: 400 12px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-preserve {
  gap: 8px; color: var(--v2-ink-body); font-size: 13px; line-height: 1.5;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-preserve > div > span {
  color: var(--v2-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-used-in {
  color: var(--v2-muted); font-size: 13px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-used-in-ids {
  color: var(--v2-ink-body); font: 400 12px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-sheet {
  padding: 12px 14px 11px; gap: 8px; border-radius: 6px; background: var(--v2-paper); color: var(--v2-ink-paper); box-shadow: var(--v2-shadow-sheet);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-head {
  color: var(--v2-ink-paper-muted); font: 400 11px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-rule {
  height: 1px; background: var(--v2-ink-paper);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-title {
  color: var(--v2-ink-paper); font: 700 12px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-statement {
  margin: 0; font-size: 14px; line-height: 1.45;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-confirm-foot {
  color: var(--v2-ink-paper-muted); font: 400 11px/1.5 "Courier Prime", "Courier New", monospace;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-confirm] {
  padding: 8px 16px; border: 0; border-radius: 6px; background: var(--v2-ink-paper); color: var(--v2-paper); font: 500 13px/1.5 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-confirm]:not(:disabled):hover {
  border: 0; background: var(--v2-ink-paper); color: var(--v2-paper); transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-foot {
  margin-top: auto; font-size: 13px;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-review] {
  padding: 0 0 1px; border: 0; border-bottom: 1px solid var(--v2-line-strong); border-radius: 0; background: transparent; color: var(--v2-ink); font: 400 13px/1.5 "Instrument Sans", sans-serif;
}
html[data-studio="v2"] #referenceLibraryDialog [data-reference-review]:not(:disabled):hover {
  border: 0; border-bottom: 1px solid var(--v2-line-strong); background: transparent; color: var(--v2-ink); transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-foot span {
  color: var(--v2-muted); font-size: 12px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-sibling {
  border-color: var(--v2-line-strong); background: transparent; color: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-sibling img {
  background: var(--v2-surface);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-sibling small {
  color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-sibling[aria-pressed="true"] {
  border-color: var(--v2-ink); background: transparent;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-other-views h3 {
  color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-image-unavailable {
  color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-details {
  border-color: var(--v2-line); color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-details summary {
  color: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-details dt {
  color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-details dd {
  color: var(--v2-ink-body);
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-caption {
  color: var(--v2-muted);
}
html[data-studio="v2"] #referenceLibraryDialog .text-button {
  border-color: var(--v2-line-strong); background: transparent; color: var(--v2-ink);
}
html[data-studio="v2"] #referenceLibraryDialog .text-button:not(:disabled):hover {
  border-color: var(--v2-line-strong); background: transparent; color: var(--v2-ink); transform: none;
}
html[data-studio="v2"] #referenceLibraryDialog button:focus-visible {
  outline: 1px solid var(--v2-ink); outline-offset: 4px;
}
html[data-studio="v2"] #referenceLibraryDialog input:focus-visible {
  outline: 1px solid var(--v2-ink); outline-offset: 4px;
}
html[data-studio="v2"] #referenceLibraryDialog summary:focus-visible {
  outline: 1px solid var(--v2-ink); outline-offset: 4px;
}
/* Two columns need 3*200px cards + 2*22px grid gaps + 32px gutter +
   340px detail + 60px padding + 2px border + 48px outer margins = 1126px. */
@media (max-width: 1126px) {
html[data-studio="v2"] #referenceLibraryDialog .reference-library-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content max-content; align-content: start; overflow: auto; padding: 4px; margin: 16px -4px -4px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-sections { min-height: auto; overflow: visible; padding: 0; margin: 0;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-detail-column { min-height: auto; overflow: visible; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--v2-line);
}
}
@media (max-width: 900px) {
html[data-studio="v2"] #referenceLibraryDialog .reference-library-header { height: auto;
}
}
@media (max-width: 600px) {
html[data-studio="v2"] #referenceLibraryDialog { padding: 16px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-header h2 { font-size: 32px;
}
html[data-studio="v2"] #referenceLibraryDialog .reference-library-grid { gap: 12px;
}
}

/* V2-S11-LIBRARY insert above */
/* V2-S11-LIBRARY END */

/* V2-BASE-FINALIZE BEGIN */
/* V2-BASE-FINALIZE insert below */


/* V2-BASE-FINALIZE insert above */
/* V2-BASE-FINALIZE END */

html[data-studio="v2"] .v2-reel .lt-cell.v2-check-label .lt-rebate .lt-code {
  animation: none;
  clip-path: none;
  letter-spacing: normal;
}
