/* Warm Editorial Studio: original implementation informed by Pinterest UI research. */
.app-shell.theme-light{--mf-page:#FAF9F6;--mf-card:#FFFFFF;--mf-soft:#F2F3EF;--mf-ink:#1C211F;--mf-muted:#606960;--mf-line:#DDE1DA;--mf-accent:#285444;--mf-on-accent:#FFFFFF;--mf-tint:#ECF2ED;--studio-bg:#FAF9F6;--studio-surface:#FFFFFF;--studio-surface-strong:#F0EEE7;--studio-line:#DDE1DA;--studio-ink:#1C211F;--studio-muted:#606960;--studio-cyan:#285444;--studio-violet:#285444;--surface:#FFFFFF;--panel:#FFFFFF;--line:#DDE1DA;--text:#1C211F;--muted:#606960;--accent:#285444;--primary:#285444;color-scheme:light}
.app-shell.theme-dark{--mf-page:#191D19;--mf-card:#232A23;--mf-soft:#2B332B;--mf-ink:#F0EFE6;--mf-muted:#AAB3A7;--mf-line:#3A4338;--mf-accent:#ADC6AD;--mf-on-accent:#19271C;--mf-tint:#303D30;--studio-bg:#191D19;--studio-surface:#232A23;--studio-surface-strong:#2B332B;--studio-line:#3A4338;--studio-ink:#F0EFE6;--studio-muted:#AAB3A7;--studio-cyan:#ADC6AD;--studio-violet:#ADC6AD;--surface:#232A23;--panel:#232A23;--line:#3A4338;--text:#F0EFE6;--muted:#AAB3A7;--accent:#ADC6AD;--primary:#ADC6AD;color-scheme:dark}
html:has(.app-shell.theme-light),body:has(.app-shell.theme-light){background:#FAF9F6!important}html:has(.app-shell.theme-dark),body:has(.app-shell.theme-dark){background:#191D19!important}
.app-shell{background:var(--mf-page)!important;color:var(--mf-ink)!important;font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.02em}
.app-shell:is(.theme-light,.theme-dark) .ambient,.app-shell:is(.theme-light,.theme-dark) .grain{display:none!important}.app-shell:is(.theme-light,.theme-dark) *, .app-shell:is(.theme-light,.theme-dark) *:before,.app-shell:is(.theme-light,.theme-dark) *:after{animation-duration:0s!important;scrollbar-color:var(--mf-line) transparent}
.app-shell:is(.theme-light,.theme-dark) .topbar{max-width:1236px;margin:auto;border:0!important;border-bottom:1px solid var(--mf-line)!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;padding:14px 28px!important}
.app-shell:is(.theme-light,.theme-dark) .brand{gap:10px}.app-shell:is(.theme-light,.theme-dark) .brand img{display:none}.app-shell:is(.theme-light,.theme-dark) .brand strong{font-family:Georgia,"Times New Roman",serif!important;font-size:28px!important;font-weight:500;letter-spacing:-.065em;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .brand span{display:none}.app-shell:is(.theme-light,.theme-dark) .brand>div:after{content:"SONG DESIGN STUDIO";display:block;color:var(--mf-muted);font-size:8px;font-weight:600;letter-spacing:.18em;margin-top:1px}
.app-shell:is(.theme-light,.theme-dark) .top-actions button{color:var(--mf-muted)!important;background:transparent!important;border:1px solid var(--mf-line)!important;border-radius:8px!important;min-height:35px;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .top-actions .api-popover-button{background:var(--mf-accent)!important;color:var(--mf-on-accent)!important;border-color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .studio-grid{padding-top:20px!important;gap:16px!important}.app-shell:is(.theme-light,.theme-dark) .session-overview{background:transparent!important;border:0!important;padding:8px 0 12px!important;border-radius:0!important;box-shadow:none!important;grid-template-columns:minmax(0,1fr) minmax(290px,360px)!important}
.app-shell:is(.theme-light,.theme-dark) .session-cover{display:none!important}.app-shell:is(.theme-light,.theme-dark) .session-copy{max-width:none}.app-shell:is(.theme-light,.theme-dark) .session-copy h1,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main{color:var(--mf-ink)!important;font-size:32px!important;font-weight:600;line-height:1.24;letter-spacing:-.065em;background:none!important;-webkit-text-fill-color:currentColor!important}.app-shell:is(.theme-light,.theme-dark) .hero-title-dot{color:#55745F!important}
.app-shell:is(.theme-light,.theme-dark) .session-tags{gap:6px;margin-top:12px}.app-shell:is(.theme-light,.theme-dark) .session-tags span{font-size:10px;color:var(--mf-muted)!important;background:transparent!important;border:1px solid var(--mf-line)!important;border-radius:5px;padding:4px 7px;line-height:1.35}
.app-shell:is(.theme-light,.theme-dark) .session-specs{background:var(--mf-card)!important;border:1px solid var(--mf-line)!important;border-radius:10px!important;backdrop-filter:none!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .session-specs div+div{border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .session-specs dt{color:var(--mf-muted)!important;font-size:9px;letter-spacing:.08em}.app-shell:is(.theme-light,.theme-dark) .session-specs dd{color:var(--mf-ink)!important;font-size:12px;font-weight:600}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs{gap:8px}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{border:1px solid var(--mf-line)!important;border-radius:10px!important;background:var(--mf-card)!important;color:var(--mf-ink)!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button.active{background:var(--mf-accent)!important;border-color:var(--mf-accent)!important;color:var(--mf-on-accent)!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button strong{font-size:14px;font-weight:650}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{color:inherit!important;opacity:.7}.app-shell:is(.theme-light,.theme-dark) .workspace-step{font-family:Georgia,serif;font-size:19px!important;opacity:.65}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button:after{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-check{border:1px solid var(--mf-line)!important;border-radius:10px!important;background:transparent!important;color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check.active{background:var(--mf-tint)!important;border-color:var(--mf-line)!important;color:var(--mf-accent)!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check small{color:inherit!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check:after{display:none!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check svg{color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .mf-guide{border-color:var(--mf-line)!important;border-radius:9px!important;background:transparent!important}.app-shell:is(.theme-light,.theme-dark) .mf-guide>summary{color:var(--mf-muted)!important;font-size:11px}.app-shell:is(.theme-light,.theme-dark) .mf-guide a{color:var(--mf-accent)!important;text-decoration:underline;text-underline-offset:3px}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-shell,.app-shell:is(.theme-light,.theme-dark) .direction-panel,.app-shell:is(.theme-light,.theme-dark) .workspace-output-panel{background:var(--mf-card)!important;color:var(--mf-ink)!important;border:1px solid var(--mf-line)!important;border-radius:14px!important;box-shadow:0 3px 12px #20231f03!important}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero{background:transparent!important;border-bottom:1px solid var(--mf-line)!important;padding:18px 24px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero>div>span,.app-shell:is(.theme-light,.theme-dark) .easy-compose-head>span{color:var(--mf-muted)!important;font-size:9px;font-weight:600;letter-spacing:.13em}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero h2{font-size:23px!important;letter-spacing:-.055em;font-weight:600;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero p{color:var(--mf-muted)!important;font-size:12px;margin-bottom:0}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail.mf-quick-selects{padding:24px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-stage.mf-foldout{margin:0 24px 24px;background:var(--mf-card)!important;border:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-panel{padding:24px!important;background:transparent!important;border-left:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head{border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head strong{font-size:19px!important;color:var(--mf-ink)!important;font-weight:600;letter-spacing:-.05em}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head em{font-style:normal;color:var(--mf-muted)!important;font-size:10px}
.app-shell:is(.theme-light,.theme-dark) .easy-input-block>span,.app-shell:is(.theme-light,.theme-dark) label>span,.app-shell:is(.theme-light,.theme-dark) .field-label,.app-shell:is(.theme-light,.theme-dark) .mf-quick-selects label>span{color:var(--mf-muted)!important;font-size:12px;font-weight:600}
.app-shell:is(.theme-light,.theme-dark) input:not([type=checkbox]):not([type=range]),.app-shell:is(.theme-light,.theme-dark) textarea,.app-shell:is(.theme-light,.theme-dark) select,.app-shell:is(.theme-light,.theme-dark) .select-wrap{background:var(--mf-card)!important;border-color:var(--mf-line)!important;border-radius:9px!important;color:var(--mf-ink)!important;box-shadow:none!important;font-family:inherit!important;font-size:14px;line-height:1.6}.app-shell:is(.theme-light,.theme-dark) input::placeholder,.app-shell:is(.theme-light,.theme-dark) textarea::placeholder{color:var(--mf-muted)!important;opacity:.6}.app-shell:is(.theme-light,.theme-dark) textarea{resize:vertical}.app-shell:is(.theme-light,.theme-dark) input:focus,.app-shell:is(.theme-light,.theme-dark) textarea:focus,.app-shell:is(.theme-light,.theme-dark) select:focus{outline:2px solid var(--mf-accent)!important;outline-offset:2px}.app-shell:is(.theme-light,.theme-dark) .select-wrap:after{color:var(--mf-muted)!important}
.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview{background:var(--mf-soft)!important;border:0!important;border-left:2px solid #55745F!important;border-radius:0 7px 7px 0!important;padding:12px 14px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview span{color:var(--mf-accent)!important;font-size:10px;font-weight:700}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview p{color:var(--mf-muted)!important;font-family:inherit;font-size:11px}
.app-shell:is(.theme-light,.theme-dark) .generate-button,.app-shell:is(.theme-light,.theme-dark) .easy-mode-actions .generate-button,.app-shell:is(.theme-light,.theme-dark) .suno-transfer-button{background:var(--mf-accent)!important;color:var(--mf-on-accent)!important;border:1px solid var(--mf-accent)!important;border-radius:9px!important;box-shadow:none!important;font-weight:650;letter-spacing:-.025em}.app-shell:is(.theme-light,.theme-dark) .generate-button:hover{filter:brightness(1.08)}.app-shell:is(.theme-light,.theme-dark) .generate-button:disabled{opacity:.5}
.app-shell:is(.theme-light,.theme-dark) .mf-foldout,.app-shell:is(.theme-light,.theme-dark) .advanced-section.mf-foldout{background:var(--mf-card)!important;border-color:var(--mf-line)!important;color:var(--mf-ink)!important;border-radius:9px!important}.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary{color:var(--mf-ink)!important;font-size:12px}.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary span{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .mf-foldout[open]>summary{border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .mf-foldout[open]>summary::marker{color:var(--mf-accent)}
.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button,.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button,.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-grid button,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button{background:var(--mf-card)!important;color:var(--mf-ink)!important;border:1px solid var(--mf-line)!important;border-radius:9px!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button.active,.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button.active,.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button.active,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-grid button.active{background:var(--mf-tint)!important;border-color:var(--mf-accent)!important;box-shadow:inset 2px 0 var(--mf-accent)!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button small,.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button em{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button>span{color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .studio-command-strip{background:var(--mf-soft)!important;border-color:var(--mf-line)!important;box-shadow:none!important;border-radius:10px!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-main strong{font-size:24px;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-main span,.app-shell:is(.theme-light,.theme-dark) .studio-command-main em,.app-shell:is(.theme-light,.theme-dark) .studio-command-specs span{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-specs strong{color:var(--mf-ink)!important}
.app-shell:is(.theme-light,.theme-dark) .advanced-section-head span,.app-shell:is(.theme-light,.theme-dark) .sound-intent-split span,.app-shell:is(.theme-light,.theme-dark) .intent-editor-card span,.app-shell:is(.theme-light,.theme-dark) .slider-grid label{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .intent-check-card{background:var(--mf-soft)!important;border-color:var(--mf-line)!important;border-radius:8px!important}.app-shell:is(.theme-light,.theme-dark) .intent-check-card em{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .icon-action{background:var(--mf-soft)!important;border:1px solid var(--mf-line)!important;color:var(--mf-accent)!important;box-shadow:none!important;border-radius:7px!important}.app-shell:is(.theme-light,.theme-dark) input[type=range]{accent-color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .result-title h2{font-size:32px;font-weight:600;color:var(--mf-ink)!important;letter-spacing:-.06em}.app-shell:is(.theme-light,.theme-dark) .result-title>span{color:var(--mf-accent)!important;background:var(--mf-tint)!important;border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .mini-specs>div,.app-shell:is(.theme-light,.theme-dark) .suno-current-settings>div{background:var(--mf-soft)!important;border-color:var(--mf-line)!important;border-radius:8px}.app-shell:is(.theme-light,.theme-dark) .mini-specs span,.app-shell:is(.theme-light,.theme-dark) .suno-current-settings span{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .mini-specs strong,.app-shell:is(.theme-light,.theme-dark) .suno-current-settings strong{color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .result-tabs button{background:var(--mf-card)!important;color:var(--mf-muted)!important;border:1px solid var(--mf-line)!important;border-radius:8px!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .result-tabs button.active{background:var(--mf-accent)!important;color:var(--mf-on-accent)!important;border-color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .output-block,.app-shell:is(.theme-light,.theme-dark) .prompt-block,.app-shell:is(.theme-light,.theme-dark) .lyrics-block,.app-shell:is(.theme-light,.theme-dark) .result-tab-panel,.app-shell:is(.theme-light,.theme-dark) .suno-recommendation-copy{color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) pre,.app-shell:is(.theme-light,.theme-dark) .output-block pre{background:var(--mf-soft)!important;color:var(--mf-ink)!important;border-color:var(--mf-line)!important;line-height:1.85;font-size:13px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.app-shell:is(.theme-light,.theme-dark) .suno-compatibility-warning{color:var(--mf-ink)!important;background:#55745F14!important;border-color:#55745F4D!important}.app-shell:is(.theme-light,.theme-dark) .api-popover{background:var(--mf-card)!important;border-color:var(--mf-line)!important;color:var(--mf-ink)!important;box-shadow:0 12px 40px #20231f18!important}.app-shell:is(.theme-light,.theme-dark) .provider-bar button{background:var(--mf-soft)!important;color:var(--mf-muted)!important;border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .provider-bar button.active{background:var(--mf-accent)!important;color:var(--mf-on-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .session-cover img,.app-shell:is(.theme-light,.theme-dark) .studio-waveform{display:none!important}.app-shell:is(.theme-light,.theme-dark) .mf-score-note{color:var(--mf-muted)!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy h1{font-size:22px!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-overview{padding:0 0 8px!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .topbar{padding-top:10px!important;padding-bottom:10px!important}
@media(max-width:900px){.app-shell:is(.theme-light,.theme-dark) .session-overview{grid-template-columns:1fr!important;gap:14px}.app-shell:is(.theme-light,.theme-dark) .session-specs{max-width:none}.app-shell:is(.theme-light,.theme-dark) .session-copy h1,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main{font-size:29px!important}}
@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .topbar{padding:12px 16px!important}.app-shell:is(.theme-light,.theme-dark) .brand strong{font-size:25px!important}.app-shell:is(.theme-light,.theme-dark) .brand>div:after{font-size:7px}.app-shell:is(.theme-light,.theme-dark) .studio-grid{width:calc(100% - 32px)!important;padding-top:16px!important}.app-shell:is(.theme-light,.theme-dark) .top-actions button{min-height:32px;padding:7px!important;font-size:10px}.app-shell:is(.theme-light,.theme-dark) .session-overview{padding:4px 0 10px!important;gap:12px}.app-shell:is(.theme-light,.theme-dark) .session-copy h1,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main{font-size:27px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-layout{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero{padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero h2{font-size:21px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero p{font-size:11px}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail.mf-quick-selects{padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-stage.mf-foldout{margin:0 16px 16px}.app-shell:is(.theme-light,.theme-dark) .easy-compose-panel{padding:16px!important;border-left:0!important;border-top:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) input:not([type=checkbox]):not([type=range]),.app-shell:is(.theme-light,.theme-dark) select,.app-shell:is(.theme-light,.theme-dark) textarea{font-size:16px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button strong{font-size:13px}.app-shell:is(.theme-light,.theme-dark) .workspace-step{font-size:16px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{min-height:52px!important}.app-shell:is(.theme-light,.theme-dark) .result-title h2{font-size:27px}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy h1,.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main,.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead{font-size:23px!important}}

.app-shell:is(.theme-light,.theme-dark) .workspace-tabs{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .hero-title-main:after{display:none!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-panel{display:flex!important;flex-direction:column;gap:0!important}.app-shell:is(.theme-light,.theme-dark) .easy-input-block{display:grid!important;gap:6px!important;margin:0 0 14px!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head{margin:0 0 16px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview{margin:0!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview p{margin:6px 0 0!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-actions{margin-top:auto!important;padding-top:8px!important}

@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .topbar{flex-wrap:nowrap!important;gap:8px!important}.app-shell:is(.theme-light,.theme-dark) .brand{min-width:120px!important;flex:1 1 auto!important}.app-shell:is(.theme-light,.theme-dark) .brand>div{display:block!important;width:auto!important}.app-shell:is(.theme-light,.theme-dark) .brand strong{display:block!important;white-space:nowrap;font-size:24px!important}.app-shell:is(.theme-light,.theme-dark) .brand>div:after{white-space:nowrap;font-size:6px!important;letter-spacing:.12em}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail.mf-quick-selects{grid-template-columns:minmax(0,1fr)!important}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail>.easy-reference-preview{display:none!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy h1{display:none!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-tags{margin-top:0!important}}

.app-shell:is(.theme-light,.theme-dark) .studio-grid[data-workspace=connect]{max-width:760px!important;padding-top:28px!important;padding-bottom:32px!important}.app-shell:is(.theme-light,.theme-dark) .studio-grid[data-workspace=connect]>:not(.mf-api-setup){display:none!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup{display:flex;flex-direction:column;gap:24px;width:100%;padding:32px;border:1px solid var(--mf-line);border-radius:14px;background:var(--mf-card);color:var(--mf-ink);box-shadow:0 4px 20px #20231f04;box-sizing:border-box}.mf-api-setup .api-popover-head{display:flex;align-items:flex-start;gap:20px;padding:0 0 22px;border-bottom:1px solid var(--mf-line)}.mf-api-setup .api-popover-head>div{display:flex;flex-direction:column;gap:10px;min-width:0;flex:1}.mf-api-setup .api-popover-head strong{font-size:28px;font-weight:650;line-height:1.25;letter-spacing:-.055em;color:var(--mf-ink)}.mf-api-setup .api-popover-head span{font-size:13px;line-height:1.8;color:var(--mf-muted)}.mf-api-setup .api-popover-head .mf-setup-kicker{font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--mf-accent)}.mf-api-setup .api-popover-head>button{flex:0 0 auto;min-height:36px;padding:8px 10px;border:1px solid var(--mf-line);border-radius:7px;background:transparent;color:var(--mf-muted);font-size:11px}.mf-api-setup .provider-bar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0!important;background:transparent!important}.mf-api-setup .provider-bar button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:56px!important;border-radius:9px!important;font-size:14px;font-weight:650;text-transform:none}.mf-api-setup .key-stack{display:grid;gap:14px}.mf-api-setup .key-stack label{font-size:13px}.mf-api-setup .key-stack input,.mf-api-setup .key-stack select{width:100%;min-height:50px!important;padding:12px!important;font-size:16px!important}.mf-api-setup .mf-connection-status{margin:0;padding:12px 14px;background:var(--mf-tint);border-left:2px solid var(--mf-accent);border-radius:0 8px 8px 0;color:var(--mf-ink);font-size:12px;line-height:1.75}.mf-api-setup .mf-api-privacy{margin:0;color:var(--mf-muted);font-size:12px;line-height:1.8}.mf-api-setup .mf-setup-actions{display:flex;flex-direction:column;gap:10px;padding-top:4px}.mf-api-setup .mf-setup-actions .generate-button{width:100%;min-height:50px!important}.mf-api-setup .mf-setup-actions small{font-size:11px;color:var(--mf-muted);text-align:center}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .generate-button:disabled{cursor:not-allowed!important;opacity:.4!important;filter:none!important}@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .studio-grid[data-workspace=connect]{padding-top:18px!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup{padding:20px;gap:20px}.mf-api-setup .api-popover-head{display:block;padding-bottom:18px}.mf-api-setup .api-popover-head strong{font-size:25px}.mf-api-setup .api-popover-head>button{margin-top:12px}.mf-api-setup .provider-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-api-setup .provider-bar button{min-height:48px!important}}


/* DropKingHub MusicFrame / Brand Workspace 2026-10-18 */
:root{--canvas:#faf9f6;--ink:#1c211f}
.app-shell:is(.theme-light,.theme-dark){padding:0 32px 32px!important;min-height:0!important;--container:1180px;--ink:var(--mf-ink);--ink-deep:var(--mf-ink);--charcoal:var(--mf-ink);--slate:var(--mf-muted);--steel:var(--mf-muted);--surface-soft:var(--mf-soft);--hairline:var(--mf-line);--hairline-soft:var(--mf-line);--inverse:var(--mf-accent);--inverse-ink:var(--mf-on-accent);--primary-soft:var(--mf-tint)}
.app-shell:is(.theme-light,.theme-dark) .topbar{width:100%!important;max-width:1180px!important;min-height:76px!important;padding:16px 0!important;position:relative!important}
.app-shell:is(.theme-light,.theme-dark) .brand strong{font-size:30px!important;letter-spacing:-.055em!important;font-weight:600!important}
.app-shell:is(.theme-light,.theme-dark) .brand>div:after{content:'DROP KING HUB / CREATIVE TOOLS';font-size:9px!important;letter-spacing:.1em;margin-top:6px}
.app-shell:is(.theme-light,.theme-dark) .top-actions{gap:8px!important}
.app-shell:is(.theme-light,.theme-dark) .top-actions button{min-height:40px!important;padding:10px 13px!important;font-size:12px!important;border-radius:4px!important;white-space:nowrap}
.app-shell:is(.theme-light,.theme-dark) .top-actions button:hover{border-color:var(--mf-accent)!important;color:var(--mf-accent)!important;background:var(--mf-tint)!important}
.app-shell:is(.theme-light,.theme-dark) .studio-grid{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding-top:26px!important;gap:20px!important}
.app-shell:is(.theme-light,.theme-dark) .session-overview{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;padding:0 0 24px!important;border-bottom:1px solid var(--mf-line)!important;gap:32px!important}
.app-shell:is(.theme-light,.theme-dark) .session-copy .eyebrow{display:block!important;color:var(--mf-accent)!important;font-size:10px!important;letter-spacing:.12em;font-weight:700;margin-bottom:12px}
.app-shell:is(.theme-light,.theme-dark) .session-copy h1,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main{display:inline!important;font-size:34px!important;font-weight:750!important;letter-spacing:-.055em!important;line-height:1.35!important}
.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead:after{content:' ';white-space:pre}
.app-shell:is(.theme-light,.theme-dark) .session-copy>p{display:block!important;color:var(--mf-muted)!important;font-size:13px!important;line-height:1.8!important;max-width:600px!important;margin:12px 0 0!important}
.app-shell:is(.theme-light,.theme-dark) .session-tags{margin-top:14px!important}.app-shell:is(.theme-light,.theme-dark) .session-tags span{font-size:11px!important;border:0!important;background:var(--mf-soft)!important;border-radius:3px!important;padding:5px 8px!important}
.app-shell:is(.theme-light,.theme-dark) .session-specs{display:grid!important;grid-template-columns:repeat(3,minmax(80px,1fr))!important;border:0!important;border-left:1px solid var(--mf-line)!important;background:transparent!important;border-radius:0!important;padding:4px 0 4px 18px!important;gap:18px!important}
.app-shell:is(.theme-light,.theme-dark) .session-specs div{padding:0!important;border:0!important}.app-shell:is(.theme-light,.theme-dark) .session-specs dt{font-size:10px!important;letter-spacing:.05em;margin-bottom:8px}.app-shell:is(.theme-light,.theme-dark) .session-specs dd{font-size:13px!important;margin:0!important;line-height:1.5}
.app-shell:is(.theme-light,.theme-dark) .workspace-tab-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;flex:1!important;gap:0!important;max-width:720px!important;border-bottom:1px solid var(--mf-line)!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{min-height:62px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:10px!important;padding:14px 12px!important;color:var(--mf-muted)!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button.active{background:transparent!important;border:0!important;border-bottom:3px solid var(--mf-accent)!important;color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-step{font-family:inherit!important;font-size:12px!important;opacity:.65!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button strong{font-size:15px!important;white-space:nowrap}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{font-size:11px!important;white-space:nowrap}
.app-shell:is(.theme-light,.theme-dark) .workspace-quick-toggles{display:flex!important;gap:8px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check{min-height:40px!important;padding:8px 10px!important;border-radius:4px!important;font-size:12px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check small{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .mf-guide{margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}.app-shell:is(.theme-light,.theme-dark) .mf-guide>summary{padding:0 0 2px!important;font-size:12px!important;color:var(--mf-muted)!important;line-height:1.6}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-shell,.app-shell:is(.theme-light,.theme-dark) .direction-panel,.app-shell:is(.theme-light,.theme-dark) .workspace-output-panel{border-radius:6px!important;box-shadow:none!important}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero{padding:24px 28px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero>div>span{font-size:10px!important;color:var(--mf-accent)!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero h2{font-size:25px!important;font-weight:750!important;line-height:1.45!important;margin:7px 0!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero p{font-size:13px!important;line-height:1.7!important}
.app-shell:is(.theme-light,.theme-dark) .easy-mode-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail.mf-quick-selects{padding:28px!important;gap:22px!important;grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-panel{padding:28px!important;grid-column:2!important;grid-row:1 / 3!important;border-left:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-stage.mf-foldout{grid-column:1!important;grid-row:2!important;margin:0 28px 28px!important;border-radius:4px!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head{padding-bottom:18px!important;margin-bottom:20px!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head>span{font-size:10px!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head strong{font-size:20px!important;font-weight:700!important;margin-top:6px!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-head em{font-size:12px!important;margin-top:6px!important}
.app-shell:is(.theme-light,.theme-dark) .mf-quick-selects label>span,.app-shell:is(.theme-light,.theme-dark) .easy-input-block>span{font-size:13px!important;color:var(--mf-ink)!important;font-weight:650!important;margin-bottom:3px!important}.app-shell:is(.theme-light,.theme-dark) .easy-input-block{margin-bottom:20px!important;gap:8px!important}
.app-shell:is(.theme-light,.theme-dark) input:not([type=checkbox]):not([type=range]),.app-shell:is(.theme-light,.theme-dark) textarea,.app-shell:is(.theme-light,.theme-dark) select{min-height:48px!important;padding:12px 14px!important;font-size:14px!important;border:1px solid var(--mf-line)!important;border-radius:4px!important;line-height:1.6!important;background:var(--mf-card)!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) textarea{min-height:116px!important}.app-shell:is(.theme-light,.theme-dark) .select-wrap{border:0!important;border-radius:4px!important}.app-shell:is(.theme-light,.theme-dark) .select-wrap select{width:100%!important;padding-right:36px!important}.app-shell:is(.theme-light,.theme-dark) .title-input-wrap input{padding-right:50px!important}
.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview{padding:16px!important;border:0!important;border-radius:4px!important;background:var(--mf-soft)!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview span{font-size:11px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-preview p{font-size:12px!important;line-height:1.85!important;color:var(--mf-muted)!important;overflow-wrap:anywhere}
.app-shell:is(.theme-light,.theme-dark) .generate-button,.app-shell:is(.theme-light,.theme-dark) .easy-mode-actions .generate-button,.app-shell:is(.theme-light,.theme-dark) .suno-transfer-button{min-height:50px!important;border-radius:4px!important;font-size:14px!important;font-weight:700!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-actions{padding-top:0!important}
.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary{padding:14px 16px!important;font-size:13px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid{padding:12px!important;gap:10px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button{border-radius:4px!important;padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button strong{font-size:17px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid button small{font-size:12px!important;line-height:1.7!important}
.app-shell:is(.theme-light,.theme-dark) .studio-grid[data-workspace=connect]{max-width:820px!important;padding:40px 0!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup{padding:40px!important;border-radius:6px!important;gap:24px!important;box-shadow:none!important;border-top:3px solid var(--mf-accent)!important}.mf-api-setup .api-popover-head strong{font-size:30px!important;font-weight:750!important}.mf-api-setup .api-popover-head span{font-size:14px!important;line-height:1.8!important}.mf-api-setup .api-popover-head .mf-setup-kicker{font-size:11px!important}.mf-api-setup .api-popover-head>button{font-size:12px!important;min-height:40px!important;border-radius:4px!important}.mf-api-setup .provider-bar button{min-height:54px!important;border-radius:4px!important;font-size:14px!important}.mf-api-setup .mf-connection-status{font-size:13px!important;padding:14px!important;border-radius:4px!important}.mf-api-setup .mf-api-privacy{font-size:13px!important;line-height:1.85!important}.mf-api-setup .mf-setup-actions small{font-size:12px!important;line-height:1.7!important}.mf-api-setup .provider-bar button>span{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .output-panel{color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .output-section{border:1px solid var(--mf-line)!important;border-radius:4px!important;background:var(--mf-card)!important}.app-shell:is(.theme-light,.theme-dark) .output-section>summary{font-size:12px!important;color:var(--mf-muted)!important;padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .output-section>summary em{font-size:11px!important;color:var(--mf-muted)!important}
.app-shell:is(.theme-light,.theme-dark) button:focus-visible,.app-shell:is(.theme-light,.theme-dark) summary:focus-visible{outline:2px solid var(--mf-accent)!important;outline-offset:3px!important}
@media(max-width:1000px){.app-shell:is(.theme-light,.theme-dark) .session-overview{grid-template-columns:1fr!important;gap:20px!important}.app-shell:is(.theme-light,.theme-dark) .session-specs{justify-self:start!important;border-left:0!important;padding:0!important;gap:30px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tab-row{flex-wrap:wrap!important;gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs{min-width:100%!important;max-width:none!important}.app-shell:is(.theme-light,.theme-dark) .workspace-quick-toggles{margin-left:auto!important}}
@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark){padding:0 16px 20px!important}.app-shell:is(.theme-light,.theme-dark) .topbar{flex-wrap:wrap!important;gap:14px!important;padding:16px 0!important}.app-shell:is(.theme-light,.theme-dark) .brand{flex:1 1 100%!important}.app-shell:is(.theme-light,.theme-dark) .brand strong{font-size:29px!important}.app-shell:is(.theme-light,.theme-dark) .brand>div:after{font-size:8px!important}.app-shell:is(.theme-light,.theme-dark) .top-actions{width:100%!important;justify-content:flex-end!important}.app-shell:is(.theme-light,.theme-dark) .top-actions button{font-size:12px!important;min-height:40px!important;padding:10px 12px!important}.app-shell:is(.theme-light,.theme-dark) .studio-grid{width:100%!important;padding-top:22px!important;gap:18px!important}.app-shell:is(.theme-light,.theme-dark) .session-copy h1,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .session-copy .hero-title-main{display:block!important;font-size:28px!important;line-height:1.4!important}.app-shell:is(.theme-light,.theme-dark) .session-copy>p{font-size:13px!important}.app-shell:is(.theme-light,.theme-dark) .session-specs{width:100%!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{justify-content:center!important;padding:12px 4px!important;gap:7px!important;min-height:52px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{display:none!important}.app-shell:is(.theme-light,.theme-dark) .workspace-check{min-height:40px!important;font-size:12px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero{padding:20px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-hero h2{font-size:23px!important}.app-shell:is(.theme-light,.theme-dark) .easy-mode-layout{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .easy-genre-rail.mf-quick-selects{padding:20px!important;gap:18px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-stage.mf-foldout{grid-column:1!important;grid-row:2!important;margin:0 20px 20px!important}.app-shell:is(.theme-light,.theme-dark) .easy-compose-panel{grid-column:1!important;grid-row:3!important;padding:20px!important;border-left:0!important;border-top:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) input:not([type=checkbox]):not([type=range]),.app-shell:is(.theme-light,.theme-dark) textarea,.app-shell:is(.theme-light,.theme-dark) select{font-size:16px!important}.app-shell:is(.theme-light,.theme-dark) .studio-grid[data-workspace=connect]{padding:24px 0!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup{padding:24px 20px!important;gap:22px!important}.mf-api-setup .api-popover-head strong{font-size:27px!important}.mf-api-setup .api-popover-head span{font-size:13px!important}.mf-api-setup .provider-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mf-embedded .app-shell:is(.theme-light,.theme-dark) .session-copy h1{display:block!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


.app-shell:is(.theme-light,.theme-dark),.app-shell:is(.theme-light,.theme-dark) button,.app-shell:is(.theme-light,.theme-dark) input,.app-shell:is(.theme-light,.theme-dark) select,.app-shell:is(.theme-light,.theme-dark) textarea{font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button,.app-shell:is(.theme-light,.theme-dark) .hero-title-main,.app-shell:is(.theme-light,.theme-dark) .hero-title-lead,.app-shell:is(.theme-light,.theme-dark) .hero-title{box-shadow:none!important;text-shadow:none!important;filter:none!important}
.app-shell:is(.theme-light,.theme-dark) .hero-title{max-width:none!important;margin:0!important}


.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button.active{box-shadow:none!important;border-radius:0!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs .workspace-step,.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button.active .workspace-step{background:transparent!important;color:var(--mf-accent)!important;border:0!important;min-width:20px!important;width:auto!important;height:auto!important;opacity:1!important;border-radius:0!important;font-weight:600!important;font-size:12px!important}
.app-shell:is(.theme-light,.theme-dark) .session-copy>p{border:0!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button strong,.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{margin:0!important;padding:0!important;line-height:1.4!important}
.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{flex-wrap:wrap!important;justify-content:flex-start!important;column-gap:8px!important;row-gap:3px!important;align-content:center!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{flex-basis:100%!important;text-align:left!important;padding-left:28px!important}
.app-shell:is(.theme-light,.theme-dark) .mf-guide>summary{padding:4px 0!important}.app-shell:is(.theme-light,.theme-dark) .studio-grid{row-gap:16px!important}


.app-shell:is(.theme-light,.theme-dark) .topbar{display:flex!important}
.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .provider-bar{order:0!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;width:100%!important;grid-template-rows:auto!important;align-content:start!important;border:0!important}
.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .provider-bar button{height:54px!important;min-height:54px!important}
@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .top-actions button span{display:inline!important}.app-shell:is(.theme-light,.theme-dark) .top-actions{justify-content:flex-start!important}.app-shell:is(.theme-light,.theme-dark) .topbar{gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button{justify-content:center!important;flex-wrap:nowrap!important}.app-shell:is(.theme-light,.theme-dark) .workspace-tabs button small{display:none!important}}


.app-shell:is(.theme-light,.theme-dark) .topbar{border-radius:0!important}.app-shell:is(.theme-light,.theme-dark) .brand{justify-content:flex-start!important}.app-shell:is(.theme-light,.theme-dark) .top-actions button{width:auto!important;max-width:none!important;flex:0 0 auto!important;gap:6px!important}.app-shell:is(.theme-light,.theme-dark) .top-actions button svg{flex:0 0 auto!important}.app-shell:is(.theme-light,.theme-dark) .top-actions button span{white-space:nowrap!important}
.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .provider-bar button,.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .provider-bar button.active{border-radius:4px!important;box-shadow:none!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .key-stack{margin:0!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .field{padding:0!important;background:transparent!important;border:0!important}


.app-shell:is(.theme-light,.theme-dark) .range-field{background:var(--mf-soft)!important;border:1px solid var(--mf-line)!important;border-radius:4px!important;padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .range-field small,.app-shell:is(.theme-light,.theme-dark) .field small,.app-shell:is(.theme-light,.theme-dark) .empty-state p,.app-shell:is(.theme-light,.theme-dark) .workspace-output-head p{color:var(--mf-muted)!important;font-size:12px!important;line-height:1.7!important}.app-shell:is(.theme-light,.theme-dark) .range-field strong{color:var(--mf-accent)!important;font-size:12px!important}.app-shell:is(.theme-light,.theme-dark) .range-field input[type=range]{min-height:24px!important;height:24px!important;background:transparent!important;accent-color:var(--mf-accent)!important}.app-shell:is(.theme-light,.theme-dark) .advanced-section,.app-shell:is(.theme-light,.theme-dark) .sound-matrix,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-board{background:var(--mf-card)!important;color:var(--mf-ink)!important;border-color:var(--mf-line)!important;border-radius:4px!important}.app-shell:is(.theme-light,.theme-dark) .mf-section-heading p,.app-shell:is(.theme-light,.theme-dark) .empty-output p{color:var(--mf-muted)!important;font-size:13px!important;line-height:1.8!important}.app-shell:is(.theme-light,.theme-dark) .mf-section-heading h2{color:var(--mf-ink)!important;font-size:24px!important;font-weight:750!important}.app-shell:is(.theme-light,.theme-dark) .direction-panel{gap:22px!important}
@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .session-copy>p{display:none!important}.app-shell:is(.theme-light,.theme-dark) .session-copy .eyebrow{margin-bottom:10px!important}.app-shell:is(.theme-light,.theme-dark) .session-overview{padding-bottom:18px!important}.app-shell:is(.theme-light,.theme-dark) .mf-api-setup .api-popover-head{padding-bottom:18px!important}.app-shell:is(.theme-light,.theme-dark) .easy-reference-grid{grid-template-columns:1fr!important}}


/* Readability hotfix r3: content determines height, native options follow theme. */
.app-shell:is(.theme-light,.theme-dark) .slider-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:16px!important;align-items:stretch!important}
.app-shell:is(.theme-light,.theme-dark) .range-field{display:flex!important;flex-direction:column!important;gap:12px!important;height:auto!important;min-height:0!important;min-width:0!important;overflow:visible!important;padding:18px!important}
.app-shell:is(.theme-light,.theme-dark) .range-field>span{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:6px 12px!important;position:static!important;height:auto!important;min-height:0!important;max-height:none!important;line-height:1.65!important;font-size:13px!important;white-space:normal!important;color:var(--mf-ink)!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .range-field>span strong{position:static!important;float:none!important;flex:0 0 auto!important;display:block!important;height:auto!important;line-height:1.65!important;font-size:12px!important;white-space:nowrap!important;color:var(--mf-accent)!important;margin:0!important;padding:0!important;transform:none!important}
.app-shell:is(.theme-light,.theme-dark) .range-field>small{display:block!important;height:auto!important;max-height:none!important;min-height:0!important;line-height:1.8!important;margin:0!important;padding:0!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--mf-muted)!important;position:static!important}
.app-shell:is(.theme-light,.theme-dark) .range-field input[type=range]{margin:0!important;margin-top:auto!important;display:block!important;width:100%!important;flex:0 0 24px!important}
.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel{order:5!important;align-items:start!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card{display:flex!important;align-items:flex-start!important;gap:12px!important;min-width:0!important;height:auto!important;min-height:100px!important;padding:16px!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card>span{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;line-height:1.65!important;height:auto!important;position:static!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card>span.mf-intent-status{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;align-self:flex-start!important;padding:4px 6px!important;font-size:11px!important;color:var(--mf-accent)!important;background:var(--mf-tint)!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card strong{color:var(--mf-ink)!important;font-size:13px!important;line-height:1.65!important}.app-shell:is(.theme-light,.theme-dark) .intent-check-card em{display:block!important;font-size:12px!important;font-style:normal!important;line-height:1.8!important;color:var(--mf-muted)!important;white-space:normal!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card input{flex:0 0 auto!important;margin-top:4px!important;accent-color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .sound-intent-split button{color:var(--mf-on-accent)!important;background:var(--mf-accent)!important;border:1px solid var(--mf-accent)!important;min-height:46px!important;height:auto!important;white-space:normal!important;line-height:1.6!important;border-radius:4px!important}
.app-shell:is(.theme-light,.theme-dark) select,.app-shell:is(.theme-light,.theme-dark) select option,.app-shell:is(.theme-light,.theme-dark) select optgroup{color:var(--mf-ink)!important;background-color:var(--mf-card)!important;-webkit-text-fill-color:var(--mf-ink)!important;opacity:1!important}
.app-shell.theme-dark select{color-scheme:dark!important}.app-shell.theme-light select{color-scheme:light!important}
.app-shell:is(.theme-light,.theme-dark) option:checked{color:var(--mf-on-accent)!important;background-color:var(--mf-accent)!important;-webkit-text-fill-color:var(--mf-on-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .studio-command-specs{display:grid!important;grid-template-columns:repeat(4,minmax(90px,1fr))!important;gap:10px!important;min-width:0!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-specs>div{height:auto!important;min-height:70px!important;min-width:0!important;padding:12px!important;background:var(--mf-card)!important;border:1px solid var(--mf-line)!important;border-radius:4px!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-specs strong{display:block!important;margin-top:6px!important;line-height:1.65!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.app-shell:is(.theme-light,.theme-dark) .mf-section-heading{display:flex!important;flex-wrap:wrap!important;gap:18px!important;align-items:center!important}.app-shell:is(.theme-light,.theme-dark) .mf-section-heading>div{min-width:0!important;flex:1 1 280px!important}.app-shell:is(.theme-light,.theme-dark) .mf-section-heading .generate-button{flex:0 1 auto!important;margin:0!important;min-width:180px!important}
.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary{height:auto!important;min-height:48px!important;line-height:1.75!important;white-space:normal!important}.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary strong,.app-shell:is(.theme-light,.theme-dark) .mf-foldout>summary span{line-height:1.75!important;white-space:normal!important;height:auto!important}
.app-shell.theme-dark .direction-panel :is(h2,h3,h4,label,.field-label),.app-shell.theme-dark .workspace-output-panel :is(h2,h3,h4){color:var(--mf-ink)!important}.app-shell.theme-dark .direction-panel :is(p,small,em),.app-shell.theme-dark .workspace-output-panel :is(p,small,em){color:var(--mf-muted)!important}
.app-shell:is(.theme-light,.theme-dark) .intent-editor-card,.app-shell:is(.theme-light,.theme-dark) .sound-intent-split{color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .intent-editor-card{background:var(--mf-card)!important;border-color:var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .intent-editor-card>span{display:block!important;line-height:1.7!important;height:auto!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .intent-editor-card textarea{margin-top:10px!important}
@media(max-width:900px){.app-shell:is(.theme-light,.theme-dark) .studio-command-strip{display:flex!important;flex-direction:column!important;gap:20px!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-specs{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.app-shell:is(.theme-light,.theme-dark) .slider-grid{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .mf-section-heading .generate-button{width:100%!important;flex-basis:100%!important}.app-shell:is(.theme-light,.theme-dark) .intent-check-card{min-height:0!important}.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .studio-command-main strong{font-size:21px!important;line-height:1.5!important}}


.app-shell:is(.theme-light,.theme-dark) .output-section>summary em,.app-shell:is(.theme-light,.theme-dark) .api-summary-status em{background:var(--mf-tint)!important;color:var(--mf-accent)!important;border:1px solid var(--mf-line)!important;opacity:1!important;padding:5px 8px!important;line-height:1.6!important;border-radius:4px!important}


/* r4: constrain checkbox dimensions and reserve the remainder for copy. */
.app-shell:is(.theme-light,.theme-dark) .intent-check-card{align-self:start!important;align-items:flex-start!important;min-height:0!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card>input[type=checkbox]{appearance:auto!important;position:static!important;display:block!important;box-sizing:border-box!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;padding:0!important;margin:3px 0 0!important;transform:none!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card>span:not(.mf-intent-status){flex:1 1 0%!important;width:auto!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-card>span:not(.mf-intent-status) strong,.app-shell:is(.theme-light,.theme-dark) .intent-check-card>span:not(.mf-intent-status) em{width:auto!important;min-width:0!important;max-width:100%!important;word-break:keep-all!important;overflow-wrap:break-word!important;white-space:normal!important;writing-mode:horizontal-tb!important}
.app-shell:is(.theme-light,.theme-dark) .intent-check-panel{align-items:start!important;grid-auto-rows:auto!important}


/* r5: natural height prevents iframe viewport feedback; align compact controls. */
.app-shell:is(.theme-light,.theme-dark) .direction-panel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;align-items:start!important;gap:16px!important;min-height:0!important;height:auto!important;padding:20px!important}
.app-shell:is(.theme-light,.theme-dark) .settings-grid.advanced-mode{height:auto!important;min-height:0!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.studio-command-strip,.app-shell:is(.theme-light,.theme-dark) .direction-panel>.mf-section-heading,.app-shell:is(.theme-light,.theme-dark) .direction-panel>.sound-board-fields,.app-shell:is(.theme-light,.theme-dark) .direction-panel>.advanced-settings-panel{grid-column:1 / -1!important;min-width:0!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.sound-preset-grid{grid-column:1!important;grid-row:auto!important;width:100%!important;margin:0!important;padding:0!important;align-self:start!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.lyric-craft-board{grid-column:2!important;grid-row:auto!important;width:100%!important;margin:0!important;align-self:start!important}
.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;min-height:0!important;height:auto!important;align-items:start!important}
.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel>.advanced-section{grid-column:auto!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important}
.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel>.slider-grid{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;min-width:0!important;margin:0!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout{width:100%!important;margin:0!important;border-radius:4px!important;border:1px solid var(--mf-line)!important;background:var(--mf-card)!important;background-image:none!important;box-shadow:none!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout:before,.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout:after{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout>summary{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:5px 12px!important;min-height:52px!important;height:auto!important;padding:14px 16px!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;line-height:1.65!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout>summary:before{content:'▸';position:static!important;display:inline!important;background:none!important;color:var(--mf-muted)!important;width:auto!important;height:auto!important;transform:none!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout[open]>summary:before{content:'▾'}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout>summary strong{font-size:13px!important;font-weight:650!important}.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout>summary span{display:inline!important;flex:1 1 160px!important;margin:0!important;font-size:12px!important;line-height:1.65!important;color:var(--mf-muted)!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout[open]>summary{border-bottom:1px solid var(--mf-line)!important}
.app-shell:is(.theme-light,.theme-dark) .range-field{padding:16px!important;gap:10px!important;min-height:126px!important;height:auto!important}.app-shell:is(.theme-light,.theme-dark) .range-field>small{flex:1!important}.app-shell:is(.theme-light,.theme-dark) .range-field input[type=range]{margin-top:0!important}
.app-shell:is(.theme-light,.theme-dark){padding-bottom:16px!important}.app-shell:is(.theme-light,.theme-dark) .studio-grid{padding-bottom:0!important;min-height:0!important;height:auto!important}.app-shell:is(.theme-light,.theme-dark) .output-panel{margin-bottom:0!important;min-height:0!important;height:auto!important}
@media(max-width:720px){.app-shell:is(.theme-light,.theme-dark) .direction-panel{grid-template-columns:1fr!important;padding:16px!important;gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .direction-panel>.sound-preset-grid,.app-shell:is(.theme-light,.theme-dark) .direction-panel>.lyric-craft-board{grid-column:1!important}.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel{grid-template-columns:1fr!important;gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .advanced-settings-panel>.slider-grid{grid-template-columns:1fr!important;gap:12px!important}.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-foldout>summary span{flex-basis:100%!important;margin-left:18px!important}.app-shell:is(.theme-light,.theme-dark) .range-field{min-height:0!important}}


/* r6: full-width, mutually exclusive sound / lyrics tabs. */
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.mf-design-tabs{grid-column:1 / -1!important;order:3!important;display:flex!important;gap:0!important;width:100%!important;margin:0!important;padding:0!important;border-bottom:1px solid var(--mf-line)!important}
.app-shell:is(.theme-light,.theme-dark) .mf-design-tabs>[role=tab]{flex:0 1 auto!important;min-width:150px!important;min-height:50px!important;height:auto!important;padding:12px 22px!important;margin:0!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--mf-muted)!important;font-size:14px!important;font-weight:650!important;line-height:1.6!important;white-space:normal!important;box-shadow:none!important;word-break:keep-all!important}
.app-shell:is(.theme-light,.theme-dark) .mf-design-tabs>[role=tab][aria-selected=true]{color:var(--mf-accent)!important;border-bottom-color:var(--mf-accent)!important;background:var(--mf-tint)!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>[data-mf-design-panel]{grid-column:1 / -1!important;order:4!important;margin:0!important;min-width:0!important;width:100%!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>[data-mf-tab-hidden=true]{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.sound-preset-grid[data-mf-tab-hidden=false]{display:block!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel>.lyric-craft-board[data-mf-tab-hidden=false]{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:0!important;align-items:start!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .direction-panel .mf-tab-panel>summary{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .sound-matrix.mf-tab-panel{display:block!important;padding:20px!important;min-width:0!important;height:auto!important;min-height:0!important}
.app-shell:is(.theme-light,.theme-dark) .sound-matrix-head{display:block!important;padding:0 0 18px!important;margin:0!important;border:0!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix-head>div{display:flex!important;flex-direction:column!important;gap:7px!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix-head span,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-head span{color:var(--mf-accent)!important;font-size:11px!important;letter-spacing:.06em!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix-head strong,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-head strong{color:var(--mf-ink)!important;font-size:16px!important;line-height:1.6!important;white-space:normal!important}
.app-shell:is(.theme-light,.theme-dark) .sound-matrix>.matrix-category-rail{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:8px!important;margin:0 0 20px!important;padding:0!important;min-width:0!important;overflow:visible!important;border:0!important;background:transparent!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;width:100%!important;min-height:78px!important;height:auto!important;padding:12px!important;border-radius:4px!important;color:var(--mf-ink)!important;background:var(--mf-soft)!important;border:1px solid var(--mf-line)!important;box-shadow:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button.active{border-color:var(--mf-accent)!important;background:var(--mf-tint)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button strong{font-size:12px!important;line-height:1.6!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button span{font-size:11px!important;line-height:1.6!important;color:var(--mf-muted)!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.app-shell:is(.theme-light,.theme-dark) .sound-matrix>.matrix-workspace{display:grid!important;grid-template-columns:minmax(200px,.85fr) minmax(0,1.6fr) minmax(205px,.85fr)!important;align-items:start!important;gap:20px!important;margin:0!important;padding:0!important;min-width:0!important;width:100%!important;max-height:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>div,.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside{min-width:0!important;width:100%!important;max-width:none!important;grid-column:auto!important;grid-row:auto!important;position:static!important;min-height:0!important;height:auto!important;margin:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-panel-title{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;padding:0 0 12px!important;height:auto!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-panel-title span{font-size:13px!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-panel-title strong{font-size:11px!important;color:var(--mf-muted)!important;line-height:1.6!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;max-height:520px!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 6px 0 0!important;min-width:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-height:520px!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 6px 0 0!important;min-width:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:14px!important;border:1px solid var(--mf-line)!important;border-radius:4px!important;background:var(--mf-card)!important;color:var(--mf-ink)!important;box-shadow:none!important;text-align:left!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button.active,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button.active,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button.active{background:var(--mf-tint)!important;border-color:var(--mf-accent)!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button strong,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button strong,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button strong{display:block!important;font-size:13px!important;line-height:1.65!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:break-word!important;color:var(--mf-ink)!important;height:auto!important;max-height:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button span,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button em,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button em{display:block!important;font-size:12px!important;line-height:1.8!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:break-word!important;color:var(--mf-muted)!important;font-style:normal!important;height:auto!important;max-height:none!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button>span,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button>span{color:var(--mf-accent)!important;font-size:11px!important;line-height:1.65!important;white-space:normal!important;overflow-wrap:break-word!important}.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button small{color:var(--mf-accent)!important;background:var(--mf-tint)!important;font-size:11px!important;line-height:1.7!important;padding:5px 7px!important;margin-top:auto!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:break-word!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-inspector{padding:16px!important;border:1px solid var(--mf-line)!important;border-radius:4px!important;background:var(--mf-soft)!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector>div{display:flex!important;flex-direction:column!important;gap:7px!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector strong{font-size:16px!important;line-height:1.6!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector span,.app-shell:is(.theme-light,.theme-dark) .matrix-inspector em,.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dt{font-size:11px!important;line-height:1.7!important;color:var(--mf-muted)!important;font-style:normal!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl{display:grid!important;gap:14px!important;margin:18px 0 0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl>div{display:block!important;min-width:0!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dd{font-size:12px!important;line-height:1.8!important;color:var(--mf-ink)!important;margin:5px 0 0!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
.app-shell:is(.theme-light,.theme-dark) .lyric-craft-main{padding:20px!important;min-width:0!important;width:100%!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-head{display:flex!important;flex-wrap:wrap!important;gap:12px!important;justify-content:space-between!important;align-items:flex-start!important;padding:0 0 20px!important;margin:0!important;border:0!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-head>div{display:flex!important;flex-direction:column!important;gap:7px!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-head>em{font-size:12px!important;line-height:1.7!important;color:var(--mf-muted)!important;font-style:normal!important}
.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button{min-height:150px!important}
.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview{padding:20px!important;min-width:0!important;width:100%!important;background:var(--mf-soft)!important;border:0!important;border-left:1px solid var(--mf-line)!important;color:var(--mf-ink)!important;align-self:stretch!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview>div{display:flex!important;flex-direction:column!important;gap:8px!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview strong{font-size:14px!important;line-height:1.7!important;color:var(--mf-ink)!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview span,.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview em{font-size:12px!important;line-height:1.8!important;white-space:normal!important;overflow-wrap:anywhere!important;font-style:normal!important;color:var(--mf-muted)!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview ul{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:20px 0 0!important;padding:0!important;list-style:none!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview li{padding:10px!important;background:var(--mf-card)!important;border:1px solid var(--mf-line)!important;border-radius:4px!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview code{color:var(--mf-ink)!important;font-size:11px!important;line-height:1.8!important;white-space:normal!important;overflow-wrap:anywhere!important}
@media(max-width:1050px){.app-shell:is(.theme-light,.theme-dark) .sound-matrix>.matrix-workspace{grid-template-columns:minmax(190px,.8fr) minmax(0,1.6fr)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>.matrix-inspector{grid-column:1 / -1!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl{grid-template-columns:repeat(3,minmax(0,1fr))!important}.app-shell:is(.theme-light,.theme-dark) .direction-panel>.lyric-craft-board[data-mf-tab-hidden=false]{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview{border-left:0!important;border-top:1px solid var(--mf-line)!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.app-shell:is(.theme-light,.theme-dark) .mf-design-tabs>[role=tab]{flex:1 1 50%!important;min-width:0!important;padding:12px 10px!important;font-size:13px!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix.mf-tab-panel{padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix>.matrix-category-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell:is(.theme-light,.theme-dark) .sound-matrix>.matrix-workspace{grid-template-columns:1fr!important;gap:20px!important}.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:none!important;overflow:visible!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list{grid-template-columns:1fr!important;max-height:none!important;overflow:visible!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid{grid-template-columns:1fr!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button{min-height:0!important}.app-shell:is(.theme-light,.theme-dark) .lyric-craft-main,.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview{padding:16px!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview ul{grid-template-columns:1fr!important}}


/* Preserve content-sized rows inside bounded selection lists. */
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button{flex:0 0 auto!important;min-height:78px!important;height:auto!important;max-height:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list{grid-auto-rows:max-content!important;align-content:start!important;align-items:stretch!important}.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button{min-height:188px!important;max-height:none!important;height:auto!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-subgenre-list button>*,.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button>*,.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button>*,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button>*{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;position:static!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;max-width:100%!important;-webkit-line-clamp:unset!important;-webkit-box-orient:unset!important;transform:none!important;opacity:1!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-variant-list button>span,.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button>span,.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid button>span{width:100%!important;display:block!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;line-height:1.7!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail{grid-auto-rows:minmax(100px,auto)!important}.app-shell:is(.theme-light,.theme-dark) .matrix-category-rail button{min-height:100px!important}
.app-shell:is(.theme-light,.theme-dark) .lyric-craft-preset-grid{grid-auto-rows:max-content!important;align-items:stretch!important;align-content:start!important}


.app-shell:is(.theme-light,.theme-dark) .matrix-inspector>div{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:7px!important;align-items:flex-start!important;margin:0!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-inspector>div>*{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;margin:0!important;position:static!important;overflow:visible!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:14px!important;grid-template-rows:none!important;margin:20px 0 0!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dl>div{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;padding:0!important;margin:0!important;border:0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dt,.app-shell:is(.theme-light,.theme-dark) .matrix-inspector dd{height:auto!important;min-height:0!important;max-height:none!important;position:static!important;overflow:visible!important}


.app-shell:is(.theme-light,.theme-dark) .direction-panel>.lyric-craft-board[data-mf-tab-hidden=false]{display:block!important;grid-template-columns:none!important}
.app-shell:is(.theme-light,.theme-dark) .lyric-craft-main{width:100%!important;max-width:none!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview{width:100%!important;max-width:none!important;border-left:0!important;border-top:1px solid var(--mf-line)!important}
.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview ul{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:14px!important;gap:10px!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview>div{gap:5px!important}.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview li{min-width:0!important;height:auto!important;line-height:1.8!important}
@media(max-width:720px){.app-shell:is(.theme-light,.theme-dark) .meta-tag-preview ul{grid-template-columns:1fr!important}}


/* r7: replace inherited 34px summary grid row with natural block flow. */
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector{display:flex!important;flex-direction:column!important;align-items:stretch!important;align-content:start!important;justify-content:flex-start!important;gap:20px!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;min-height:0!important;max-height:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;flex:0 0 auto!important;height:auto!important;min-height:max-content!important;max-height:none!important;margin:0!important;padding:0!important;grid-row:auto!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>div>*{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;line-height:1.8!important;white-space:normal!important;overflow-wrap:anywhere!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>dl{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;gap:16px!important;height:auto!important;min-height:0!important;max-height:none!important;grid-template-rows:none!important;margin:0!important;padding:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>dl>div{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important}.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector dt{display:block!important;margin:0 0 5px!important;line-height:1.8!important;height:auto!important}.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector dd{display:block!important;margin:0!important;line-height:1.9!important;height:auto!important}


/* r8: three aligned column headings, compact selection summary. */
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace{column-gap:20px!important;align-items:start!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-panel-title{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px 10px!important;min-height:48px!important;height:auto!important;box-sizing:border-box!important;margin:0!important;padding:0 0 12px!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-panel-title>span{flex:0 0 auto!important;font-size:13px!important;font-weight:650!important;line-height:1.7!important;color:var(--mf-ink)!important;white-space:normal!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-panel-title>strong{display:block!important;flex:0 1 auto!important;min-width:0!important;max-width:100%!important;font-size:11px!important;font-weight:500!important;line-height:1.7!important;color:var(--mf-accent)!important;background:var(--mf-tint)!important;padding:3px 7px!important;border-radius:3px!important;margin:0!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector{display:flex!important;flex-direction:column!important;gap:0!important;align-self:start!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;position:static!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector:before{content:'선택 요약';display:flex!important;align-items:center!important;box-sizing:border-box!important;flex:0 0 48px!important;min-height:48px!important;height:48px!important;padding:0 0 12px!important;margin:0!important;font-size:13px!important;font-weight:650!important;line-height:1.7!important;color:var(--mf-ink)!important;background:none!important;position:static!important;transform:none!important;width:100%!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>div{padding:16px 16px 18px!important;border:1px solid var(--mf-line)!important;border-bottom:0!important;border-radius:4px 4px 0 0!important;background:var(--mf-soft)!important;gap:8px!important;margin:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>div>span{display:none!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>div>strong{font-size:15px!important;line-height:1.7!important;font-weight:700!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>dl{padding:0 16px 16px!important;margin:0!important;border:1px solid var(--mf-line)!important;border-top:0!important;border-radius:0 0 4px 4px!important;background:var(--mf-soft)!important;gap:16px!important;flex:0 0 auto!important;height:auto!important;min-height:0!important}
@media(max-width:1050px){.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector{grid-column:1 / -1!important;width:100%!important}.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>dl{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:start!important}}
@media(max-width:720px){.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-panel-title{min-height:48px!important}.app-shell:is(.theme-light,.theme-dark) .matrix-workspace>aside.matrix-inspector>dl{display:flex!important;flex-direction:column!important}}


.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-subgenre-panel,.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-variant-panel{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important}
.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-subgenre-list,.app-shell:is(.theme-light,.theme-dark) .matrix-workspace .matrix-variant-list{margin:0!important;position:static!important;transform:none!important;flex:0 0 auto!important}
