/* Change surfaces only; leave existing buttons, waveforms and transport controls intact. */
html:not(.studio-admin-voices){background:#111;color:#ededed;color-scheme:light}
html:not(.studio-admin-voices) body{background:#111!important;color:#ededed!important}
html:not(.studio-admin-voices) body>.wrap{max-width:none!important;width:100%!important;padding:0 2px 18px!important;color:#ededed;background:#111!important}
html:not(.studio-admin-voices) .voice-selection-section,
html:not(.studio-admin-voices) #connectedStyleSections,
html:not(.studio-admin-voices) #connectedStyleSections>.style-section,
html:not(.studio-admin-voices) #narrationTextSection,
html:not(.studio-admin-voices) #currentSection #current>.output-card,
html:not(.studio-admin-voices) .card,
html:not(.studio-admin-voices) .style-section,
html:not(.studio-admin-voices) .video-pilot,
html:not(.studio-admin-voices) .video-group,
html:not(.studio-admin-voices) .video-options,
html:not(.studio-admin-voices) .history-panel,
html:not(.studio-admin-voices) .history-entry{background:#1b1b1b!important;color:#eee;border-color:#3c3c3c!important}
html:not(.studio-admin-voices) .video-help,
html:not(.studio-admin-voices) .small,
html:not(.studio-admin-voices) label,
html:not(.studio-admin-voices) .video-scene-heading,
html:not(.studio-admin-voices) .video-header,
html:not(.studio-admin-voices) .style-title,
html:not(.studio-admin-voices) h1,html:not(.studio-admin-voices) h2,html:not(.studio-admin-voices) h3,html:not(.studio-admin-voices) h4,
html:not(.studio-admin-voices) summary{color:#eee}
html:not(.studio-admin-voices) input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),
html:not(.studio-admin-voices) textarea,
html:not(.studio-admin-voices) select,
html:not(.studio-admin-voices) [contenteditable=true],
html:not(.studio-admin-voices) .correction-text,
html:not(.studio-admin-voices) #text{background:#fff!important;color:#171717!important;caret-color:#171717;border-color:#bbb;color-scheme:light}
.studio-tool-hidden{display:none!important}
.studio-tool-heading{padding:10px 4px 20px}
.studio-tool-heading h1{font-size:27px;margin:0 0 14px}
.studio-tool-heading p{color:#bcbcbc;font-size:15px;line-height:1.6}
.studio-tool-heading button{margin:4px 0 4px 9px}
.studio-tool-notice:empty{display:none}
html[data-tool] #studioWorkspaceActions #historyBtn,html[data-tool] #studioWorkspaceActions #studioVideoHistoryBtn{display:none!important}
html:not([data-tool=workspace]) #studioWorkspaceActions{display:none!important}
html:not([data-tool=workspace]) .video-wave-lane,html:not([data-tool=workspace]) .video-wave-underlay{display:none!important}
#studioVideoPanel[data-tool-view=images]>.video-group:first-of-type,
#studioVideoPanel[data-tool-view=images]>.video-scene-heading,
#studioVideoPanel[data-tool-view=images]>.video-tools-grid,
#studioVideoPanel[data-tool-view=images]>.video-group:last-of-type,
#studioVideoPanel[data-tool-view=images] [data-motion-options],
#studioVideoPanel[data-tool-view=images] [data-effects],
#studioVideoPanel[data-tool-view=images] [data-remove-row],
#studioVideoPanel[data-tool-view=images] [data-play],
#studioVideoPanel[data-tool-view=images] [data-play-file],
#studioVideoPanel[data-tool-view=images] [data-clock]{display:none!important}
#studioVideoPanel[data-tool-view=clips]>.video-group,
#studioVideoPanel[data-tool-view=clips]>.video-scene-heading,
#studioVideoPanel[data-tool-view=clips]>.video-body:not(.video-tools-grid),
#studioVideoPanel[data-tool-view=clips] [data-presenter-host],
#studioVideoPanel[data-tool-view=clips] [data-media-describe],
#studioVideoPanel[data-tool-view=presenter]>.video-group,
#studioVideoPanel[data-tool-view=presenter]>.video-scene-heading,
#studioVideoPanel[data-tool-view=presenter]>.video-body:not(.video-tools-grid),
#studioVideoPanel[data-tool-view=presenter] [data-clip-tools]{display:none!important}
#studioVideoPanel[data-tool-view=clips]>.video-tools-grid,
#studioVideoPanel[data-tool-view=presenter]>.video-tools-grid{grid-template-columns:minmax(0,1fr);display:block}
#studioVideoPanel:not([data-tool-view=workspace]) .video-header h3,
#studioVideoPanel:not([data-tool-view=workspace]) [data-close]{display:none!important}
.studio-presenter-audio{background:#1b1b1b;border:1px solid #3c3c3c;border-radius:12px;padding:18px;margin-bottom:20px}
.studio-presenter-audio audio{max-width:100%;width:100%}
.studio-creation-history{padding:12px 0}
.studio-history-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start;gap:18px}
.studio-history-card{position:relative;min-width:0;padding:44px 14px 14px;border:1px solid #444;background:#1e1e1e;border-radius:12px;overflow:hidden}
.studio-history-card.is-selected{border-color:#91b9f9;outline:2px solid #91b9f9;outline-offset:-2px}
.studio-history-card h3{font-size:17px;margin:4px 0 8px;overflow-wrap:anywhere}
.studio-history-card small{display:block;color:#aaa;margin-bottom:10px}
.studio-history-card img{width:100%;max-height:300px;object-fit:contain;background:#111}
.studio-history-card video,.studio-history-card audio{display:block;max-width:100%;width:100%;margin:12px 0}
.studio-history-card button{margin:8px 0 0 7px}
.studio-history-card [data-history-add]{display:block;width:100%;margin-top:14px}
.studio-history-check{position:absolute;top:12px;right:12px;min-width:24px;width:24px;height:24px;cursor:pointer;accent-color:#22775d}
html:not([data-tool=audio-history]) #historyPanel:not(.open){display:none}
html[data-tool=audio-history] #historyPanel{display:block!important}
@media(max-width:710px){
 .studio-tool-heading h1{font-size:23px}.studio-tool-heading{padding-bottom:15px}
 .studio-history-grid{grid-template-columns:minmax(0,1fr)}
 #studioVideoPanel[data-tool-view=images]>.video-body{grid-template-columns:minmax(0,1fr)}
}
.studio-creation-history [hidden],.studio-presenter-audio[hidden],.studio-tool-heading [hidden]{display:none!important}
html:not(.studio-admin-voices) .video-pilot .video-options>summary,
html:not(.studio-admin-voices) .video-pilot .video-portrait-heading strong{color:#eee!important}
html:not(.studio-admin-voices) .video-header [data-save-state]{color:#bcbcbc!important}
html:not(.studio-admin-voices) .video-pilot a{color:#b7d4ff}
html:not(.studio-admin-voices) .video-status[data-error=true]{color:#ffb3b3}
html:not(.studio-admin-voices) .dialogue-controls,
html:not(.studio-admin-voices) .niqqud-dialog,
html:not(.studio-admin-voices) section.style-section,
html:not(.studio-admin-voices) .pronunciation-section{background:#1b1b1b!important;border-color:#444;color:#eee}
html:not(.studio-admin-voices) .niqqud-dialog .niqqud-selected,
html:not(.studio-admin-voices) .niqqud-dialog .niqqud-active-word,
html:not(.studio-admin-voices) .niqqud-dialog .auto-niqqud-options{background:#fff!important;color:#171717!important}
html:not(.studio-admin-voices) .niqqud-active-word,
html:not(.studio-admin-voices) .auto-niqqud-options,
html:not(.studio-admin-voices) .niqqud-selected,
html:not(.studio-admin-voices) [contenteditable="plaintext-only"]{background:#fff!important;color:#171717!important}
.studio-audio-upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0;margin-bottom:10px}
.studio-audio-upload small{color:#bbb}
.studio-audio-upload [role=status]{flex-basis:100%;color:#ddd}
.studio-audio-upload[hidden],.studio-audio-upload input[hidden]{display:none!important}
html[data-tool=workspace] #currentSection:has(.studio-audio-upload:not([hidden])){display:block!important}
.studio-presenter-actions{display:flex;direction:rtl;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.studio-narration-link{position:relative;display:inline-block}
.studio-narration-link.is-open>[data-create-audio-link]{visibility:hidden}
.studio-narration-message{position:absolute;z-index:200;bottom:0;right:0;width:min(440px,calc(100vw - 64px));box-sizing:border-box;background:#242424;color:#f2f2f2;border:1px solid #777;border-radius:10px;padding:16px;box-shadow:0 6px 24px #0009;text-align:right;direction:rtl}
.studio-narration-message p{margin:0 0 14px;line-height:1.7;color:#f2f2f2}
.studio-narration-message[hidden]{display:none!important}
@media(max-width:710px){
 .studio-presenter-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:stretch}
 .studio-presenter-actions>button,.studio-presenter-actions .studio-narration-link>button{width:100%;height:100%;min-width:0;white-space:normal;overflow-wrap:break-word;padding-inline:7px}
 .studio-presenter-actions .studio-narration-link{min-width:0}
}
/* Comfortable body text; bright text is reserved for headings. */
html:not(.studio-admin-voices) body,
html:not(.studio-admin-voices) body>.wrap,
html:not(.studio-admin-voices) .voice-selection-section,
html:not(.studio-admin-voices) #connectedStyleSections,
html:not(.studio-admin-voices) #connectedStyleSections>.style-section,
html:not(.studio-admin-voices) #narrationTextSection,
html:not(.studio-admin-voices) #currentSection #current>.output-card,
html:not(.studio-admin-voices) .card,
html:not(.studio-admin-voices) .style-section,
html:not(.studio-admin-voices) .video-pilot,
html:not(.studio-admin-voices) .video-group,
html:not(.studio-admin-voices) .video-options,
html:not(.studio-admin-voices) .history-panel,
html:not(.studio-admin-voices) .history-entry{color:#bfc1c5!important}
html:not(.studio-admin-voices) label{color:#c3c5c9}
html:not(.studio-admin-voices) .video-help,
html:not(.studio-admin-voices) .small{color:#a1a5ad}
html:not(.studio-admin-voices) .voice-selection-section>summary,
html:not(.studio-admin-voices) #connectedStyleSections>summary{color:#eeeeef!important}
.studio-tool-heading{padding:6px 4px 12px}
.studio-tool-heading>p:not(.studio-tool-notice){display:none!important}
.studio-tool-heading>button{display:none!important}
html[data-tool=presenter] .studio-presenter-audio>p{display:none!important}
#studioVideoPanel[data-tool-view=clips] [data-media-player] video{width:min(100%,640px);aspect-ratio:16/9;max-height:none;background:#101216}
#studioVideoPanel[data-tool-view=clips] [data-media-player] h4{margin:8px 0}
#studioVideoPanel[data-tool-view=clips] [data-media-result]>label[hidden]{display:none!important}
html:not(.studio-admin-voices) .pronunciation-toggle{color:#c3c5c9}
html:not(.studio-admin-voices) .pronunciation-summary{color:#9fa3aa}
/* Light dialogs and notices retain dark ink; dark disclosures use light ink. */
html:not(.studio-admin-voices) .voice38-modal-panel,
html:not(.studio-admin-voices) .voice38-modal-header h2,
html:not(.studio-admin-voices) .voice38-advanced summary,
html:not(.studio-admin-voices) .voice38-modal-panel .voice38-advanced label{color:#253b32}
html:not(.studio-admin-voices) .voice38-modal-panel .voice38-advanced .small{color:#4b5d54}
html:not(.studio-admin-voices) .disclosure{color:#eeeeef}
html:not(.studio-admin-voices) .working{color:#253b32}
html:not(.studio-admin-voices) .working .small{color:#4b5d54}
.studio-history-selectable{position:relative;padding-top:48px!important}
.studio-history-selectable.is-selected{outline:2px solid #91b9f9;outline-offset:-2px}
.studio-history-selectable [data-history-add]{display:block;width:100%;margin-top:14px}
.studio-history-selectable [hidden]{display:none!important}
.studio-history-selection-notice{padding:12px;border:1px solid #4a4a4a;border-radius:10px;background:#202020}
#studioVideoPanel[data-tool-view=clips]>.video-tools-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}
#studioVideoPanel[data-tool-view=clips] .studio-clip-preview{min-width:0;margin:0}
#studioVideoPanel[data-tool-view=clips] .studio-clip-preview [data-media-result]{margin:0;border:0;padding:8px}
#studioVideoPanel[data-tool-view=clips] .studio-clip-preview video{width:100%;max-width:100%;object-fit:contain}
html[data-outer-desktop=true] #studioVideoPanel[data-tool-view=clips]>.video-tools-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);direction:rtl}

/* Audio selection stays clear of the original filename and player controls. */
.studio-history-selectable>.studio-history-check{left:50%;right:auto;transform:translateX(-50%);top:12px;margin:0}

html.studio-tool-routing body>.wrap{visibility:hidden!important;opacity:0!important}

/* Standalone images have one page title; keep the inner tools independent. */
#studioVideoPanel[data-tool-view=images] [data-image-options]>summary,
#studioVideoPanel[data-tool-view=images] [data-choice-options]{display:none!important}
.video-reference-actions{display:flex;flex-wrap:wrap;gap:10px;direction:rtl}
.video-reference-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:12px}
.video-uploaded-reference{display:flex;flex-direction:column;gap:8px;border:1px solid #454545;border-radius:10px;padding:12px;min-width:0}
.video-uploaded-reference img:not(.video-portrait-zoom){width:100%;height:130px;object-fit:contain}
.video-uploaded-reference label{display:flex;flex-direction:column;gap:5px}
.video-uploaded-reference input{width:100%;box-sizing:border-box;min-width:0}

.video-portrait-search{padding:12px 0;border-bottom:1px solid #454545;margin-bottom:12px;min-width:0}
.video-portrait-search-label{min-width:0;flex:1 1 180px;display:flex;flex-direction:column;gap:5px}
.video-portrait-search input{width:100%;min-width:0;box-sizing:border-box}

#studioVideoPanel[data-tool-view=images] [data-existing-reference]{display:none!important}
.video-reference-upload-group{display:inline-flex;align-items:center;gap:6px;position:relative;max-width:100%;direction:rtl}
.video-reference-help-button{border:1px solid #bfc1c5!important;border-radius:50%!important;background:#eee!important;color:#262626!important;width:23px;height:23px;min-width:23px;padding:0!important;font:700 15px/21px Arial!important}
.video-reference-help-message{position:fixed;left:0;right:auto;top:0;overflow:auto;z-index:12000;width:min(360px,calc(100vw - 32px));box-sizing:border-box;padding:12px;background:#252525;color:#eee;border:1px solid #777;border-radius:10px;box-shadow:0 8px 28px #0008;text-align:right;line-height:1.6}
.video-reference-help-message p{margin:4px 0 0;font-size:14px}
.video-reference-help-message>button{float:left;padding:2px 8px!important}
.video-reference-help-message[hidden],[data-reference-status][hidden]{display:none!important}

.video-reference-upload-group>[data-reference-source]{min-width:0;max-width:100%}

.studio-presenter-player{margin:0 0 16px}
.studio-presenter-player-title{font-weight:700;color:#ded9f1;margin-bottom:8px;overflow-wrap:anywhere}
.studio-presenter-player-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#dedaf5;border:1px solid #aca0d2;border-radius:22px;padding:10px;color:#30274b;direction:rtl}
.studio-presenter-player-bar button{background:#6b50ab!important;color:#fff!important;border:1px solid #9480bf!important;border-radius:50px!important;min-width:36px;min-height:36px;padding:5px 8px!important;margin:0!important;font:600 14px Arial!important}
.studio-presenter-player-bar button:disabled,.studio-presenter-player-bar input:disabled{opacity:.5}
.studio-presenter-player-bar [data-player-seek]{flex:1 1 150px;min-width:80px;accent-color:#6948aa;cursor:pointer}
.studio-presenter-player-bar [data-player-time]{font:13px/1.5 monospace;color:#30274b;white-space:nowrap}
.studio-presenter-player-bar [data-player-volume]{width:65px;max-width:65px;accent-color:#6948aa}
.studio-presenter-player audio{display:none!important}
.studio-presenter-player [data-player-status]{margin:8px 0 0;color:#f4b3b3}
.studio-presenter-player [data-player-status][hidden]{display:none!important}
.studio-presenter-setup[hidden]{display:none!important}
.studio-audio-required-dialog{width:min(380px,calc(100vw - 32px));box-sizing:border-box;padding:24px;text-align:center;background:#252525;color:#eee;border:1px solid #777;border-radius:14px;box-shadow:0 12px 40px #0008}
.studio-audio-required-dialog::backdrop{background:#0009}
.studio-audio-required-dialog p{margin:0 0 18px;font-size:18px}
@media(max-width:710px){.studio-presenter-player-bar [data-player-seek]{order:1;flex-basis:100%}.studio-presenter-player-bar [data-player-volume]{width:55px;max-width:55px}.studio-presenter-player-bar{gap:6px}}
.studio-narration-buttons{display:flex;direction:rtl;justify-content:center;gap:10px;flex-wrap:wrap}
/* Shared help: below, centered on its anchor, no close icon. */
.studio-help-popover,.video-reference-help-message.studio-help-popover{position:fixed!important;z-index:2147483647!important;box-sizing:border-box;padding:12px!important;border:1px solid #777!important;border-radius:10px!important;background:#252525!important;color:#eee!important;box-shadow:0 8px 28px #0008!important;font:14px/1.6 Arial,sans-serif!important;direction:rtl;text-align:right;overflow:auto;overflow-wrap:anywhere;pointer-events:none}
.studio-help-popover[hidden]{display:none!important}
.help-portals-ready .delayed-tip::after{display:none!important}
.studio-presenter-actions{justify-content:center}
.studio-presenter-setup{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;direction:rtl}
.studio-presenter-fields{min-width:0}
.studio-presenter-preview{min-width:0;margin:0;padding:14px;border:1px solid #454545;border-radius:12px;background:#1b1b1b}
.studio-presenter-preview video{width:100%;aspect-ratio:16/9;object-fit:contain;background:#101216}
.studio-presenter-preview [data-media-result]{margin:0;border:0;padding:0}
.studio-presenter-preview [data-media-player] h4{margin:8px 0}
.studio-presenter-history-player{min-width:0}
#studioVideoPanel[data-tool-view=presenter]>.video-tools-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;direction:rtl}
html[data-outer-desktop=true] .studio-presenter-setup,html[data-outer-desktop=true] #studioVideoPanel[data-tool-view=presenter]>.video-tools-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#studioWorkspaceActions{justify-content:center}
#studioVideoEdit{margin-inline:auto}
html.studio-video-open #studioVideoEdit{display:none!important}
.generation-toolbar-actions{direction:rtl}
#studioVideoPanel[data-tool-view=presenter]>.video-tools-grid{background:#1b1b1b!important;border:0!important}
#studioVideoPanel[data-tool-view=presenter]>.video-tools-grid>.video-group{border:1px solid #454545!important;border-radius:12px!important;background:#1b1b1b!important;padding:14px!important}
.studio-presenter-preview [data-media-player] video{width:100%!important;max-width:100%!important;max-height:none!important;aspect-ratio:16/9;object-fit:contain}
.studio-presenter-actions button{color:#fff!important}
/* Audio status belongs to the controls row, leaving the player close to the title. */
.studio-presenter-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;direction:rtl;margin-top:10px}
.studio-presenter-controls>.studio-presenter-player-title{grid-column:1;margin:0;text-align:right;overflow-wrap:anywhere;color:#bfc1c5;font-size:14px;font-weight:400}
.studio-presenter-controls>.studio-presenter-actions{grid-column:2;margin:0}
html[data-tool=presenter] .studio-tool-heading{padding-bottom:4px}
html[data-tool=presenter] .studio-tool-heading h1{margin-bottom:6px}
html[data-tool=presenter] .studio-presenter-audio{padding-top:8px}
html[data-tool=presenter] .studio-presenter-player{margin:0}
html[data-tool=presenter] .studio-presenter-history-player{margin-top:0!important;padding-top:0!important}
@media(max-width:710px){.studio-presenter-controls{grid-template-columns:minmax(0,1fr);gap:7px}.studio-presenter-controls>.studio-presenter-player-title,.studio-presenter-controls>.studio-presenter-actions{grid-column:1}}
#studioVideoPanel[data-tool-view=clips]>.studio-clip-composer{display:block!important}
:is(.studio-clip-composer,.studio-audio-composer) ol{list-style:none;padding:0;margin:14px 0}
:is(.studio-clip-composer,.studio-audio-composer) li{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #393939;padding:12px 0}
:is(.studio-clip-composer,.studio-audio-composer) li>span{flex:1 1 220px;overflow-wrap:anywhere}
.studio-clip-composer [data-compose-output] video{display:block;width:min(100%,720px);margin:16px auto;background:#101216;aspect-ratio:16/9}
.studio-clip-composer [data-compose-output]>button{display:block;margin:10px auto}
@media(max-width:600px){:is(.studio-clip-composer,.studio-audio-composer) li>span{flex-basis:100%}:is(.studio-clip-composer,.studio-audio-composer) .video-row{flex-wrap:wrap}}

.studio-history-card{padding-top:14px}
.studio-history-direct-select{padding-top:14px!important}
.studio-history-direct-select>[data-history-add].studio-history-direct-add{display:block;width:100%;box-sizing:border-box;position:static;margin:0 0 14px;padding:12px 14px;background:#216d55;color:#fff;border:1px solid #6bb797;border-radius:9px;font-weight:700;line-height:1.5;white-space:normal;text-align:center}
.studio-history-direct-select>[data-history-add].studio-history-direct-add:hover{background:#287e64}
.studio-history-direct-select>[data-history-add].studio-history-direct-add:focus-visible{outline:3px solid #b8e4d1;outline-offset:3px}
.presenter-asset-status{overflow-wrap:anywhere;white-space:normal}
.presenter-asset-status:empty{display:none}
#studioVideoPanel[data-tool-view=images]>.video-group.presenter-image-create-flow{display:block!important}
.presenter-image-create-flow{margin-bottom:16px}
.presenter-image-create-flow h4{margin:0 0 12px}
.presenter-created-asset-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;background-color:#fafafa;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.presenter-created-asset-preview[hidden]{display:none!important}
.presenter-assets .video-row{flex-wrap:wrap}

html[data-tool=workspace] #studioVideoEdit{display:none!important}
.workspace-stage{min-width:0;margin:14px 0;padding:12px 14px;border:1px solid #444;border-radius:12px;background:#1b1b1b;color:#eee}
.workspace-stage>summary{cursor:pointer;font-size:18px;font-weight:700;line-height:1.7;text-align:right;white-space:normal;overflow-wrap:anywhere}
.workspace-stage[open]>summary{margin-bottom:14px}
.workspace-stage-body{min-width:0}
.workspace-stage-body>.video-status:empty{display:none}
.workspace-stage[hidden]{display:none!important}
@media(max-width:600px){.workspace-stage{padding:10px;margin:12px 0}.workspace-stage>summary{font-size:16px}}
.workspace-stage-body>.video-status{color:#cfcfcf;line-height:1.7}
.workspace-stage-body>.video-status[data-error=true]{color:#ffb4a9}

@media(max-width:710px){
 .studio-presenter-actions{align-items:center}
 .studio-presenter-actions>button,.studio-presenter-actions .studio-narration-link>button{height:44px;min-height:32px;font-size:.83rem!important;line-height:1.2;padding:6px 7px!important}
}

.studio-audio-composer [data-audio-compose-output] audio{display:block;width:min(100%,720px);margin:16px auto}.studio-audio-composer [data-audio-compose-output]>button{display:block;margin:10px auto}

/* A closed composer is one compact summary row; expanded controls keep their layout. */
:is(.studio-audio-composer,.studio-clip-composer):not(:has(details[open])){padding:0;margin-block:.35rem}
.studio-audio-composer:not(:has(details[open]))>.video-group{padding:0;margin:0;border:0}
:is(.studio-audio-composer,.studio-clip-composer) details:not([open]){margin:0;padding:0;border:0}
:is(.studio-audio-composer,.studio-clip-composer) details:not([open])>summary{padding:.18rem .55rem;line-height:1.35}
