/* Studio chrome. Deliberately separate from the generated app's own design. */
/* The working veil is visual only: scrolling, design choices and cancel stay usable. */
#studio-editor .studio-composer{position:relative;isolation:isolate}
#studio-editor.is-generating .studio-composer:has(#studio-ai-panel:not([hidden]))::after{content:'';position:absolute;inset:0;z-index:8;pointer-events:none;border-radius:inherit;border:1px solid color-mix(in srgb,var(--st-accent,#7762d4) 35%,transparent);background:linear-gradient(115deg,transparent 20%,#ffffff24 43%,#c7baff20 50%,transparent 68%),linear-gradient(#c9bcff0a,#c9bcff12);background-size:240% 100%,100% 100%;box-shadow:inset 0 0 24px #8c72df12;animation:studio-working-sheen 6s ease-in-out infinite}
#studio-editor[data-appearance=dark].is-generating .studio-composer:has(#studio-ai-panel:not([hidden]))::after{border-color:#b29aff70;background-image:linear-gradient(115deg,transparent 20%,#a491ff0c 40%,#8cdfff16 50%,transparent 68%),linear-gradient(#b19aff06,#9b85ff0d);box-shadow:inset 0 0 24px #a88cff18,inset 0 0 2px #bba5ff88}
#studio-editor .studio-working-label{display:inline-flex;align-items:center;gap:5px;color:var(--st-accent-ink,#6554c0);font-size:10px;white-space:nowrap;margin-left:auto}
#studio-editor .studio-working-label::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 7px currentColor;animation:studio-working-breathe 2.8s ease-in-out infinite}
#studio-editor.is-generating .studio-app-steps button:disabled{cursor:wait}
@keyframes studio-working-sheen{0%,100%{background-position:140% 0,0 0;opacity:.65}50%{background-position:-40% 0,0 0;opacity:1}}
@keyframes studio-working-breathe{0%,100%{opacity:.5}50%{opacity:1}}
@media(max-width:600px){#studio-editor .studio-working-label{font-size:9px;gap:3px}#studio-editor.is-generating .studio-app-steps{gap:8px}}
@media(prefers-reduced-motion:reduce){#studio-editor.is-generating .studio-composer:has(#studio-ai-panel:not([hidden]))::after,#studio-editor .studio-working-label::before{animation:none}}
body:has(#main :is(#studio-editor,#studio-library)){background:#f3f4f6;color:#252b37}
body:has(#main :is(#studio-editor,#studio-library)) #app>header{height:60px;min-height:60px;padding:0 24px;background:#fff;border-bottom:1px solid #e5e7ec;gap:36px}
body:has(#main :is(#studio-editor,#studio-library)) header .brand-logo{width:152px;max-height:43px}
body:has(#main :is(#studio-editor,#studio-library)) header nav{height:60px;gap:28px}
body:has(#main :is(#studio-editor,#studio-library)) header nav a{font-size:13px;color:#667080}
body:has(#main :is(#studio-editor,#studio-library)) header nav a.active{color:#5145bd}
body:has(#main :is(#studio-editor,#studio-library)) header .season{font-size:10px;padding:4px 9px;background:#f1f3f5;color:#616875}
body:has(#main :is(#studio-editor,#studio-library)) .demo-label,body:has(#main :is(#studio-editor,#studio-library)) .footer,body:has(#main :is(#studio-editor,#studio-library)) #gai-assistant{display:none}
body:has(#main :is(#studio-editor,#studio-library)) #app>main.container{max-width:none;padding:12px 18px 14px}
#studio-editor{--ink:#252b37;--muted:#687382;--line:#e2e5eb;--studio-accent:#6554c0;position:relative;height:calc(100dvh - 86px);min-height:570px;display:flex;flex-direction:column;font-family:Arial,'Noto Sans KR',sans-serif}
#studio-editor h2,#studio-editor h3,#studio-editor button,#studio-editor textarea,#studio-editor input{font-family:inherit;letter-spacing:normal}
#studio-editor .btn{font-size:12px;font-weight:600;min-height:32px;padding:7px 11px;border-radius:7px;border:1px solid #dfe3e9;background:#fff;color:#4a5363;box-shadow:none;gap:6px}
#studio-editor .btn.primary{background:#6251bc;border-color:#6251bc;color:white}
#studio-editor .btn.primary:hover{background:#5341aa}
#studio-editor .btn.ghost{border-color:transparent;background:transparent}
#studio-editor .btn:disabled{opacity:.5;transform:none}
#studio-editor .btn .ui-icon{width:15px;height:15px}
#studio-editor button:focus-visible,#studio-editor summary:focus-visible{outline:2px solid #7a68d3;outline-offset:3px}
#studio-editor .studio-toolbar{flex:none;margin:0;min-height:36px;gap:12px}
#studio-editor .studio-toolbar>div:first-child{gap:12px;min-width:0}
#studio-editor .studio-back{font-size:12px;color:#697383;white-space:nowrap;font-weight:500}
#studio-editor .studio-back .ui-icon{width:14px;height:14px}
.studio-toolbar-divider{color:#c6cbd3}
#studio-project-title{font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:45vw}
#studio-editor .studio-toolbar .tag{background:#e9ecf1;color:#5b6575;font-size:10px;padding:3px 8px;border:0;white-space:nowrap}
#studio-editor .studio-save-status{font-size:10px;min-height:24px;padding:4px 0 6px;flex:none;color:#77818d}
#studio-editor .studio-save-status.error{color:#a3354c}
#studio-editor .studio-app-steps{order:0;flex:none;display:flex;align-items:center;height:37px;min-height:37px;background:transparent;gap:18px;padding:0 0 9px;margin:0;border:0;border-radius:0}
#studio-editor .studio-app-steps button{font-size:11px;padding:5px 0;background:none;border:0;box-shadow:none;color:#768090;flex:none;gap:6px}
#studio-editor .studio-app-steps button[aria-current=step]{color:#50429e;font-weight:700}
#studio-editor .studio-app-steps i{width:20px;height:20px;border-radius:5px;font-size:9px;background:#e7e9ef;color:#6d7685;display:inline-grid;place-items:center;font-style:normal}
#studio-editor .studio-app-steps [aria-current=step] i{background:#e6e1f7;color:#5746a8}
#studio-editor .studio-layout:has(.studio-composer){flex:1;min-height:0;grid-template-columns:minmax(330px,370px) minmax(0,1fr);gap:12px;align-items:stretch}
#studio-editor.is-comparing .studio-layout{grid-template-columns:minmax(310px,350px) minmax(0,1fr)}
#studio-editor .studio-composer{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;padding:0;background:#fff;border:1px solid #dfe3e9;border-radius:11px}
#studio-editor .studio-modes{flex:none;position:static;margin:0;padding:0 12px;gap:12px;height:43px;background:#fff;border-radius:0;border-bottom:1px solid #e6e9ee}
#studio-editor .studio-modes button{flex:1;border-radius:0;padding:10px 3px;color:#7a8290;box-shadow:none;font-size:12px;font-weight:500;border-bottom:2px solid transparent}
#studio-editor .studio-modes button[aria-pressed=true]{color:#5342a2;background:transparent;border-bottom-color:#7360c7;font-weight:700}
#studio-editor .studio-modes .ui-icon{width:14px;height:14px}
#studio-editor .studio-ai-panel{flex:1;display:flex;flex-direction:column;min-height:0;border:0;border-radius:0;background:#fff;padding:0;overflow:hidden}
#studio-editor .studio-ai-panel[hidden],#studio-editor .studio-design-panel[hidden],#studio-editor .studio-workflow-panel[hidden],#studio-editor .studio-edit-panel[hidden]{display:none}
.studio-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:15px 16px 10px}
.studio-chat-heading>div{display:flex;align-items:center;gap:8px}
.studio-chat-heading b{font-size:12px;font-weight:600}
.studio-ai-avatar{display:inline-grid;place-items:center;width:24px;height:24px;flex:none}
.studio-owl-icon{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.studio-tab-owl{display:inline-flex;width:18px;height:18px;flex:none;vertical-align:middle}
.studio-session-state{font-size:10px;color:#78828e;display:flex;align-items:center;gap:5px}
.studio-session-state i,.studio-preview-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#65a690;margin-right:3px}
.studio-chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 16px 12px;scrollbar-width:thin;scrollbar-color:#d8dce4 transparent}
#studio-editor .studio-conversation{max-height:none;overflow:visible;padding:0}
#studio-editor .studio-turn{gap:15px;margin:15px 0 26px}
#studio-editor .studio-bubble{padding:0;border:0;border-radius:0;max-width:100%;line-height:1.7}
#studio-editor .studio-bubble.user{background:#f1f2f6;padding:12px 14px;border-radius:11px 11px 3px 11px;max-width:93%;justify-self:end;color:#374051}
#studio-editor .studio-bubble.user>small{display:none}
#studio-editor .studio-bubble p{font-size:13px;line-height:1.85;margin:0;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere}
#studio-editor .studio-bubble.assistant{background:transparent;color:#505b6b;width:100%;padding:0 1px}
#studio-editor .studio-bubble.assistant>small{display:flex;align-items:center;gap:6px;margin-bottom:9px;font-size:11px;color:#414b5c}
#studio-editor .studio-bubble.assistant>small>span:last-child:not(.studio-ai-avatar){margin-left:auto;font-size:10px;color:#728c7b;font-weight:400}
#studio-editor .studio-bubble.assistant.is-error{color:#a34855}
#studio-editor .studio-bubble .btn{font-size:10px;min-height:27px;padding:4px 8px;margin-top:10px}
#studio-editor .studio-chat-images{margin-top:8px}
#studio-editor .studio-conversation-empty{padding:44px 8px 30px;text-align:left;color:#657183}
.studio-empty-symbol{display:grid;place-items:center;width:40px;height:40px;margin-bottom:25px}
.studio-overline{display:block;font-size:9px;letter-spacing:.15em;font-weight:700;color:#8b86a2;margin-bottom:9px}
#studio-editor .studio-conversation-empty h3{font-size:18px;font-weight:600;line-height:1.5;color:#354052;margin:0 0 10px}
#studio-editor .studio-conversation-empty p{font-size:12px;line-height:1.85;color:#78828f}
.studio-prompt-dock{flex:none;padding:0 12px 10px;background:#fff;border-top:1px solid #f1f2f5}
#studio-editor .studio-chat-save{font-size:9px;margin:7px 2px;color:#8b939e;line-height:1.4}
.studio-prompt-box{border:1px solid #d7dce5;border-radius:10px;background:#fff;box-shadow:0 2px 4px #20253904;transition:border-color .15s,box-shadow .15s}
.studio-prompt-box:focus-within{border-color:#a295d2;box-shadow:0 0 0 3px #7660c00a}
#studio-editor #studio-ai-prompt{display:block;width:100%;min-height:74px;max-height:156px;margin:0;padding:12px 12px 2px;border:0;border-radius:10px;box-shadow:none;resize:none;background:transparent;font-size:13px;line-height:1.7;color:#343e50}
#studio-editor #studio-ai-prompt:focus{outline:none}
#studio-editor #studio-ai-prompt::placeholder{color:#9299a4}
#studio-editor #studio-ai-prompt:disabled{color:#77818e;opacity:1}
#studio-editor .studio-composer-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;margin:0;padding:7px 8px}
#studio-editor .studio-composer-actions #studio-attach{padding:5px 7px;min-height:28px;color:#79818e;font-size:10px}
.studio-key-hint{font:9px/1.5 system-ui,sans-serif;color:#a1a8b2;white-space:nowrap;margin-left:auto}
#studio-editor .studio-composer-actions .studio-send-button{width:32px;height:32px;min-height:32px;padding:0;flex-shrink:0;border-radius:8px;margin-left:5px}
.studio-send-button .ui-icon{transform:rotate(-90deg)}
.studio-send-dots{font-size:22px;line-height:1;letter-spacing:1px}
.studio-composer-meta{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:8px 2px 0}
.studio-composer-meta>small{font-size:9px;color:#9ba2ad;text-align:right;line-height:1.6}
.studio-request-options{font-size:10px;color:#8b939e}
.studio-request-options summary,.studio-suggestion-list summary{cursor:pointer;font-size:10px;color:#7a8391}
#studio-editor .studio-ai-intent{gap:10px;margin:8px 0;font-size:11px;flex-direction:column}
#studio-editor .studio-ai-intent label{font-size:11px;color:#687283}
.studio-request-options p{font-size:10px;line-height:1.7;margin:0;max-width:200px}
.studio-suggestion-list{margin:8px 2px 0}
#studio-editor .studio-ai-suggestions{display:flex;flex-direction:column;gap:5px;margin:8px 0 0}
#studio-editor .studio-ai-suggestions button{font-size:10px;padding:6px 8px;border-color:#e5e7ed;background:#fafbfc;border-radius:6px;color:#788191;line-height:1.6}
#studio-editor .studio-attachments{padding:0 8px}
#studio-editor .studio-attachments:empty{display:none}
#studio-editor .studio-attachments>div{width:64px;padding:3px;border-radius:6px}
#studio-editor .studio-attachments img{width:56px;height:43px}
#studio-editor .studio-attachments span{font-size:8px}
#studio-editor .studio-ai-connection,#studio-editor .studio-ai-signin{font-size:11px;border-radius:7px;background:#f6f7f9;color:#6f7a8a;margin:8px 0;padding:9px}
#studio-editor .studio-ai-message{font-size:11px;margin:10px 0;padding:10px;background:#f3f7f5;color:#5f796b;border-radius:7px;line-height:1.7}
#studio-editor .studio-ai-message.error{color:#a4515f;background:#fcf1f3}
#studio-editor .studio-ai-result{margin:8px 0 12px;padding:14px;border-radius:9px;border-color:#d7dfdb;background:#f9fbfa}
#studio-editor .studio-ai-result>b{display:block;font-size:13px}
#studio-editor .studio-ai-result p,#studio-editor .studio-ai-result li,#studio-editor .studio-ai-result summary{font-size:11px;color:#6b7b72}
#studio-editor .studio-ai-result details{margin:10px 0}
#studio-editor .studio-ai-result .actions{display:grid;grid-template-columns:1fr 1fr;margin-top:13px}
#studio-editor .studio-ai-result>.btn.ghost{width:100%;margin-top:5px;font-size:10px;color:#859087}
.studio-generation{padding:12px;border:1px solid #e5e1f0;border-radius:9px;background:linear-gradient(125deg,#faf9fd,#f5f6fa);width:100%}
.studio-generation-heading{display:flex;gap:7px;align-items:center}
.studio-generation-heading b{font-size:11px;font-weight:600;color:#5e5575}
.studio-generation time,.studio-preview-generation time{margin-left:auto;font:10px/1.5 ui-monospace,monospace;color:#8e85a4;font-variant-numeric:tabular-nums}
#studio-editor .studio-generation p{font-size:10px;color:#8a829b;line-height:1.75;margin:9px 0 13px}
.studio-orbit{display:inline-flex;align-items:center;gap:3px;height:16px;flex-shrink:0}
.studio-orbit i{width:4px;height:4px;border-radius:50%;background:#8770cd;animation:studio-pulse 1.35s ease-in-out infinite}
.studio-orbit i:nth-child(2){animation-delay:.15s}.studio-orbit i:nth-child(3){animation-delay:.3s}
.studio-generation-track{height:2px;background:#e9e4f3;border-radius:2px;overflow:hidden}
.studio-generation-track>span{display:block;width:38%;height:100%;background:linear-gradient(90deg,transparent,#8d77cb,transparent);animation:studio-travel 2s ease-in-out infinite}
.studio-generation-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:8px;color:#9a92aa}
.studio-generation-footer button{font-size:9px;color:#857591;background:transparent;border:0;padding:2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#studio-editor .studio-preview-panel{display:flex;flex-direction:column;position:relative;top:0;min-height:0;border-radius:11px;border:1px solid #dfe3e9;background:#eef0f4;box-shadow:0 3px 12px #29344b04}
#studio-editor .studio-preview-heading{display:flex;flex:none;padding:11px 16px;min-height:46px;background:#fff;border-bottom:1px solid #e9ebef}
#studio-editor .studio-preview-heading b{font-size:11px;display:flex;align-items:center;gap:5px;font-weight:600}
#studio-editor .studio-preview-heading small{display:none}
#studio-editor #studio-preview-switch{flex:none;background:white}
#studio-editor .studio-preview-tabs{background:white;border:0;padding:0 12px 8px;gap:3px;margin:0}
#studio-editor .studio-preview-tabs button{flex:none;font-size:10px;padding:5px 9px;color:#84909f;background:transparent;border:1px solid transparent;border-radius:5px;box-shadow:none;font-weight:500}
#studio-editor .studio-preview-tabs button[aria-pressed=true]{background:#f1f3f6;border-color:#e4e7ec;color:#495364}
#studio-editor .studio-canvas-tools{flex:none;padding:7px 12px;border-bottom:1px solid #e2e5eb;gap:7px;background:#fbfcfd}
#studio-editor .studio-canvas-tools .btn{font-size:10px;min-height:28px;padding:5px 7px}
#studio-editor .studio-canvas-modes{background:#f0f2f6;border-radius:6px;padding:2px}
#studio-editor .studio-canvas-modes button{font-size:10px;color:#7d8693;padding:5px 7px}
#studio-editor .studio-canvas-modes button[aria-pressed=true]{color:#584a97}
#studio-editor .studio-app-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
#studio-editor .studio-app-controls>span{font-size:9px;color:#9098a5;margin-right:auto}
#studio-editor .studio-page-rail{flex:none;background:#fbfcfd;padding:5px 12px 7px;margin:0;min-height:0}
#studio-editor .studio-page-rail button{border-color:#dce0e7;color:#7a8493;font-size:10px;border-radius:4px;height:23px;min-width:24px}
#studio-editor .studio-page-rail button[aria-pressed=true]{background:#ece8f6;color:#63529d}
#studio-editor #studio-preview-content{flex:1;min-height:0;padding:18px;gap:12px;background-color:#edf0f4;background-image:radial-gradient(#cfd5df .7px,transparent .7px);background-size:16px 16px;--studio-scale:1;--studio-preview-height:100%}
#studio-editor #studio-preview-content>div,#studio-editor #studio-preview-content:not(.comparing)>div{height:100%;overflow:hidden;min-height:0;background:#fff;border:1px solid #dfe3e9;border-radius:7px;box-shadow:0 4px 14px #27354e08}
#studio-editor #studio-preview-content #studio-frame,#studio-editor #studio-preview-content #studio-before-frame{width:calc(100% / var(--studio-scale));height:calc(100% / var(--studio-scale));transform:scale(var(--studio-scale));transform-origin:top left;background:#fff}
#studio-editor #studio-preview-content.comparing .studio-frame-label{display:block;height:27px;padding:6px 10px;font-size:9px;background:#fafbfc;color:#7d8593}
#studio-editor #studio-preview-content.comparing iframe{height:calc((100% - 27px) / var(--studio-scale))}
#studio-editor .studio-export{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#fff;border-top:1px solid #e5e8ed}
#studio-editor .studio-export .btn{font-size:10px;min-width:0;background:#fff;border-color:#dfe3e9;color:#5c6676}
#studio-editor .studio-export p{font-size:9px;color:#929aa6;line-height:1.6;max-width:390px}
.studio-preview-generation{position:absolute;bottom:70px;left:50%;transform:translateX(-50%);width:min(360px,85%);display:flex;align-items:center;gap:12px;padding:13px 16px;background:#ffffffed;border:1px solid #ddd7ed;border-radius:10px;box-shadow:0 10px 40px #42345418;backdrop-filter:blur(12px);pointer-events:none}
.studio-preview-generation b{display:block;font-size:11px;font-weight:600;color:#5e5479}
.studio-preview-generation div>span{display:block;font-size:9px;margin-top:4px;color:#958aa9}
#studio-editor .studio-design-panel,#studio-editor .studio-workflow-panel,#studio-editor .studio-edit-panel{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding:18px;border:0;border-radius:0;background:#fff}
#studio-editor .studio-workflow-panel h2,#studio-editor .studio-design-panel h2{font-size:17px;line-height:1.5;font-weight:600;color:#364051}
#studio-editor .studio-workflow-panel p,#studio-editor .studio-design-panel p{font-size:11px;line-height:1.8;color:#7b8594}
#studio-editor .studio-workflow-panel .eyebrow,#studio-editor .studio-design-panel .eyebrow{font-size:9px;color:#958ba8}
#studio-editor .field{font-size:11px;font-weight:500;color:#647082}
#studio-editor .field textarea,#studio-editor .field input{font-size:12px;min-height:54px;border-color:#dee3eb;border-radius:7px;background:#fff;color:#3f495a}
#studio-editor .studio-selection,#studio-editor .studio-selection-hint{background:#f6f5fa;border-color:#e2ddec;border-radius:8px;color:#80728f}
#studio-editor .studio-target-chip{font-size:10px;background:#f4f1fa;border-color:#e2dbf0;border-radius:6px;margin:0 0 8px;padding:6px 8px}
#studio-editor .studio-target-chip button{font-size:10px}
.studio-device-picker{border:0;padding:0;margin:18px 0 22px;min-width:0}
.studio-device-picker legend{font-size:12px;font-weight:600;color:#505b6d;margin-bottom:9px}
.studio-device-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.studio-device-picker label{position:relative;cursor:pointer;min-width:0}
.studio-device-picker input{position:absolute;opacity:0;width:1px;height:1px}
.studio-device-picker label>span{display:grid;justify-items:center;gap:5px;border:1px solid #dfe3eb;border-radius:8px;padding:10px 3px;color:#7e8897}
.studio-device-picker b{font-size:11px;white-space:nowrap}
.studio-device-picker small{font-size:9px;font-weight:400}
.studio-device-picker input:checked+span{background:#f3f0fb;border-color:#9786cd;color:#63509e}
.studio-device-picker input:focus-visible+span{outline:2px solid #7a68d3;outline-offset:2px}
.studio-device-picker:disabled{opacity:.55}
.studio-style-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-style-picker small{white-space:normal;text-align:center;line-height:1.35}
.studio-style-picker .studio-style-arcade>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-arcade>span{background:#fbf4e6;border:2px solid #141414;box-shadow:3px 3px 0 #141414;color:#141414}
.studio-style-picker .studio-style-arcade b{font-family:"Lab Display","Pretendard",sans-serif;font-weight:400;font-size:12px}
.studio-style-picker .studio-style-arcade input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-arcade input:checked+span{background:#ffd23f;border-color:#141414;color:#141414;box-shadow:1px 1px 0 #141414}
.studio-style-picker .studio-style-chalk>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-chalk>span{background:#23372f;border:2px dashed #f3f1e7aa;box-shadow:none;color:#f3f1e7}
.studio-style-picker .studio-style-chalk b{font-family:"Hakgyoansim Boadmarker R","Pretendard",sans-serif;font-size:12px}
.studio-style-picker .studio-style-chalk small,#studio-editor[data-appearance] .studio-style-picker .studio-style-chalk small{color:#f3f1e7;opacity:.8}
.studio-style-picker .studio-style-chalk input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-chalk input:checked+span{background:#35594a;color:#f3f1e7;outline:2px solid #f3f1e7;outline-offset:-4px}
.studio-style-picker .studio-style-notebook>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-notebook>span{background:#fffdf7;border:1px solid #d9cfbd;box-shadow:0 2px 0 #e6dfd0;color:#2f3a4a}
.studio-style-picker .studio-style-notebook b{font-family:"Hakgyoansim Manito R","Pretendard",sans-serif;font-size:12px}
.studio-style-picker .studio-style-notebook small,#studio-editor[data-appearance] .studio-style-picker .studio-style-notebook small{color:#2f3a4a;opacity:.8}
.studio-style-picker .studio-style-notebook input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-notebook input:checked+span{background:#fff1a8;color:#2f3a4a;outline:2px solid #2f3a4a;outline-offset:-4px}
.studio-style-picker .studio-style-clay>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-clay>span{background:#f3efff;border:0;box-shadow:inset -2px -2px 5px #3a33521a,inset 2px 2px 5px #ffffff,0 3px 8px #3a335224;color:#3a3352}
.studio-style-picker .studio-style-clay b{font-family:"Hakgyoansim TTeokbokki B","Pretendard",sans-serif;font-size:12px}
.studio-style-picker .studio-style-clay small,#studio-editor[data-appearance] .studio-style-picker .studio-style-clay small{color:#3a3352;opacity:.8}
.studio-style-picker .studio-style-clay input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-clay input:checked+span{background:#ffffff;color:#3a3352;outline:2px solid #3a3352;outline-offset:-4px}
.studio-style-picker .studio-style-blueprint>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-blueprint>span{background:#0f3057;border:1.5px solid #8fc3ff;box-shadow:none;color:#e8f1ff}
.studio-style-picker .studio-style-blueprint b{font-family:"Lab Sans","Pretendard",sans-serif;font-weight:700;font-size:12px}
.studio-style-picker .studio-style-blueprint small,#studio-editor[data-appearance] .studio-style-picker .studio-style-blueprint small{color:#e8f1ff;opacity:.8}
.studio-style-picker .studio-style-blueprint input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-blueprint input:checked+span{background:#1c4f8a;color:#e8f1ff;outline:2px solid #e8f1ff;outline-offset:-4px}
#studio-editor .studio-device-picker p{font-size:9px;margin:8px 0 0;color:#949ca8}
#studio-editor .studio-app-theme-actions{display:block;margin-top:24px}
#studio-editor .studio-app-theme-actions h3{font-size:14px;margin:0 0 6px}
#studio-editor .studio-app-theme-actions>p{font-size:10px;margin:0 0 12px;line-height:1.7}
.studio-app-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#studio-editor .studio-app-theme-card{display:block;min-width:0;text-align:left;padding:0;border:1px solid #dfe3eb;border-radius:9px;overflow:hidden;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
#studio-editor .studio-app-theme-card:hover:not(:disabled),#studio-editor .studio-app-theme-card:focus-visible{border-color:#8d7ac7;box-shadow:0 3px 12px #6350a416}
#studio-editor .studio-app-theme-card:disabled{opacity:.5;cursor:default}
.studio-app-theme-preview{display:block;padding:13px 10px 10px;height:136px;color:var(--theme-ink);background:var(--theme-bg);font-family:Arial,'Noto Sans KR',sans-serif}
.studio-app-theme-preview[data-font=serif]{font-family:Georgia,'Batang',serif}
.studio-app-theme-preview[data-font=rounded]{font-family:'Gaegu',cursive}
.studio-app-theme-preview[data-background=dots]{background-image:radial-gradient(color-mix(in srgb,var(--theme-accent) 20%,transparent) .7px,transparent .7px);background-size:7px 7px}
.studio-app-theme-preview[data-background=paper]{background-image:repeating-linear-gradient(0deg,transparent,transparent 14px,color-mix(in srgb,var(--theme-accent) 10%,transparent) 14px,color-mix(in srgb,var(--theme-accent) 10%,transparent) 15px)}
.studio-app-theme-preview[data-background=gradient]{background-image:linear-gradient(130deg,transparent,color-mix(in srgb,var(--theme-accent) 14%,transparent))}
.studio-theme-mini-label{display:block;font:6px/1.3 system-ui;letter-spacing:.08em;color:var(--theme-accent);margin-bottom:6px}
.studio-app-theme-preview>strong{display:block;font-size:11px;line-height:1.4;white-space:nowrap;margin-bottom:9px}
.studio-theme-mini-panel{display:block;padding:8px;background:var(--theme-surface);border:1px solid color-mix(in srgb,var(--theme-ink) 12%,transparent);border-radius:9px;font-size:7px;line-height:1.4}
[data-corners=square] .studio-theme-mini-panel{border-radius:2px}
.studio-theme-mini-panel>i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--theme-accent);margin-right:4px}
.studio-theme-mini-lines{display:block;margin:7px 0}
.studio-theme-mini-lines i{display:block;height:2px;border-radius:2px;margin:3px 0;background:var(--theme-ink);opacity:.15;width:90%}
.studio-theme-mini-lines i:last-child{width:65%}
.studio-theme-mini-action{display:block;width:max-content;padding:3px 7px;border-radius:4px;background:var(--theme-accent);color:#fff;font-size:6px}
.studio-app-theme-caption{display:grid;gap:4px;padding:10px}
.studio-app-theme-caption b{font-size:11px;color:#445062}
.studio-app-theme-caption small{font-size:9px;color:#8b94a1}
.studio-app-theme-caption>span{display:flex;justify-content:space-between;margin-top:4px;font-size:9px;color:#84729f}
.studio-app-theme-actions h3 small{margin-left:5px;color:#8790a3;font-size:10px;font-weight:500}
.studio-theme-filters{display:flex;gap:4px;margin:12px 0}
#studio-editor .studio-theme-filters button{padding:6px 9px;min-height:32px;border:1px solid transparent;border-radius:6px;background:#f3f4f7;color:#687386;font-size:10px;cursor:pointer}
#studio-editor .studio-theme-filters button[aria-pressed=true]{border-color:#d3c9ec;background:#f0ebfa;color:#62489c}
.studio-theme-filters button span{opacity:.7;margin-left:3px}
#studio-editor .studio-app-theme-card[hidden]{display:none}
.studio-app-theme-caption b{display:flex;align-items:center;justify-content:space-between;gap:4px}
.studio-app-theme-caption em{font:600 7px/1.5 system-ui;letter-spacing:.04em;color:#736293;background:#f2edfa;border-radius:3px;padding:1px 4px}
.studio-app-theme-preview{position:relative;isolation:isolate;overflow:hidden}
.studio-theme-mini-tiles{display:none}
[data-theme-look=editorial] .studio-theme-mini-label{border-top:1px solid var(--theme-ink);padding-top:5px;letter-spacing:.16em}
[data-theme-look=editorial]>strong{font-size:13px;font-weight:500;margin:9px 0}
[data-theme-look=editorial] .studio-theme-mini-panel{border:0;border-top:1px solid var(--theme-ink);background:transparent;padding:6px 0}
[data-theme-look=editorial] .studio-theme-mini-action{background:transparent;color:var(--theme-accent);padding:0;text-decoration:underline;text-underline-offset:3px}
[data-theme-look=bento] .studio-theme-mini-panel{width:65%;height:78px;border:0;border-radius:10px;box-shadow:0 3px 8px #2946670a}
[data-theme-look=bento] .studio-theme-mini-tiles{position:absolute;display:grid;gap:6px;right:10px;bottom:10px;width:28%;height:78px}
[data-theme-look=bento] .studio-theme-mini-tiles i{display:grid;place-content:center;background:#d3e2ff;border-radius:8px;font:bold 10px system-ui;color:#245ccd}
[data-theme-look=bento] .studio-theme-mini-tiles i:last-child{background:#d5ece5;color:#315c4d}
[data-theme-look=colorpop]>strong{font-size:12px;font-weight:900;text-decoration:underline;text-decoration-color:#cfbffa;text-decoration-thickness:5px;text-underline-offset:-1px}
[data-theme-look=colorpop] .studio-theme-mini-panel{border:1.5px solid var(--theme-ink);box-shadow:3px 3px 0 var(--theme-ink);border-radius:1px}
[data-theme-look=colorpop] .studio-theme-mini-action{border-radius:1px}
[data-theme-look=collage] .studio-theme-mini-panel{position:relative;border:0;box-shadow:2px 3px 0 #54324319;margin-top:12px}
[data-theme-look=collage] .studio-theme-mini-panel::before{content:'';position:absolute;width:32px;height:8px;top:-5px;left:28px;transform:rotate(-7deg);background:#c9b5deaa}
[data-theme-look=collage] .studio-theme-mini-label{display:inline-block;background:#f0d680;color:#493039;padding:2px 5px;transform:rotate(-3deg)}
[data-theme-look=aurora]{background-image:radial-gradient(at 5% 95%,#a8d6c8 0,transparent 65%),radial-gradient(at 95% 15%,#c8c3eb 0,transparent 70%)}
[data-theme-look=aurora] .studio-theme-mini-panel{background:#f8fdffcb;border:1px solid #ffffffed;box-shadow:0 4px 12px #203a4b0c;backdrop-filter:blur(4px);border-radius:13px}
[data-theme-look=retro] .studio-theme-mini-label{font-family:Consolas,monospace;color:#b5dbae;letter-spacing:.12em}
[data-theme-look=retro] .studio-theme-mini-panel{border:1px solid #6f997d;box-shadow:3px 3px 0 #080e0b;border-radius:0;padding-top:13px;position:relative}
[data-theme-look=retro] .studio-theme-mini-panel::before{content:'● ● ●';position:absolute;left:0;right:0;top:0;padding:0 4px;border-bottom:1px solid #6f997d;font:5px/9px monospace;color:#b5dbae;background:#304b3c}
[data-theme-look=retro] .studio-theme-mini-action{border:1px solid #a4cd95;border-radius:0;font-family:Consolas,monospace}
#studio-editor>.studio-history{flex:none;margin-top:8px;border:0;border-radius:6px;padding:7px 10px;background:transparent;font-size:11px;min-height:30px;color:#748091}
#studio-editor>.studio-history summary{font-size:11px;cursor:pointer}
#studio-editor>.studio-history summary span{font-size:10px;color:#9aa2ae;margin-left:10px}
#studio-editor>.studio-history[open]{position:absolute;bottom:0;left:0;right:0;z-index:8;max-height:55%;overflow:auto;padding:15px 18px;background:#fff;border:1px solid #dfe3e9;box-shadow:0 -8px 35px #23335312;border-radius:10px}
#studio-editor .studio-history-row{font-size:11px}
/* Entry point: prompt first, a concise library second. */
body:has(.studio-quick-start){background:#f6f7f9}
body:has(.studio-quick-start) .page-art,body:has(.studio-quick-start) .page-top .breadcrumb{display:none}
body:has(.studio-quick-start) .page-top{display:block;margin:22px 0 20px;padding:0;min-height:0}
body:has(.studio-quick-start) .page-top h1{font:600 clamp(25px,3vw,35px)/1.4 Arial,'Noto Sans KR',sans-serif;letter-spacing:-.04em}
body:has(.studio-quick-start) .page-top p{font-size:13px;color:#89919d;margin-top:8px}
.studio-quick-start{max-width:none;border:1px solid #e0e3eb;border-radius:13px;background:white;box-shadow:0 4px 20px #28365304;padding:24px;margin-bottom:26px}
.studio-quick-start h2{font:600 19px/1.5 Arial,'Noto Sans KR',sans-serif;color:#374253}
.studio-quick-start>.eyebrow{font-size:10px;color:#877b9f;letter-spacing:.13em}
.studio-quick-start>p{font-size:12px;color:#8a93a0}
.studio-quick-start textarea{background:#fafbfc;border-color:#dfe3eb;border-radius:8px;font-size:14px;min-height:96px}
.studio-quick-start #studio-start-form{max-width:none;width:100%}
.studio-quick-start .btn.primary{background:#6251bc;border-color:#6251bc;box-shadow:none;border-radius:8px}
body:has(.studio-quick-start) .studio-start{display:block;padding:0;background:none;border:0}
body:has(.studio-quick-start) .studio-start-copy{display:none}
body:has(.studio-quick-start) .studio-template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body:has(.studio-quick-start) .studio-template{padding:16px;border-radius:10px;border-color:#e1e5ec;box-shadow:none}
body:has(.studio-quick-start) .studio-template h3{font:600 14px/1.5 Arial,'Noto Sans KR',sans-serif;margin:12px 0 7px}
body:has(.studio-quick-start) .studio-template p{font-size:11px;line-height:1.7;min-height:40px;color:#8a94a1}
body:has(.studio-quick-start) .studio-template b{font-size:10px;color:#7c6d9d}
body:has(.studio-quick-start) .studio-template-icon{height:32px;width:32px;border-radius:8px;background:#f0edf7;color:#8370ad}
body:has(.studio-quick-start) .studio-template-icon .ui-icon{width:18px;height:18px}
body:has(.studio-quick-start) .studio-projects h2{font:600 19px/1.5 Arial,'Noto Sans KR',sans-serif}
@keyframes studio-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@keyframes studio-travel{0%{transform:translateX(-100%)}100%{transform:translateX(365%)}}
@media(min-width:761px) and (max-width:1100px){#studio-editor .studio-layout:has(.studio-composer),#studio-editor.is-comparing .studio-layout{grid-template-columns:320px minmax(0,1fr)}#studio-editor #studio-preview-content{padding:10px}.studio-app-controls>span{width:100%}#studio-editor .studio-export p{display:none}}
@media(max-width:760px){
 body:has(#main :is(#studio-editor,#studio-library)) #app>header{height:auto;min-height:90px;gap:0;padding:6px 14px 0}
 body:has(#main :is(#studio-editor,#studio-library)) header .brand-logo{width:132px;max-height:37px}
 body:has(#main :is(#studio-editor,#studio-library)) header nav{height:37px;gap:0;width:100%;flex:none;justify-content:space-between}
 body:has(#main :is(#studio-editor,#studio-library)) header nav a{font-size:12px;padding:5px 0}
 body:has(#main :is(#studio-editor,#studio-library)) #app>main.container{padding:8px}
 #studio-editor{height:calc(100dvh - 110px);min-height:570px}
 #studio-editor .studio-toolbar{min-height:30px;gap:5px;flex-direction:row;align-items:center;justify-content:space-between}
 #studio-editor .studio-toolbar .actions{width:auto;flex:none}
 #studio-editor .studio-toolbar>div:first-child{gap:7px}
 #studio-editor .studio-toolbar .tag,#studio-editor .studio-back,#studio-editor .studio-toolbar-divider,#studio-copy{display:none}
 #studio-project-title{font-size:12px;max-width:60vw}
 #studio-editor .studio-toolbar .btn{min-height:29px;font-size:10px;padding:5px 7px}
 #studio-editor .studio-app-steps{gap:13px;padding-bottom:7px}
 #studio-editor .studio-app-steps button{font-size:9px;gap:4px}
 #studio-editor .studio-app-steps i{width:17px;height:17px;font-size:8px}
 #studio-editor .studio-mobile-tabs{display:flex;flex:none;position:static;padding:2px;background:#e8ebf1;border-radius:7px;box-shadow:none;gap:3px;margin:0 0 7px}
 #studio-editor .studio-mobile-tabs button{font-size:11px;min-height:29px;padding:5px;color:#7e8796;border-radius:5px}
 #studio-editor .studio-mobile-tabs button[aria-pressed=true]{color:#60508e}
 #studio-editor .studio-layout:has(.studio-composer),#studio-editor.is-comparing .studio-layout{display:flex;min-height:0;gap:0}
 #studio-editor .studio-composer,#studio-editor .studio-preview-panel{flex:1;min-width:0;min-height:0}
 #studio-editor[data-mobile-view=make] .studio-preview-panel,#studio-editor[data-mobile-view=preview] .studio-composer{display:none}
 #studio-editor .studio-chat-scroll{padding:0 14px 12px}
 #studio-editor .studio-conversation-empty{padding:24px 4px}
 #studio-editor .studio-conversation-empty h3{font-size:17px}
 #studio-editor .studio-empty-symbol{margin-bottom:15px}
 #studio-editor .studio-modes{height:38px}
 #studio-editor .studio-chat-heading{padding:12px 14px 8px}
 #studio-editor #studio-ai-prompt{font-size:16px;min-height:74px;line-height:1.6}
 .studio-key-hint{display:none}
 #studio-editor .studio-composer-actions .studio-send-button{margin-left:auto}
 #studio-editor .studio-composer-meta{padding-top:6px}
 .studio-suggestion-list{display:none}
 #studio-editor #studio-preview-content{padding:8px;gap:7px}
 #studio-editor #studio-preview-content.comparing{--studio-scale:.48}
 #studio-editor #studio-preview-content.comparing iframe{width:calc(100% / var(--studio-scale));height:calc((100% - 27px) / var(--studio-scale))}
 #studio-editor .studio-export{display:flex;padding:7px 10px}
 #studio-editor .studio-export .btn{width:auto;font-size:10px}
 #studio-editor .studio-export p{display:none}
 #studio-editor>.studio-history{margin-top:5px;min-height:26px;padding:6px}
 #studio-editor>.studio-history summary span{display:none}
 body:has(.studio-quick-start) .studio-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .studio-quick-start{padding:18px}
}
@media(prefers-reduced-motion:reduce){.studio-orbit i,.studio-generation-track>span{animation:none}.studio-generation-track>span{background:#9b8abf;width:100%;opacity:.45}.studio-prompt-box{transition:none}}
.studio-app-design-help{margin:12px 0;color:#7d8495;font-size:11px;line-height:1.7}
.studio-app-design-help summary{cursor:pointer;width:fit-content}
.studio-app-design-help p{margin:8px 0}

.studio-font-library{margin:18px 0;border:1px solid #e6e2ee;border-radius:9px;padding:12px;background:#fbfafc}.studio-font-library summary{font-size:13px;font-weight:650;cursor:pointer}.studio-font-library summary small{display:block;font-size:10px;font-weight:400;color:#9388a3;margin:4px 0}.studio-font-library p,.studio-font-library label{font-size:11px;line-height:1.6}.studio-font-library select{border:1px solid #ded8e9;padding:6px;border-radius:5px;background:#fff;font:11px system-ui;max-width:100%}.studio-font-grid{display:grid;gap:7px;margin:12px 0}.studio-font-grid button{border:1px solid #e5e1ed;background:#fff;padding:11px;text-align:left;border-radius:7px;cursor:pointer}.studio-font-grid button:hover{border-color:#8e75c2;background:#f5f1fc}.studio-font-grid small{display:block;font-size:9px;color:#9890a5}.studio-font-grid span{display:block;font-size:19px;line-height:1.7;margin:4px 0;overflow-wrap:anywhere}.studio-font-grid b{font-size:10px;font-weight:500;color:#69738a}.studio-font-library>small{font-size:10px;line-height:1.6;color:#8a8494}
/* Game and glass packs */
.studio-style-picker .studio-style-handheld>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-handheld>span{background:#ff6ec7;border:3px solid #1a0c4d;box-shadow:3px 3px 0 #1a0c4d;color:#1a0c4d}
.studio-style-picker .studio-style-handheld b{font-family:"Lab Display","Pretendard",sans-serif;font-weight:400;font-size:12px}
.studio-style-picker .studio-style-handheld small,#studio-editor[data-appearance] .studio-style-picker .studio-style-handheld small{color:#1a0c4d;opacity:.85}
.studio-style-picker .studio-style-handheld input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-handheld input:checked+span{background:#ffcc33;color:#1a0c4d;outline:2px solid #1a0c4d;outline-offset:-4px}
.studio-style-picker .studio-style-synthwave>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-synthwave>span{background:linear-gradient(180deg,#7b16c9,#2a0b5e);border:2px solid #3ff3ff;box-shadow:0 0 10px #3ff3ff88;color:#ffd23f}
.studio-style-picker .studio-style-synthwave b{font-family:"Lab Display","Pretendard",sans-serif;font-weight:400;font-size:12px}
.studio-style-picker .studio-style-synthwave small,#studio-editor[data-appearance] .studio-style-picker .studio-style-synthwave small{color:#fdf6ff;opacity:.85}
.studio-style-picker .studio-style-synthwave input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-synthwave input:checked+span{background:linear-gradient(180deg,#ff3fd2,#8a5cff);color:#fff;outline:2px solid #3ff3ff;outline-offset:-4px}
.studio-style-picker .studio-style-y2k>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-y2k>span{background:linear-gradient(90deg,#7fe7f2,#ff9ee6);border:2px solid #3b1f5c;box-shadow:4px 4px 0 #3b1f5c38;color:#3b1f5c}
.studio-style-picker .studio-style-y2k b{font-family:"Lab Display","Pretendard",sans-serif;font-weight:400;font-size:12px}
.studio-style-picker .studio-style-y2k small,#studio-editor[data-appearance] .studio-style-picker .studio-style-y2k small{color:#3b1f5c;opacity:.85}
.studio-style-picker .studio-style-y2k input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-y2k input:checked+span{background:#ffd166;color:#3b1f5c;outline:2px solid #3b1f5c;outline-offset:-4px}
.studio-style-picker .studio-style-glass>span,#studio-editor[data-appearance] .studio-style-picker .studio-style-glass>span{background:#ffffffb3;border:1px solid #ffffff;box-shadow:0 6px 16px #3f8cff33;color:#2c3e73}
.studio-style-picker .studio-style-glass b{font-family:"Maker Sans","Pretendard",sans-serif;font-weight:800;font-size:12px}
.studio-style-picker .studio-style-glass small,#studio-editor[data-appearance] .studio-style-picker .studio-style-glass small{color:#2c3e73;opacity:.85}
.studio-style-picker .studio-style-glass input:checked+span,#studio-editor[data-appearance] .studio-style-picker .studio-style-glass input:checked+span{background:linear-gradient(135deg,#36c9f2,#3f8cff);color:#fff;outline:2px solid #2c3e73;outline-offset:-4px}
