@import url('./studio-fonts.css');
/* Studio controls override shared owner form styles, especially checkbox sizing. */
#owStudioDialog .ow-dialog-head{background:#5d4279;color:#fff;border-bottom:4px solid #c6acd9}
#owStudioDialog .ow-dialog-head .btn{background:#fff6;color:#fff;border-color:#ffffff60}
#owStudioDialog #owStudio{background:#f7f1e8;padding:24px}
.studio-editor{color:#342a3f;font:14px/1.5 system-ui,sans-serif}
.studio-intro{margin:0 0 24px;padding:20px 24px;border-radius:16px;background:#e9e7e3;border:1px solid #d5d2cc}
.studio-intro span{font-size:clamp(16px,1.5vw,18px);font-weight:750;letter-spacing:.08em;color:#77548e}.studio-intro h2{font-size:clamp(26px,2.6vw,34px);line-height:1.3;margin:8px 0}.studio-intro p{margin:0;color:#65596c}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:start}
.studio-stage{min-width:0;position:relative;z-index:0}.studio-canvas{display:block;width:100%;height:auto;aspect-ratio:1;touch-action:none;border-radius:18px;background:#eeece8;border:1px solid #d8d4ce;box-sizing:border-box;box-shadow:0 8px 24px #5c3d7510}
.studio-fields{display:grid;gap:18px;background:#fffdf9;padding:22px;border:1px solid #e2d9ce;border-radius:18px;min-width:0}
.studio-editor label{font-size:13px;font-weight:650}.studio-fields label{display:grid;gap:8px;margin:0;min-width:0}
.studio-editor input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),.studio-editor textarea,.studio-editor select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #dcd3e2;border-radius:10px;background:white;color:#342a3f;font:inherit;min-height:42px}
.studio-editor textarea{min-height:105px;resize:vertical}.studio-editor input[type=checkbox]{appearance:auto;display:inline-block;width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;padding:0!important;margin:0!important;accent-color:#79559a;vertical-align:middle}
.studio-editor input[type=color]{width:48px!important;height:36px;padding:3px!important;border:1px solid #d8cce0;border-radius:8px;background:#fff}
.studio-editor input[type=range]{display:block;width:100%;height:22px;padding:0!important;margin:3px 0;accent-color:#79559a}
.studio-fields details{padding:16px;border:1px solid #d7d4cf;border-radius:14px;background:#efeeeb;display:block}
.studio-fields details summary{grid-column:1/-1;font-size:15px;font-weight:750;color:#64447e;cursor:pointer;padding:0 0 8px;border-bottom:1px solid #e0d3e8;margin-bottom:2px}
.studio-fields details:not([open]){display:block}.studio-fields .studio-design-controls>label:has(input[type=checkbox]){display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:32px}
.studio-fields .studio-design-controls>label:has([data-field=visible]),.studio-fields .studio-design-controls>label:has([data-field=x]),.studio-fields .studio-design-controls>label:has([data-field=y]),.studio-fields .studio-design-controls>.studio-actions,.studio-fields .studio-design-controls>p{grid-column:1/-1}
.studio-fields .studio-design-controls>p{font-size:12px;font-weight:400;color:#74647f;margin:0}.studio-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 0}
.studio-fields .studio-design-controls>.studio-actions{margin:2px 0 4px;padding-bottom:14px;border-bottom:1px solid #e0d3e8}
.studio-editor button,.studio-upload{box-sizing:border-box;padding:11px 15px;border:1px solid #d8cbe1;border-radius:10px;background:#fff;color:#5c4074;cursor:pointer;font:650 13px/1.3 system-ui;min-height:42px}
.studio-editor button:hover:not(:disabled){background:#eee3f5}.studio-editor button[data-action=save],.studio-editor button[data-action=preview]{background:#765391;color:white;border-color:#765391}.studio-editor button:disabled{cursor:default;opacity:.5}
.studio-upload{display:flex!important;align-items:center;position:relative;overflow:hidden;margin:0!important}.studio-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.studio-creative-space{margin:0 0 24px;padding:22px;border:1px solid #d3ccc2;border-top:5px solid #b5a998;border-radius:16px;background:#e8e2d8}.studio-creative-space h3{margin:0 0 8px;color:#624279;font-size:24px;line-height:1.2}.studio-creative-space>p{margin:0 0 18px;color:#6c5b79;font-size:13px}.studio-creative-space label{display:grid;gap:8px}.studio-creative-space small{display:block;margin-top:8px;color:#75667f;font-size:12px}
.studio-fields fieldset{margin:0;padding:14px;border:1px solid #d9d5cf;border-radius:14px;background:#f0efec;display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-fields legend{padding:0 7px;color:#63477b;font-weight:750}
.studio-fields fieldset label{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid #e6dbed;border-radius:10px;background:#fff;min-height:46px;box-sizing:border-box;font-size:12px}.studio-fields fieldset label:has(:checked){border-color:#9b83ae;background:#ebe7ee}
.studio-editor [data-hint],.studio-editor [data-status]{margin:0;font-size:12px;color:#706079}.studio-editor [data-status]{min-height:20px}.studio-editor [data-drafts]{display:flex;flex-wrap:wrap;gap:10px;padding:16px;border-radius:14px;background:#e5e3df;border:1px solid #d4d0ca}.studio-editor>h3{margin:26px 0 12px;color:#64437e}
.studio-picker{box-sizing:border-box;width:min(850px,92vw);max-height:85dvh;overflow:auto;border:1px solid #d7c5e3;border-radius:18px;padding:24px;background:#fffaf4;color:#342a3f}.studio-picker::backdrop{background:#25133299}.studio-picker canvas{display:block;width:min(450px,100%);height:auto;margin:16px 0;border-radius:12px}.studio-picker button{margin:6px 10px 6px 0}
.studio-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;max-height:60dvh;overflow:auto;margin-top:18px}.studio-library img{width:100%;height:110px;object-fit:contain}.studio-library span{display:block;overflow-wrap:anywhere}
@media(max-width:760px){.studio-layout{grid-template-columns:1fr}.studio-fields{padding:18px}.studio-intro{padding:18px}.studio-intro h2{font-size:26px}#owStudioDialog #owStudio{padding:16px}}
@media(max-width:400px){.studio-fields details,.studio-fields fieldset{grid-template-columns:1fr}}

/* Decorative paint stays outside controls and ignores pointer input. */
#owStudioDialog .ow-dialog-head{position:sticky;top:0;z-index:20;isolation:isolate;overflow:visible;border-bottom:0}
#owStudioDialog .ow-dialog-head::after{content:"";pointer-events:none;position:absolute;top:calc(100% - 1px);left:0;right:0;height:90px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20160%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%235d4279%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22%234a2b66%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233f2457%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shine%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23cdb7e3%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23paint%29%22%20d%3D%22M0%200H1200V5C1190%203%201188%2014%201186%2035C1184%2059%201186%2092%201190%20113C1193%20134%201191%20150%201180%20150C1168%20150%201165%20135%201170%20115C1176%2086%201178%2056%201175%2029C1173%2010%201170%205%201165%208C1159%2011%201163%2028%201161%2043C1159%2055%201152%2053%201153%2042C1155%2026%201154%2012%201147%2010C1137%207%201134%2019%201132%2034C1130%2048%201127%2051%201123%2048C1118%2043%201123%2031%201120%2018C1117%206%201106%208%201098%2017C1086%2030%201077%2030%201066%2020C1051%204%201043%204%201037%2014C1027%2029%201030%2045%201034%2061C1037%2077%201034%2089%201025%2089C1017%2089%201014%2079%201018%2062C1023%2040%201026%2018%201017%2011C1009%206%201001%2012%20993%2020C979%2034%20963%2027%20960%2016C956%204%20943%205%20940%2022C937%2039%20940%2049%20937%2058C934%2069%20925%2065%20927%2055C930%2040%20932%2014%20921%2011C910%209%20904%2025%20900%2035C894%2050%20880%2049%20874%2035C866%2015%20864%207%20854%208C841%209%20840%2023%20839%2041C838%2068%20843%2091%20846%20108C849%20124%20845%20138%20835%20138C824%20138%20823%20124%20829%20105C837%2078%20836%2049%20832%2026C829%2010%20821%209%20817%2015C809%2025%20812%2046%20809%2058C806%2071%20797%2069%20799%2058C803%2035%20800%2018%20792%2012C783%205%20775%2013%20768%2024C759%2038%20744%2036%20739%2022C732%203%20716%204%20711%2017C706%2031%20710%2047%20708%2057C706%2069%20696%2064%20698%2054C703%2033%20698%2012%20688%2011C675%2010%20672%2030%20667%2036C658%2047%20644%2034%20642%2021C640%208%20630%206%20623%2016C609%2033%20594%2022%20590%2013C585%201%20571%204%20568%2019C565%2035%20566%2054%20570%2072C573%2086%20570%2097%20561%2097C551%2097%20550%2088%20556%2072C563%2054%20561%2024%20555%2014C549%205%20539%209%20533%2022C526%2040%20517%2038%20515%2025C513%2010%20506%205%20495%2011C480%2023%20468%2024%20459%2014C450%202%20438%205%20434%2020C430%2034%20433%2047%20429%2052C422%2060%20419%2054%20422%2044C427%2025%20421%2010%20412%2010C400%2010%20397%2024%20393%2031C384%2047%20369%2041%20365%2024C361%205%20347%204%20339%2018C327%2038%20311%2030%20306%2017C300%202%20289%207%20284%2021C279%2038%20281%2054%20285%2070C289%2086%20287%20102%20276%20102C265%20102%20263%2088%20269%2072C277%2049%20275%2026%20269%2015C263%204%20251%2010%20244%2023C235%2041%20220%2038%20214%2022C208%207%20195%205%20187%2016C174%2035%20159%2030%20154%2017C149%204%20139%207%20138%2021C137%2038%20140%2045%20137%2052C132%2063%20125%2056%20128%2047C134%2026%20126%209%20118%2010C110%2011%20110%2030%20105%2033C96%2040%2084%2026%2080%2015C75%204%2061%205%2056%2021C49%2038%2049%2061%2053%2083C58%20108%2055%20126%2044%20127C32%20129%2028%20112%2035%2092C45%2062%2044%2037%2039%2018C36%206%2026%208%2020%2017C12%2031%204%2024%200%2020Z%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url%28%23shine%29%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M40%2089C35%20105%2034%20115%2039%20120%22%2F%3E%3Cpath%20d%3D%22M271%2071C268%2085%20268%2094%20273%2097%22%2F%3E%3Cpath%20d%3D%22M558%2071C553%2084%20554%2091%20558%2093%22%2F%3E%3Cpath%20d%3D%22M830%20105C824%20120%20827%20130%20831%20133%22%2F%3E%3Cpath%20d%3D%22M1021%2063C1017%2073%201019%2083%201023%2085%22%2F%3E%3Cpath%20d%3D%22M1174%20114C1169%20131%201173%20143%201177%20146%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center top/100% 100% no-repeat;z-index:3}
#owStudioDialog #owStudio{padding-top:38px}
.studio-editor [data-drafts]{position:relative;overflow:hidden;padding-bottom:25px;background:linear-gradient(135deg,#eeece8,#e2ded7)}

.studio-creative-space p:last-child{margin:10px 0 0;font-size:12px;color:#75667f}

.studio-design-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.studio-fields .studio-design-controls input[type=range]{width:100%}@media(max-width:400px){.studio-design-controls{grid-template-columns:1fr}}

/* Group related headline controls without changing their saved values. */
.studio-design-controls{display:flex;flex-direction:column;gap:18px}.studio-design-pair,.studio-slider-group{display:grid;grid-template-columns:1fr 1fr;gap:16px}.studio-style-switches{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 18px}.studio-style-switches label{display:flex;align-items:center;gap:9px;min-height:28px}.studio-design-pair .studio-actions{margin:0;align-content:end;padding:0;border:0}.studio-slider-group{padding-top:16px;border-top:1px solid #d7d4cf}.studio-design-controls>label{display:flex;align-items:center;gap:9px}.studio-design-controls>p{margin:0;font-size:12px;color:#74647f}@media(max-width:400px){.studio-design-pair,.studio-slider-group{grid-template-columns:1fr}}

.studio-fields fieldset .studio-destination-unavailable{color:#77716d;background:#eeece8}.studio-destination-unavailable small{display:block;font-size:10px;font-weight:400;margin-top:3px}

.studio-voice-consent{display:flex!important;align-items:start;gap:10px!important;margin-top:16px;font-size:12px!important}.studio-brief-proposal{padding:18px;border:1px solid #d3ccc2;background:#fffaf4;border-radius:12px;margin-top:18px}.studio-brief-proposal strong{display:block}.studio-brief-proposal p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 14px}.studio-brief-proposal h3{margin-top:0}

/* Simple color choices: one disk, no native multi-slider dialog. */
.studio-color-picker{min-width:0;display:grid;gap:8px;align-content:start}
.studio-color-title{font-size:13px;font-weight:650}
.studio-editor .studio-color-toggle{display:flex;align-items:center;gap:10px;text-align:left;width:100%;background:#fff;font-size:12px}
.studio-color-dot{width:26px;height:26px;border:1px solid #b7aea3;border-radius:50%;flex-shrink:0}
.studio-color-panel{padding:12px;border:1px solid #d9d2c8;border-radius:12px;background:#fffdf9;min-width:0}
.studio-color-panel[hidden]{display:none!important}
.studio-editor .studio-color-wheel{display:block;position:relative;width:min(190px,100%);aspect-ratio:1;min-height:0;margin:0 auto;padding:0;border-radius:50%;border:1px solid #cec7bc;touch-action:none;background:radial-gradient(circle,white 0%,transparent 70.71%),conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);overflow:hidden;cursor:crosshair}
.studio-editor .studio-color-wheel:hover:not(:disabled){background:radial-gradient(circle,white 0%,transparent 70.71%),conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
.studio-color-mark{position:absolute;width:12px;height:12px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #423b35;transform:translate(-50%,-50%);pointer-events:none}
.studio-color-panel p{font-size:11px;line-height:1.4;margin:10px 0;color:#716657}
.studio-color-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.studio-editor .studio-color-swatch{width:100%;aspect-ratio:1;min-height:28px;padding:0;border-radius:50%;border:1px solid #aaa299;max-width:36px;justify-self:center}
.studio-editor .studio-color-swatch[aria-pressed=true]{outline:2px solid #765391;outline-offset:2px}
.studio-editor .studio-color-picker button:focus-visible{outline:3px solid #765391;outline-offset:3px}

/* Keep the workspace title clear of the decorative drip. */
#owStudioDialog .studio-intro>span{display:inline-block;margin-left:0;position:relative;z-index:1;background:#e9e7e3;padding:2px 6px;border-radius:4px}

/* Keep the visual beside the design controls while the Studio scrolls. */
@media(min-width:761px){.studio-stage .studio-canvas{width:min(100%,calc(100dvh - 220px));margin-inline:auto}.studio-stage>.studio-actions{justify-content:center}}
@media(max-width:760px){.studio-stage{position:static}}

/* Compact idea card above the visual; headline controls start alongside it. */
.studio-stage>.studio-creative-space{padding:16px;margin-bottom:18px}
.studio-stage>.studio-creative-space>p{font-size:12px;line-height:1.4;margin-bottom:10px}
.studio-stage>.studio-creative-space textarea{min-height:220px;line-height:1.55}
.studio-stage>.studio-creative-space .studio-actions{gap:8px;margin-top:10px}
.studio-stage>.studio-creative-space button{padding:9px 12px;font-size:12px}
#owStudioDialog #owStudio{position:relative;z-index:0}

#owStudioDialog .studio-intro{padding-top:70px}

.studio-scheduling{padding:18px;border:1px solid #d3ccc2;border-radius:14px;background:#e8e2d8}.studio-scheduling h3{margin:0 0 8px;color:#624279;font-size:16px}.studio-scheduling p{margin:0 0 12px;font-size:13px}.studio-scheduling small{display:block;margin-top:10px;color:#716657;font-size:12px}

/* Balance both columns with separate task cards rather than one tall panel. */
.studio-fields{padding:0;background:transparent;border:0;border-radius:0;gap:18px}
.studio-control-card{display:grid;gap:16px;padding:20px;border:1px solid #e2d9ce;border-radius:18px;background:#fffdf9;min-width:0}
.studio-fields>details{padding:20px;border-radius:18px}
.studio-fields>.studio-scheduling{margin-top:0;padding:24px;min-height:160px;box-sizing:border-box}
.studio-fields>.studio-scheduling h3{font-size:18px}
@media(max-width:760px){.studio-fields{padding:0}.studio-control-card,.studio-fields>details{padding:16px}}

/* Restrained gold accents complement the purple paint and neutral work areas. */
#owStudioDialog .ow-dialog-head h2{color:#f1d48a;text-shadow:0 1px 2px #291b3c35}
#owStudioDialog .ow-dialog-head .btn{border-color:#e7cb885e}
#owStudioDialog .studio-intro>span{color:#8a682a}
.studio-stage>.studio-creative-space{border-top-color:#b59a60}
.studio-fields>.studio-scheduling{border-top:3px solid #b59a60}
.studio-fields>details summary{border-bottom-color:#d5c5a2}
.studio-control-card{border-top:3px solid #d5c5a2}

/* Rich metallic gold, with highlights rather than a flat pale yellow. */
#owStudioDialog .ow-dialog-head h2{color:#e7b94b;background:linear-gradient(175deg,#fff0ad 0%,#efc65e 25%,#b87b16 46%,#ffe69a 56%,#d69d25 76%,#f7d578 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 1px 1px #28163180)}
#owStudioDialog .studio-intro>span{color:#916114}
.studio-stage>.studio-creative-space,.studio-fields>.studio-scheduling,.studio-control-card{border-top-color:#c59428;box-shadow:inset 0 2px 0 #f8df8d,inset 0 4px 0 #ad761b18}
.studio-fields>details summary{border-bottom-color:#c59428}

/* Softer polished gold: broad highlights without a dark metallic stripe. */
#owStudioDialog .ow-dialog-head h2{font-size:30px;line-height:1.2;color:#edce83;background:linear-gradient(180deg,#fff0b5 0%,#f0d48e 48%,#e6c476 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px #28163135)}
#owStudioDialog .studio-intro>span{color:#92743b}
.studio-stage>.studio-creative-space,.studio-fields>.studio-scheduling,.studio-control-card{border-top-color:#cdb77f;box-shadow:inset 0 1px 0 #f7eac4}
.studio-fields>details summary{border-bottom-color:#d9cba8}

.studio-saved-drafts{box-sizing:border-box;min-height:160px;margin-top:20px;padding:24px;border:1px solid #d3ccc2;border-top:3px solid #cdb77f;border-radius:14px;background:#eeece7;box-shadow:inset 0 1px 0 #f7eac4}.studio-saved-drafts h3{margin:0 0 14px;color:#624279;font-size:18px}.studio-saved-drafts [data-drafts]{padding:0;background:transparent;border:0;display:grid;gap:10px}.studio-saved-drafts [data-drafts] button{text-align:left;width:auto;overflow-wrap:anywhere}.studio-saved-drafts [data-drafts] p{margin:0;color:#716657}

.studio-photo-tools{margin:18px 0;padding:16px;border:1px solid #d7d4cf;border-radius:14px;background:#efeeeb}.studio-photo-tools summary{font-weight:750;color:#624279;cursor:pointer}.studio-photo-tools label{display:grid;gap:6px;margin-top:12px}.studio-photo-tools .studio-actions{gap:8px}.studio-photo-tools button{padding:9px 12px;font-size:12px}.studio-photo-tools button[aria-pressed=true]{background:#765391;color:#fff}.studio-photo-tools small{display:block;margin-top:12px;font-size:11px;line-height:1.5;color:#716657}

.studio-library-tile{display:grid;align-content:start;gap:6px}.studio-library-tile>button{margin:0}.studio-editor .studio-delete,.studio-picker .studio-delete{color:#8d3434;border-color:#d9aaaa;background:#fff5f3}.studio-library-tile .studio-delete{font-size:12px;min-height:36px}

/* Photo sources belong together, next to the existing framing controls. */
.studio-photo-source{margin-top:14px;padding:16px;border:1px solid #d3ccc2;border-radius:14px;background:#eeece7;box-shadow:inset 0 1px 0 #faf7ee}.studio-photo-source h3{margin:0 0 12px;font-size:15px;color:#624279}.studio-photo-source .studio-actions{margin:0;display:flex;gap:10px;flex-wrap:wrap}.studio-share-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 12px}.studio-picker .studio-share-actions button{margin:0}.studio-picker>small{display:block;line-height:1.5;color:#716657}.studio-picker canvas{display:block;max-width:100%;height:auto;border-radius:12px}

html[data-owner-theme="white"] #owStudioDialog .ow-dialog-head::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20160%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23282a2e%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22%2315171a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23090b0d%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shine%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c9cdd3%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23paint%29%22%20d%3D%22M0%200H1200V5C1190%203%201188%2014%201186%2035C1184%2059%201186%2092%201190%20113C1193%20134%201191%20150%201180%20150C1168%20150%201165%20135%201170%20115C1176%2086%201178%2056%201175%2029C1173%2010%201170%205%201165%208C1159%2011%201163%2028%201161%2043C1159%2055%201152%2053%201153%2042C1155%2026%201154%2012%201147%2010C1137%207%201134%2019%201132%2034C1130%2048%201127%2051%201123%2048C1118%2043%201123%2031%201120%2018C1117%206%201106%208%201098%2017C1086%2030%201077%2030%201066%2020C1051%204%201043%204%201037%2014C1027%2029%201030%2045%201034%2061C1037%2077%201034%2089%201025%2089C1017%2089%201014%2079%201018%2062C1023%2040%201026%2018%201017%2011C1009%206%201001%2012%20993%2020C979%2034%20963%2027%20960%2016C956%204%20943%205%20940%2022C937%2039%20940%2049%20937%2058C934%2069%20925%2065%20927%2055C930%2040%20932%2014%20921%2011C910%209%20904%2025%20900%2035C894%2050%20880%2049%20874%2035C866%2015%20864%207%20854%208C841%209%20840%2023%20839%2041C838%2068%20843%2091%20846%20108C849%20124%20845%20138%20835%20138C824%20138%20823%20124%20829%20105C837%2078%20836%2049%20832%2026C829%2010%20821%209%20817%2015C809%2025%20812%2046%20809%2058C806%2071%20797%2069%20799%2058C803%2035%20800%2018%20792%2012C783%205%20775%2013%20768%2024C759%2038%20744%2036%20739%2022C732%203%20716%204%20711%2017C706%2031%20710%2047%20708%2057C706%2069%20696%2064%20698%2054C703%2033%20698%2012%20688%2011C675%2010%20672%2030%20667%2036C658%2047%20644%2034%20642%2021C640%208%20630%206%20623%2016C609%2033%20594%2022%20590%2013C585%201%20571%204%20568%2019C565%2035%20566%2054%20570%2072C573%2086%20570%2097%20561%2097C551%2097%20550%2088%20556%2072C563%2054%20561%2024%20555%2014C549%205%20539%209%20533%2022C526%2040%20517%2038%20515%2025C513%2010%20506%205%20495%2011C480%2023%20468%2024%20459%2014C450%202%20438%205%20434%2020C430%2034%20433%2047%20429%2052C422%2060%20419%2054%20422%2044C427%2025%20421%2010%20412%2010C400%2010%20397%2024%20393%2031C384%2047%20369%2041%20365%2024C361%205%20347%204%20339%2018C327%2038%20311%2030%20306%2017C300%202%20289%207%20284%2021C279%2038%20281%2054%20285%2070C289%2086%20287%20102%20276%20102C265%20102%20263%2088%20269%2072C277%2049%20275%2026%20269%2015C263%204%20251%2010%20244%2023C235%2041%20220%2038%20214%2022C208%207%20195%205%20187%2016C174%2035%20159%2030%20154%2017C149%204%20139%207%20138%2021C137%2038%20140%2045%20137%2052C132%2063%20125%2056%20128%2047C134%2026%20126%209%20118%2010C110%2011%20110%2030%20105%2033C96%2040%2084%2026%2080%2015C75%204%2061%205%2056%2021C49%2038%2049%2061%2053%2083C58%20108%2055%20126%2044%20127C32%20129%2028%20112%2035%2092C45%2062%2044%2037%2039%2018C36%206%2026%208%2020%2017C12%2031%204%2024%200%2020Z%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url%28%23shine%29%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M40%2089C35%20105%2034%20115%2039%20120%22%2F%3E%3Cpath%20d%3D%22M271%2071C268%2085%20268%2094%20273%2097%22%2F%3E%3Cpath%20d%3D%22M558%2071C553%2084%20554%2091%20558%2093%22%2F%3E%3Cpath%20d%3D%22M830%20105C824%20120%20827%20130%20831%20133%22%2F%3E%3Cpath%20d%3D%22M1021%2063C1017%2073%201019%2083%201023%2085%22%2F%3E%3Cpath%20d%3D%22M1174%20114C1169%20131%201173%20143%201177%20146%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}

html[data-owner-theme="charcoal"] #owStudioDialog .ow-dialog-head::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20160%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23697a8c%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22%234d5d70%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23354456%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shine%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d3dce6%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23paint%29%22%20d%3D%22M0%200H1200V5C1190%203%201188%2014%201186%2035C1184%2059%201186%2092%201190%20113C1193%20134%201191%20150%201180%20150C1168%20150%201165%20135%201170%20115C1176%2086%201178%2056%201175%2029C1173%2010%201170%205%201165%208C1159%2011%201163%2028%201161%2043C1159%2055%201152%2053%201153%2042C1155%2026%201154%2012%201147%2010C1137%207%201134%2019%201132%2034C1130%2048%201127%2051%201123%2048C1118%2043%201123%2031%201120%2018C1117%206%201106%208%201098%2017C1086%2030%201077%2030%201066%2020C1051%204%201043%204%201037%2014C1027%2029%201030%2045%201034%2061C1037%2077%201034%2089%201025%2089C1017%2089%201014%2079%201018%2062C1023%2040%201026%2018%201017%2011C1009%206%201001%2012%20993%2020C979%2034%20963%2027%20960%2016C956%204%20943%205%20940%2022C937%2039%20940%2049%20937%2058C934%2069%20925%2065%20927%2055C930%2040%20932%2014%20921%2011C910%209%20904%2025%20900%2035C894%2050%20880%2049%20874%2035C866%2015%20864%207%20854%208C841%209%20840%2023%20839%2041C838%2068%20843%2091%20846%20108C849%20124%20845%20138%20835%20138C824%20138%20823%20124%20829%20105C837%2078%20836%2049%20832%2026C829%2010%20821%209%20817%2015C809%2025%20812%2046%20809%2058C806%2071%20797%2069%20799%2058C803%2035%20800%2018%20792%2012C783%205%20775%2013%20768%2024C759%2038%20744%2036%20739%2022C732%203%20716%204%20711%2017C706%2031%20710%2047%20708%2057C706%2069%20696%2064%20698%2054C703%2033%20698%2012%20688%2011C675%2010%20672%2030%20667%2036C658%2047%20644%2034%20642%2021C640%208%20630%206%20623%2016C609%2033%20594%2022%20590%2013C585%201%20571%204%20568%2019C565%2035%20566%2054%20570%2072C573%2086%20570%2097%20561%2097C551%2097%20550%2088%20556%2072C563%2054%20561%2024%20555%2014C549%205%20539%209%20533%2022C526%2040%20517%2038%20515%2025C513%2010%20506%205%20495%2011C480%2023%20468%2024%20459%2014C450%202%20438%205%20434%2020C430%2034%20433%2047%20429%2052C422%2060%20419%2054%20422%2044C427%2025%20421%2010%20412%2010C400%2010%20397%2024%20393%2031C384%2047%20369%2041%20365%2024C361%205%20347%204%20339%2018C327%2038%20311%2030%20306%2017C300%202%20289%207%20284%2021C279%2038%20281%2054%20285%2070C289%2086%20287%20102%20276%20102C265%20102%20263%2088%20269%2072C277%2049%20275%2026%20269%2015C263%204%20251%2010%20244%2023C235%2041%20220%2038%20214%2022C208%207%20195%205%20187%2016C174%2035%20159%2030%20154%2017C149%204%20139%207%20138%2021C137%2038%20140%2045%20137%2052C132%2063%20125%2056%20128%2047C134%2026%20126%209%20118%2010C110%2011%20110%2030%20105%2033C96%2040%2084%2026%2080%2015C75%204%2061%205%2056%2021C49%2038%2049%2061%2053%2083C58%20108%2055%20126%2044%20127C32%20129%2028%20112%2035%2092C45%2062%2044%2037%2039%2018C36%206%2026%208%2020%2017C12%2031%204%2024%200%2020Z%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url%28%23shine%29%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M40%2089C35%20105%2034%20115%2039%20120%22%2F%3E%3Cpath%20d%3D%22M271%2071C268%2085%20268%2094%20273%2097%22%2F%3E%3Cpath%20d%3D%22M558%2071C553%2084%20554%2091%20558%2093%22%2F%3E%3Cpath%20d%3D%22M830%20105C824%20120%20827%20130%20831%20133%22%2F%3E%3Cpath%20d%3D%22M1021%2063C1017%2073%201019%2083%201023%2085%22%2F%3E%3Cpath%20d%3D%22M1174%20114C1169%20131%201173%20143%201177%20146%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}

html[data-owner-theme="white"] #owStudioDialog .ow-dialog-head{background:#282a2e;border-bottom-color:#8b919b}
html[data-owner-theme="charcoal"] #owStudioDialog .ow-dialog-head{background:#697a8c;border-bottom-color:#a7b5c5}
html[data-owner-theme="white"] #owStudioDialog #owStudio{background:#f4f5f7}
html[data-owner-theme="charcoal"] #owStudioDialog #owStudio{background:#22272f}
html[data-owner-theme="charcoal"] .studio-editor{color:#edf0f4}
html[data-owner-theme="charcoal"] .studio-fields,html[data-owner-theme="charcoal"] .studio-intro,html[data-owner-theme="charcoal"] .studio-creative-space,html[data-owner-theme="charcoal"] .studio-fields details,html[data-owner-theme="charcoal"] .studio-fields fieldset,html[data-owner-theme="charcoal"] .studio-photo-source{background:#2d3540;border-color:#526070;color:#edf0f4}
html[data-owner-theme="charcoal"] .studio-editor input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),html[data-owner-theme="charcoal"] .studio-editor textarea,html[data-owner-theme="charcoal"] .studio-editor select{background:#fffdfb;border-color:#b9c4d0;color:#27313d}
html[data-owner-theme="charcoal"] .studio-editor :is(h2,h3,legend,summary,label),html[data-owner-theme="charcoal"] .studio-intro span{color:#edf0f4}
html[data-owner-theme="charcoal"] .studio-editor :is(p,small,[data-hint],[data-status]){color:#c4ceda}
html[data-owner-theme="white"] .studio-editor :is(h2,h3,legend,summary),html[data-owner-theme="white"] .studio-intro span{color:#394556}
html[data-owner-theme="white"] .studio-editor button[data-action=save],html[data-owner-theme="white"] .studio-editor button[data-action=preview],html[data-owner-theme="charcoal"] .studio-editor button[data-action=save],html[data-owner-theme="charcoal"] .studio-editor button[data-action=preview]{background:#53657b;border-color:#53657b;color:white}
/* Neutral theme controls retain artwork and image colors. */
html[data-owner-theme="white"] #owStudioDialog .studio-editor :is(input[type=checkbox],input[type=range]){accent-color:#465a73}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-editor :is(input[type=checkbox],input[type=range]){accent-color:#9bafca}
html[data-owner-theme="white"] #owStudioDialog .studio-editor button:not(.studio-color-wheel):not(.studio-color-swatch){color:#394556;border-color:#c5ceda}
html[data-owner-theme="charcoal"] #owStudioDialog :is(.studio-control-card,.studio-scheduling,.studio-photo-source,.studio-photo-tools,.studio-saved-drafts,.studio-brief-proposal,.studio-color-panel){background:#2d3540;color:#edf0f4;border-color:#526070;box-shadow:none}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-fields{background:transparent}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-intro>span{background:#2d3540;color:#c4ceda}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-editor button:not(.studio-color-wheel):not(.studio-color-swatch),html[data-owner-theme="charcoal"] #owStudioDialog .studio-upload,html[data-owner-theme="charcoal"] #owStudioDialog .studio-fields fieldset label{background:#3e4b5d;color:#edf0f4;border-color:#62728a}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-editor button:hover:not(:disabled):not(.studio-color-wheel):not(.studio-color-swatch){background:#53647c}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-editor [data-drafts]{background:#2d3540;border-color:#526070}
html[data-owner-theme="charcoal"] #owStudioDialog .owner-tool-session{background:#2b3543;border-color:#62728a}
html[data-owner-theme="charcoal"] #owStudioDialog .owner-tool-session small{color:#c4ceda}
html[data-owner-theme="white"] #owStudioDialog .owner-tool-session{background:#edf1f6;border-color:#c5ceda}
html[data-owner-theme="white"] #owStudioDialog .owner-tool-session small{color:#53647c}
html[data-owner-theme="white"] #owStudioDialog .studio-editor button[data-action=save],html[data-owner-theme="white"] #owStudioDialog .studio-editor button[data-action=preview]{color:#fff}

html[data-owner-theme="charcoal"] #owStudioDialog .owner-tool-session input{background:#fffdfb;color:#27313d;border-color:#b9c4d0}

/* A compact selection group, with its heading entirely inside the card. */
.studio-creative-space .studio-creation-options{margin:12px 0;padding:12px;border:1px solid #c8c3bd;border-radius:12px;background:#fffdfb;color:#30283a;display:grid;gap:10px;width:100%;box-sizing:border-box}
.studio-creation-options .studio-creation-heading{margin:0;font-size:13px;line-height:1.4;font-weight:700;color:#30283a}
.studio-creation-options .studio-media-choices{display:flex;gap:8px}
.studio-creation-options label{display:grid;gap:5px;font-size:12px;font-weight:600;min-width:0;color:#30283a}
.studio-creation-options label[hidden],.studio-creation-options>div[hidden]{display:none}
.studio-creation-options select{width:100%;min-height:42px;max-width:100%;background:white;color:#30283a;border:1px solid #aaa6a0;border-radius:9px;padding:8px;font:inherit}
.studio-creation-options .studio-media-choices label{display:flex;flex:0 0 auto;width:auto;min-height:42px;box-sizing:border-box;gap:7px;align-items:center;padding:6px 12px;border:1px solid #d2ccc4;border-radius:9px;cursor:pointer}
.studio-media-choices label:has(:checked){background:#f4eedf;border-color:#a38b52}
.studio-creation-options input[type=radio]{width:16px!important;height:16px;min-height:0!important;margin:0;padding:0;flex:0 0 16px;accent-color:#8e7139}
.studio-creation-options>div:not(.studio-media-choices):not([hidden]){display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}
html[data-owner-theme="charcoal"] .studio-creation-options label{color:#30283a}
@media(max-width:400px){.studio-creation-options>div:not(.studio-media-choices):not([hidden]){grid-template-columns:1fr}}

html[data-owner-theme="charcoal"] .studio-editor .studio-creation-heading{color:#30283a}

/* Extend the final cards to the same baseline on the two-column layout. */
@media(min-width:761px){.studio-layout{align-items:stretch}.studio-stage{display:flex;flex-direction:column}.studio-stage>.studio-canvas{flex-shrink:0}.studio-stage>.studio-photo-tools{flex:0 0 auto}.studio-fields{align-self:stretch;grid-auto-rows:max-content;grid-template-rows:none}}

/* Color waves belong to the pending generation, never the saved photo. */
.studio-preview-frame{position:relative;isolation:isolate;width:100%;overflow:hidden;border-radius:14px}
.studio-preview-frame>.studio-canvas{display:block;width:100%;height:auto}
.studio-generating-overlay{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-end;justify-content:center;background:#fff;pointer-events:none;overflow:hidden}
.studio-generating-overlay[hidden]{display:none}
.studio-generating-overlay>p{position:relative;z-index:2;margin:0 12px 7%;padding:9px 16px;border-radius:24px;background:rgba(255,255,255,.92);color:#39424c;font:500 14px/1.4 system-ui,sans-serif;letter-spacing:.02em}
.studio-generating-specks{position:absolute;inset:0;filter:drop-shadow(0 0 5px rgba(155,182,224,.22))}
.studio-generating-specks>span{position:absolute;left:var(--dot-x);top:var(--dot-y);width:var(--dot-size);height:var(--dot-size);border-radius:50%;background:hsl(var(--dot-hue) 75% 72%);opacity:.3;animation:studio-speck-wave 3.6s ease-in-out var(--dot-delay) infinite;will-change:transform,opacity}
@keyframes studio-speck-wave{0%,100%{transform:translate3d(-9px,13px,0) scale(.7);opacity:.22}50%{transform:translate3d(9px,-15px,0) scale(1.5);opacity:.9}}
@media(prefers-reduced-motion:reduce){.studio-generating-specks>span{animation:none;opacity:.6;will-change:auto}}

@media(min-width:761px){.studio-stage>.studio-preview-frame{width:min(100%,calc(100dvh - 220px));margin-inline:auto;flex-shrink:0}}

.studio-text-boxes{margin:20px 0;padding:18px;border:1px solid #d9d5d0;border-radius:14px;background:#faf8f5;color:#29262c}.studio-text-boxes>h3{margin:0 0 6px}.studio-text-boxes>p{font-size:13px}.studio-text-box{margin:12px 0;padding:14px;border:1px solid #ded9d1;border-radius:12px;background:#fff;color:#29262c}.studio-text-box-controls{display:grid;gap:12px;padding-top:12px}.studio-text-box-controls input[type=color]{width:100%;height:42px;background:#fff}.studio-text-box-controls textarea{min-height:76px}

.studio-product-source{padding:14px;background:#fff;border:1px solid #d6d0c6;border-radius:12px;display:grid;gap:12px;min-width:0}.studio-product-source[hidden]{display:none}.studio-product-source h4{margin:0;font-size:15px}.studio-product-source p{margin:0;font-size:13px;color:#514b43}.studio-product-source label{display:grid;gap:8px}.studio-product-source input[type=file]{box-sizing:border-box;width:100%;padding:10px;background:#fff;color:#30283a;border:1px solid #d6d0c6;border-radius:8px}

.studio-saved-videos{padding:20px;border-radius:18px;background:var(--studio-control-bg,#fff);color:var(--studio-control-text,#242424);border:1px solid #ded7ce}.studio-saved-video{padding:14px 0;border-bottom:1px solid #ded7ce;display:grid;gap:10px}.studio-saved-video:last-child{border-bottom:0}.studio-saved-video h4{margin:0}.studio-saved-video video{width:100%;max-height:340px;border-radius:12px;background:#202020}.studio-saved-video a{color:inherit;text-decoration:underline}.studio-saved-video button{justify-self:start}

.studio-headline-timing,.studio-layer-timing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.studio-headline-timing[hidden],.studio-layer-timing[hidden]{display:none}.studio-headline-timing input,.studio-layer-timing input{width:100%;box-sizing:border-box}.studio-video-controls[hidden]{display:none}.studio-video-controls label{flex:1;min-width:140px}

.studio-video-disclosure>summary{cursor:pointer;padding:8px 0}.studio-video-disclosure>summary h4{display:inline;margin:0 8px 0 0}.studio-video-disclosure>summary small{display:block;margin:5px 0 0 20px}.studio-video-disclosure-content{display:grid;gap:12px;padding-top:12px}.studio-video-disclosure>summary:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:6px}

.studio-creation-options>.studio-video-options{align-items:start}.studio-video-options .studio-script-field,.studio-video-options .studio-audio-help{grid-column:1/-1}.studio-video-options .studio-script-field textarea{height:96px;min-height:96px;resize:vertical;box-sizing:border-box}.studio-video-options .studio-audio-help{font-size:12px;line-height:1.4}

/* Matching collapsed libraries keep the right column compact. */
.studio-fields>.studio-saved-list{margin:0;min-height:0;padding:18px 20px;background:#eeece7;color:#302b35;border:1px solid #d3ccc2;border-top:3px solid #cdb77f;border-radius:18px;box-shadow:inset 0 1px 0 #f7eac4}
.studio-fields>.studio-saved-list>summary{font-size:17px;color:inherit;margin:0;padding:0;border:0;cursor:pointer}
.studio-fields>.studio-saved-list[open]>summary{margin-bottom:16px}
.studio-fields>.studio-saved-list[hidden]{display:none}
.studio-saved-list>summary:focus-visible{outline:2px solid currentColor;outline-offset:5px;border-radius:4px}
.studio-stage>.studio-scheduling{margin-top:18px;padding:22px;border-top:3px solid #cdb77f;border-radius:18px;box-sizing:border-box}
.studio-stage>.studio-scheduling h3{font-size:18px}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-fields>.studio-saved-list{background:#2d3540;color:#edf0f4;border-color:#526070;box-shadow:none}

.studio-product-references{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px}.studio-product-references>div{display:grid;gap:6px;min-width:0}.studio-product-references img{width:100%;height:110px;object-fit:contain;background:#fff;border:1px solid #d3ccc2;border-radius:9px}.studio-product-references button{font-size:12px;padding:7px}

.studio-narration-controls{margin-top:14px;padding:12px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff;color:#292c32}.studio-narration-controls[open]{display:grid;gap:10px}.studio-narration-controls small{display:block;line-height:1.4}.studio-narration-controls textarea,.studio-narration-controls select{background:#fff!important;color:#292c32!important;width:100%;box-sizing:border-box}

/* Narrator dropdown with a favorite beside every voice. */
.studio-narrator-picker{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:8px}
.studio-voice-chooser{position:relative;flex:1;min-width:150px}
.studio-editor .studio-voice-toggle,.studio-editor .studio-voice-preview{height:42px;min-height:42px;box-sizing:border-box;margin:0;padding:8px 12px;line-height:1}
.studio-editor .studio-voice-toggle{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between}
.studio-voice-menu{position:absolute;top:48px;left:0;right:0;z-index:70;padding:8px;border:1px solid #d6d1c9;border-radius:12px;background:#fff;box-shadow:0 12px 30px #19191924;color:#292c32}
.studio-voice-menu[hidden]{display:none!important}
.studio-voice-list{max-height:250px;overflow-y:auto;margin-top:6px}
.studio-voice-group{font-size:11px;font-weight:750;color:#777;padding:8px 10px;text-transform:uppercase;letter-spacing:.06em}
.studio-voice-row{display:flex;align-items:center;gap:6px}
.studio-editor .studio-voice-row>.studio-voice-choice{flex:1;min-height:36px;padding:8px 10px;text-align:left;border:0;background:transparent;color:#292c32}
.studio-editor .studio-voice-row>.studio-voice-choice[aria-pressed=true]{background:#eeece7;font-weight:750}
.studio-editor .studio-voice-row>.studio-voice-favorite{flex:0 0 34px;width:34px;height:34px;min-height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;font-size:20px;color:#666}
.studio-editor .studio-voice-row>.studio-voice-favorite[aria-pressed=true]{color:#ae843c}
.studio-editor .studio-voice-row>button:focus-visible,.studio-editor .studio-voice-toggle:focus-visible{outline:2px solid #8c784f;outline-offset:-2px}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-voice-menu button{background:transparent;color:#292c32}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-voice-menu button:hover{background:#eeece7}
html[data-owner-theme="charcoal"] #owStudioDialog .studio-voice-menu .studio-voice-favorite[aria-pressed=true]{color:#ae843c}

.studio-saved-draft-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.studio-saved-drafts [data-drafts] .studio-delete{white-space:nowrap;justify-self:end}.studio-saved-draft-row>button:first-child{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}.studio-saved-draft-row>.studio-delete,.studio-saved-video>.studio-delete{flex:none;min-height:36px;padding:7px 12px;font-size:12px}.studio-saved-video>.studio-delete{margin-top:8px}

.studio-timing-help{grid-column:1/-1;color:inherit;opacity:.8;line-height:1.4}

/* Shared library selection remains compact at desktop and phone widths. */
.studio-editor .studio-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;margin-bottom:8px;border-bottom:1px solid #b6b6b655;font-size:13px}
.studio-editor .studio-bulk-toolbar label{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;white-space:nowrap}
.studio-editor .studio-bulk-toolbar>span{margin-right:auto}
.studio-editor .studio-bulk-toolbar .studio-delete{width:auto;min-height:36px;padding:7px 12px;font-size:12px}
.studio-editor input.studio-bulk-check,.studio-editor .studio-bulk-toolbar input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#876a36;cursor:pointer}
.studio-saved-draft-row.studio-selectable-draft{grid-template-columns:20px minmax(0,1fr) auto}
.studio-selectable-draft>button:not(.studio-delete){min-width:0;text-align:left;overflow-wrap:anywhere}
.studio-saved-video>.studio-bulk-check{justify-self:start}

/* Empty feedback takes no space; actual operation results remain readable. */
.studio-generation-status:empty,.studio-creative-space>p[role=status]:empty{display:none}

/* Saved libraries share a bounded viewport; remaining work stays reachable. */
/* Match expanded library viewports and keep long libraries inside their cards. */
.studio-fields>.studio-saved-list{min-inline-size:0}
.studio-fields>.studio-saved-list>p:empty{display:none}
.studio-fields>.studio-saved-list>.studio-saved-scroll{box-sizing:border-box;block-size:min(42rem,65dvh);min-inline-size:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior-y:contain;padding:2px 8px 2px 2px;align-content:start}
.studio-saved-scroll:focus-visible{outline:2px solid #82659e;outline-offset:3px}
.studio-saved-scroll>.studio-saved-video{grid-template-columns:auto minmax(0,1fr) auto;align-items:start}
.studio-saved-scroll>.studio-saved-video>.studio-video-disclosure{grid-column:2;grid-row:1;padding:8px;min-inline-size:0}
.studio-saved-scroll>.studio-saved-video>.studio-bulk-check{grid-column:1;grid-row:1}
.studio-saved-scroll>.studio-saved-video>.studio-delete{grid-column:3;grid-row:1;margin-top:0}
.studio-saved-scroll .studio-video-disclosure summary{overflow-wrap:anywhere}
