.start-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}
.start-options>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;min-width:0;min-height:112px;padding:16px;border:1px solid var(--border);border-radius:6px;background:var(--theme-surface,#fff);color:inherit;text-align:left;font-size:13px;line-height:1.5}
.start-options>button:hover{border-color:var(--green);background:var(--theme-hover,#edf4f0)}
.start-options>button svg{width:24px;height:24px;color:var(--green)}
#create-panel-start{min-width:0}
#create-panel-start:has(>.start-chat-form){padding-bottom:calc(var(--speech-height,140px) + 36px)}
.start-chat-form.is-initial{position:fixed;left:var(--speech-left);width:var(--speech-width);bottom:var(--speech-bottom,12px);z-index:4;margin:0;box-sizing:border-box}
.start-chat-form.is-initial .refine-actions{justify-content:space-between}
.start-chat-form.is-initial .speech-add{width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--muted);border-radius:50%}
.start-chat-form.is-initial .speech-add:hover{background:var(--theme-hover,#edf3ef)}
.start-chat-form.is-initial .speech-add svg{width:20px;height:20px}
.composer:has(#create-panel-start:not([hidden]) .start-workflow:not([hidden]))>.create-welcome{display:none}
.start-workflow{min-width:0;padding-bottom:calc(var(--speech-height,140px) + 40px)}
.start-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}
.start-heading h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere;margin:0;min-width:0}
.start-heading>button{flex:none}
.start-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.start-material{min-width:0;border-bottom:1px solid var(--border);padding-bottom:12px}
.start-material:only-child{grid-column:1/-1}
.start-material>:is(img,video){display:block;width:100%;height:auto;max-height:360px;object-fit:contain;background:var(--theme-hover,#edf4f0);border-radius:4px}
.start-material audio{width:100%;max-width:100%}
.start-material>span{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:8px}
.start-material-actions,.start-create-tools{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.start-material-actions button,.start-create-tools button{font-size:12px;padding:8px 10px}
.start-conversation{margin-top:28px}
.start-conversation-turn{display:flex;flex-direction:column;gap:20px;min-width:0;padding-top:24px;border-top:1px solid var(--border)}
.start-turn-label{font-size:12px;line-height:1.5;color:var(--muted)}
.start-conversation-turn.is-latest>.start-turn-label{color:var(--green);font-weight:600}
.start-conversation-turn>.speech-chat-user{margin:0}
.start-message-text{display:grid;gap:12px;min-width:0}
.start-message-text>ul,.start-message-text>ol{margin:0;padding-left:24px}
.start-message-text li{padding-left:2px;white-space:pre-wrap;overflow-wrap:anywhere}
.start-message-text li+li{margin-top:4px}
.start-user-message-actions{display:flex;justify-content:flex-end;gap:4px;margin-top:8px}
.start-user-message-actions .icon-button{width:30px;height:30px;min-width:30px;padding:6px;background:transparent}
.start-user-message-actions svg{width:16px;height:16px}
.start-message-editor{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:20px}
.start-message-editor h2{font-size:18px;margin:0}
.start-message-editor textarea{box-sizing:border-box;display:block;width:100%;min-height:120px;max-height:45dvh;resize:vertical;margin:16px 0;padding:12px;font:inherit;line-height:1.6;color:inherit;background:var(--theme-surface,#fff);border:1px solid var(--border);border-radius:4px}
.start-message-editor p{font-size:13px;line-height:1.6}
.start-chat-attachment{align-self:flex-end;max-width:min(100%,260px);min-width:0}
.speech-chat-user+.start-chat-attachment,.start-chat-attachment+.start-chat-attachment{margin-top:-12px}
.start-chat-attachment :is(a,button){box-sizing:border-box;display:flex;align-items:center;gap:6px;width:100%;min-width:0;max-width:100%;height:34px;padding:3px 6px;border:1px solid var(--border);border-radius:4px;background:var(--theme-surface,#fff);color:inherit;font:inherit;font-size:12px;line-height:18px;text-decoration:none;text-align:left;cursor:pointer}
.start-chat-attachment :is(a,button):hover{border-color:var(--green);background:var(--theme-hover,#edf4f0)}
.start-chat-attachment span{display:block;min-width:0;max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.start-generated-image{width:min(100%,680px);min-width:0}
.start-generated-image>button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.start-generated-image img{display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:6px}
.start-image-progress{position:relative;width:min(100%,480px);aspect-ratio:4/3;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:var(--theme-hover,#edf3ef)}
.start-image-progress>svg{position:absolute;width:40px;height:40px;left:calc(50% - 20px);top:calc(50% - 20px);color:var(--muted);animation:project-pulse 1.5s ease-in-out infinite}
.start-image-progress>span{position:absolute;inset:22% 20%;border:1px solid #16866e;border-radius:4px;animation:start-image-sketch 1.5s ease-in-out infinite}
.start-image-progress>span:nth-of-type(2){inset:17% 25% 27% 15%;border-color:#478dc7;animation-delay:-.5s}
.start-image-progress>span:nth-of-type(3){inset:27% 15% 17% 25%;border-color:var(--muted);animation-delay:-1s}
@keyframes start-image-sketch{0%,100%{opacity:.15;clip-path:inset(0 80% 70% 0)}50%{opacity:.65;clip-path:inset(0)}}
@media(prefers-reduced-motion:reduce){.start-image-progress>span,.start-image-progress>svg{animation:none}.start-image-progress>span{opacity:.3}}
.start-chat-attachment img{display:block;width:26px;height:26px;aspect-ratio:1;flex:none;object-fit:cover;border-radius:3px}
.start-attachment-preview{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:16px}
.start-attachment-preview h2{font-size:16px;margin:0}
.start-attachment-preview>img{display:block;width:100%;height:auto;max-height:calc(90dvh - 150px);object-fit:contain;margin:16px 0}
.start-attachment-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.start-attachment-preview-footer>span{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.start-attachment-preview-footer>a{flex:none}
.start-sequence{margin:28px 0;border-top:1px solid var(--border);padding-top:20px;min-width:0}
.start-sequence>.section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.start-sequence h3{font-size:16px;margin:0}
.start-sequence-options{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--border)}
.start-sequence-options fieldset{border:0;padding:0;margin:0;min-width:0}
.start-sequence-options legend,.start-sequence-options label{font-size:12px;margin-bottom:6px}
.start-sequence-options label{display:grid;gap:6px;margin:0}
.start-sequence-options select{min-width:120px;margin:0}
.start-format-buttons{display:flex;gap:6px}
.start-format-buttons button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:4px;background:var(--theme-surface,#fff);color:inherit;font:inherit;font-size:13px}
.start-format-buttons button[aria-pressed=true]{border-color:var(--green);color:var(--green);background:var(--theme-hover,#edf4f0)}
.start-format-buttons svg{width:22px;height:22px;flex:none}
.start-sequence-options small{flex-basis:100%;font-size:12px;color:var(--muted);line-height:1.5}
.start-scenes{display:grid;gap:16px;margin-bottom:16px}
.start-scene{min-width:0;padding:18px;border:1px solid var(--border);border-radius:6px;background:var(--theme-surface,#fff)}
.start-scene h4{font-size:15px;margin:0 0 8px}
.start-scene-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:16px}
.start-scene-status .speech-spinner{width:14px;height:14px}
.start-scene label{display:grid;gap:6px;min-width:0;font-size:12px;margin:12px 0}
.start-scene :is(input,textarea,select){box-sizing:border-box;min-width:0;width:100%;font:inherit;color:inherit;background:var(--theme-surface,#fff);border:1px solid var(--border);border-radius:4px;padding:10px;margin:0}
.start-scene textarea{resize:vertical;line-height:1.6}
.start-scene-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.start-scene>video{display:block;width:100%;max-height:320px;margin:12px 0;background:#151515}
.start-scene-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.start-scene p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.start-scene-source{font-weight:600}
.start-frame-reference{margin:12px 0}
.start-frame-reference img{display:block;width:100%;max-height:180px;object-fit:contain;background:var(--theme-hover,#edf4f0)}
.start-frame-reference figcaption{font-size:12px;color:var(--muted);line-height:1.5;margin-top:8px}
.start-scene-dependency{display:flex;gap:8px;padding:10px 12px;border-left:2px solid var(--green);background:var(--theme-hover,#edf4f0);color:var(--muted)}
.start-scene>blockquote{white-space:pre-wrap;font-size:13px;line-height:1.6;margin:12px 0;padding-left:12px;border-left:2px solid var(--border);overflow-wrap:anywhere}
.start-scene-editor>summary{cursor:pointer;font-size:13px;padding:10px 0}
.start-scene-authorization{width:min(620px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;overflow:auto}
.start-scene-authorization h2{font-size:18px}
.start-scene-authorization>img{display:block;width:100%;height:180px;object-fit:contain;margin:16px 0}
.start-scene-authorization p,.start-scene-authorization blockquote{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.start-scene-authorization blockquote{margin:16px 0;border-left:2px solid var(--border);padding-left:12px}
.start-scene-authorization summary{cursor:pointer;font-size:13px}
@media(max-width:650px){.start-scene{padding:12px}.start-scene-settings{grid-template-columns:minmax(0,1fr);gap:0}.start-scene-buttons>button{width:100%}}
.start-suggestion{display:flex;align-items:flex-start;gap:8px;border:0;background:transparent;padding:10px 0;color:var(--green);text-align:left;font-size:13px;line-height:1.5}
.start-suggestion svg{margin-top:2px;width:16px;height:16px;flex:none}
.start-script{margin:24px 0;padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.start-script h3{font-size:15px;margin:0}
.start-script textarea{width:100%;min-height:160px;font:inherit;font-size:14px;line-height:1.7;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--theme-surface,#fff);color:inherit;resize:vertical}
.start-export{margin:24px 0;border-bottom:1px solid var(--border)}
.start-export>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:14px 0;font-size:14px}
.start-export>summary::-webkit-details-marker{display:none}
.start-export>summary svg{transition:transform .15s}
.start-export[open]>summary svg{transform:rotate(180deg)}
.start-stills{margin:24px 0}
.start-still-scenes article>img{display:block;width:100%;max-height:260px;object-fit:contain;margin:12px 0;background:var(--theme-hover)}
.start-still-fit{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:13px;color:var(--muted)}
.start-still-fit input{width:auto}
.start-still-progress{animation:project-pulse 1.5s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.start-still-progress{animation:none}}
.start-export-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px 0}
.start-export-fields label{display:grid;gap:7px;font-size:13px;min-width:0}
.start-export-fields :is(select,input){width:100%;min-width:0;margin:0}
.start-results>video{display:block;max-width:100%;width:100%;max-height:500px;margin:20px 0 12px}
.start-chat-form>textarea{box-sizing:border-box;width:100%;height:56px;min-height:56px;max-height:none;border:0;padding:8px;resize:none;overflow-y:hidden;background:transparent;font:inherit;color:inherit;box-shadow:none}
.start-chat-form>.start-pending-attachment{display:flex;flex-wrap:wrap;gap:8px;max-height:108px;overflow:auto;margin:0 8px 8px;padding:0;border:0;background:transparent}
.start-pending-file{display:flex;align-items:center;width:fit-content;max-width:min(100%,260px);min-width:0;height:34px;flex:0 1 auto;border:1px solid var(--border);border-radius:4px;background:var(--theme-surface,#fff)}
.start-pending-file>.start-pending-preview{display:flex;flex-direction:row;justify-content:flex-start;gap:6px;flex:1;min-width:0;width:auto;height:32px;padding:3px 6px;border:0;background:none;color:inherit;font:inherit;font-size:12px;line-height:18px}
.start-pending-preview img{display:block;width:26px;height:26px;aspect-ratio:1;flex:none;object-fit:cover;border-radius:3px}
.start-pending-file>.start-pending-preview>svg{width:26px;height:26px;flex:none}
.start-pending-preview span{display:block;min-width:0;max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px}
.start-pending-file .start-pending-remove{position:static;flex:none;width:24px;height:26px;min-width:24px;margin-right:3px;padding:4px;background:transparent;border:0}
.start-pending-remove svg{width:14px;height:14px}
.start-activity{display:flex;align-items:center;gap:8px;min-height:20px;margin:0 8px 8px;color:var(--muted);font-size:13px;line-height:1.5}
.start-activity .speech-spinner{width:14px;height:14px;flex:none}
.start-activity-label,.start-scene-status.is-active{animation:editorial-thinking 1.4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.start-activity-label,.start-scene-status.is-active{animation:none}}
.start-chat-form .refine-actions{align-items:center;flex-wrap:nowrap}
.start-model-controls{display:flex;gap:4px;align-items:center;flex:1;min-width:0;flex-wrap:wrap}
.start-model-controls>div{min-width:0}
.start-model-controls.is-loading>div{display:none}
.start-planning-skeleton{display:flex;gap:6px;align-items:center;min-height:36px}
.start-planning-skeleton>span{display:block;height:24px;width:90px;border-radius:4px;background:var(--border,#dfe4e5);animation:project-pulse 1.4s ease-in-out infinite}
.start-planning-skeleton>span+span{width:56px}
@media(prefers-reduced-motion:reduce){.start-planning-skeleton>span{animation:none}}
.start-model-controls .refine-picker-trigger{font-size:12px;padding:6px;white-space:nowrap}
.start-model-controls .refine-picker-trigger svg{width:12px;height:12px}
.start-chat-form .refine-actions>span{margin-right:auto;color:var(--muted);font-size:12px}
#return-start-project{font-size:12px;margin:12px 0}
#start-material-picker{width:min(820px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box}
#start-material-picker h2{font-size:18px}
#start-material-picker h3{font-size:14px;margin:24px 0 16px}
#start-material-picker>select{display:block;width:100%;margin:0 0 12px}
.start-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.start-library-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:12px;min-width:0;border:1px solid var(--border);border-radius:6px;background:var(--theme-surface,#fff);color:inherit;text-align:left}
.start-library-item>img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;background:var(--theme-hover,#edf4f0)}
.start-library-item>span{font-size:12px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.start-library-loading{display:flex;justify-content:center;padding:20px}
#start-material-picker .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1000px){.start-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.start-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.start-options>button{padding:12px;min-height:100px}.start-heading{align-items:flex-start;flex-direction:column}.start-heading h2{font-size:18px}.start-export-fields{grid-template-columns:minmax(0,1fr)}.start-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.start-materials{grid-template-columns:minmax(0,1fr)}.start-script .section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}}
body main:has(>.composer:not([hidden])>#create-panel-start:not([hidden])){padding-top:var(--workspace-header-height,88px);justify-content:flex-start}
main>.composer:has(>#create-panel-start:not([hidden])){max-width:880px}
@media(max-width:650px){body main:has(>.composer:not([hidden])>#create-panel-start:not([hidden])){padding-top:72px}}
.start-run-controls{display:grid;gap:20px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.start-run-controls label{display:grid;gap:8px;font-size:13px;color:var(--muted)}
.start-run-controls select{width:100%;min-width:0}
.start-run-controls>div{display:grid;gap:8px;min-width:0}
.start-run-controls .refine-picker-trigger{display:flex;width:100%;justify-content:space-between;border-radius:6px}
.start-run-controls .refine-picker-options{top:calc(100% + 8px);bottom:auto;left:0;right:0;width:auto;max-width:100%}
.model-integrated-services{display:grid;gap:10px;margin:10px 0;padding:10px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.model-integrated-services>div{display:grid;gap:3px;font-size:12px;line-height:1.5}
.model-integrated-services strong{font-weight:500}
.model-integrated-services span{color:var(--muted);font-size:11px}
.model-integrated-services a{justify-self:start;font-size:11px}
.start-run-toggle{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px}
.start-run-toggle svg{width:17px;height:17px}
.start-run-toggle[aria-expanded=true]{color:var(--green);background:var(--theme-hover,#edf4f0)}
.start-chat-form .refine-actions .start-run-toggle{margin-left:auto}
.start-chat-form .refine-actions .refine-submit{margin-left:0}
#create-panel-start .start-model-controls,#create-panel-start .processing-model,#create-panel-start .processing-effort{display:none!important}
