*{box-sizing:border-box}body{margin:0;background:#f4f7f8;color:#152030;font:14px/1.5 system-ui,sans-serif}button,input,select,textarea{font:inherit}button,.button{border:0;border-radius:11px;background:#ff725e;color:#152030;padding:12px 18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.secondary{background:#edf1f5}button:hover,.button:hover{background:#e96150}button:disabled{opacity:.55;cursor:wait}main{display:grid;grid-template-columns:minmax(270px,340px) minmax(320px,1fr) minmax(270px,380px);gap:20px;padding:28px;max-width:1700px;margin:auto}.panel{background:white;border:1px solid #e3e8ed;border-radius:22px;padding:24px;min-width:0}.eyebrow{font-size:10px;letter-spacing:.17em;color:#ba665a;font-weight:800;margin:0 0 12px}h1{font-size:26px;line-height:1.22;margin:0 0 26px}h2{font-size:16px;margin:16px 0}label{display:block;font-size:12px;font-weight:600;margin:14px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #d9e1e7;border-radius:10px;padding:11px;color:#152030;background:#fcfdfe;margin-top:6px;outline:none}input:focus,select:focus,textarea:focus{border-color:#ff725e;box-shadow:0 0 0 3px #ff725e18}textarea{resize:vertical}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toggles{display:flex;flex-wrap:wrap;gap:6px}.toggles label{border-radius:30px;padding:7px 10px;background:#f4f5f7;margin:0;display:flex;gap:6px;align-items:center}input[type=checkbox]{accent-color:#ff725e}.faces{display:flex;overflow:auto;gap:7px;padding:4px 0}.faces button{padding:0;background:#eef1f4;border:2px solid transparent;flex:0 0 56px;height:72px;overflow:hidden}.faces button[aria-pressed=true]{border-color:#ff725e}.faces img{width:100%;height:100%;object-fit:cover}.scene-thumb{width:100%;height:95px;object-fit:cover;border-radius:10px}.actions{display:flex;gap:10px;align-items:center;margin-top:20px;flex-wrap:wrap}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.preview-heading span,.hint{font-size:11px;color:#72808f}.composition{aspect-ratio:9/16;position:relative;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#223e4c,#16232d);max-height:560px;width:100%;margin:auto}.composition.horizontal{aspect-ratio:16/9}.preview-scene{position:absolute;width:100%;height:100%;object-fit:cover}.preview-face{position:absolute;bottom:0;right:8%;height:70%;max-width:70%;object-fit:contain;border-radius:12px}.preview-logo{position:absolute;left:7%;top:5%;width:26%;max-height:14%;object-fit:contain;background:#ffffffd9;padding:8px;border-radius:7px}#emptyScene{position:absolute;inset:0;display:grid;place-content:center;color:#ffffffa8;text-align:center;font-size:24px}video{width:100%;border-radius:14px;margin-top:14px}dialog{width:min(540px,calc(100% - 32px));border:0;border-radius:22px;padding:28px;box-shadow:0 20px 80px #15203033}dialog::backdrop{background:#15203080}.approve{display:flex;align-items:flex-start;gap:10px}progress{width:100%;accent-color:#ff725e}#status,#optionError{font-size:12px}#optionError{color:#a52c24}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}#initStatus{padding:28px}@media(max-width:1100px){main{grid-template-columns:minmax(270px,340px) 1fr}.preview-panel{grid-column:2;grid-row:1}.brief{grid-column:1/-1}}@media(max-width:650px){main{display:flex;flex-direction:column;padding:14px;gap:14px}.panel{padding:20px}.composition{max-width:300px}.pair{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.format-tabs{display:flex;gap:7px;margin:0 0 14px}.format-tabs button{flex:1;padding:8px 12px;background:#edf1f5;font-size:11px}.format-tabs button[aria-pressed=true]{background:#ff725e}.composition.horizontal{max-height:none}

.toggles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.toggles label{position:relative;display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;gap:9px;padding:12px;border:1px solid #e4e9ee;border-radius:12px;background:#fafbfc;min-height:46px;font-weight:650;cursor:pointer}.toggles label:has(input:checked){border-color:#ff725e70;background:#fff3ef;box-shadow:inset 0 0 0 1px #ff725e18}.toggles input[type=checkbox]{appearance:none;position:relative;flex:0 0 30px;width:30px;height:18px;border:0;border-radius:20px;background:#c8d0d8;margin:0;cursor:pointer}.toggles input[type=checkbox]::after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;background:white;border-radius:50%;box-shadow:0 1px 3px #15203025}.toggles input[type=checkbox]:checked{background:#ff725e}.toggles input[type=checkbox]:checked::after{left:15px}.toggles input[type=checkbox]:focus-visible{outline:2px solid #152030;outline-offset:3px}

#horizontalComposition{margin-bottom:18px}#composition{max-height:none;max-width:270px}.preview-panel{align-self:start}#emptySceneH{position:absolute;inset:0;display:grid;place-content:center;color:#ffffffa8;text-align:center;font-size:18px}

.composition .preview-face{right:0;bottom:0;height:100%;width:58%;max-width:none;object-fit:cover;object-position:50% 25%;border-radius:0;mask-image:linear-gradient(to right,transparent,#000 25%);-webkit-mask-image:linear-gradient(to right,transparent,#000 25%)}.composition.horizontal .preview-face{width:46%;object-position:50% 30%}.composition .preview-logo{z-index:2}

.composition::before{content:"";position:absolute;inset:-25px;background-image:var(--portrait-bg,none);background-size:cover;background-position:center;filter:blur(20px);opacity:.7}.composition .preview-face,.composition.horizontal .preview-face{inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;mask-image:none;-webkit-mask-image:none;z-index:1;border-radius:0}.composition .preview-logo{z-index:3}.composition .preview-scene{z-index:0}

.composition{background:var(--portrait-color,#223e4c)}.composition::before{content:none;background-image:none;filter:none}

.composition .preview-face,.composition.horizontal .preview-face{object-fit:cover;object-position:50% 20%;width:100%;height:100%}

.reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reference-grid figure{margin:0;border:1px solid #e3e8ed;border-radius:14px;overflow:hidden;background:#f6f8fa}.reference-grid img,.reference-empty{width:100%;height:160px;object-fit:contain;background:#edf1f4}.reference-empty{display:grid;place-content:center;text-align:center;color:#758292;padding:14px;font-size:12px}.reference-grid figcaption{padding:10px;font-size:12px;font-weight:650;overflow-wrap:anywhere}.upload-button{display:inline-flex;background:#edf1f5;padding:10px 14px;border:1px solid #d9e1e7;border-radius:11px;cursor:pointer}.upload-button:hover{background:#ff725e}.upload-button:focus-within{outline:2px solid #ff725e;outline-offset:3px}#examplePrompt{margin-top:18px;width:100%;font-size:12px}#clearProduct{padding:8px 12px;font-size:11px}

.source-tabs{display:flex;gap:8px;margin-bottom:20px}.source-tabs button{background:#edf1f5;font-size:12px;flex:1}.source-tabs button[aria-pressed=true]{background:#ff725e}.campaign-product{display:grid;grid-template-columns:18px 42px 1fr;gap:8px;align-items:center;border-bottom:1px solid #e3e8ed;padding:10px 0;font-size:11px}.campaign-product img{width:42px;height:50px;object-fit:contain}.campaign-product button{grid-column:3;font-size:10px;padding:5px 8px;justify-self:start}.selected-products{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.selected-products figure{margin:0;border:1px solid #e3e8ed;border-radius:10px;padding:8px}.selected-products img{width:100%;height:100px;object-fit:contain}.selected-products figcaption{font-size:10px}.pool-choice{display:flex;gap:10px;align-items:center;width:100%;margin:8px 0;text-align:left}.pool-choice img{width:54px;height:64px;object-fit:contain}#preparePlan{margin:8px 0 15px;font-size:12px}

.source-navigation{grid-column:1/-1;display:flex;justify-content:flex-start}.source-navigation .source-tabs{margin:0;background:white;border:1px solid #e3e8ed;border-radius:14px;padding:5px;gap:5px}.source-navigation .source-tabs button{min-width:170px;padding:11px 20px}.pair>label{min-width:0}input,select,textarea{min-width:0}#filePanel>h2{margin-top:0}@media(max-width:1100px){.preview-panel{grid-row:2}}@media(max-width:650px){.source-navigation{width:100%}.source-navigation .source-tabs{width:100%}.source-navigation .source-tabs button{min-width:0;padding:11px 14px}}

main{padding-top:14px;row-gap:14px}.source-navigation .source-tabs{background:#edf4f5;border:0;border-radius:12px;padding:4px;gap:4px}.source-navigation .source-tabs button{min-width:0;min-height:34px;padding:8px 12px;flex:none;margin:0;border:1px solid transparent;border-radius:9px;font:600 12px 'Segoe UI',sans-serif;line-height:16px;background:transparent;color:#6c818a;box-shadow:none}.source-navigation .source-tabs button[aria-pressed=true]{background:white;color:#087c91;box-shadow:0 2px 6px #2248540b}.source-navigation .source-tabs button:hover{background:#e0f0f2;color:#08788d}.source-navigation .source-tabs button[aria-pressed=true]:hover{background:white}

/* Match the audio studio: settings at left, source choice above content. */
main{align-items:start;grid-template-columns:280px minmax(320px,1fr) minmax(270px,380px);grid-template-rows:42px auto;column-gap:18px}
.settings{grid-column:1;grid-row:1/3;padding:18px;align-self:start}
.settings>label:first-child{margin-top:0}
.settings>label:first-child input{margin-top:0}
.source-navigation{grid-column:2/-1;grid-row:1;align-self:start}
.brief{grid-column:2;grid-row:2}
.preview-panel{grid-column:3;grid-row:2}
@media(max-width:1100px) and (min-width:651px){
 main{grid-template-columns:280px minmax(0,1fr);grid-template-rows:42px auto auto}
 .settings{grid-row:1/4}
 .source-navigation{grid-column:2;grid-row:1}
 .brief{grid-column:2;grid-row:2}
 .preview-panel{grid-column:2;grid-row:3}
}
@media(max-width:650px){
 .settings{order:0}.source-navigation{order:1}.brief{order:2}.preview-panel{order:3}
}

/* Keep intrinsic controls and portrait strips inside their grid columns. */
main>.panel,main>.source-navigation,.reference-grid,.reference-grid>figure,.selected-products,.selected-products>figure{min-width:0;max-width:100%}
.characters{min-width:0;max-width:100%;overflow-x:auto}input,select,textarea{max-width:100%;box-sizing:border-box}

.faces{min-width:0;max-width:100%;overflow-x:auto}.toggles label{min-width:0;overflow-wrap:anywhere}

.upload-button{position:relative}.upload-button input.sr-only{position:absolute;left:0;top:0;width:1px;height:1px;min-width:0;max-width:1px;padding:0;border:0;margin:0;overflow:hidden;clip-path:inset(50%)}

/* Compact video controls and selectable scene references. */
.settings{padding:20px 22px;align-self:start}.settings>label,.settings .pair>label{margin:0 0 10px}.settings input:not([type=checkbox]),.settings select,.settings textarea{margin-top:4px;padding:10px 12px}.settings .pair{gap:10px}.settings .toggles{margin:2px 0 12px}.settings .toggles label{padding:8px 10px;min-height:36px}.settings .pair:last-child{margin-top:8px}
.reference-grid figure{display:flex;flex-direction:column}.scene-switch{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:10px;font-size:12px}.scene-switch input{margin:0;width:16px;height:16px}.scene-choose{font-size:11px;padding:7px 9px;margin:0 9px 9px}.scene-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scene-option{padding:8px;text-align:left;display:flex;flex-direction:column;gap:6px;font-size:12px}.scene-option img{width:100%;height:110px;object-fit:cover;border-radius:8px}#facePicker .faces{display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));max-height:360px;overflow:auto}#facePicker .faces button{width:100%;height:100px}#productPicker .pair{margin:0}#scenePicker,#facePicker,#productPicker{max-height:85vh;overflow:auto}.settings .pair:last-child textarea{min-height:70px}.scene-switch input:focus-visible{outline:2px solid #ff725e;outline-offset:3px}

.scene-switch input{appearance:none;position:relative;flex:0 0 30px;width:30px;height:18px;border:0;border-radius:20px;background:#c8d0d8;cursor:pointer}.scene-switch input::after{content:'';position:absolute;left:3px;top:3px;width:12px;height:12px;background:white;border-radius:50%;box-shadow:0 1px 3px #15203025}.scene-switch input:checked{background:#ff725e}.scene-switch input:checked::after{left:15px}.gender-options{display:flex;gap:5px;padding:0 9px 8px}.gender-options button{flex:1;padding:6px;font-size:11px}.gender-options button[aria-pressed=true]{background:#ff725e}.gender-options button:disabled{cursor:not-allowed}.scene-option[aria-pressed=true]{outline:2px solid #ff725e;background:#fff3ef}.scene-option[aria-pressed=true] span::after{content:' ✓';color:#b44c3e}.settings .toggles:empty{display:none}
.brief,.preview-panel{padding-top:18px}.brief>label:has(#narration){margin-top:0}.brief #narration{margin-top:0}#referenceBoard>.eyebrow{margin-bottom:14px}
.reference-grid figure:has(.scene-switch)>figcaption{display:none}.reference-grid figure.asset-off>:not(.scene-switch){display:none!important}.reference-grid figure.asset-off{min-height:0;align-self:start}

#scenePicker{width:min(680px,calc(100% - 32px));padding:22px}#scenePicker[open]{display:flex;flex-direction:column;gap:16px}#scenePicker>h2{margin:0;flex-shrink:0}.scene-choices{min-height:0;overflow:auto;align-items:start;padding:3px;flex:1}.scene-option{min-width:0;width:100%;height:auto;white-space:normal;align-self:start}.scene-option img{height:150px;flex-shrink:0}.scene-option span{display:block;width:100%;line-height:1.5;overflow-wrap:anywhere}.scene-picker-footer{display:flex;justify-content:flex-end;border-top:1px solid #e3e8ed;padding-top:14px;flex-shrink:0}.scene-picker-footer button{margin:0}@media(max-width:480px){.scene-choices{grid-template-columns:1fr}}
/* Source links above the advertisement name; editing columns start at the top. */
main{grid-template-rows:32px auto;row-gap:10px}
.source-navigation{grid-column:1;grid-row:1}
.settings{grid-column:1;grid-row:2}
.brief{grid-column:2;grid-row:1/3;align-self:start}
.preview-panel{grid-column:3;grid-row:1/3;align-self:start}
@media(max-width:1100px) and (min-width:651px){
 main{grid-template-rows:32px auto auto}
 .source-navigation{grid-column:1;grid-row:1}
 .settings{grid-column:1;grid-row:2/4}
 .brief{grid-column:2;grid-row:1/3}
 .preview-panel{grid-column:2;grid-row:3}
}
@media(max-width:650px){.source-navigation{order:-1}.settings{order:0}}
.reference-grid .scene-choose{margin-top:auto}
.reference-grid figure:has(#boardProduct),.reference-grid figure:has(#boardScene){align-self:stretch}
.selected-products button{font-size:11px;padding:6px 10px;margin:0 8px 8px}
#poolDialog{width:min(780px,calc(100% - 32px));height:min(680px,85dvh);max-height:85dvh;overflow:hidden;padding:24px}
#poolDialog[open]{display:flex;flex-direction:column;gap:16px}
.pool-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-shrink:0}
.pool-heading h2{margin:0;font-size:18px}
#poolCapacity{font-size:12px;font-weight:700;color:#ad4b3e;background:#fff0eb;padding:7px 11px;border-radius:20px}
.pool-toolbar{display:flex;align-items:center;gap:8px;flex-shrink:0}
.pool-toolbar label{margin:0;flex:1;min-width:0}
.pool-toolbar input{margin:0}
.pool-toolbar button{padding:10px 14px;white-space:nowrap;flex-shrink:0}
#poolNotice{margin:0;color:#a52c24;font-size:12px;flex-shrink:0}
#poolResults{overflow:auto;min-height:0;flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start;padding:3px}
#poolResults .pool-choice{margin:0;min-width:0;display:flex;flex-direction:column;text-align:center;gap:10px;padding:14px;border:1px solid #e3e8ed;background:#fafbfc;white-space:normal;font-size:12px}
#poolResults .pool-choice img{width:100%;height:120px;object-fit:contain}
#poolResults .pool-choice[aria-pressed=true]{border-color:#ff725e;background:#fff1ed;opacity:1;cursor:default}
#poolResults .pool-choice:not(:disabled):hover{border-color:#ff725e;background:#fff8f5}
@media(max-width:560px){#poolDialog{padding:16px}.pool-heading{align-items:flex-start;flex-direction:column;gap:8px}#poolResults{grid-template-columns:repeat(2,minmax(0,1fr))}.pool-toolbar{gap:6px}.pool-toolbar button{padding:10px}.pool-toolbar input{padding:10px 8px}}
/* Brand choices on the left; products form a vertical list on the right. */
.brand-logo-control{margin:4px 0 12px;border:1px solid #e3e8ed;border-radius:12px;background:#f6f8fa;overflow:hidden}
.brand-logo-control>:not(.scene-switch){display:none!important}
.brand-scene-grid{gap:10px}
.brand-scene-grid img,.brand-scene-grid .reference-empty{height:110px}
.brand-scene-grid .scene-switch{padding:9px 7px;font-size:11px;gap:5px}
.brand-scene-grid .scene-choose{margin:0 7px 7px;padding:7px 4px;font-size:10px}
.brand-scene-grid .gender-options{gap:3px;padding:0 7px 7px}
.brand-scene-grid .gender-options button{font-size:10px;padding:5px 2px}
.scene-board-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.scene-board-heading .eyebrow{margin:0}
.scene-board-heading .scene-choose{margin:0;padding:9px 12px;font-size:12px;white-space:nowrap}
#selectedProductsBoard{grid-template-columns:1fr}
#selectedProductsBoard figure{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;background:#fafbfc}
#selectedProductsBoard img{width:74px;height:88px;grid-column:1;grid-row:1}
#selectedProductsBoard figcaption{font-size:12px;line-height:1.4;grid-column:2;grid-row:1;overflow-wrap:anywhere}
#selectedProductsBoard button{margin:0;font-size:10px;padding:7px;grid-column:3;grid-row:1}
/* Distinct main-scene and product-scene preparation panels. */
.preview-panel{background:transparent;border:0;border-radius:0;padding:0}
.scene-section{padding:20px;margin-bottom:16px}
.scene-section .brand-logo-control{margin:0 0 12px}
.scene-section .brand-scene-grid img,.scene-section .brand-scene-grid .reference-empty{height:150px}
.scene-section .brand-scene-grid .scene-switch{padding:10px;font-size:12px}
.scene-section .brand-scene-grid .scene-choose{font-size:11px;padding:8px}
.scene-section .brand-scene-grid .gender-options button{font-size:11px;padding:6px}
#sceneImagePreview{width:min(920px,calc(100% - 32px));max-height:90dvh;padding:18px;text-align:right}
#sceneImagePreview img{display:block;max-width:100%;width:auto;max-height:72dvh;height:auto;object-fit:contain;margin:0 auto 14px;border-radius:12px}
#boardFace[role=button],#boardScene[role=button]{cursor:zoom-in}
#boardFace[role=button]:focus-visible,#boardScene[role=button]:focus-visible{outline:3px solid #ff725e;outline-offset:-3px}
/* Stable media slots keep custom portraits separate from their controls. */
.scene-section .brand-scene-grid>figure{height:auto;min-height:0}
.scene-section .brand-scene-grid>figure>*{flex-shrink:0}
.scene-section .brand-scene-grid img{display:block;width:100%;height:150px;min-height:150px;max-height:150px;object-fit:contain;object-position:center}
.scene-section .brand-scene-grid .gender-options{padding-top:8px;padding-bottom:8px;background:#f6f8fa;position:relative}
.scene-section .brand-scene-grid .scene-choose{margin-top:auto}
#selectedProductsBoard{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
#selectedProductsBoard figure{display:flex;flex-direction:column;gap:8px;padding:10px;min-width:0}
#selectedProductsBoard img{display:block;width:100%;height:120px;flex-shrink:0;object-fit:contain}
#selectedProductsBoard figcaption{font-size:11px;line-height:1.4;text-align:center}
#selectedProductsBoard button{margin-top:auto;align-self:center}
#selectedProductsBoard{counter-reset:scene-product}
#selectedProductsBoard figure{counter-increment:scene-product}
#selectedProductsBoard figure::before{content:counter(scene-product) ". Ürün";align-self:flex-start;color:#ba665a;font-size:11px;font-weight:800}
.video-steps{grid-column:1/-1;grid-row:1;display:flex;gap:12px;padding:14px;background:white;border:1px solid #e3e8ed;border-radius:16px}
.video-steps span{flex:1;padding:10px 12px;border-radius:10px;color:#72808f;font-size:12px;font-weight:700}
.video-steps [aria-current=step]{color:#b94c3e;background:#fff0eb}
main.video-wizard{grid-template-rows:auto auto auto auto;row-gap:16px}
.video-wizard .source-navigation{grid-row:2}
.video-wizard .settings{grid-row:3}
.video-wizard .brief{grid-column:2/-1;grid-row:2/4}
.wizard-footer{grid-column:1/-1;grid-row:5;display:flex;justify-content:flex-end;gap:10px}
.wizard-audio-choice label{font-size:12px}
.wizard-audio-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0}
.wizard-audio-actions small,#videoAudioStatus{font-size:11px;color:#72808f}
.video-wizard[data-wizard-step="2"] .preview-panel{grid-column:1/-1;grid-row:2}
.video-wizard[data-wizard-step="2"] #referenceBoard{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.video-wizard[data-wizard-step="2"] #referenceBoard>.hint{grid-column:1/-1}
.video-wizard[data-wizard-step="3"] .brief{grid-column:1/3;grid-row:2}
.video-wizard[data-wizard-step="3"] .preview-panel{grid-column:3;grid-row:2}
@media(max-width:800px){.video-steps{gap:4px;padding:8px}.video-steps span{padding:8px;font-size:11px}.video-wizard[data-wizard-step="2"] #referenceBoard{grid-template-columns:1fr}.video-wizard[data-wizard-step="3"] .brief{grid-column:1/-1}.video-wizard[data-wizard-step="3"] .preview-panel{grid-column:1/-1;grid-row:3}}
@media(max-width:650px){.video-steps{order:-2}.wizard-footer{order:10}.video-wizard .source-navigation{order:-1}}

/* Shared audio-studio music picker. */
.music-picker{width:min(680px,calc(100% - 32px));max-height:85vh;border:1px solid #dce9ed;border-radius:20px;padding:22px;color:#152030;overflow:auto}.music-picker::backdrop{background:#12354166;backdrop-filter:blur(3px)}.music-picker-head{display:flex;justify-content:space-between;align-items:center}.music-picker-head h2{margin:0;font-size:18px}.music-categories{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.music-categories button{font-size:12px;padding:7px 10px;min-height:32px;margin:0}.music-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid #dce9ed;padding:12px 0}.music-choice .studio-player{width:100%;min-width:0}.music-choice button{font-size:12px}.music-picker{background:linear-gradient(150deg,#f6fbfc,#fff);box-shadow:0 24px 90px #183b4740}.music-picker-head{padding-bottom:12px;border-bottom:1px solid #dce9ed}.music-categories{padding:6px;background:#eaf2f5;border-radius:12px}.music-choice{background:#fff;border:1px solid #e0eaed;border-radius:14px;padding:12px;margin:10px 0;box-shadow:0 3px 12px #173e4d06}.music-choice .studio-player{margin:0;align-self:center;max-width:none;border:0;background:transparent;box-shadow:none;padding:0}.music-choice .studio-player__body{display:flex;align-items:center;gap:12px;min-height:34px}.music-choice .studio-player__heading{order:1;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;margin:0;gap:3px}.music-choice .studio-player__track{order:0;flex:1;min-width:45px;align-self:center}.music-choice .studio-player__error:not(:empty){position:absolute;top:100%}.music-choice>button{margin:0;min-height:34px}.music-upload-fields{display:grid;grid-template-columns:1fr 160px;gap:10px}#musicUpload{padding:16px;background:#edf6f8;border-radius:14px;margin-bottom:18px}#musicUpload[hidden]{display:none}#musicUpload input[type=file]{margin:12px 0}#musicUpload small{display:inline-block;margin-left:12px;color:#667f88}@media(max-width:480px){.music-upload-fields{grid-template-columns:1fr}.music-choice .studio-player__heading{max-width:85px}}

.music-integrated #changeMusic{width:100%;font-size:12px;padding:10px}.music-integrated #musicHint{display:block;font-size:11px;font-weight:400;color:#72808f;margin-top:8px}.music-upload-actions{display:flex;gap:10px;align-items:center;margin-top:12px}.file-button{background:#edf1f5}.file-button:hover{background:#ff725e}#musicRightsDialog .publish-actions{display:flex;gap:10px;justify-content:flex-end}#musicRightsDialog label{display:flex;align-items:flex-start;gap:10px}#musicRightsDialog input{flex-shrink:0}

/* Video uses a single text-first workflow. */
.video-wizard .settings{grid-row:2}
.video-wizard[data-wizard-step="1"] .brief{grid-row:2}
.wizard-audio-result{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.wizard-audio-result>.studio-player{flex:1;min-width:220px;margin:0}
.wizard-audio-result-actions{display:flex;gap:8px;flex-wrap:wrap}
.wizard-audio-result-actions button{margin:0;font-size:12px}
.wizard-audio-result[hidden]{display:none}

.screen-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.screen-layout p{grid-column:1/-1;font-size:12px;color:#657985;margin:0}.screen-layout select{width:100%;margin-top:6px}@media(max-width:650px){.screen-layout{grid-template-columns:1fr}}
.screen-layout label{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0}.screen-layout label select{margin-top:auto}

.credits-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.credits-inputs textarea{min-height:60px;height:60px}.credits-inputs select{margin-top:6px}.video-section-inputs{margin-bottom:14px}@media(max-width:700px){.credits-inputs{grid-template-columns:1fr}}

.wizard-audio-result{margin-top:8px}.wizard-audio-result .studio-player__body{display:flex;align-items:center;gap:10px;min-height:32px}.wizard-audio-result .studio-player__track{order:0;flex:1;min-width:60px;align-self:center}.wizard-audio-result .studio-player__heading{order:1;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin:0}.wizard-audio-result .studio-player__error:not(:empty){position:absolute;top:100%}


#timedShots{display:grid;gap:14px;margin-top:16px}#timedShots label{padding:14px;border:1px solid #dce9ed;border-radius:12px;font-size:12px;background:#f8fbfc}#timedShots textarea{margin-top:8px;min-height:110px}

.video-wizard .wizard-footer{grid-column:1/-1;display:flex;justify-content:space-between;margin:0;gap:12px}.video-wizard[data-wizard-step="1"] #resume,.video-wizard[data-wizard-step="1"] #status{display:none}.video-wizard[data-wizard-step="3"] .actions{display:flex;gap:12px;align-items:center;margin:0 0 14px}.video-wizard[data-wizard-step="3"] #produce{margin-left:auto}.video-notice{width:min(480px,calc(100vw - 32px));padding:28px;border:0;border-radius:20px;box-shadow:0 24px 80px #15203035}.video-notice::backdrop{background:#15203077}.video-notice h2{margin:0 0 14px}.video-notice p{white-space:pre-wrap}.video-notice progress{display:block;width:100%;margin:20px 0}.video-notice progress[hidden]{display:none}.video-notice button{display:block;margin-left:auto}
