/* Scoped media surfaces; existing story/process sticky parents remain unchanged. */
.motion-slot { position: relative; min-width: 0; overflow: hidden; background: #12100d; }
.motion-slot > img,.motion-slot > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.motion-slot > img { display: block; }
.motion-slot > video { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.motion-slot[data-frame-visible="true"] > video { opacity: 1; }
.motion-video-toggle { position: absolute; z-index: 4; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(12,12,12,.8); cursor: pointer; }
.motion-video-toggle svg { width: 18px; height: 18px; }
.motion-video-toggle[hidden] { display: none; }
.motion-video-toggle:focus-visible,.workflow-step:focus-visible,.phone-next:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.outcome-visual { min-height: 0; display: flex; flex-direction: column; align-self: center; overflow: visible; }
.outcome-visual::after { display: none; }
.outcome-film { aspect-ratio: 3/2; }
.outcome-visual .outcome-film img { filter: none; }
.outcome-visual figcaption { position: static; margin: 0; padding: 24px 28px; font-size: 18px; line-height: 1.5; }
.outcome-visual figcaption small { display: block; margin-top: 12px; color: var(--dim); font-size: 12px; font-weight: 500; }
.story[data-film-enhanced] { min-height: 310svh; }
.story-film-screen { padding: 0; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(220px,1fr) auto; justify-content: stretch; height: 560px; }
.phone-visual-stack { min-width: 0; min-height: 0; display: grid; background: #151310; }
.phone-scene { min-width: 0; min-height: 0; height: 100%; display: none; grid-template-rows: auto minmax(0,1fr); }
.phone-scene.is-active { display: grid; animation: sceneEnter .24s ease-out both; }
.phone-scene[data-phone-scene="1"],.phone-scene[data-phone-scene="2"],.phone-scene[data-phone-scene="3"] { grid-template-rows: auto minmax(0,1fr) auto; }
.phone-app-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: #f3eee6; font-size: 14px; font-weight: 750; }
.phone-app-bar small { color: #ada69a; font-size: 11px; font-weight: 500; }
.phone-film { min-height: 0; }
.phone-film > img,.phone-film > video { object-fit: contain; }
.saved-menu { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 14px; align-content: center; align-items: center; padding: 14px 16px; }
.saved-menu img { width: 90px; height: 64px; object-fit: cover; border-radius: 4px; }
.saved-menu b { display: block; color: #fff; font-size: 15px; line-height: 1.4; }
.saved-menu span { display: flex; align-items: center; gap: 6px; color: #d4c8b7; font-size: 12px; margin-top: 6px; }
.saved-menu svg { width: 14px; height: 14px; color: var(--orange); }
.menu-conversation { display: grid; gap: 8px; padding: 0 16px 14px; font-size: 14px; line-height: 1.5; }
.menu-conversation p { margin: 0; padding: 9px 12px; max-width: 94%; border-radius: 6px; }
.menu-question { justify-self: start; color: #eae8e3; background: #30302e; }
.menu-reply { justify-self: end; color: #f8e4c0; background: #3b2b13; }
.visit-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 45%; }
.visit-information { display: grid; gap: 6px; padding: 12px 16px; margin: 0; }
.visit-information div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; font-size: 14px; line-height: 1.4; }
.visit-information dt { color: var(--orange); font-weight: 750; }
.visit-information dd { margin: 0; color: #eee9e2; }
.phone-product-path { display: flex; justify-content: space-between; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); color: #e1c8a0; font-size: 12px; }
@keyframes sceneEnter { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.phone-stage-stack { display: grid; background: #090909; border-top: 1px solid var(--line); }
.phone-stage { grid-area: 1/1; padding: 22px; visibility: hidden; opacity: 0; transform: translateY(7px); transition: opacity .28s ease,transform .28s ease,visibility .28s; }
.phone-stage.is-active { visibility: visible; opacity: 1; transform: none; }
.story-film-screen .phone-stage strong { display: block; font: 800 27px/1.22 var(--display); letter-spacing: 0; margin-top: 10px; }
.phone-stage p { font-size: 14px; line-height: 1.5; color: #c7c3bd; margin-top: 12px; }
.phone-actions { display: flex; gap: 22px; margin-top: 16px; color: #ece7df; font-size: 14px; }
.phone-actions span { display: inline-flex; align-items: center; gap: 8px; }
.phone-actions svg { width: 19px; height: 19px; color: var(--orange); }
.phone-next { display: inline-flex; align-items: center; gap: 16px; padding-block: 12px 2px; font-size: 14px; font-weight: 750; color: var(--orange); }
.live-commerce { border-top: 1px solid var(--line); background: #090807; }
.live-commerce-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: 48px; }
.live-film { aspect-ratio: 16/9; }
.live-film > img,.live-film > video { object-fit: contain; }
.live-commerce-visual figcaption { font-size: 12px; color: var(--dim); margin-top: 12px; }
.live-commerce-copy { min-width: 0; }
.live-commerce-copy h2 { font: 800 36px/1.22 var(--display); letter-spacing: 0; }
.live-commerce-copy > p:not(.kicker) { font-size: 16px; line-height: 1.7; margin-top: 20px; color: var(--muted); }
.commerce-path { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: decimal; padding-left: 20px; margin-top: 24px; font-size: 14px; color: #e4ddd3; }
.commerce-path li { padding-right: 6px; }
.commerce-path li::marker { color: var(--orange); }
.live-commerce-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.live-commerce-actions .button { white-space: normal; text-align: center; }
.operation-showcase[data-workflow-enhanced] { min-height: 270svh; }
.operation-panel .workflow-figure { display: flex; flex-direction: column; justify-content: center; }
.workflow-surface { display: none; min-height: 0; flex: 1; padding: 28px; background: #0e0e0d; }
[data-active-operation="dashboard"] .workflow-surface { display: flex; flex-direction: column; justify-content: center; }
.workflow-heading { font-size: 12px; color: var(--orange); margin-bottom: 14px; }
.workflow-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.workflow-step { min-width: 0; padding: 12px 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #a4a09b; font-size: 16px; font-weight: 750; cursor: pointer; }
.workflow-step.is-active { color: #fff; border-bottom-color: var(--orange); background: rgba(255,152,0,.09); }
.workflow-details { display: grid; min-height: 0; margin-top: 20px; }
.workflow-detail { grid-area: 1/1; visibility: hidden; opacity: 0; pointer-events: none; }
.workflow-detail.is-active { visibility: visible; opacity: 1; pointer-events: auto; animation: sceneEnter .24s ease-out both; }
.workflow-detail h4 { margin: 0 0 22px; color: #f8f5f0; font: 800 28px/1.3 var(--display); letter-spacing: 0; }
.workflow-canvas { min-width: 0; color: #e7e3dc; font-size: 16px; line-height: 1.5; }
.workflow-summary { font-size: 14px; line-height: 1.6; color: #aaa69e; margin-top: 20px; }
.brief-sheet header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brief-sheet header span { font: 600 11px var(--tech); color: var(--orange); }
.brief-sheet header b { font-size: 19px; }
.brief-sheet dl { margin: 0; padding-block: 10px; }
.brief-sheet dl div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-block: 10px; }
.brief-sheet dt { color: #96938d; }
.brief-sheet dd { margin: 0; }
.brief-schedule { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; padding: 0; margin: 12px 0 0; border-top: 2px solid #9f6b27; }
.brief-schedule li { padding: 14px 10px 0 0; }
.brief-schedule span { display: block; color: #aaa59b; font-size: 12px; margin-bottom: 4px; }
.brief-schedule b { font-size: 15px; }
.shot-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.operation-panel .shot-strip figure { min-height: 0; height: auto; overflow: hidden; background: none; }
.operation-panel .shot-strip img { width: 100%; height: 112px; object-fit: cover; margin: 0; }
.operation-panel .shot-strip .shot-crop-1 { object-position: 68% 50%; object-fit: none; width: 100%; }
.operation-panel .shot-strip figcaption { position: static; padding: 8px 0; background: none; font-size: 13px; color: #cdc7bc; }
.edit-timeline { display: grid; gap: 12px; margin-top: 18px; }
.edit-timeline > div { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; }
.edit-timeline > div > span { color: #99958d; font-size: 13px; }
.edit-timeline ol { display: flex; list-style: none; gap: 4px; padding: 0; margin: 0; }
.edit-timeline li { flex: 1; padding: 10px 8px; background: #46321b; border-left: 2px solid #ba8032; color: #f2ddba; font-size: 13px; }
.edit-timeline > div:last-child li { background: #202f2d; border-color: #7da99d; color: #c5ddd5; }
.workflow-note { margin: 18px 0 0; font-size: 13px; color: #b2ada4; }
.review-desk { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review-checks li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-checks span { display: block; font-size: 12px; color: #a9c4b7; margin-bottom: 5px; }
.review-checks b { font-size: 16px; }
.review-feedback { border-left: 2px solid var(--orange); padding: 14px 0 14px 20px; align-self: center; }
.review-feedback > span { font-size: 12px; color: var(--orange); }
.review-feedback p { margin: 12px 0; font-size: 19px; line-height: 1.5; }
.review-feedback b { font-size: 12px; font-weight: 500; color: #aaa49a; }
.publish-row { display: grid; grid-template-columns: 1fr .8fr 1fr; align-items: center; gap: 12px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.publish-head { color: #969189; font-size: 12px; padding-top: 0; }
.publish-row b { font-size: 16px; }
.publish-row > span { font-size: 14px; }
.publish-row em { font-size: 13px; color: #d9bf92; font-style: normal; }
[data-active-operation="dashboard"] .workflow-figure > #operationImage { display: none; }
[data-active-operation="dashboard"] .workflow-figure > figcaption { position: static; padding: 10px 18px; background: transparent; flex: 0 0 auto; }
@media (max-width: 1199px) {
  .live-commerce-grid { gap: 30px; }
  .live-commerce-copy h2 { font-size: 30px; }
}
@media (max-width: 809px) {
  .outcome-visual { display: block; }
  .outcome-film { aspect-ratio: 3/2; }
  .outcome-visual figcaption { padding: 20px; font-size: 17px; }
  .story[data-film-enhanced] { min-height: 330svh; }
  .story-film-screen { height: auto; min-height: 0; grid-template-rows: minmax(150px,1fr) auto; }
  .phone-app-bar { padding: 8px 12px; font-size: 12px; }
  .phone-app-bar small { font-size: 10px; }
  .saved-menu { grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 8px 12px; }
  .saved-menu img { width: 64px; height: 44px; }
  .saved-menu b { font-size: 13px; }
  .saved-menu span { font-size: 11px; margin-top: 3px; }
  .menu-conversation { padding: 0 12px 8px; gap: 5px; font-size: 12px; line-height: 1.4; }
  .menu-conversation p { padding: 6px 9px; }
  .visit-information { padding: 8px 12px; gap: 4px; }
  .visit-information div { font-size: 12px; gap: 8px; }
  .phone-product-path { font-size: 11px; padding: 7px 12px; }
  .story-film-screen .phone-stage { padding: 13px 16px; }
  .story-film-screen .phone-stage strong { font-size: 24px; margin-top: 7px; }
  .phone-stage p { font-size: 13px; margin-top: 8px; }
  .phone-actions { margin-top: 10px; font-size: 13px; }
  .phone-next { font-size: 13px; padding-top: 10px; }
  .phone-film .motion-video-toggle { top: 8px; right: 8px; }
  .live-commerce-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .live-commerce-copy h2 { font-size: 30px; }
  .live-commerce-copy > p:not(.kicker) { font-size: 15px; margin-top: 16px; }
  .live-commerce-actions { flex-direction: column; margin-top: 22px; }
  .live-commerce-actions .button { width: 100%; min-height: 48px; }
  .operation-showcase[data-workflow-enhanced] { min-height: 290svh; }
  .workflow-surface { padding: 16px; justify-content: flex-start; }
  .workflow-heading { margin-bottom: 6px; font-size: 11px; }
  .workflow-step { padding: 9px 3px; font-size: 14px; }
  .workflow-details { margin-top: 10px; }
  .workflow-detail h4 { font-size: 21px; margin-bottom: 12px; }
  .workflow-canvas { font-size: 13px; }
  .workflow-summary { font-size: 12px; margin-top: 12px; }
  .brief-sheet header { padding-bottom: 8px; }
  .brief-sheet header b { font-size: 15px; }
  .brief-sheet header span { font-size: 10px; }
  .brief-sheet dl { padding-block: 4px; }
  .brief-sheet dl div { gap: 10px; padding-block: 7px; grid-template-columns: 30px 1fr; }
  .brief-schedule { margin-top: 6px; }
  .brief-schedule li { padding-top: 8px; }
  .brief-schedule b { font-size: 13px; }
  .brief-schedule span { font-size: 11px; }
  .operation-panel .shot-strip img { height: 72px; }
  .operation-panel .shot-strip figcaption { font-size: 11px; padding-block: 5px; }
  .edit-timeline { gap: 8px; margin-top: 10px; }
  .edit-timeline > div { grid-template-columns: 28px 1fr; gap: 7px; }
  .edit-timeline li { font-size: 11px; padding: 7px 5px; }
  .workflow-note { margin-top: 10px; font-size: 11px; }
  .review-desk { grid-template-columns: 1fr; gap: 10px; }
  .review-checks li { display: flex; align-items: center; gap: 12px; padding-block: 7px; }
  .review-checks span { font-size: 10px; margin: 0; }
  .review-checks b { font-size: 13px; }
  .review-feedback { padding: 4px 0 4px 12px; }
  .review-feedback p { margin: 6px 0; font-size: 15px; }
  .review-feedback b { font-size: 11px; }
  .publish-row { grid-template-columns: 1fr .8fr 1fr; gap: 8px; padding-block: 10px; }
  .publish-row b { font-size: 13px; }
  .publish-row > span,.publish-row em { font-size: 11px; }
  [data-active-operation="dashboard"] .workflow-figure > figcaption { padding: 6px 12px; font-size: 9px; }
  .operation-showcase[data-workflow-enhanced] .operation-menu { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .operation-showcase[data-workflow-enhanced] .operation-tab { min-height: 48px; padding: 8px 4px; font-size: 12px; }
}
@media (max-width: 809px) and (max-height: 740px) {
  .story[data-film-enhanced] .story-copy h2 { font-size: 29px; }
  .story-film-screen .phone-stage strong { font-size: 21px; }
  .story-film-screen .phone-stage { padding: 10px 14px; }
  .story[data-film-enhanced] .device-top,.story[data-film-enhanced] .device-bottom { height: 24px; flex-basis: 24px; }
  .operation-showcase[data-workflow-enhanced] .operation-copy { padding: 12px 16px; }
  .operation-showcase[data-workflow-enhanced] .operation-copy h3 { font-size: 26px; }
  .operation-showcase[data-workflow-enhanced] .operation-copy p { font-size: 12px; margin-top: 8px; }
}
@media (max-width: 809px) and (max-height: 590px) {
  .story[data-film-enhanced],.operation-showcase[data-workflow-enhanced] { min-height: auto; }
  .story[data-film-enhanced] .story-sticky,.operation-showcase[data-workflow-enhanced] .operation-sticky { position: relative; top: auto; height: auto; overflow: visible; }
  .story[data-film-enhanced] .channel-device { height: auto; }
  .story-film-screen { grid-template-rows: 260px auto; }
  .operation-showcase[data-workflow-enhanced] .workflow-figure { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-slot > video,.motion-video-toggle { display: none; }
  .story[data-film-enhanced],.operation-showcase[data-workflow-enhanced] { min-height: auto; }
  .story[data-film-enhanced] .channel-device { display: block; height: auto; margin-top: 28px; }
  .story-film-screen { height: auto; display: grid; grid-template-rows: none; }
  .phone-visual-stack,.phone-stage-stack { display: contents; }
  .phone-scene { display: grid; height: 300px; animation: none; }
  .phone-scene[data-phone-scene="0"] { grid-row: 1; }
  .phone-stage[data-phone-stage="0"] { grid-row: 2; }
  .phone-scene[data-phone-scene="1"] { grid-row: 3; }
  .phone-stage[data-phone-stage="1"] { grid-row: 4; }
  .phone-scene[data-phone-scene="2"] { grid-row: 5; }
  .phone-stage[data-phone-stage="2"] { grid-row: 6; }
  .phone-scene[data-phone-scene="3"] { grid-row: 7; }
  .phone-stage[data-phone-stage="3"] { grid-row: 8; }
  .phone-stage { visibility: visible; opacity: 1; transform: none; border-bottom: 1px solid var(--line); }
  .operation-showcase[data-workflow-enhanced] .operation-panel { display: grid; }
  .operation-showcase[data-workflow-enhanced] .workflow-figure { height: auto; overflow: visible; }
  .operation-showcase[data-workflow-enhanced] .workflow-surface { display: block; }
  .operation-showcase[data-workflow-enhanced] .workflow-figure > #operationImage,.operation-showcase[data-workflow-enhanced] .operation-static-list > article:first-child { display: none; }
  .workflow-details { display: block; }
  .workflow-steps { display: none; }
  .workflow-detail { visibility: visible; opacity: 1; pointer-events: auto; padding-block: 20px; border-bottom: 1px solid var(--line); animation: none; }
  .workflow-detail,.workflow-step { transition: none; }
}
@media print {
  .motion-slot > video,.motion-video-toggle { display: none; }
}
