/* ---- film scenes 04–06 ----
 * MOT-01/02/06/09/11: imported springs own the surface; this sheet only
 * styles its contents. No theme changes affect the semantic state (INV-14).
 */
.d-scene { --d-panel-w: 440px; position: relative; max-width: 100%; overflow-x: clip; color: var(--ly-ink); font: 13px/1.5 var(--ly-font-text, Aeonik, sans-serif); }
.d-scene *, .d-scene *::before, .d-scene *::after { box-sizing: border-box; }
.d-scene [hidden] { display: none !important; }
.d-scene button, .d-scene input, .d-scene select { font: inherit; }
.d-scene button { cursor: pointer; }
.d-scene button:disabled { cursor: default; }
.d-scene :is(button,input,select,[tabindex]):focus-visible { outline: 2px solid var(--ly-ink); outline-offset: 3px; }
.d-workspace { display: grid; grid-template-columns: minmax(0,1fr) 168px; gap: 16px; padding: 20px; background: var(--ly-bg); border: 1px solid var(--ly-hairline); border-radius: 12px 12px 0 0; }
.d-stage { position: relative; min-width: 0; min-height: 570px; }
.d-stage .ly-wos { --ly-wos-w: min(var(--d-panel-w), calc(100vw - 100px)); --ly-wos-max-h: min(520px,70vh); z-index: 5; }
.d-stage .ly-wos__peek { width: min(350px, calc(100vw - 100px)); }
.d-stage .ly-wos__head { padding: 16px 18px 12px; }
.d-stage .ly-wos__content { padding: 16px 18px; }
.d-stage .ly-wos__systems { flex-wrap: wrap; }
.d-scene .ly-evidence__item[data-ly-relation="supports"] :is([data-ly-glyph],.ly-evidence__rel) { color: var(--ly-ink-soft); }
.d-stage .ly-wos__title { font-size: 16px; }
.d-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 18px; }
.d-stage-head h3 { font-size: 21px; letter-spacing: -.035em; margin: 2px 0 0; font-weight: 500; }
.d-eye { margin: 0; color: var(--ly-muted); font: 10px/1.5 var(--ly-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.d-mono { font-family: var(--ly-font-mono); font-variant-numeric: tabular-nums; }
.d-note { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ly-ink-soft); }
.d-small { font-size: 10px; color: var(--ly-muted); }
.d-table-wrap { border: 1px solid var(--ly-hairline); border-radius: 9px; background: var(--ly-surface); padding: 0 14px; }
.d-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.d-table caption { text-align: left; padding: 12px 0; font-size: 11px; color: var(--ly-muted); }
.d-table th { height: 32px; font: 10px var(--ly-font-mono); letter-spacing: .08em; color: var(--ly-muted); text-transform: uppercase; text-align: left; }
.d-table :is(td,th) { padding: 0 8px; border-bottom: 1px solid var(--ly-hairline-faint); overflow-wrap: anywhere; }
.d-table :is(td,th):first-child { padding-left: 0; }
.d-table :is(td,th):last-child { padding-right: 0; }
.d-table td { height: 40px; }
.d-table tbody tr:last-child td { border-bottom: 0; }
.d-table .d-number { text-align: right; font-family: var(--ly-font-mono); font-size: 11px; }
.d-table .d-status-cell { width: 124px; }
.d-table .d-order-id { width: 72px; }
.d-anchor { display: block; width: 112px; height: 26px; }
.d-sidebar { border-left: 1px solid var(--ly-hairline); padding-left: 16px; min-width: 0; }
.d-system { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--ly-hairline-faint); }
.d-system > b { font-weight: 500; font-size: 12px; }
.d-system .ly-status { padding-left: 0; font-size: 10px; }
.d-sidebar .d-eye { margin: 0 0 4px; }
.d-pins { display: grid; gap: 8px; margin-top: 12px; }
.d-pin { text-align: left; display: grid; gap: 5px; width: 100%; border: 1px solid var(--ly-hairline); background: var(--ly-surface); border-radius: 8px; padding: 10px; color: var(--ly-ink); }
.d-pin > strong { font-size: 11px; font-weight: 500; }
.d-pin > span { font: 10px/1.4 var(--ly-font-mono); min-height: 2.8em; }
.d-pin time { font: 9px var(--ly-font-mono); color: var(--ly-muted); }
.d-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--ly-hairline); border-top: 0; border-radius: 0 0 12px 12px; background: var(--ly-surface); }
.d-toolbar .d-note { flex: 1; min-width: 180px; }
.d-inspector { margin-top: 14px; border: 1px solid var(--ly-hairline); padding: 10px 14px; border-radius: 8px; }
.d-inspector summary { cursor: pointer; font: 11px var(--ly-font-mono); }
.d-inspector pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 10px/1.6 var(--ly-font-mono); max-height: 260px; overflow: auto; }
.d-feedback { min-height: 37px; margin: 12px 0 0; font-size: 12px; color: var(--ly-ink-soft); }
.d-test-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; color: var(--ly-muted); font-size: 11px; }
.d-test-options label { display: inline-flex; align-items: center; gap: 6px; }
.d-snapshot { display: grid; gap: 8px; }
.d-source { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid var(--ly-hairline-faint); }
.d-source:last-child { border-bottom: 0; }
.d-source strong { display: block; font: 12px var(--ly-font-mono); }
.d-source small { font-size: 11px; color: var(--ly-muted); }
.d-source > b { font: 18px var(--ly-font-mono); letter-spacing: -.045em; }
.d-provenance { font: 10px/1.5 var(--ly-font-mono); color: var(--ly-muted); overflow-wrap: anywhere; }
.d-lens-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.d-lens-title h4 { margin: 0; font-size: 14px; font-weight: 500; }
.d-surface { z-index: 8; font: 13px/1.5 var(--ly-font-text); -webkit-font-smoothing: antialiased; }
.d-surface > [data-ly-clip] { overflow: clip; }
.d-surface > [data-ly-bg="card"] { background: var(--ly-surface); border: 1px solid var(--ly-hairline); box-shadow: var(--ly-shadow-3); }
.d-surface > [data-ly-bg="field"], .d-surface > [data-ly-bg="field-focus"] { background: var(--ly-surface); border: 1px solid var(--ly-hairline-strong); }
.d-surface > [data-ly-bg="field-focus"] { box-shadow: 0 0 0 3px var(--ly-focus-ring); }
.d-surface > [data-ly-bg="chip"] { background: var(--ly-bg-tinted); box-shadow: inset 0 0 0 1px var(--ly-hairline); }
.d-surface > [data-ly-bg="good"] { background: var(--ly-good-fill); box-shadow: inset 0 0 0 1px var(--ly-good-stroke); }
.d-surface > [data-ly-bg="warn"] { background: var(--ly-warn-fill); box-shadow: inset 0 0 0 1px var(--ly-warn-stroke); }
.d-surface > [data-ly-bg="judgment"] { background: var(--ly-action-fill); box-shadow: inset 0 0 0 1px var(--ly-action-stroke); }
.d-panel { width: min(var(--d-panel-w), calc(100vw - 100px)); max-height: min(600px,76vh); overflow: auto; padding: 16px 18px; display: grid; gap: 14px; }
.d-panel h4 { margin: 0; font-size: 16px; letter-spacing: -.025em; font-weight: 500; }
.d-panel p { margin: 0; }
.d-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 4px; }
.d-options { display: grid; gap: 6px; }
.d-choice { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 3px 8px; padding: 10px 12px; border: 1px solid var(--ly-hairline); border-radius: 8px; background: var(--ly-surface); color: var(--ly-ink); }
.d-choice b { font-weight: 500; }
.d-choice small { font-size: 11px; grid-column: 1 / -1; color: var(--ly-ink-soft); }
.d-conversion { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; }
.d-conversion input { width: 70px; min-height: 36px; background: var(--ly-surface); color: var(--ly-ink); border: 1px solid var(--ly-hairline-strong); border-radius: 6px; padding: 6px; font-family: var(--ly-font-mono); }
.d-product-name { font-weight: 500; line-height: 1.3; padding-block: 9px; }
.d-product-name small { display: block; font: 10px/1.5 var(--ly-font-mono); color: var(--ly-muted); margin-top: 4px; }
.d-products td { height: 58px; }
.d-products .d-grip-cell { width: 32px; }
.d-products .d-record-source { width: 75px; font: 10px var(--ly-font-mono); }
.d-products tr { background: var(--ly-surface); }
.d-products .d-lifted { position: relative; z-index: 6; box-shadow: 0 5px 18px rgb(0 0 0 / .12); }
.d-products .d-target { outline: 1px dashed var(--ly-ink-soft); outline-offset: -2px; }
.d-products .d-match { background: var(--ly-surface-2); }
.d-grip { touch-action: none; user-select: none; width: 28px; min-height: 38px; border: 0; background: transparent; color: var(--ly-muted); font: 17px var(--ly-font-mono); cursor: grab !important; }
.d-grip:active { cursor: grabbing !important; }
.d-canonical { width: 100%; text-align: left; padding: 0; color: inherit; background: transparent; border: 0; }
.d-representations { padding: 12px 0; display: grid; gap: 10px; }
.d-representations article { border-left: 1px solid var(--ly-hairline-strong); padding-left: 12px; }
.d-representations b { font-size: 12px; font-weight: 500; }
.d-launch { display: flex; width: min(480px,100%); gap: 8px; align-items: center; padding: 0 12px; background: var(--ly-surface); border: 1px solid var(--ly-hairline-strong); border-radius: 6px; color: var(--ly-muted); min-height: 36px; margin: 0 0 18px; }
.d-launch > span { flex: 1; text-align: left; }
.d-command .ly-icon, .d-launch .ly-icon { flex-shrink: 0; }
.d-launch kbd { font: 10px var(--ly-font-mono); }
.d-command { padding: 0; gap: 0; width: var(--d-command-w, min(480px, calc(100vw - 100px))); }
.d-command-form { position: sticky; top: 0; z-index: 2; background: var(--ly-surface); display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px; border-bottom: 1px solid var(--ly-hairline); }
.d-command-form > .ly-icon { color: var(--ly-muted); }
.d-command:not([data-intent]) .d-command-form { min-height: 36px; border-bottom: 0; }
.d-command-form input { flex: 1; width: 0; min-width: 0; border: 0; background: transparent; color: var(--ly-ink); outline-offset: 2px; min-height: 28px; font-size: 14px; }
.d-command-form button { border: 0; background: transparent; color: var(--ly-ink-soft); min-width: 26px; min-height: 28px; font: 11px var(--ly-font-mono); }
.d-command-form .d-command-close { display: inline-grid; place-items: center; padding: 0; width: 28px; border-radius: 4px; }
.d-command-kind { padding: 2px 6px; background: var(--ly-surface-2); border: 1px solid var(--ly-hairline-faint); border-radius: 3px; color: var(--ly-ink-soft); font: 10px/1.4 var(--ly-font-mono); white-space: nowrap; }
.d-command-shortcut { color: var(--ly-muted); font: 10px var(--ly-font-mono); }
.d-command-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.d-command-heading { display: flex; align-items: center; gap: 10px; }
.d-command-heading > :first-child { flex: 1; min-width: 0; }
.d-command-kpi { text-align: right; flex-shrink: 0; }
.d-command-kpi b { display: block; font: 500 28px/1.1 var(--ly-font-text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.d-command-kpi span { color: var(--ly-muted); font-size: 12px; }
.d-command-body:empty { display: none; }
.d-outgoing-result { z-index: 1; }
.d-collapsed-relation { padding: 4px 0 6px; }
.d-collapsed-relation small { display: block; min-height: 3em; }
.d-command-body h4 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.03em; }
.d-command-body p { margin: 0; }
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.d-chips button { border: 1px solid var(--ly-hairline); border-radius: 999px; background: var(--ly-surface); color: var(--ly-ink-soft); padding: 5px 9px; font-size: 11px; }
.d-chart { width: 100%; height: 150px; overflow: visible; color: var(--ly-ink-soft); }
.d-chart text { font: 9px var(--ly-font-mono); fill: var(--ly-muted); }
.d-chart .d-observed { fill: none; stroke: currentColor; stroke-width: 2; }
.d-chart .d-forecast { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-chart .d-band { fill: var(--ly-hairline); }
.d-chart .d-axis { stroke: var(--ly-hairline-strong); }
.d-stat { font: 30px/1.1 var(--ly-font-mono); letter-spacing: -.06em; }
.d-timer-instrument { display: flex; gap: 24px; align-items: center; padding: 4px 4px 6px; }
.d-timer-ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.d-timer-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.d-ring-track, .d-ring-bar { fill: none; stroke-width: 7; }
.d-ring-track { stroke: var(--ly-surface-2); }
.d-ring-bar { stroke: var(--ly-ink); stroke-linecap: round; }
.d-ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.d-ring-text small { font-size: 10.5px; color: var(--ly-muted); }
.d-timer { font: 500 26px/1.1 var(--ly-font-mono); font-variant-numeric: tabular-nums; }
.d-bar { height: 6px; margin: 9px 0 4px; background: var(--ly-surface-2); border-radius: 99px; overflow: hidden; }
.d-bar span { display: block; height: 100%; background: var(--ly-ink-soft); transform-origin: left; }
.d-history { margin: 0; padding: 0; list-style: none; }
.d-history li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--ly-hairline-faint); }
.d-history li:last-child { border-bottom: 0; }
.d-history-source { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--ly-hairline); border-radius: 4px; background: var(--ly-surface-2); color: var(--ly-ink-soft); font: 10px var(--ly-font-mono); }
.d-history time { font: 10px var(--ly-font-mono); color: var(--ly-muted); white-space: nowrap; }
.d-target-row { display: grid; grid-template-columns: minmax(0,1fr) 136px; align-items: center; gap: 8px; min-height: 40px; border-bottom: 1px solid var(--ly-hairline-faint); }
.d-target-row > :last-child { justify-self: end; }
.d-timer-state { min-height: 28px; }
.d-target-row > b { font-size: 12px; font-weight: 500; }
.d-live-summary { min-height: 80px; }
.d-checks { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.d-checks li { display: grid; grid-template-columns: minmax(0,1fr) 90px; gap: 10px; min-height: 34px; align-items: center; }
.d-checks .d-mono { text-align: right; font-size: 10px; }
.d-flyer { position: absolute; left: 0; top: 0; z-index: 50; pointer-events: none; border: 1px solid var(--ly-hairline); background: var(--ly-surface); padding: 8px 12px; border-radius: 8px; box-shadow: var(--ly-shadow-2); font: 11px var(--ly-font-mono); }
@media (hover: hover) and (pointer: fine) {
 .d-scene :is(.d-choice,.d-pin,.d-launch,.d-chips button):hover { background: var(--ly-surface-2); }
 .d-command-close:hover { background: var(--ly-surface-2); }
 .d-grip:hover { color: var(--ly-ink); }
}
@media (prefers-reduced-motion: reduce) {
 .d-scene .ly-hand { transition-duration: 150ms; }
 .d-scene .ly-status { transition-duration: 150ms; }
}
@media (max-width: 1100px) {
 .d-workspace { grid-template-columns: minmax(0,1fr); }
 .d-sidebar { border-left: 0; border-top: 1px solid var(--ly-hairline); padding: 12px 0 0; display: flex; gap: 16px; flex-wrap: wrap; }
 .d-system { min-width: 80px; border-bottom: 0; padding: 0; }
 .d-pins { display: flex; flex-wrap: wrap; width: 100%; margin: 0; }
 .d-pin { width: 148px; }
}
@media (max-width: 560px) {
 .d-workspace { padding: 12px; gap: 8px; }
 .d-stage { min-height: 545px; }
 .d-stage .ly-wos { --ly-wos-w: calc(100vw - 74px); }
 .d-stage .ly-wos__peek, .d-panel { width: calc(100vw - 74px); }
 .d-command { width: var(--d-command-w, calc(100vw - 74px)); }
 .d-panel { padding: 14px; }
 .d-panel.d-command { padding: 0; }
 .d-table-wrap { padding-inline: 8px; }
 .d-table .d-optional { display: none; }
 .d-table :is(td,th) { padding-inline: 4px; }
 .d-table .d-status-cell { width: 118px; }
 .d-table .d-order-id { width: 65px; }
 .d-products .d-record-source { width: 56px; }
 .d-product-name { font-size: 12px; }
 .d-products .ly-status { white-space: normal; font-size: 10px; }
 .d-toolbar { padding: 10px 12px; }
 .d-toolbar .d-note { order: 3; width: 100%; }
 .d-stage-head h3 { font-size: 19px; }
 .d-stage-head { padding-bottom: 12px; }
 .d-command-body { padding: 14px; }
 .d-launch { min-height: 44px; }
 .d-command-form { padding: 4px 8px; }
 .d-command-form .d-command-close { width: 44px; min-height: 44px; }
 .d-command-kind { display: none; }
 .d-timer-instrument { gap: 14px; padding-inline: 0; }
 .d-history li { grid-template-columns: 22px minmax(0,1fr); gap: 6px 10px; }
 .d-history time { grid-column: 2; }
 .d-pin { width: calc(50% - 4px); }
}
@media print {
 body[data-pattern-scene="d"] :is(.s-top,.s-nav,.s-toc,.s-pager,.s-foot,.s-scrim) { display: none !important; }
 body[data-pattern-scene="d"] :is(.s-layout,.s-main) { display: block; padding: 0; margin: 0; }
 body[data-pattern-scene="d"] .doc { width: auto; max-width: none; padding: 0; }
 body[data-pattern-scene="d"] h1 { font-size: 28px; }
 .d-scene .d-table { table-layout: auto; }
 .d-scene .d-table .d-optional { display: none !important; }
 .d-scene .d-table .d-order-id { width: 72px; }
 .d-scene .d-table .d-status-cell { width: 132px; }
 .d-scene [data-ly-shapeshift] { break-inside: avoid; page-break-inside: avoid; }
 .d-toolbar, .d-test-options, .d-inspector, .d-chips, .d-launch, .d-sidebar { display: none !important; }
 .d-workspace { display: block; border: 1px solid #ddd; background: transparent; padding: 12px; }
 .d-stage { min-height: 0 !important; }
 .d-scene .d-print-card { position: static; margin: 16px 0 0; }
 .d-feedback { display: none; }
 /* A printed state remains readable in normal document flow (INV-10/16).
    Inactive states are not printed as if they were concurrent outcomes. */
 .d-scene [inert] { display: none !important; }
 .d-scene [data-ly-shapeshift] { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; min-height: 0 !important; opacity: 1 !important; visibility: visible !important; overflow: visible !important; margin-top: 16px; border: 1px solid #ccc; border-radius: 12px !important; }
 .d-scene [data-ly-clip], .d-scene [data-ly-state]:not([inert]), .d-scene .ly-wos__head { position: static !important; inset: auto !important; width: 100% !important; height: auto !important; max-height: none !important; overflow: visible !important; transform: none !important; filter: none !important; opacity: 1 !important; visibility: visible !important; }
 .d-scene [data-ly-bg] { display: none !important; }
 .d-scene .d-panel { max-height: none; overflow: visible; }
 .d-command-form { position: static; }
}

/* Same app frame as Scenes 02–03. The film's table is a surface, with no
   detached right-side systems inspector. Required local scope stays outside. */
.d-stage { padding:22px 28px 28px; min-height:640px; }
.film-side.d-sidebar { border-left:0; padding:10px 10px 12px; display:block; }
.film-side .d-system { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:6px 10px; border:0; }.film-side .d-system .ly-status { font-size:9px; padding:0; }.film-side .d-pins { margin:16px 8px 0; }.film-side .d-pin { padding:8px; border-radius:5px; }
.d-stage-head h3 { font-size:28px; letter-spacing:-.03em; }.d-stage-head { padding-bottom:22px; }
.d-table { margin:0; }.d-table-wrap { border-radius:8px; padding:0; }.d-table :is(th,td) { padding-inline:16px; }.d-table :is(th,td):first-child { padding-left:16px; }.d-table :is(th,td):last-child { padding-right:16px; }.d-table th { height:36px; background:var(--ly-surface-2); }.d-table td { height:48px; }.d-table .d-status-cell { width:136px; }
.d-source-id { display:flex; align-items:center; gap:9px; min-width:0; }.d-source-badge { display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 4px; font:9px var(--ly-font-mono); color:var(--ly-ink-soft); border:1px solid var(--ly-hairline); background:var(--ly-surface-2); border-radius:4px; flex-shrink:0; }.d-source { min-height:36px; gap:8px; }.d-source strong { font:500 12.5px var(--ly-font-text); }.d-source small { font-size:10px; }.d-source > b { font:12.5px var(--ly-font-mono); letter-spacing:0; }
.d-snapshot { gap:8px; }.d-snapshot .d-note { font-size:11px; line-height:1.45; }.d-why-band { padding:10px 0; border-top:1px solid var(--ly-hairline); display:grid; gap:8px; }.d-claim-row { display:grid; gap:3px; margin-top:8px; }.d-snapshot .d-provenance { font-size:9px; }
.d-stage .ly-wos__peek { width:min(340px,100%); }.d-stage .ly-wos__head { padding:12px 18px 10px; gap:8px; }.d-stage .ly-wos__state { gap:4px; width:auto; }.d-stage .ly-wos__head .ly-close-hint { display:none; }.d-stage .ly-wos__title { font-size:14px; }.d-stage .ly-wos__systems { font-size:9px; gap:6px; }.d-stage .ly-wos__head .ly-status { font-size:10px; }.d-stage .ly-wos__content { padding:12px 18px; }
.d-panel { gap:10px; }.d-record-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.d-product-cell { display:flex; align-items:center; gap:12px; }.d-product-cell > .is-small { width:24px; height:30px; border-radius:4px; }.d-product-cell .film-bottle { width:8px; height:22px; }.d-product-cell .film-bottle::before { left:1px; width:4px; }.d-products td { height:48px; }.d-product-name { font-size:13px; padding-block:6px; }.d-product-name small { margin-top:2px; }
.d-convergence { display:grid; grid-template-columns:230px minmax(0,1fr); gap:0; align-items:center; padding-block:4px; }.d-convergence-sources { display:grid; gap:10px; }.d-convergence-source { display:flex; align-items:center; gap:8px; min-height:30px; }.d-convergence-source > span:last-child { min-width:0; }.d-convergence-source b { display:block; font:11px var(--ly-font-mono); overflow-wrap:anywhere; }.d-convergence-source small { display:block; font:9px var(--ly-font-mono); color:var(--ly-muted); margin-top:3px; }.d-convergence-target { position:relative; display:flex; align-items:center; gap:16px; min-height:110px; padding-left:82px; }.d-convergence-lines { position:absolute; left:-14px; top:0; }.d-convergence-lines svg { fill:none; stroke:var(--ly-ink-soft); stroke-width:1.5; }.d-convergence-target h4 { font-size:20px; letter-spacing:-.02em; margin:5px 0; }.d-panel[data-ly-state="relation-record"] .d-note { font-size:11px; line-height:1.45; }.d-panel[data-ly-state="relation-record"] .d-live-summary { min-height:0; }.d-panel[data-ly-state="relation-record"] .ly-status { font-size:10px; }
.d-command-stage .film-top { margin:-22px -28px 22px; }.d-command-stage .d-launch { margin:0; flex-shrink:1; }.d-command-heading > .film-product-thumb { flex:0 0 40px; }.d-command-heading > div:nth-child(2) { flex:1; }.d-command-heading > .d-command-kpi { flex:0 0 auto; }
@container film-window (max-width:760px) { .film-side.d-sidebar { padding:8px 12px; }.film-side .d-pins { display:flex; flex-wrap:wrap; margin:0; }.film-side .d-pin { width:calc(50% - 4px); }.d-stage { padding:20px 18px; }.d-command-stage .film-top { margin:-20px -18px 20px; }.d-table :is(th,td) { padding-inline:8px; }.d-table :is(th,td):first-child { padding-left:8px; }.d-table :is(th,td):last-child { padding-right:8px; } }
@media(max-width:680px) { .d-stage { padding:18px 12px; }.d-command-stage .film-top { margin:-18px -12px 18px; }.d-convergence { grid-template-columns:minmax(0,1fr); gap:10px; }.d-convergence-target { padding-left:0; min-height:90px; gap:12px; }.d-convergence-lines { display:none; }.d-products .film-product-thumb { display:none; }.d-table .d-status-cell { width:112px; }.d-stage .ly-wos__head { flex-direction:row; }.d-stage-head h3 { font-size:24px; }.d-timer-instrument { flex-wrap:wrap; }.d-command-body { gap:10px; } }
.d-order-lens .ly-wos__systems { display:none; } /* repeated in the source rows and declared alias */
.d-order-lens .ly-wos__head { flex-direction:row; }.d-order-lens .ly-wos__head .ly-close-hint { display:inline; }.d-order-lens .d-claim-row { grid-template-columns:92px minmax(0,1fr); gap:6px; }.d-order-lens .d-claim-row .ly-status { padding:0; font-size:9px; }.d-order-lens .d-claim-row .d-note { font-size:10.5px; }
.d-panel.d-command { gap:0; }
.d-chart .d-forecast { stroke:var(--ly-warn); }.d-chart .d-band { fill:var(--ly-warn-fill); }
/* Table thumbnails keep the same donor bottle at half scale. */
.d-product-cell > .is-small { width:30px; height:34px; padding-bottom:4px; }.d-product-cell .film-bottle { width:9px; height:22px; border-radius:3px; box-shadow:inset -2px 0 0 hsl(212 60% 44%); }.d-product-cell .film-bottle::before { left:1.5px; right:1.5px; width:auto; }

@media(pointer:coarse),(max-width:680px) { .d-command-form .d-command-close {width:44px;min-height:44px;} }

/* Scene06 retains the source film's KPI/vertical-plot structure. The original
   weekly fixture and existing matched-period observations keep separate bases. */
.d-revenue-kpis { display:flex; gap:32px; flex-wrap:wrap; margin-bottom:8px; }.d-revenue-kpis > div { min-width:0; }.d-revenue-label { display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--ly-muted); margin-bottom:2px; }.d-revenue-swatch { width:8px; height:8px; border-radius:2px; }.d-revenue-swatch--0 { background:var(--ly-ink); }.d-revenue-swatch--1 { background:var(--ly-muted-soft); }.d-revenue-value { font:500 28px/1.1 var(--ly-font-display); letter-spacing:var(--ly-ls-tight); font-variant-numeric:tabular-nums; }.d-revenue-plot { display:block; width:100%; height:auto; }.d-revenue-baseline { stroke:var(--ly-hairline-faint); }.d-revenue-bar--0 { fill:var(--ly-ink); }.d-revenue-bar--1 { fill:var(--ly-muted-soft); }.d-revenue-axis { display:grid; grid-template-columns:1fr 1fr; font:10.5px var(--ly-font-mono); color:var(--ly-muted); text-align:center; margin:0 0 10px; }.d-plan-disclosures { display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; border-top:1px solid var(--ly-hairline); padding-top:12px; }.d-plan-disclosures .d-note { font-size:11px; }.d-plan-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--ly-hairline); padding-top:12px; }.d-plan-footer .ly-btn { width:auto; }.d-command-body [data-ly-component="impact-preview"] > .d-eye { margin-bottom:8px; }
@media(max-width:420px) { .d-revenue-kpis { gap:20px; }.d-revenue-value { font-size:26px; }.d-plan-disclosures { grid-template-columns:1fr; }.d-plan-footer { flex-wrap:wrap; }.d-plan-footer .ly-btn { min-height:44px; } }
.d-revenue-axis--weeks { grid-template-columns:repeat(4,1fr); }
.d-revenue-delta { align-self:center; margin-left:auto; font:10.5px var(--ly-font-mono); padding:4px 8px; border-radius:999px; background:var(--ly-good-fill); color:var(--ly-good); }
