.nano46-settings{width:min(280px,calc(100vw - 64px));padding:8px;display:grid;gap:14px;font-size:13px}.nano46-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px}.nano46-switch span{display:grid;gap:3px}.nano46-switch strong{font-size:13px;font-weight:600}.nano46-switch small,.nano46-settings>small{color:#8a839b;font-size:11px;line-height:1.5}.nano46-switch input{appearance:none;flex:none;width:34px!important;height:20px!important;border:0!important;border-radius:20px;background:#ded9e9;position:relative;cursor:pointer}.nano46-switch input:before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:white;border-radius:50%;transition:transform .15s}.nano46-switch input:checked{background:#8861bc}.nano46-switch input:checked:before{transform:translateX(14px)}.nano46-switch input:focus-visible{outline:2px solid #8861bc;outline-offset:3px}.nano46-context{font-size:12px;color:#775597;display:flex;gap:8px;align-items:center}.nano46-result{display:grid;gap:10px}.nano46-result p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Studio-47: compact native composer. Touch targets stay at least 44px. */
.studio47{display:flex!important;flex-direction:column!important;gap:12px!important;padding:18px!important;border:1px solid #e5dfee!important;border-radius:20px!important;background:#fff!important;box-shadow:0 8px 32px #41345b06!important;overflow:visible!important}
.studio47>*{min-width:0;margin-block:0!important}
.studio47 [class*="_promptHeading_"]{order:0;padding:0!important;margin:0!important;min-height:40px!important;gap:8px!important}
.studio47 [class*="_promptHeading_"] h2{font-size:16px!important;gap:8px!important;color:#302a40!important}
.studio47 [class*="_promptHeading_"] h2 svg{width:18px!important;height:18px!important;padding:0!important;background:none!important;border-radius:0!important}
.studio47 [class*="_optimizeTool_"]{font-size:12px!important;min-height:40px!important;padding:8px 10px!important;border:0!important;background:#f6f3fa!important;color:#775b9e!important;box-shadow:none!important;border-radius:10px!important}
.studio47 [class*="_composerReference_"]{order:1;display:flex!important;gap:8px!important;padding:0!important;flex-wrap:wrap!important}
.studio47 [class*="_referencePicker_"],.studio47 [class*="_trigger_1mbz8_"]{min-height:44px!important;padding:8px 12px!important;border-radius:11px!important;font-size:13px!important;gap:6px!important;background:#faf9fc!important;border:1px solid #e7e0ee!important;color:#68577b!important;box-shadow:none!important}
.studio47 [class*="_trigger_1mbz8_"]>span{display:none!important}
.studio47 [class*="_promptBox_"]{order:2;display:flex!important;flex-direction:column!important;padding:12px!important;border-radius:14px!important;background:#faf9fc!important;border:1px solid #e7e0ee!important;box-shadow:none!important;gap:0!important}
.studio47 [class*="_promptBox_"]:focus-within{border-color:#a88aca!important;box-shadow:0 0 0 3px #9771c00d!important}
.studio47 #studio-prompt{min-height:96px!important;height:116px;max-height:300px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;line-height:1.7!important;color:#332d3e!important;resize:vertical!important}
.studio47 #studio-prompt::placeholder{color:#aaa2b4!important}
.studio47 [class*="_promptTools_"]{padding:8px 0 0!important;margin:0!important;min-height:22px!important;display:flex!important;justify-content:space-between!important;gap:8px!important}
.studio47 [class*="_promptCount_"],.studio47-draft{font-size:11px!important;color:#aaa0b5!important;line-height:1.4}
.studio47 [class*="_attachedReferences_"]{order:3;border:0!important;padding:0!important;background:transparent!important}
.studio47 [class*="_attachedReferences_"] [class*="_referenceGrid_"]{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:4px 2px!important}
.studio47 [class*="_attachedReferences_"] figure{flex:0 0 76px!important;margin:0!important}
.studio47 [class*="_attachedReferences_"] img{height:64px!important;object-fit:cover!important;border-radius:9px!important}
.studio47 [class*="_composerFooter_"]{order:4;display:flex!important;flex-direction:column!important;gap:10px!important;padding:0!important;margin:0!important}
.studio47 #studio-settings{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important;padding:0!important;width:100%!important}
.studio47 #studio-settings>[class*="_control_"]{flex:1 1 100px!important;min-width:0!important;margin:0!important;position:relative!important}
.studio47 #studio-settings>[class*="_control_"]:first-child{flex:1 1 100%!important}
.studio47 #studio-settings [class*="_trigger_1ycky_"]{width:100%!important;min-height:44px!important;padding:9px 10px!important;display:flex!important;gap:6px!important;border:1px solid #e5ddec!important;border-radius:11px!important;background:#fff!important;color:#62516f!important;box-shadow:none!important;font-size:12px!important}
.studio47 #studio-settings [class*="_trigger_1ycky_"] strong{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#51405f!important}
.studio47 #studio-settings [class*="_trigger_1ycky_"]>span{display:none!important}
.studio47 #studio-settings [class*="_trigger_1ycky_"] svg{margin-left:auto!important;width:12px!important;height:12px!important}
.studio47 #studio-settings [class*="_options_1ycky_"]{max-width:calc(100vw - 48px)!important;max-height:360px!important;overflow-y:auto!important;border-radius:14px!important;border-color:#e4d9ee!important;background:#fff!important;box-shadow:0 12px 36px #49365824!important;z-index:40!important}
.studio47 [class*="_inlineSubmit_"]{order:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;gap:12px!important;padding:12px 0 0!important;border-top:1px solid #eee9f3!important;margin:0!important}
.studio47 [class*="_inlinePrice_"]{font-size:12px!important;color:#9789a3!important;display:flex!important;align-items:baseline!important;gap:4px!important}
.studio47 [class*="_inlinePrice_"] strong{font-size:22px!important;font-weight:650!important;color:#695087!important}
.studio47 button[class*="_inlineGenerate_"]{min-height:46px!important;min-width:132px!important;border-radius:12px!important;justify-content:center!important;gap:8px!important;padding:10px 24px!important;font-size:15px!important}
.studio47 [class*="_editTools_"]{order:5;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.studio47 [class*="_editTools_"] summary{font-size:12px!important;font-weight:500!important;min-height:38px!important;padding:8px 0!important;border:0!important;background:transparent!important;color:#8b799e!important}
.studio47 [class*="_moreSettings_"]{order:2!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important}
.studio47 [class*="_moreSettings_"]>summary{min-height:36px!important;font-size:12px!important;color:#8b799e!important;padding:8px 0!important}
.studio47 [class*="_composerNote_"]{font-size:11px!important;line-height:1.5!important;margin:0!important;color:#aa9db6!important}
@media(min-width:768px){.studio47{padding:22px!important;gap:14px!important}.studio47 #studio-settings>[class*="_control_"]:first-child{flex:2 1 200px!important}.studio47 #studio-prompt{height:150px!important}.studio47 [class*="_composerFooter_"]{gap:12px!important}}
@media(max-width:360px){.studio47{padding:12px!important;gap:10px!important}.studio47 #studio-settings>[class*="_control_"]{flex-basis:75px!important}.studio47 [class*="_promptHeading_"] h2{font-size:14px!important}.studio47 [class*="_optimizeTool_"]{font-size:11px!important;padding:8px!important}}
@media(prefers-reduced-motion:reduce){.studio47 *{transition:none!important}}
.studio47 #studio-settings{position:relative!important}
.studio47 #studio-settings>[class*="_control_"]{position:static!important}
.studio47 #studio-settings [class*="_options_1ycky_"]{width:min(320px,100%)!important;min-width:0!important;left:auto!important;right:0!important;box-sizing:border-box!important}
.studio47 #studio-settings [class*="_control_"]:first-child [class*="_options_1ycky_"]{left:0!important;right:auto!important}
.studio47 .nano46-settings{width:100%;box-sizing:border-box}
@media(min-width:768px){.studio47 #studio-settings>[class*="_control_"]:first-child{flex:1 1 100%!important}}
.studio47 [class*="_composerReference_"][style*="display: none"]{display:none!important}
/* Studio-48: expose setting names, move output controls to advanced settings. */
.studio48{gap:10px!important}
.studio48 #studio-prompt{height:88px!important;min-height:88px!important;resize:vertical!important}
.studio48 [class*="_promptTools_"]{padding-top:5px!important}
.studio48 #studio-settings [class*="_trigger_1ycky_"]{display:grid!important;grid-template-columns:1fr auto!important;gap:3px 8px!important;align-content:center!important;text-align:left!important;min-height:54px!important;padding:8px 10px!important}
.studio48 #studio-settings [class*="_trigger_1ycky_"]>span{display:block!important;grid-column:1;font-size:10px!important;line-height:1.2!important;color:#a194ad!important}
.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{grid-column:1;line-height:1.3!important;font-size:13px!important}
.studio48 #studio-settings [class*="_trigger_1ycky_"]>svg{grid-column:2;grid-row:1/3}
.studio48 [class*="_composerNote_"]{display:none!important}
.studio48 [class*="_moreSettings_"]{order:4!important;padding-top:0!important}
.studio48 [class*="_moreSettings_"]>summary{padding:8px 0!important;font-size:11px!important;min-height:36px!important;font-weight:500!important;line-height:1.5!important}
.studio48 [class*="_moreSettings_"][open]{padding:12px!important;border:1px solid #e7dfee!important;border-radius:12px!important;background:#fbf9fd!important}
.studio48 .studio48-output{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:4px 0 12px}
.studio48 .studio48-output>[class*="_control_"]{min-width:130px;flex:1}
.studio48 .studio48-output [class*="_trigger_1ycky_"]{min-height:44px!important;border-radius:10px!important;width:100%!important;border:1px solid #e1d7e9!important;background:white!important;font-size:12px!important}
.studio48 .studio48-output [class*="_transparentToggle_"]{min-height:44px!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px!important;border:1px solid #e1d7e9!important;border-radius:10px!important;color:#665272!important;background:#fff!important;font-size:12px!important}
.studio48 .studio48-output [class*="_transparentIndicator_"]{width:18px!important;height:18px!important;border-radius:5px!important;flex:none!important}
.studio48 [class*="_editTools_"]{border-top:1px solid #f0ebf5!important;padding-top:3px!important}
.studio48 [class*="_inlineSubmit_"]{padding-top:10px!important}
.studio48 [class*="_inlinePrice_"] strong{font-size:20px!important}
@media(min-width:768px){.studio48 #studio-prompt{height:120px!important}}

.studio48 [data-over-limit="true"]{color:#b54360!important}.studio48 #studio-prompt[aria-invalid="true"]{color:#97324c!important}
/* Studio-49: compact model picker and predictable menu sizing. */
.studio48{gap:8px!important;padding:14px!important;border-radius:16px!important}
.studio48 #studio-settings>[class*="_control_"]:first-child{flex:0 1 auto!important;max-width:100%!important;width:auto!important}
.studio48 #studio-settings>[class*="_control_"]:first-child [class*="_trigger_1ycky_"]{display:flex!important;min-height:40px!important;width:auto!important;max-width:100%!important;padding:8px 11px!important;border:0!important;background:#f3eff8!important;border-radius:9px!important;gap:8px!important}
.studio48 #studio-settings>[class*="_control_"]:first-child [class*="_trigger_1ycky_"]>span{display:none!important}
.studio48 #studio-settings>[class*="_control_"]:first-child [class*="_trigger_1ycky_"]>strong{font-size:12px!important;max-width:240px!important}
.studio48 #studio-settings{gap:7px!important}
.studio48 #studio-settings:before{content:"";order:1;flex-basis:100%;height:0}
.studio48 #studio-settings>[class*="_control_"]:not(:first-child){order:2!important;flex:1 1 75px!important}
.studio48 #studio-settings [class*="_trigger_1ycky_"]{min-height:46px!important;padding:6px 9px!important;border-radius:9px!important}
.studio48 #studio-settings [class*="_options_1ycky_"]{max-height:min(340px,55dvh)!important;overscroll-behavior:contain!important;padding:10px!important;scrollbar-width:thin}
.studio48 [class*="_modelField_"]{min-width:0!important;margin:0!important;padding:0!important;border:0!important}
.studio48 [class*="_modelField_"] legend{font-size:13px!important;line-height:1.4!important;padding:0 2px 9px!important;margin:0!important;font-weight:600!important;color:#574366!important}
.studio48 [class*="_modelField_"] legend>span{display:none!important}
.studio48 [class*="_modelChoices_"]{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.studio48 [class*="_modelChoices_"]>label{display:block!important;position:relative!important;min-height:44px!important;width:100%!important;min-width:0!important;padding:9px 10px!important;margin:0!important;border:1px solid transparent!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
.studio48 [class*="_modelChoices_"]>label:has(input:checked){background:#f1ebf8!important;border-color:#d9c6ec!important}
.studio48 [class*="_modelChoices_"]>label:focus-within{outline:2px solid #9570c5;outline-offset:-2px}
.studio48 [class*="_modelChoices_"]>label>span{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;width:100%!important}
.studio48 [class*="_modelChoices_"]>label>span>svg{display:none!important}
.studio48 [class*="_modelLabel_"]{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;gap:8px!important;min-width:0!important}
.studio48 [class*="_modelLabel_"] strong{font-size:12px!important;font-weight:550!important;color:#493a59!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
.studio48 [class*="_modelLabel_"] small{font-size:10px!important;color:#9a8ba7!important;line-height:1.4!important;max-width:84px!important;text-align:right!important;margin:0!important;white-space:normal!important}
.studio48 [class*="_modelChoices_"]>label:has(input:checked) strong{color:#7948af!important;font-weight:650!important}
.studio48 #studio-prompt{height:76px!important;min-height:76px!important}
.studio48 [class*="_promptBox_"]{padding:10px!important;border-radius:11px!important}
.studio48 [class*="_composerReference_"]{gap:6px!important}
.studio48 [class*="_referencePicker_"],.studio48 [class*="_trigger_1mbz8_"]{padding:7px 10px!important;font-size:12px!important;border-radius:9px!important;min-height:42px!important}
.studio48 [class*="_composerFooter_"]{gap:6px!important}
.studio48 [class*="_inlineSubmit_"]{padding-top:9px!important}
.studio48 [class*="_moreSettings_"]>summary,.studio48 [class*="_editTools_"] summary{min-height:40px!important;padding:10px 0!important;font-size:11px!important}
.studio48 [class*="_editTools_"]{border:0!important;padding:0!important;border-radius:0!important}
@media(min-width:768px){.studio48{padding:18px!important}.studio48 #studio-prompt{height:112px!important}}
.studio48 [class*="_modelChoices_"]>label>span{padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.studio48 [class*="_modelChoices_"]>label{min-height:44px!important;display:flex!important;align-items:center!important}
.studio48 [class*="_editTools_"]{min-height:0!important;margin:0!important;gap:0!important}
.studio48 [class*="_editTools_"] summary{margin:0!important}
/* Studio-50: all model-specific settings share one compact popover. */
.studio50-advanced{font-size:12px;line-height:1.6;color:#5b496d;width:100%;min-width:0;box-sizing:border-box;padding:3px}
.studio50-advanced *{box-sizing:border-box;min-width:0;max-width:100%}
.studio50-advanced>div{display:flex!important;flex-direction:column!important;gap:12px!important}
.studio50-advanced :is(fieldset,section){padding:0!important;margin:0!important;border:0!important}
.studio50-advanced :is(p,small){font-size:11px!important;line-height:1.6!important;color:#9785a8!important;overflow-wrap:anywhere}
.studio50-advanced p{margin:4px 0!important}
.studio50-advanced h4,.studio50-advanced legend{font-size:12px!important;color:#594467!important;font-weight:650!important;margin:0 0 7px!important;padding:0!important}
.studio50-advanced .studio48-output{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:0!important}
.studio50-advanced [class*="_choices_1q"],.studio50-advanced [role=group]>div{gap:5px!important}
.studio50-advanced button{font-size:12px!important;min-height:40px!important;white-space:normal!important;line-height:1.5!important;border-radius:9px!important;padding:8px 10px!important}
.studio50-advanced button[aria-pressed=true]{background:#eee7f7!important;color:#7641a8!important;border-color:#b99ad7!important}
.studio50-advanced label{font-size:12px!important;line-height:1.5!important;color:#5e486f!important}
.studio50-advanced label:has(input[type=checkbox]){display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;flex-wrap:wrap!important}
.studio50-advanced input[type=checkbox]{appearance:none!important;width:34px!important;height:20px!important;min-width:34px!important;flex:none!important;border:0!important;border-radius:20px!important;background:#e1d9eb!important;position:relative!important;padding:0!important}
.studio50-advanced input[type=checkbox]:before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:#fff;border-radius:50%;transition:transform .15s}
.studio50-advanced input[type=checkbox]:checked{background:#9364be!important}
.studio50-advanced input[type=checkbox]:checked:before{transform:translateX(14px)}
.studio50-advanced input:focus-visible{outline:2px solid #9774bb;outline-offset:2px}
.studio50-advanced :is(select,input[type=number],input[type=text],textarea){width:100%!important;min-height:38px!important;padding:8px!important;border:1px solid #e3d8ed!important;border-radius:8px!important;background:#fff!important;color:#584068!important;font-size:12px!important}
.studio50-advanced input[type=range]{width:100%!important;accent-color:#9364be}
.studio50-advanced details{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.studio50-advanced summary{font-size:11px!important;min-height:36px!important;line-height:1.6!important;padding:8px 0!important;color:#8e76a4!important}
.studio50-advanced [class*="_transparentToggle_"]{width:100%!important;border:0!important;padding:6px 0!important;justify-content:space-between!important}
.studio50-advanced [class*="_transparentIndicator_"]{width:34px!important;height:20px!important;border:0!important;border-radius:20px!important;background:#e1d9eb!important;position:relative!important;font-size:0!important}
.studio50-advanced [class*="_transparentIndicator_"]:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff}
.studio50-advanced [aria-pressed=true] [class*="_transparentIndicator_"]{background:#9364be!important}
.studio50-advanced [aria-pressed=true] [class*="_transparentIndicator_"]:after{transform:translateX(14px)}

.studio48 .studio50-advanced .studio48-output [class*="_transparentToggle_"]{border:0!important;background:transparent!important;padding:6px 0!important}
.studio48 .studio50-advanced .studio48-output [class*="_transparentIndicator_"]{display:block!important;width:34px!important;height:20px!important;border-radius:20px!important;background:#e1d9eb!important;font-size:0!important;overflow:visible!important}
.studio48 .studio50-advanced .studio48-output [aria-pressed=true] [class*="_transparentIndicator_"]{background:#9364be!important}
.studio50-advanced [class*="_advancedGrid_"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.studio50-advanced input:not([type]){width:100%!important;min-height:38px!important;padding:8px!important;border:1px solid #e3d8ed!important;border-radius:8px!important;background:#fff!important;color:#584068!important;font-size:12px!important}
.studio50-advanced label:has(input[type=checkbox]){flex-direction:row-reverse!important;justify-content:space-between!important;flex-wrap:nowrap!important}
.studio50-advanced input:disabled{opacity:.45}
.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;font-size:12px!important}
/* Studio-51: one focus ring and a compact two-row settings layout. */
.studio48 #studio-prompt:focus,.studio48 #studio-prompt:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}
.studio48 [class*="_promptBox_"]:focus-within{border-color:#aa83cf!important;box-shadow:0 0 0 3px #a981ce12!important}
.studio48 #studio-settings{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
.studio48 #studio-settings:before{display:none!important}
.studio48 #studio-settings>[class*="_control_"]{width:100%!important;max-width:100%!important;min-width:0!important;order:unset!important}
.studio48 #studio-settings>[class*="_control_"]:first-child{grid-column:1/3!important;grid-row:1!important;width:100%!important}
.studio48 #studio-settings>[class*="_control_"]:first-child [class*="_trigger_1ycky_"]{width:100%!important;min-height:44px!important;justify-content:space-between!important}
.studio48 #studio-settings>[class*="_control_"]:last-of-type{grid-column:3!important;grid-row:1!important}
.studio48 #studio-settings>[class*="_control_"]:last-of-type [class*="_trigger_1ycky_"]{min-height:44px!important;display:flex!important;justify-content:space-between!important;background:#f7f3fa!important;border-color:transparent!important;padding:8px!important;gap:3px!important}
.studio48 #studio-settings>[class*="_control_"]:last-of-type [class*="_trigger_1ycky_"]>span{display:none!important}
.studio48 #studio-settings>[class*="_control_"]:last-of-type [class*="_trigger_1ycky_"]>strong{font-size:11px!important;white-space:nowrap!important}
.studio48 #studio-settings>[class*="_control_"]:last-of-type [class*="_trigger_1ycky_"]>svg{width:12px!important;flex:none!important}
.studio48 #studio-settings>[class*="_control_"]:not(:first-child):not(:last-of-type){grid-row:2!important}
/* Studio-52: denser, consistently grouped advanced options. */
.studio48 #studio-settings [class*="_options_1ycky_"]:has(.studio50-advanced),.studio48 #studio-settings [class*="_options_1ycky_"]:has(.nano46-settings){padding:14px!important;border-radius:14px!important;max-height:min(420px,60dvh)!important;box-shadow:0 12px 36px #4d32651c!important}
.studio48 .studio50-advanced{padding:0!important}
.studio48 .studio50-advanced>div{gap:10px!important}
.studio48 .studio50-advanced [class*="_advancedGrid_"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.studio48 .studio50-advanced [class*="_advancedGrid_"]>p,.studio48 .studio50-advanced [class*="_advancedGrid_"]>button,.studio48 .studio50-advanced [class*="_advancedGrid_"]>label:has(input[type=checkbox]),.studio48 .studio50-advanced [class*="_advancedGrid_"]>label:has(input[type=range]){grid-column:1/-1!important}
.studio48 .studio50-advanced label{font-weight:500!important;font-size:12px!important}
.studio48 .studio50-advanced label:has(select),.studio48 .studio50-advanced label:has(input:not([type=checkbox]):not([type=range])){display:flex!important;flex-direction:column!important;gap:5px!important}
.studio48 .studio50-advanced summary{min-height:32px!important;padding:6px 0!important;font-size:12px!important;font-weight:600!important;color:#72538d!important}
.studio48 .studio50-advanced details[open]{padding-top:8px!important;border-top:1px solid #eee7f4!important}
.studio48 .studio50-advanced details[open]>summary{margin-bottom:8px!important}
.studio48 .studio50-advanced :is(p,small){font-size:10px!important;line-height:1.6!important;font-weight:400!important;color:#97899f!important}
.studio48 .studio50-advanced [class*="_billingDetails_"]{gap:8px!important;padding:0!important}
.studio48 .studio50-advanced button{min-height:36px!important;padding:6px 8px!important;font-size:11px!important}
.studio48 .studio50-advanced :is(select,input:not([type]),input[type=number],input[type=text]){min-height:36px!important;font-weight:400!important}
.studio48 .studio50-advanced .studio48-output{gap:6px!important}
.studio48 .studio50-advanced label:has(input[type=checkbox]){min-height:38px!important;padding:4px 0!important}
.studio48 .nano46-settings{gap:12px!important}
.studio48 .nano46-switch{padding:6px 0!important;min-height:42px!important}
.studio48 .nano46-switch strong{font-size:12px!important}.studio48 .nano46-switch small{font-size:10px!important;line-height:1.5!important}
/* Studio-53: quality sits between model and advanced settings. */
.studio48 #studio-settings:has(button[aria-label="选择质量"]){grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1.15fr)!important}
.studio48 #studio-settings:has(button[aria-label="选择质量"])>[class*="_control_"]:first-child{grid-column:1!important}
.studio48 #studio-settings>[class*="_control_"]:has(button[aria-label="选择质量"]){grid-column:2!important;grid-row:1!important}
.studio48 #studio-settings button[aria-label="选择质量"]{min-height:44px!important}
.studio48 #studio-settings:has(button[aria-label="选择质量"])>[class*="_control_"]:first-child strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important}
.studio48 #studio-settings>[class*="_control_"]:not(:first-child):not(:last-of-type):has(button[aria-label="选择质量"]){grid-column:2!important;grid-row:1!important}
/* Studio-54: anchored header and clearly separated settings groups. */
.studio48 #studio-settings [class*="_options_1ycky_"]:has(.studio54-panel-header){padding:0!important;max-height:min(440px,62dvh)!important;background:#fcfaff!important;border-color:#e6dced!important}
.studio54-panel-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border-bottom:1px solid #ece5f2}
.studio54-panel-header>div{display:flex;flex-direction:column;gap:3px}
.studio54-panel-header strong{font-size:13px;color:#4f3a63;font-weight:650}
.studio54-panel-header small{font-size:10px;color:#9c8ba9}
.studio54-panel-header button{min-height:36px;padding:6px 12px;border:0;border-radius:8px;background:#eee5f7;color:#8052a8;font-size:12px;cursor:pointer}
.studio54-panel-header button:focus-visible{outline:2px solid #9261c2;outline-offset:2px}
.studio48 .studio50-advanced,.studio48 .nano46-settings{padding:12px!important}
.studio48 .studio50-advanced details[open]{padding:10px!important;border:1px solid #eee6f5!important;border-radius:10px!important;background:#fff!important}
.studio48 .studio50-advanced details[open]>summary{padding:0 0 8px!important;margin:0 0 8px!important;border-bottom:1px solid #f2edf6;font-size:11px!important;min-height:26px!important}
.studio48 .studio50-advanced details:not([open])>summary{padding:8px!important;background:#f3edf8;border-radius:8px}
.studio48 .studio50-advanced [class*="_advancedGrid_"]{gap:10px 8px!important}
.studio48 .studio50-advanced :is(select,input:not([type]),input[type=number],input[type=text]){background:#fcfaff!important;border-color:#e9e1f0!important}
.studio48 .studio50-advanced :is(p,small){color:#8e8199!important;line-height:1.65!important}
.studio48 .studio50-advanced .studio48-output:empty{display:none!important}
.studio48 .nano46-switch{border-bottom:1px solid #eee6f4!important;padding:10px 0!important}
.studio48 .studio50-advanced button:disabled{opacity:.5}
/* Studio-55: compact advanced panel, fewer decorative layers. */
.studio48 #studio-settings [class*="_options_1ycky_"]:has(.studio54-panel-header){max-height:min(340px,48dvh)!important;width:min(300px,100%)!important;border-radius:11px!important;background:#fff!important}
.studio54-panel-header{padding:7px 10px!important;gap:8px!important}
.studio54-panel-header small{display:none!important}
.studio54-panel-header strong{font-size:12px!important}
.studio54-panel-header button{min-height:32px!important;padding:4px 10px!important;font-size:11px!important}
.studio48 .studio50-advanced,.studio48 .nano46-settings{padding:9px!important}
.studio48 .studio50-advanced>div{gap:7px!important}
.studio48 .studio50-advanced details[open]{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.studio48 .studio50-advanced details[open]>summary{min-height:26px!important;padding:4px 0!important;margin:0 0 5px!important;font-size:11px!important}
.studio48 .studio50-advanced [class*="_advancedGrid_"]{gap:7px!important}
.studio48 .studio50-advanced label{font-size:11px!important}
.studio48 .studio50-advanced label:has(input[type=checkbox]){min-height:34px!important}
.studio48 .studio50-advanced :is(select,input:not([type]),input[type=number],input[type=text]){min-height:32px!important;padding:5px 7px!important;font-size:11px!important}
.studio48 .studio50-advanced .studio55-help{margin:2px 0!important}
.studio48 .studio50-advanced .studio55-help summary{min-height:28px!important;font-size:10px!important;color:#9b8ba6!important;background:transparent!important;padding:4px 0!important;font-weight:400!important;border:0!important}
.studio48 .nano46-settings{gap:7px!important}
.studio48 .nano46-switch{min-height:36px!important;padding:5px 0!important}
/* Studio-56: compact, image-first brush editor. */
.studio56-mask{width:min(760px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border:1px solid #e3d9ed!important;border-radius:16px!important;background:#fff!important;color:#51415f!important;overflow:auto!important;box-shadow:0 22px 80px #25113633!important}
.studio56-mask::backdrop{background:#23182a80;backdrop-filter:blur(3px)}
.studio56-mask>div:first-child{position:sticky;top:0;z-index:2;display:flex!important;align-items:center;justify-content:space-between;padding:12px 16px!important;background:#fff;border-bottom:1px solid #eee7f3;margin:0!important}
.studio56-mask h2{font-size:16px!important;margin:0!important;font-weight:650!important}
.studio56-mask button{min-height:40px!important;padding:8px 12px!important;border:1px solid #e5daee!important;border-radius:9px!important;font-size:12px!important;background:#faf7fd!important;color:#74518d!important;cursor:pointer}
.studio56-mask>p{font-size:11px!important;line-height:1.6!important;margin:10px 16px!important;color:#908098!important}
.studio56-mask [class*="_maskCanvas_"]{width:fit-content!important;max-width:calc(100% - 24px)!important;margin:0 auto!important;border:1px solid #e5deea!important;border-radius:10px!important;overflow:hidden!important;background-size:100% 100%!important;background-repeat:no-repeat!important;line-height:0!important}
.studio56-mask canvas{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:52dvh!important;touch-action:none!important;cursor:crosshair}
.studio56-mask>label{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 16px!important;font-size:12px!important;margin:0!important}
.studio56-mask input[type=range]{flex:1;min-width:0;accent-color:#9162bf;min-height:32px}
.studio56-mask [class*="_reuseActions_"]{position:sticky;bottom:0;display:grid!important;grid-template-columns:1fr 2fr!important;gap:8px!important;padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important;margin:0!important;background:#fff;border-top:1px solid #eee7f3}
.studio56-mask [class*="_reuseActions_"]>button:last-child{background:#8354bd!important;border-color:#8354bd!important;color:#fff!important;font-weight:600}
.studio56-mask button:disabled{opacity:.45;cursor:not-allowed}
.studio56-mask button:focus-visible{outline:2px solid #9264bd;outline-offset:2px}
@media(max-width:480px){.studio56-mask{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:13px!important}.studio56-mask canvas{max-height:48dvh!important}}
.studio48 .yd58-prompt-actions{display:flex;align-items:center;gap:6px;min-width:0;margin-left:auto}
.studio48 .yd58-prompt-actions>div{position:relative;min-width:0}
.studio48 .yd58-prompt-actions button{min-height:36px!important;font-size:12px!important;padding:6px 9px!important;white-space:nowrap}
.studio48 .yd58-prompt-actions>div>button>span{display:none}
.studio48 .yd58-prompt-actions>div>button strong{max-width:90px;overflow:hidden;text-overflow:ellipsis}
.studio48 .yd58-prompt-actions [class*="_panel_"]{right:0;left:auto;width:min(360px,calc(100vw - 40px));z-index:30}
.studio48 .yd58-references{margin:5px 0 6px;padding:0;border:0}
.studio48 .yd58-ref-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px;font-size:12px;color:#766681}
.studio48 .yd58-ref-heading strong{font-size:13px;color:#51415f}
.studio48 .yd58-ref-rail{display:flex;gap:7px;overflow-x:auto;padding:4px 3px 4px;align-items:flex-start;scrollbar-width:thin}
.studio48 .yd58-ref-rail>label,.studio48 .yd58-ref-rail>figure{position:relative;flex:0 0 64px!important;width:64px!important;height:76px!important;margin:0!important;border:1px solid #e5dcec!important;border-radius:12px!important;background:#faf7fc!important;overflow:visible!important}
.studio48 .yd58-ref-rail>label{display:flex!important;flex-direction:column;justify-content:center!important;align-items:center!important;gap:2px!important;padding:4px!important;border-style:dashed!important;font-size:11px!important;cursor:pointer}
.studio48 .yd58-ref-rail>label[aria-disabled=true]{opacity:.45;cursor:not-allowed}
.studio48 .yd58-ref-rail>figure .yd58-preview{position:static!important;display:block!important;width:62px!important;height:50px!important;padding:0!important;border:0!important;border-radius:11px 11px 0 0!important;background:transparent!important;transform:none!important}
.studio48 .yd58-preview img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:11px 11px 0 0}
.studio48 .yd58-ref-rail figcaption{font-size:11px!important;line-height:24px!important;text-align:center;padding:0!important;color:#65516f;background:transparent!important}
.studio48 .yd58-ref-rail>figure>button{position:absolute!important;top:-4px!important;right:-4px!important;width:24px!important;height:24px!important;min-height:24px!important;border-radius:50%!important;background:#fff!important;border:1px solid #dfd4e6!important;padding:0!important;color:#695175!important;box-shadow:0 2px 5px #29153612;z-index:2}
.studio48 .yd58-ref-rail [class*="_referenceOrder_"]{position:absolute;top:27px;left:4px;right:4px;display:flex;justify-content:space-between;gap:2px}
.studio48 .yd58-ref-rail [class*="_referenceOrder_"] button{position:static!important;width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:#ffffffde!important;font-size:13px!important;color:#594566}
.yd58-preview-dialog{width:min(700px,calc(100vw - 28px));max-height:85dvh;padding:14px;border:1px solid #e3daeb;border-radius:16px;background:white;color:#51415f}
.yd58-preview-dialog::backdrop{background:#17102099}
.yd58-preview-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.yd58-preview-dialog header button{position:static!important;width:auto!important;height:auto!important;min-height:36px!important;padding:6px 12px!important;border-radius:8px!important;background:#f4eef9!important;color:#684b83!important}
.yd58-preview-dialog>img{display:block!important;max-height:65dvh!important;width:100%!important;height:auto!important;object-fit:contain!important;border-radius:8px}
@media(max-width:480px){.studio48 [class*="_promptHeading_"]{gap:6px!important;flex-wrap:wrap}.studio48 [class*="_promptHeading_"] h2{font-size:15px!important}.studio48 .yd58-prompt-actions{gap:4px}.studio48 .yd58-prompt-actions button{font-size:11px!important;padding:6px!important}}

/* Local image editing: compact controls and a dedicated image workspace. */
.studio56-mask[open]{display:flex!important;flex-direction:column!important;width:min(880px,calc(100vw - 24px))!important;height:min(820px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;margin:auto!important}
.studio56-mask>div:first-child{flex:none;padding:10px 14px!important}
.studio56-mask>p{flex:none;margin:6px 14px!important;font-size:12px!important;line-height:1.5!important}
.studio56-mask .yd63-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden;background:#f4f1f7}
.studio56-mask .yd63-stage [class*="_maskCanvas_"]{flex:none;max-width:100%!important;max-height:100%!important;margin:0!important;border-radius:8px!important;box-shadow:0 3px 14px #37274312}
.studio56-mask .yd63-stage canvas{width:100%!important;height:100%!important;max-height:none!important;max-width:none!important}
.studio56-mask>label{flex:none;padding:8px 14px!important;gap:10px!important;background:#fff;font-size:12px!important;white-space:nowrap}
.studio56-mask [class*="_reuseActions_"]{flex:none;position:static!important;padding:8px 14px calc(8px + env(safe-area-inset-bottom))!important;grid-template-columns:1fr 2fr!important}
.studio56-mask button{min-height:42px!important;font-size:13px!important}
@media(max-width:480px){.studio56-mask[open]{width:calc(100vw - 12px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:14px!important}.studio56-mask h2{font-size:15px!important}.studio56-mask .yd63-stage{padding:8px}}

/* yuedian-studio-207 */
[class*="_composer_19ewe_"]{border:1px solid #e7dfef!important;border-radius:20px!important;background:var(--atlas-surface,#fff)!important;box-shadow:0 6px 24px #4a31560a!important;min-width:0}
[class*="_promptBox_19ewe_"]{min-width:0!important}
#studio-prompt{box-sizing:border-box!important;width:100%!important;min-height:156px!important;max-height:360px!important;font-size:16px!important;line-height:1.8!important;padding:18px!important;resize:vertical!important;overflow-y:auto!important;scroll-margin-block:80px;color:var(--atlas-ink,#352c40)}
@supports(field-sizing:content){#studio-prompt{field-sizing:content}}
#studio-prompt::placeholder{color:#8e819b;line-height:1.7}
#studio-prompt:focus-visible{outline:2px solid #a886cc!important;outline-offset:-3px!important;border-radius:12px}
#studio-prompt[aria-invalid=true]{outline:2px solid #bc4961!important;outline-offset:-3px!important}
[class*="_promptTools_19ewe_"]{flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:8px 12px!important}
[class*="_promptTools_19ewe_"] button{min-height:44px!important;padding:8px 10px!important;font-size:13px!important;border-radius:10px!important}
[class*="_promptCount_19ewe_"],.studio47-draft{font-size:12px!important;line-height:1.5;overflow-wrap:anywhere}
[class*="_composerFooter_19ewe_"]{display:flex!important;flex-wrap:wrap!important;gap:12px!important;padding:14px!important;align-items:stretch!important;border-top:1px solid var(--atlas-line,#eee7f3)!important}
#studio-settings{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;flex:1 1 360px!important}
#studio-settings>div{min-width:0;max-width:100%}
#studio-settings>div>button{min-height:46px!important;max-width:100%;font-size:14px!important;border-radius:12px!important;white-space:normal!important;overflow-wrap:anywhere}
[class*="_inlineSubmit_19ewe_"]{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex:1 1 230px!important;min-width:0!important;padding:8px 0!important}
[class*="_inlinePrice_19ewe_"]{font-size:13px!important;line-height:1.6!important;overflow-wrap:anywhere;color:var(--atlas-muted,#7d708b)}
[class*="_inlinePrice_19ewe_"] strong{font-size:20px!important;color:var(--atlas-ink,#48315d);font-variant-numeric:tabular-nums}
[class*="_inlineGenerate_19ewe_"]{min-height:48px!important;padding:12px 22px!important;border-radius:12px!important;font-size:15px!important;line-height:1.5!important;white-space:normal!important;flex:0 1 auto!important}
[class*="_inlineGenerate_19ewe_"]:not(:disabled){background:#7954af!important;color:white!important;box-shadow:0 4px 14px #7853ac20!important}
[class*="_inlineGenerate_19ewe_"]:disabled{opacity:.6!important;cursor:not-allowed!important}
[class*="_attachedReferences_19ewe_"]{gap:10px!important;min-width:0;max-width:100%}
[class*="_referenceGrid_19ewe_"]{gap:10px!important;grid-template-columns:repeat(auto-fill,minmax(90px,1fr))!important}
[class*="_referenceGrid_19ewe_"] button,[class*="_referencePicker_19ewe_"] button{min-height:44px!important;min-width:44px!important}
[class*="_referenceHelp_19ewe_"],[class*="_uploadHint_19ewe_"]{font-size:13px!important;line-height:1.7!important;overflow-wrap:anywhere}
[class*="_notice_19ewe_"],[class*="_error_19ewe_"]{padding:12px 14px!important;border-radius:12px!important;font-size:14px!important;line-height:1.7!important;overflow-wrap:anywhere}
[class*="_recoveryActions_19ewe_"],[class*="_historyActions_19ewe_"],[class*="_completedActions_19ewe_"]{display:flex;flex-wrap:wrap!important;gap:8px!important}
[class*="_recoveryActions_19ewe_"] :is(button,a),[class*="_historyActions_19ewe_"] :is(button,a),[class*="_completedActions_19ewe_"] :is(button,a){min-height:44px!important;min-width:44px!important;padding:8px 12px!important;white-space:normal!important;line-height:1.5}
[class*="_resultPrompt_19ewe_"]{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.75}
[class*="_queueItem_19ewe_"]{min-width:0;overflow-wrap:anywhere;padding:12px!important;border-radius:12px!important}
.studio161-dialog{width:min(800px,calc(100vw - 32px))!important;max-width:800px!important;height:min(840px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;border-radius:20px!important}
.studio161-dialog .studio161-header{padding:14px 18px!important;align-items:center!important}
.studio161-dialog .studio161-body{padding:16px 18px!important;min-height:0!important;overflow-y:auto!important;scroll-padding-block:16px}
.studio161-dialog .studio161-footer{padding:12px 18px!important;gap:12px!important}
.studio161-dialog .studio161-header button,.studio161-dialog .studio161-footer button{min-height:44px!important}
.studio161-body details{padding:10px 12px!important;margin:10px 0!important;border-radius:12px!important}
.studio161-body summary{min-height:44px!important;line-height:1.6!important;display:list-item;padding:10px 0!important}
.studio161-body :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])){font-size:16px!important;min-height:44px!important;max-width:100%!important}
.studio161-body input[type=range]{min-height:36px;max-width:100%}
.studio161-body :is(input[type=checkbox],input[type=radio]){accent-color:#7954af}
.studio161-body label{overflow-wrap:anywhere}
.studio161-body button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.studio161-body [class*="_advancedGrid_19ewe_"]{gap:12px!important}
.studio161-body :is(.studio48-output,.studio96-local-edit){min-width:0!important}
.studio161-dialog :is(button,summary,input,select,textarea):focus-visible,#studio-settings button:focus-visible,[class*="_inlineGenerate_19ewe_"]:focus-visible{outline:3px solid #ac89d2!important;outline-offset:2px!important}
@media(max-width:600px){
#studio-prompt{min-height:148px!important;max-height:280px!important;padding:14px!important}
[class*="_composerFooter_19ewe_"]{padding:12px!important;gap:8px!important}
#studio-settings{flex-basis:100%!important}
#studio-settings>div{flex:1 1 130px}
#studio-settings>div>button{width:100%!important;justify-content:space-between!important}
[class*="_inlineSubmit_19ewe_"]{flex-basis:100%!important;border-top:1px solid var(--atlas-line,#eae2f2);padding-top:12px!important}
[class*="_inlineGenerate_19ewe_"]{min-width:140px!important}
[class*="_referenceGrid_19ewe_"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.studio161-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;inset:0!important;border:0!important;border-radius:0!important}
.studio161-dialog .studio161-header{padding:max(10px,env(safe-area-inset-top)) 14px 10px!important}
.studio161-dialog .studio161-body{padding:12px 14px!important}
.studio161-dialog .studio161-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom))!important}
.studio161-footer small{font-size:12px!important;line-height:1.6!important;max-width:58%!important}
.studio161-body [class*="_advancedGrid_19ewe_"]{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:359px){[class*="_inlineGenerate_19ewe_"]{width:100%!important}[class*="_inlineSubmit_19ewe_"]{flex-direction:column!important;align-items:stretch!important}}
@media(prefers-reduced-motion:reduce){.studio161-dialog *,[class*="_composer_19ewe_"] *{transition:none!important;animation:none!important}}

/* studio-flow-208 */
.studio-submit-help208{flex:1 0 100%;width:100%;margin:0 0 4px;padding:10px 12px;background:var(--atlas-surface-muted,#f5f0fa);color:var(--atlas-muted,#746180);font-size:13px;line-height:1.65;border-radius:10px;overflow-wrap:anywhere}
[class*="_inlineSubmit_19ewe_"]{flex-wrap:wrap!important}
[class*="_inlineGenerate_19ewe_"][aria-busy=true]{cursor:progress!important}
@media(max-width:600px){.studio-submit-help208{font-size:13px;padding:10px}.studio161-body .mask-options158{min-width:0;max-width:100%}}

/* studio-navigation-209 */
.studio161-dialog .studio-nav209{display:flex;flex:none;gap:8px;overflow:auto;max-height:100px;padding:10px 18px;border-bottom:1px solid var(--atlas-line,#e7dfef);overscroll-behavior:contain;scrollbar-width:thin}
.studio-nav209 button{flex:0 0 auto;min-height:44px;max-width:240px;padding:8px 12px;border:1px solid #d8c8e8;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#48315d);font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.studio-nav209 button:focus-visible{outline:3px solid #9973c1;outline-offset:-3px}
.studio161-body :is(summary,h3,h4):focus{outline:2px solid #9973c1;outline-offset:3px;border-radius:4px}
.studio161-dialog .studio161-header,.studio161-dialog .studio161-footer{flex-shrink:0}
.studio161-body{overscroll-behavior:contain;overflow-x:hidden}
@media(max-width:600px){.studio161-dialog .studio-nav209{padding:8px 14px}.studio161-dialog .studio161-footer{flex-wrap:wrap}.studio161-dialog .studio161-footer small{flex:1 1 160px;max-width:none!important}.studio161-dialog .studio161-footer button{flex:0 0 auto}}
@media(max-height:500px){.studio161-dialog .studio161-header small,.studio161-dialog .studio161-footer small{display:none}.studio161-dialog .studio-nav209{padding-block:4px}.studio161-dialog .studio161-header,.studio161-dialog .studio161-footer{padding-block:6px!important}}

/* studio-models-210 */
.studio-models210{min-width:0}
.studio-model-search210{display:grid!important;gap:8px!important;font-size:13px!important;padding:8px 0!important;background:none!important;border:0!important}
.studio-model-search210 input{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #d8c8e8;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40);font-size:16px}
.studio-model-search210 input:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
.studio-model-count210{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:12px}
.studio-model-count210 button{min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:#eee7f7;color:#50366b}
.studio-model-empty210{padding:16px 8px;line-height:1.7;font-size:14px}
.studio-models210 [class*="_modelChoices_"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.studio-models210 [class*="_modelLabel_"]{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.studio-models210 [class*="_modelChoices_"]>label{min-height:52px!important}
#studio-settings [class*="_options_1ycky_"]{box-sizing:border-box;max-width:calc(100vw - 32px)!important;max-height:min(520px,65dvh)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:14px!important}
#studio-settings [class*="_options_1ycky_"]:has(.studio-models210){width:360px!important}
@media(max-width:600px){#studio-settings [class*="_options_1ycky_"]:has(.studio-models210){left:0!important;right:auto!important;width:min(360px,calc(100vw - 48px))!important}.studio-model-search210{gap:6px!important}}

/* studio-editor-211 */
.studio-prompt211{min-width:0}
.studio-prompt-actions211{display:flex;justify-content:flex-end;padding:6px 12px}
.studio-prompt-actions211 button,.studio-focus211 button{min-height:44px;padding:8px 14px;border:1px solid #d9cbe9;border-radius:10px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#48315d);font-size:14px;line-height:1.5}
.studio-focus211{box-sizing:border-box;width:min(900px,calc(100vw - 32px));height:calc(100vh - 48px);height:calc(100dvh - 48px);max-width:100%;max-height:100%;padding:0;border:1px solid #ddd0e9;border-radius:18px;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40);overflow:hidden}
.studio-focus211[open]{display:flex;flex-direction:column}
.studio-focus211::backdrop{background:#21162b99}
.studio-focus211 header,.studio-focus211 footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}
.studio-focus211 header{border-bottom:1px solid #eee7f3}
.studio-focus211 footer{border-top:1px solid #eee7f3;font-size:13px;font-variant-numeric:tabular-nums}
.studio-focus-body211{flex:1;min-height:0;display:flex;padding:12px}
.studio-focus211 #studio-prompt{flex:1;height:100%!important;min-height:0!important;max-height:none!important;resize:none!important;border:0;line-height:1.8!important;overscroll-behavior:contain}
.studio-focus211 :is(button,textarea):focus-visible,.studio-prompt-actions211 button:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
@media(max-width:600px){.studio-focus211{width:100vw;height:100vh;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;inset:0;border:0;border-radius:0}.studio-focus211 header{padding: max(10px,env(safe-area-inset-top)) 14px 10px}.studio-focus211 footer{padding:10px 14px max(10px,env(safe-area-inset-bottom))}.studio-focus-body211{padding:4px}.studio-focus211 #studio-prompt{font-size:16px!important}}

/* studio-preview-213 */
dialog.yd58-preview-dialog.studio-preview213{box-sizing:border-box;width:min(1000px,calc(100vw - 24px))!important;height:calc(100vh - 32px);height:calc(100dvh - 32px)!important;max-height:100dvh!important;max-width:100vw!important;padding:0!important;border:1px solid #d8c9e7;border-radius:16px;overflow:hidden!important;background:var(--atlas-surface,#fff);color:var(--atlas-ink,#352c40)}
dialog.studio-preview213[open]{display:flex!important;flex-direction:column!important}
.studio-preview213 header,.studio-preview213 footer{position:static!important;display:flex!important;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px!important}
.studio-preview213 button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #d9cbe9;border-radius:10px;background:var(--atlas-surface,#fff);color:inherit;font-size:14px}
.studio-preview213 button:focus-visible{outline:2px solid #9973c1;outline-offset:2px}
.studio-preview-body213{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:#19171d;display:grid;place-items:center;padding:8px}
.studio-preview213 .studio-preview-body213>img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:auto!important;border-radius:0!important}
.studio-preview213 .studio-preview-body213[data-full=true]{display:block}
.studio-preview213 .studio-preview-body213[data-full=true]>img{max-width:none!important;max-height:none!important}
.studio-preview-name213{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
.studio-preview213 footer button{flex:none}
.studio-preview-error213{color:#fff;text-align:center;line-height:1.7;padding:20px}
.studio-preview-error213 button{color:#352c40;background:#fff}
@media(max-width:600px){dialog.yd58-preview-dialog.studio-preview213{width:100vw!important;height:100dvh!important;margin:0!important;inset:0!important;border:0;border-radius:0}.studio-preview213 header{padding-top:max(10px,env(safe-area-inset-top))!important}.studio-preview213 footer{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}}

/* studio-mobile-fix-212 */
.studio47.studio48 [class*="_composerFooter_19ewe_"]{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;gap:12px!important;margin:0!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important}
.studio47.studio48 #studio-settings{flex:0 0 auto!important;height:auto!important;min-height:0!important;width:100%!important;max-width:100%!important;align-content:start!important;align-items:stretch!important;grid-auto-rows:auto!important;box-sizing:border-box!important}
.studio47.studio48 [class*="_inlineSubmit_19ewe_"]{position:static!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;box-sizing:border-box!important;align-items:center!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:space-between!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;min-width:0!important;max-width:100%!important}
@media(max-width:700px){
.studio47.studio48 #studio-settings{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.studio47.studio48 #studio-settings:before,.studio47.studio48 #studio-settings:after{display:none!important}
.studio47.studio48 #studio-settings>[class*="_control_"]{grid-column:auto!important;grid-row:auto!important;order:0!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;position:static!important}
.studio47.studio48 #studio-settings>[class*="_control_"]:first-child{grid-column:1/-1!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:52px!important;height:auto!important;padding:9px 10px!important;grid-template-columns:minmax(0,1fr) auto!important}
.studio47.studio48 #studio-settings [class*="_trigger_1ycky_"]>strong{font-size:14px!important;line-height:1.4!important}
.studio47.studio48 #studio-settings [class*="_options_1ycky_"]{left:0!important;right:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.studio47.studio48 [class*="_inlineGenerate_19ewe_"]{position:static!important;flex:1 1 140px!important;min-width:0!important;max-width:100%!important}
.studio47.studio48 [class*="_inlinePrice_19ewe_"]{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important}
}

/* studio-models-217 */
.studio47.studio48 [data-studio-options217]{box-sizing:border-box!important;max-height:min(65vh,560px)!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding:12px}
.studio47.studio48 [data-studio-options217] input[type=search]{font-size:16px!important;min-height:44px!important}
.studio47.studio48 [data-studio-options217] button,.studio47.studio48 [data-studio-options217] label{min-height:44px}
.studio47.studio48 [data-studio-options217] strong,.studio47.studio48 [data-studio-options217] small{overflow-wrap:anywhere}
.studio47.studio48 [data-studio-options217] :focus-visible{outline:2px solid #8955bb;outline-offset:2px}
@media(max-width:700px){.studio47.studio48 [data-studio-options217]{max-height:55dvh!important;max-width:calc(100vw - 32px)!important}.studio47.studio48 [data-studio-options217] fieldset{min-width:0;margin:0;padding:8px}.studio47.studio48 [data-studio-options217] [class*=_modelChoices_]{grid-template-columns:minmax(0,1fr)!important}}
