/* Soft Commotion Director Studio — scene-by-scene editing v394.
   Visual-only folding: scene data remains in the document and in the draft. */
.sc-scene-nav-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:11px 0 8px;padding:10px 11px;border:1px solid #ddc6d2;border-radius:10px;background:linear-gradient(140deg,#fffaf8,#f5edf1)}
.sc-scene-nav-tools>span{font:600 11px/1.5 "DM Sans",system-ui,sans-serif;color:#785269}
.sc-scene-nav-tools>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sc-scene-nav-tools button{min-height:38px;border:1px solid #c7abbc;border-radius:7px;background:#fff;color:#6e3f58;padding:7px 10px;font:600 11px/1.3 "DM Sans",system-ui,sans-serif;cursor:pointer}
.sc-scene-nav-tools button:hover{border-color:#a0748e;background:#f9eef3}
.ft-journey-scene .sc-scene-disclose{min-height:36px;min-width:90px;max-width:108px;padding:7px 10px;font:700 11px/1.3 "DM Sans",system-ui,sans-serif;color:#fff;background:#765269;border-color:#765269}
.ft-journey-scene .sc-scene-disclose:hover{background:#90627e;border-color:#90627e}
.ft-journey-scene[data-scene-open="false"]{padding-bottom:12px;background:#fbf7f8;box-shadow:none}
.ft-journey-scene[data-scene-open="false"]>header{margin-bottom:7px;padding-bottom:9px;border-bottom-color:#efdee7}
.ft-journey-scene[data-scene-open="false"]>.ft-scene-thumb,
.ft-journey-scene[data-scene-open="false"]>.ft-scene-thumb-toolbar,
.ft-journey-scene[data-scene-open="false"]>.ft-journey-scene-fields,
.ft-journey-scene[data-scene-open="false"]>.sc-scene-stepper{display:none!important}
.ft-journey-scene[data-scene-open="true"]>.sc-scene-collapsed{display:none!important}
.sc-scene-collapsed{display:flex;gap:5px;flex-direction:column;min-width:0;padding:5px 3px 1px}
.sc-scene-collapsed strong{font:600 13px/1.35 "DM Sans",system-ui,sans-serif;color:#573b4d;overflow-wrap:anywhere}
.sc-scene-collapsed small{font:400 11px/1.5 "DM Sans",system-ui,sans-serif;color:#866b7b;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ft-journey-scene[data-scene-open="true"]{border-color:#b287a0;box-shadow:0 6px 25px #58334915}
.ft-storyboard-cell.sc-storyboard-active{box-shadow:0 0 0 2px #97687e,0 7px 14px #38223620;outline:2px solid #ba8d9f;outline-offset:2px}
.sc-scene-stepper{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 1px 4px;margin-top:10px;border-top:1px solid #eedee5}
.sc-scene-stepper button{min-height:42px;border:1px solid #bda1b3;background:#fcf6f8;color:#70445b;border-radius:8px;padding:9px 12px;font:600 11px/1.4 "DM Sans",system-ui,sans-serif;cursor:pointer}
.sc-scene-stepper button:hover:not(:disabled){background:#eee0e7;border-color:#a77490}
.sc-scene-stepper button:disabled{cursor:not-allowed;opacity:.35}
.sc-scene-stepper span{font:600 11px/1.3 "DM Sans",system-ui,sans-serif;color:#917287;white-space:nowrap}
.sc-scene-nav-tools button:focus-visible,.ft-journey-scene .sc-scene-disclose:focus-visible,.sc-scene-stepper button:focus-visible{outline:3px solid #a66f8d;outline-offset:3px}
.ft-journey-scene{scroll-margin-top:86px}
@media(max-width:700px){
 .ft-journey-scene{padding:10px 9px;margin:9px 0}
 .ft-journey-scene>header{gap:6px;font-size:16px;flex-wrap:wrap}
 .ft-journey-scene>header>div{margin-left:auto;display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}
 .ft-journey-scene>header button{min-width:42px;width:42px;min-height:44px;height:44px;font-size:16px}
 .ft-journey-scene>header .sc-scene-disclose{width:auto;max-width:none;min-width:76px;min-height:44px;padding:8px 9px;font-size:11px}
 .sc-scene-nav-tools{gap:8px;padding:9px;align-items:flex-start}
 .sc-scene-nav-tools>div{max-width:66%}
 .sc-scene-nav-tools button{font-size:10px;min-height:42px}
 .sc-scene-stepper button{font-size:10px;padding:8px 9px}
}
@media(max-width:355px){
 .ft-journey-scene>header{align-items:flex-start}
 .ft-journey-scene>header>span{width:100%}
 .ft-journey-scene>header>div{width:100%;justify-content:flex-end}
 .sc-scene-nav-tools{flex-direction:column}
 .sc-scene-nav-tools>div{max-width:none;width:100%;justify-content:space-between}
 .sc-scene-nav-tools button{flex:1}
 .sc-scene-stepper{gap:3px}
 .sc-scene-stepper button{font-size:9px;padding:7px 6px}
}
@media(prefers-reduced-motion:reduce){
 .ft-storyboard-cell.sc-storyboard-active{transition:none!important}
}
/* Long-story focus is explained without blocking the user's choice to expand everything. */
.sc-focus-hint{font:500 11px/1.55 "DM Sans",system-ui,sans-serif;color:#75576a;background:#f9eff4;border-left:3px solid #b68ca1;padding:8px 11px;margin:9px 0 12px;border-radius:0 7px 7px 0}