/* Only the storyboard layout: existing cards, media and timeline stay mounted. */
.studio-shell.tab-storyboard.sb-resizable:not(.storyboard-chat-full) .creation-workspace{position:relative;display:flex!important;flex-direction:row!important;overflow-x:hidden;gap:0!important}
.studio-shell.tab-storyboard.sb-resizable:not(.storyboard-chat-full) .creation-content{flex:0 0 var(--sb-content-width)!important;width:var(--sb-content-width);min-width:0!important;overflow-x:auto}
.studio-shell.tab-storyboard.sb-resizable:not(.storyboard-chat-full) .native-storyboard.studio{grid-template-columns:var(--sb-assets-width) 8px minmax(0,1fr)!important;gap:0!important;padding-right:8px!important;min-width:var(--sb-board-width)!important;box-sizing:border-box}
.studio-shell.tab-storyboard.sb-resizable .native-storyboard>.studio-main{grid-column:3;min-width:0!important}
.studio-shell.tab-storyboard.sb-resizable .native-storyboard>.studio-assets{grid-column:1;grid-row:1;min-width:0!important}
.studio-shell.tab-storyboard.sb-resizable .native-storyboard.assets-collapsed>.studio-assets{display:none!important}
.studio-shell.tab-storyboard.sb-resizable .editor-columns{grid-template-columns:var(--sb-script-width) 8px minmax(0,1fr)!important;gap:0!important}
.studio-shell.tab-storyboard.sb-resizable .editor-columns>.native-prompt-card{grid-column:1;min-width:0!important;max-width:none;display:flex!important}
.studio-shell.tab-storyboard.sb-resizable .editor-columns>.preview-column{grid-column:3;min-width:0!important;max-width:none;display:flex!important}
.studio-shell.tab-storyboard.sb-resizable:not(.storyboard-chat-full) .creation-workspace>.sba-panel{position:relative!important;inset:auto!important;flex:0 0 var(--native-chat-width)!important;min-width:0!important;max-width:none!important;display:flex!important}
.studio-shell.tab-storyboard.sb-resizable .sba-panel>.sda-resize{display:none!important}
.studio-shell.tab-storyboard.sb-resizable .sb-panel-handle{position:relative;flex:0 0 8px;align-self:stretch;min-width:0;min-height:0;cursor:col-resize;touch-action:none;outline:none;z-index:6;background:transparent}
.studio-shell.tab-storyboard.sb-resizable [data-sb-panel=assets]{grid-column:2;grid-row:1}
.studio-shell.tab-storyboard.sb-resizable [data-sb-panel=middle]{grid-column:2;grid-row:1}
.studio-shell.tab-storyboard.sb-resizable [data-sb-panel=assistant]{position:absolute;left:var(--sb-content-width);top:0;bottom:0;width:16px;transform:translateX(-50%);z-index:30}
.studio-shell.tab-storyboard.sb-resizable .sb-panel-handle::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translateX(-50%);background:transparent}
.studio-shell.tab-storyboard.sb-resizable .sb-panel-handle:hover::after,.studio-shell.tab-storyboard.sb-resizable .sb-panel-handle:focus-visible::after{background:#6b6b6b}
.studio-shell.tab-storyboard.sb-resizable .sb-panel-handle[hidden]{display:none!important}
.sb-panels-dragging,.sb-panels-dragging *{cursor:col-resize!important;user-select:none!important}
