.native-storyboard .native-prompt-card.sbe-card{padding:28px 24px;display:flex;flex-direction:column;gap:0;min-width:0;overflow:hidden;background:#171717;border:1px solid #292929;border-radius:26px}.sbe-heading{display:flex;align-items:center;gap:12px;min-height:34px;padding:0 12px}.sbe-heading>svg{width:32px;height:32px;opacity:.45}.sbe-heading h2{font:500 24px/1.3 Georgia,'Songti SC',serif;white-space:nowrap;margin:0}.sbe-heading>span{color:#8a8a8a;font-size:12px;margin-left:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sbe-references{display:flex;align-items:center;gap:10px;min-height:60px;padding:12px;overflow-x:auto;flex-shrink:0}.sbe-thumb{position:relative;width:42px;height:42px;flex-shrink:0}.sbe-thumb>button:first-child{border:0;padding:0;width:100%;height:100%;background:#303030;border-radius:9px;overflow:hidden}.sbe-thumb img{height:100%;width:100%;object-fit:cover;display:block}.sbe-thumb .sbe-at{position:absolute;right:-4px;top:-5px;width:21px;height:21px;font-size:13px;border-radius:50%;padding:0;border:1px solid #555;background:#202020;opacity:0}.sbe-thumb .sbe-replace{position:absolute;right:0;bottom:0;border:0;padding:2px 3px;border-radius:5px;background:#171717b3;opacity:0}.sbe-thumb:hover .sbe-at,.sbe-thumb:hover .sbe-replace,.sbe-thumb:focus-within button{opacity:1}.sbe-surface{position:relative;min-height:0;flex:1;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#171717}.sbe-card.is-editing .sbe-surface{background:#242424}.sbe-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:12px 20px 24px;line-height:2.45;font-size:14px;scrollbar-width:thin;scrollbar-color:#454545 transparent}.sbe-block{margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere}.sbe-content{outline:0;min-width:6px;min-height:1em}.sbe-content:empty:after{content:'\200b'}.sbe-content[contenteditable=true]{cursor:text}.sbe-shot-label{white-space:nowrap}.sbe-duration{display:inline-flex;vertical-align:baseline;align-items:center;gap:3px;white-space:nowrap;border:0;background:transparent;padding:0 3px;color:inherit;font-size:14px;border-radius:4px}.sbe-duration:disabled{opacity:1;cursor:default}.sbe-duration svg{width:13px;height:13px}.sbe-duration:not(:disabled):hover{background:#444}.sbe-colon{margin-left:4px}.sbe-mention,.sbe-motion{display:inline-flex;align-items:center;vertical-align:middle;gap:4px;background:#252525;border-radius:7px;padding:1px 5px;line-height:1.6;cursor:pointer;white-space:normal;font-size:13px;font-weight:500;max-width:100%;user-select:all}.sbe-mention img{height:16px;width:16px;border-radius:4px;object-fit:cover;flex-shrink:0}.sbe-mention svg{height:10px;width:10px;flex-shrink:0}.sbe-mention:hover{background:#3b3b3b}.sbe-motion{color:#d5ceec}.sbe-footer{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:10px 16px;background:linear-gradient(transparent,#080808);min-height:46px}.sbe-footer button{font-size:12px;border:1px solid #393939;border-radius:20px;background:#151515;padding:3px 12px;min-height:25px;white-space:nowrap}.sbe-footer .sbe-generate{background:#eee;color:#101010;font-weight:600}.sbe-total{color:#777;font-size:11px;white-space:nowrap}.sbe-popup{position:fixed;z-index:250;width:278px;max-height:min(480px,calc(100vh - 24px));overflow:auto;border:1px solid #393939;border-radius:24px;background:#222;box-shadow:0 10px 36px #0007;padding:12px;color:#eee;font-size:13px;scrollbar-width:thin}.sbe-popup button{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;text-align:left;font-size:13px;border-radius:18px;line-height:1.4}.sbe-popup button:hover,.sbe-popup .keyboard{background:#343434}.sbe-popup[role=listbox]{width:165px;border-radius:12px;padding:6px}.sbe-popup[role=listbox] button{border-radius:6px}.sbe-duration-form{display:flex;align-items:center;gap:4px;border-top:1px solid #3c3c3c;padding:8px 5px}.sbe-duration-form input{min-width:0;width:80px;padding:4px 5px;border:0;background:#303030}.sbe-duration-form button{padding:6px;width:28px}.sbe-picker-tabs{display:flex;gap:12px;border-bottom:1px solid #333;padding:0 8px;margin-bottom:10px}.sbe-picker-tabs button{padding:8px 0;width:auto;border-radius:0;border-bottom:2px solid transparent;color:#999}.sbe-picker-tabs button[aria-selected=true]{color:#fff;border-color:#fff}.sbe-picker-body{overflow:auto;max-height:295px;scrollbar-width:thin}.sbe-picker-body h4{font-size:12px;color:#8e8e8e;margin:10px 12px 4px;font-weight:400}.sbe-choice img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}.sbe-choice span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbe-choice>svg{height:14px;width:14px;flex-shrink:0}.sbe-picker-foot{border-top:1px solid #393939;padding-top:6px;margin-top:8px}.sbe-picker-foot button svg:last-child{margin-left:auto}.sbe-popup small{display:block;color:#888;margin-top:4px;font-size:11px}.sbe-search{width:100%;background:#2e2e2e;border:0;border-radius:20px;font-size:12px;padding:8px 12px;margin-bottom:8px}.sbe-no-results{padding:20px;color:#888}.sbe-preview-image{width:100%;max-height:320px;object-fit:contain;border-radius:16px}.sbe-preview-label{margin:10px 4px 4px;line-height:1.5}.sbe-popup[role=dialog]{width:290px}.sbe-chat-quote{position:relative;margin:8px 8px 0;padding:10px 28px 10px 12px;background:#292929;border-radius:12px;font-size:12px}.sbe-chat-quote>div{max-height:100px;overflow:auto;white-space:pre-wrap;line-height:1.6}.sbe-chat-quote button{position:absolute;right:6px;top:5px;border:0;background:transparent;color:#aaa}.sbe-chat-quote small{display:block;color:#888;padding-top:7px}.sbe-motion-modal{width:min(970px,94vw)}.sbe-motion-tabs{display:flex;gap:18px;margin-bottom:20px}.sbe-motion-tabs button{padding:6px 0;border:0;border-bottom:2px solid transparent;background:none;color:#999;font-size:13px}.sbe-motion-tabs [aria-pressed=true]{color:#fff;border-color:#fff}.sbe-motion-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sbe-motion-grid button{display:flex;flex-direction:column;text-align:left;border:0;background:none;padding:0;gap:8px}.sbe-motion-grid button[hidden]{display:none}.sbe-motion-grid small{color:#aaa}.sbe-motion-example{height:110px;background:linear-gradient(145deg,#454346,#171719);border:1px solid #414141;width:100%;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:20px}.sbe-motion-example span{font-size:32px;color:#ccc}.sbe-motion-grid button:hover .sbe-motion-example{border-color:#aaa}.sbe-card [hidden]{display:none!important}@media(max-width:1100px){.sbe-heading>span{font-size:10px}.native-storyboard .native-prompt-card.sbe-card{padding:20px 12px}.sbe-scroll{padding:10px 12px}.sbe-total{display:none}.sbe-heading h2{font-size:21px}}@media(max-width:700px){.sbe-motion-grid{grid-template-columns:repeat(2,1fr)}}
/* Model controls live in the shared header; the empty preview has one inline entry. */
.native-storyboard .editor-columns:has(.sbe-card){grid-template-columns:minmax(0,1fr) minmax(250px,.45fr)}
.native-storyboard .preview-column:has(.preview-empty):not(:has(.shot-video-failure)) .preview-config,.native-storyboard .preview-column:has(.preview-empty):not(:has(.shot-video-failure)) .native-video-actions{display:none}
.native-storyboard .preview-column:has(.sbe-preview-generate) .preview-window{background:transparent;display:flex;align-items:center;justify-content:center}
.native-storyboard .preview-column:has(.sbe-preview-generate) .preview-empty{width:100%;height:185px;min-height:185px;max-height:185px;background:#202020;border-radius:26px;position:relative;display:flex;align-items:center;justify-content:center;padding-bottom:30px}
.native-storyboard .preview-column:has(.sbe-preview-generate) .play-ring{width:60px;height:60px;border:1px dashed #484848;border-radius:20px;box-shadow:none;margin:0}
.native-storyboard .preview-column:has(.sbe-preview-generate) .preview-empty p{font-size:12px;position:absolute;bottom:32px;left:0;width:100%;padding-right:55px;margin:0;text-align:center}
.native-storyboard .sbe-preview-generate{position:absolute;bottom:31px;left:calc(50% + 4px);padding:0;min-height:0;height:auto;border:0;background:transparent;font-size:12px;color:#eee;border-radius:0}
@media(max-width:1100px){.native-storyboard .editor-columns:has(.sbe-card){grid-template-columns:minmax(0,1fr) 250px}}

.sbe-review-note{margin:0 18px 12px;padding:10px 12px;border-radius:8px;background:#fff6df;color:#745418;font-size:13px;line-height:1.5;}
