.motion-flow-toolbar{max-width:860px;margin:0 auto 12px}.create-layout.motion-flow-refresh{grid-template-columns:minmax(0,1fr);gap:16px;max-width:860px;margin:0 auto;min-width:0}.motion-flow-refresh .creation-steps{gap:8px;scroll-margin-top:84px}.motion-flow-refresh .creation-steps button{padding:10px 12px;gap:8px;align-items:center;flex-direction:row}.motion-flow-refresh .form-stack{gap:14px;min-width:0}.motion-flow-refresh .panel{padding:22px;box-shadow:none;min-width:0}.motion-flow-refresh .panel-title{margin-bottom:18px;gap:8px}.motion-flow-refresh .panel-title .step-number{display:none}.motion-flow-refresh .panel-title h2{font-size:18px}.motion-flow-refresh .creation-summary{position:static;display:block;box-shadow:none}.motion-flow-refresh .creation-summary .mini-poster{display:none}.motion-flow-refresh .summary-body{padding:20px 22px}.motion-flow-refresh .summary-body h3{margin:0 0 16px;font-size:15px}.motion-flow-refresh .summary-body .plain-options{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px 20px}.motion-flow-refresh .summary-body .field{margin:0;min-width:0}.motion-flow-refresh .summary-body .field-note{grid-column:1/-1;margin:0;order:1}.motion-flow-refresh .aspect-picker{gap:6px}.motion-flow-refresh .aspect-picker button{padding:10px 5px;min-height:66px;gap:5px}.motion-flow-refresh .aspect-picker small{display:none}.motion-flow-refresh .advanced{margin-block:16px 0}.motion-flow-refresh .advanced>summary{margin-bottom:0;min-height:40px;align-content:center;color:var(--text);font-size:13px}.motion-flow-refresh .advanced[open]>summary{margin-bottom:14px}.motion-flow-refresh .voice-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.motion-flow-refresh .voice-choice button{padding:14px;gap:5px}.motion-flow-refresh .voice-choice button>.studio-icon{display:none}.motion-flow-refresh .script-head{gap:12px;align-items:center}.motion-flow-refresh .script-option-text{max-height:100px;overflow:auto}.motion-flow-refresh .script-option{padding:14px}.motion-flow-refresh .script-box textarea{min-height:112px}.motion-flow-refresh .assistant-media-heading p{margin-top:0;color:var(--muted);font-size:13px}.motion-flow-refresh .upload-zone{margin-bottom:14px;padding:22px 16px;min-width:0}.motion-flow-refresh .product-toggle{font-size:12px;line-height:1.5}.motion-entry-options{margin:0 auto 12px;max-width:720px;font-size:12px;color:var(--muted)}.motion-entry-options>h2{margin:0;font-size:13px;font-weight:500;line-height:1.5;color:var(--text)}.motion-flow-refresh .product-assistant{margin-bottom:0}.motion-step-dock.studio-action-dock .studio-action-dock-buttons>.button{min-width:112px}.motion-step-dock.studio-action-dock .studio-action-dock-buttons>.button:first-child:not(.primary){margin-right:auto}.motion-flow-refresh>.studio-action-dock-space{grid-column:1/-1}.editor-flow-refresh .motion-editor-examples,.editor-flow-refresh .motion-editor-note,.editor-flow-refresh .motion-editor-options{margin:0 0 16px}.editor-flow-refresh .advanced>summary{font-size:12px;min-height:36px;align-content:center;margin-bottom:0;cursor:pointer;color:var(--muted)}.editor-flow-refresh .advanced[open]>summary{margin-bottom:12px}.editor-flow-refresh .motion-editor-note{margin-top:12px}.editor-flow-refresh .ai-panel>.panel-description{font-size:13px;line-height:1.5;margin-bottom:10px}.editor-flow-refresh .me-settings>.field{margin-bottom:16px}.editor-flow-refresh .review-ready>p{font-size:13px;line-height:1.5}@media(max-width:600px){.create-layout.motion-flow-refresh{gap:12px}.motion-flow-refresh .panel{padding:18px 14px}.motion-flow-refresh .creation-steps{gap:3px}.motion-flow-refresh .creation-steps button{padding:10px 4px;gap:5px}.motion-flow-refresh .creation-steps button>strong{font-size:11px}.motion-flow-refresh .creation-steps button>span{font-size:10px}.motion-flow-refresh .summary-body{padding:18px 14px}.motion-flow-refresh .summary-body .plain-options{grid-template-columns:minmax(0,1fr)}.motion-flow-refresh .voice-choice button{padding:12px}.motion-flow-refresh .voice-choice small{font-size:11px}.motion-flow-refresh .script-head{flex-wrap:wrap}.motion-step-dock.studio-action-dock .studio-action-dock-buttons>.button{min-width:90px}}.motion-flow-refresh .motion-script-refine .script-adjustment{margin-top:0}.motion-flow-refresh .motion-extra-clips{margin-bottom:14px}.motion-flow-refresh details.panel>summary>.panel-title{display:inline-flex;margin:0;vertical-align:middle}.motion-flow-refresh details.panel>summary>.panel-title h2{font-size:15px}.motion-flow-refresh .creation-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-width:960px;margin:0 auto 24px}.motion-flow-refresh .creation-steps button{border:0;border-bottom:1px solid var(--border);padding:12px 8px;background:transparent;min-width:0;justify-content:center}.motion-flow-refresh .creation-steps button[aria-current=step]{border-bottom:2px solid var(--accent);color:var(--accent)}.motion-flow-refresh .creation-steps button>span{font-size:10px;opacity:.7}.motion-flow-refresh .creation-steps button>strong{font-size:12px;font-weight:500}@media(max-width:600px){.motion-flow-refresh .creation-steps{gap:4px}.motion-flow-refresh .creation-steps button{padding:10px 2px;flex-direction:column;gap:5px}.motion-flow-refresh .creation-steps button>strong{font-size:10px;white-space:nowrap}}.chat-next-dock.studio-action-dock{max-width:700px;margin-inline:auto;background:transparent!important;border:0!important;box-shadow:none!important;padding:12px 0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.chat-next-dock.studio-action-dock .button{min-height:40px;padding:10px 20px;font-size:13px;border-radius:12px}.video-project-switcher{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.video-project-switcher label{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.video-project-switcher select{max-width:280px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}@media(max-width:600px){.video-project-switcher{flex-wrap:wrap}.video-project-switcher select{max-width:210px}}.script-direction-settings{display:grid;gap:16px;margin-bottom:22px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.script-method-choices{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.script-method-choices button{font-size:12px;padding:8px 12px}.script-method-choices button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.script-writing-progress{margin:16px 0 20px;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:var(--accent-soft)}.script-writing-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:13px;color:var(--text)}.script-writing-progress small{color:var(--muted);font-size:11px}.script-writing-track{height:5px;border-radius:8px;background:color-mix(in srgb,var(--accent) 15%,transparent);overflow:hidden}.script-writing-track>span{display:block;height:100%;width:35%;background:var(--accent);border-radius:inherit;animation:script-writing-slide 1.7s ease-in-out infinite}@keyframes script-writing-slide{0%{transform:translateX(-100%)}to{transform:translateX(290%)}}@media(prefers-reduced-motion:reduce){.script-writing-track>span{animation:none;width:100%;opacity:.55}}.creation-entry{padding:32px 0;min-width:0}.creation-entry>header{max-width:580px;margin:0 0 28px}.creation-entry>header>span{font-size:10px;letter-spacing:.12em;font-weight:650;color:var(--accent)}.creation-entry h1{margin:12px 0;font-size:30px;line-height:1.2;letter-spacing:-.035em}.creation-entry>header>p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}.creation-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.creation-entry-grid>button{display:flex;flex-direction:column;align-items:flex-start;gap:15px;text-align:left;padding:24px 20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);min-width:0}.creation-entry-grid>button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 4%,var(--surface))}.creation-entry-grid>button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.creation-entry-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent)}.creation-entry-grid strong{font-size:16px;line-height:1.4}.creation-entry-grid>button>span:not(.creation-entry-icon):not(.creation-entry-link){font-size:13px;line-height:1.6;color:var(--muted)}.creation-entry-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding-top:16px;margin-top:auto;font-size:12px;font-weight:600;color:var(--accent)}@media(max-width:650px){.creation-entry{padding:20px 0}.creation-entry h1{font-size:26px}.creation-entry-grid{grid-template-columns:1fr;gap:12px}.creation-entry-grid>button{padding:20px;gap:10px}.creation-entry>header{margin-bottom:22px}}.create-layout.motion-flow-refresh.is-final-step{max-width:1180px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:22px}.motion-flow-refresh.is-final-step>.form-stack{grid-column:1;min-width:0}.motion-flow-refresh.is-final-step>.creation-summary{grid-column:2;min-width:0;display:flex;flex-direction:column;gap:16px;background:transparent;border:0;box-shadow:none}.motion-flow-refresh.is-final-step .summary-body{background:var(--surface);border:1px solid var(--border);border-radius:18px}.motion-flow-refresh.is-final-step .summary-body .plain-options{grid-template-columns:minmax(0,1fr)}.motion-flow-refresh.is-final-step>.creation-summary>.panel{margin:0}@media(max-width:900px){.create-layout.motion-flow-refresh.is-final-step{grid-template-columns:minmax(0,1fr);gap:16px}.motion-flow-refresh.is-final-step>.creation-summary{grid-column:1}}.motion-flow-refresh .brand-inline-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}.motion-flow-refresh .brand-inline-fields .brand-palette,.motion-flow-refresh .brand-inline-fields .field,.motion-flow-refresh .brand-inline-fields>.field{margin:0;min-width:0}.motion-flow-refresh .brand-inline-fields .palette-color{height:44px;padding:5px 8px;gap:6px;border-radius:10px}.motion-flow-refresh .brand-inline-fields .palette-color input[type=color]{width:28px;height:28px}.motion-flow-refresh .brand-inline-fields .palette-color span{font-size:10px}.motion-flow-refresh .brand-inline-fields input[name=brandName]{height:44px;min-width:0;width:100%}.brand-inline-logo{min-width:0;display:grid;gap:8px}.brand-inline-logo>span{font-size:12px;color:var(--muted)}.motion-flow-refresh .brand-inline-logo .upload-zone{margin:0;min-height:44px;height:44px;padding:8px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;border-radius:10px}.brand-inline-logo .upload-zone>.upload-icon,.brand-inline-logo .upload-zone>span:not(.upload-icon){display:none}.brand-inline-logo .upload-zone>strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}@media(max-width:520px){.motion-flow-refresh .brand-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.motion-flow-refresh .brand-inline-fields>.field{grid-column:1/-1}}.motion-flow-refresh.is-final-step>.form-stack .upload-zone{min-height:80px;padding:14px 16px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 12px;align-content:center;text-align:left;margin-bottom:10px}.motion-flow-refresh.is-final-step>.form-stack .upload-zone>.upload-icon{grid-column:1;grid-row:1/3;width:36px;height:36px;margin:0;align-self:center;border-radius:10px}.motion-flow-refresh.is-final-step>.form-stack .upload-zone>.upload-icon :is(svg,.studio-icon){width:18px;height:18px}.motion-flow-refresh.is-final-step>.form-stack .upload-zone>strong{grid-column:2;font-size:12px;line-height:1.4;min-width:0;overflow-wrap:anywhere}.motion-flow-refresh.is-final-step>.form-stack .upload-zone>span:not(.upload-icon){grid-column:2;font-size:11px;line-height:1.4;margin:0}.motion-flow-refresh.is-final-step>.form-stack .upload-zone>.voice-err{grid-column:2}@media(max-width:600px){.motion-flow-refresh.is-final-step>.form-stack .upload-zone{padding:12px;gap:4px 10px}}.upload-file-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}.upload-file-list>li{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--border);border-radius:10px;min-width:0;background:var(--surface)}.upload-file-list img,.upload-file-symbol{width:44px;height:44px;object-fit:contain;border-radius:6px;flex:none;background:var(--surface)}.upload-file-symbol{display:grid;place-items:center;color:var(--muted)}.upload-file-name{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1 1}.upload-file-actions{display:flex;gap:8px;flex-wrap:wrap}.upload-file-actions button{font-size:11px;padding:7px 8px;border:1px solid var(--border);border-radius:7px;color:var(--text);background:var(--surface);cursor:pointer}.upload-file-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.brand-inline-logo .upload-file-list>li{flex-wrap:wrap}.brand-inline-logo .upload-file-actions{width:100%}@media(max-width:450px){.upload-file-actions{gap:4px}.upload-file-actions button{font-size:10px;padding:7px 5px}}.script-direction-settings .script-method-choices .button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent,#fff);font-weight:650;box-shadow:0 0 0 2px var(--accent-soft)}.script-direction-settings .script-angle-selected{border-color:var(--accent);color:var(--text);background:var(--accent-soft)}.script-selection-summary{display:flex;align-items:flex-start;gap:8px;margin:9px 0 0;padding:10px 12px;border-radius:10px;background:var(--accent-soft);color:var(--text);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.script-selection-summary .studio-icon{flex-shrink:0;margin-top:1px;color:var(--accent)}.script-direction-settings .script-method-choices .button[aria-pressed=true] .icon-check{filter:brightness(0) invert(1)}.video-brief-editor{display:grid;gap:24px;min-width:0}.motion-conversation{width:100%;max-width:900px;margin:0 auto;min-width:0}.motion-flow-refresh.progressive-create .creation-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.conversation-shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:18px 0}.video-brief-heading{max-width:620px;padding:4px 0 10px}.video-brief-heading>span{display:block;margin-bottom:12px;color:var(--accent);font-size:11px;font-weight:650;letter-spacing:.1em}.video-brief-heading h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.04em;margin:0 0 12px;text-wrap:balance}.video-brief-heading p{font-size:14px;line-height:1.65;margin:0;color:var(--muted)}.video-brief-group{display:grid;gap:26px;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface);min-width:0}.video-brief-group-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:2px}.video-brief-group-title>:is(svg,.studio-icon){box-sizing:content-box;padding:10px;border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--accent);flex-shrink:0}.video-brief-group-title h3{font-size:16px;line-height:1.4;margin:0 0 4px;font-weight:600;letter-spacing:-.02em}.video-brief-group-title p{font-size:12px;line-height:1.6;margin:0;color:var(--muted)}.video-brief-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px}.video-brief-editor .field{display:grid;gap:8px;margin:0;min-width:0}.video-brief-editor .field>span{font-size:12px;font-weight:550;color:var(--text)}.video-brief-editor textarea{box-sizing:border-box;width:100%;min-height:112px;padding:14px 16px;border:1px solid var(--border);border-radius:11px;background:var(--bg);font-size:14px;line-height:1.65;resize:vertical;color:var(--text)}.video-brief-editor textarea::placeholder{color:var(--muted);opacity:.8}.video-brief-editor textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.video-brief-name textarea{min-height:60px;height:60px;font-size:16px;font-weight:550}.video-brief-details{border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden}.video-brief-details>summary{display:flex;align-items:center;gap:12px;min-height:76px;padding:18px 22px;cursor:pointer;list-style:none}.video-brief-details>summary::-webkit-details-marker{display:none}.video-brief-details>summary>:is(svg,.studio-icon):first-child{color:var(--accent);flex-shrink:0}.video-brief-details>summary>span{flex:1 1;font-size:14px;font-weight:550}.video-brief-details summary small{display:block;margin-top:5px;font-size:12px;color:var(--muted);font-weight:400}.video-brief-details[open]>summary>:is(svg,.studio-icon):last-child{transform:rotate(180deg)}.video-brief-details-body{display:grid;gap:18px;padding:20px 22px;border-top:1px solid var(--border)}.motion-flow-refresh .panel.video-brief-panel{padding:26px;border:0;background:transparent;box-shadow:none}.video-brief-panel .motion-entry-options{margin-top:24px;border:1px dashed var(--border);border-radius:16px;padding:18px 22px}.video-brief-panel .motion-entry-options>h2{margin:0 0 16px;font-size:14px;font-weight:550}.video-brief-panel .assistant-import>h3{margin:0 0 12px;font-size:13px;font-weight:500}.video-brief-panel .motion-entry-options .assistant-import{margin-top:16px}.brief-helper{display:grid;gap:18px;padding:24px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));border-radius:18px;background:color-mix(in srgb,var(--accent) 4%,var(--surface));min-width:0}.brief-helper>header{display:flex;align-items:flex-start;gap:12px}.brief-helper>header>:is(svg,.studio-icon){flex-shrink:0;color:var(--accent);margin-top:2px}.brief-helper h3{margin:0 0 6px;font-size:16px;line-height:1.4;color:var(--text)}.brief-helper header p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.brief-helper-reply{margin:0;font-size:15px;line-height:1.65;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.brief-helper>.button{justify-self:start;min-height:44px;gap:8px}.brief-helper-working>span{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--accent)}.brief-helper-working .waiting-status{font-size:12px;color:var(--muted);line-height:1.6;margin-top:8px}.brief-helper-error,.brief-helper-notice{font-size:12px;line-height:1.6;margin:0;color:var(--muted)}.brief-helper-error{color:var(--text);border-left:3px solid var(--accent);padding-left:12px}.brief-helper-history{font-size:12px;color:var(--muted)}.brief-helper-history>summary{cursor:pointer;min-height:44px;align-content:center}.brief-helper-history p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:12px 0}.brief-helper-history strong{display:block;color:var(--text);margin-bottom:4px}.brief-helper-history>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}@media(max-width:600px){.brief-helper{padding:18px}.brief-helper>.button{width:100%;justify-content:center}}@media(min-width:1200px){.create-layout.motion-flow-refresh:has(.video-brief-panel:not([hidden])){max-width:1440px}.create-layout.motion-flow-refresh:has(.video-brief-panel:not([hidden]))>.form-stack{max-width:none}.motion-flow-refresh .panel.video-brief-panel:not([hidden]){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);align-items:start;gap:28px}.video-brief-panel .motion-entry-options{margin:0;max-width:none;min-width:0;background:var(--surface)}.video-brief-panel .video-brief-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:none}.video-brief-panel .video-brief-shortcuts>button{min-width:0;width:100%;white-space:normal;text-align:center}.video-brief-panel .motion-entry-options .ai-fill-row{flex-wrap:wrap}.video-brief-panel .motion-entry-options input[type=url]{min-width:0;width:100%}}@media(max-width:600px){.motion-flow-refresh .panel.video-brief-panel{padding:8px 0}.video-brief-columns{grid-template-columns:1fr;gap:24px}.video-brief-group{padding:18px;gap:24px}.video-brief-details-body,.video-brief-details>summary{padding:18px}.video-brief-editor textarea{font-size:16px}.video-brief-panel .motion-entry-options{padding:14px 18px}}