.studio-ai-trigger{color:var(--text,#222);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:7px;max-width:100%;padding:6px 8px;font-size:12px;display:inline-flex}.studio-ai-trigger:hover{background:var(--soft,#f1f1f1)}.studio-ai-trigger>span,.studio-ai-status-dot{background:var(--muted,#777);border-radius:50%;flex:none;width:6px;height:6px}.studio-ai-trigger>span.is-connected,.studio-ai-status-dot{background:#22815d}.studio-ai-dialog{border:1px solid var(--line,#ddd);background:var(--surface,#fff);width:calc(100vw - 32px);max-width:540px;max-height:calc(100dvh - 40px);color:var(--text,#222);border-radius:4px;padding:0;overflow:auto}.studio-ai-dialog::backdrop{background:#0000004d}.studio-ai-dialog-content{padding:28px}.studio-ai-dialog header{justify-content:space-between;align-items:center;gap:16px;display:flex}.studio-ai-dialog h2{margin:0;font-size:20px;line-height:1.3}.studio-ai-dialog header button{color:inherit;cursor:pointer;background:0 0;border:0;padding:6px}.studio-ai-dialog p{color:var(--muted,#666);margin:12px 0;font-size:13px;line-height:1.6}.studio-ai-providers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 0;display:grid}.studio-ai-providers button{border:1px solid var(--line,#e4e4e4);background:var(--surface,#fff);min-width:0;min-height:116px;font:inherit;color:var(--muted,#757575);cursor:pointer;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px 6px;font-size:13px;transition:border-color .15s,background .15s,color .15s;display:flex;position:relative}.studio-ai-providers button:hover{background:var(--soft,#f6f6f6);border-color:var(--muted,#888)}.studio-ai-providers button[aria-pressed=true]{border-color:var(--text,#222);box-shadow:0 0 0 1px var(--text,#222)}.studio-ai-providers button.is-connected{color:var(--text,#161616)}.studio-ai-brand-mark{justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:relative}.studio-ai-provider-logo{flex:none;width:28px;height:28px}.studio-ai-brand-check{color:#fff;border:2px solid var(--surface,#fff);background:#22815d;border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;bottom:-3px;right:-8px}.studio-ai-provider-name{font-weight:550}.studio-ai-providers small{color:var(--muted,#777);white-space:nowrap;font-size:11px;font-weight:400;line-height:1.4}.studio-ai-provider-panel{border:1px solid var(--line,#e4e4e4);border-radius:4px;margin-top:16px;padding:22px}.studio-ai-panel-heading h3{letter-spacing:-.015em;margin:0;font-size:16px;font-weight:600;line-height:1.4}.studio-ai-panel-heading p{margin:6px 0 18px}.studio-ai-methods{margin-bottom:22px}.studio-ai-account>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.studio-ai-account strong{font-size:13px;font-weight:550}.studio-ai-account>div>span{color:var(--muted,#666);font-size:11px}.studio-ai-account>div>span.studio-ai-connected-label{color:var(--green,#22815d)}.studio-ai-account p{margin:8px 0 16px;font-size:12px}.studio-ai-account-actions,.studio-ai-key-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.studio-ai-key-form{margin-top:18px}.studio-ai-key{flex-direction:column;gap:8px;font-size:12px;font-weight:500;display:flex}.studio-ai-key-help{color:var(--muted,#666);margin-top:10px;font-size:12px;line-height:1.6;display:block}.studio-ai-key-actions>.ui-btn.is-block,.studio-ai-chatgpt-actions>.ui-btn.is-primary{margin-top:16px}.studio-ai-confirm{border-top:1px solid var(--line,#ddd);margin-top:16px;padding-top:12px}.studio-ai-subscription-note strong{font-size:13px;font-weight:500;line-height:1.5}.studio-ai-legacy{border-top:1px solid var(--line,#ddd);margin-top:20px;padding-top:14px;font-size:12px;line-height:1.5}.studio-ai-legacy summary{color:var(--muted,#666);cursor:pointer}.studio-ai-login{flex-direction:column;align-items:center;gap:12px;padding:16px 0 0;display:flex}.studio-ai-login strong{letter-spacing:.08em;font-size:24px}.studio-ai-login a{color:inherit;text-underline-offset:3px;font-size:14px}.studio-ai-login small{color:var(--muted,#666);font-size:12px}.studio-ai-login>button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px;font-size:12px}.studio-ai-dialog p.studio-ai-error{color:var(--red,#b42318)}.studio-ai-error a{color:inherit}.studio-ai-status-retry button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;text-decoration:underline}.studio-ai-dialog footer{border-top:1px solid var(--line,#ddd);color:var(--muted,#666);margin-top:22px;padding-top:16px;font-size:12px;line-height:1.6}.studio-ai-dialog button:disabled{opacity:.5;cursor:default}.studio-ai-dialog button:focus-visible{outline:2px solid var(--text,#222);outline-offset:3px}.studio-ai-dialog a:focus-visible{outline:2px solid var(--text,#222);outline-offset:3px}.studio-ai-trigger:focus-visible{outline:2px solid var(--text,#222);outline-offset:3px}.studio-ai-account .needs-reconnect{color:var(--red,#b42318)}.studio-eleven-key-list{margin:0;padding:0;list-style:none}.studio-eleven-key-list>li{border-bottom:1px solid var(--line,#ddd);padding:12px 0}.studio-eleven-key-list>li:first-child{padding-top:0}.studio-eleven-key-list>li p{margin:6px 0 10px}.studio-eleven-rename .studio-ai-key-actions{margin-top:10px}.studio-eleven-add{margin-top:14px}@media (max-width:420px){.studio-ai-dialog-content{padding:20px}.studio-ai-providers{gap:7px}.studio-ai-providers button{min-height:104px;padding:14px 3px;font-size:12px}.studio-ai-providers small{font-size:10px}.studio-ai-provider-panel{padding:18px}.studio-ai-account-actions{gap:6px}}@media (prefers-reduced-motion:reduce){.studio-ai-providers button{transition:none}}.studio-ai-provider-group{margin-top:24px}.studio-ai-method-availability{color:var(--muted,#666);margin-left:6px;font-size:10px;line-height:1.4;display:inline-block}.studio-ai-subscription-info{color:var(--muted,#666);text-underline-offset:3px;font-size:12px;line-height:1.5}.studio-ai-subscription-info:focus-visible{outline:2px solid var(--text,#222);outline-offset:3px}.studio-ai-inline .studio-ai-provider-group:first-child{margin-top:0}.studio-ai-group-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.studio-ai-group-heading h3{margin:0;font-size:14px;font-weight:600;line-height:1.5}.studio-ai-group-heading>span{color:var(--muted,#666);font-size:12px;line-height:1.5}.studio-ai-providers button.is-connected small{color:#22815d}.studio-ai-audio-group{border-top:1px solid var(--line,#e4e4e4);padding-top:24px}.studio-ai-audio-provider{display:block}.studio-ai-audio-provider button{text-align:left;grid-template-columns:40px minmax(0,1fr) auto 16px;gap:3px 14px;width:100%;min-height:84px;padding:18px;display:grid}.studio-ai-audio-provider .studio-ai-brand-mark{grid-area:1/1/3}.studio-ai-audio-provider .studio-ai-provider-name{grid-area:1/2}.studio-ai-audio-provider .studio-ai-provider-purpose{color:var(--muted,#666);grid-area:2/2;font-size:12px;line-height:1.5}.studio-ai-audio-provider small{grid-area:1/3/3}.studio-ai-audio-provider .studio-ai-provider-caret{grid-area:1/4/3}.studio-ai-audio-provider button[aria-pressed=true] .studio-ai-provider-caret{transform:rotate(90deg)}@media (max-width:420px){.studio-ai-audio-provider button{grid-template-columns:32px minmax(0,1fr) 16px;gap:3px 12px;padding:16px}.studio-ai-audio-provider .studio-ai-brand-mark{grid-row:1/4}.studio-ai-audio-provider small{grid-area:3/2}.studio-ai-audio-provider .studio-ai-provider-caret{grid-area:1/3/4}}@media (prefers-color-scheme:dark){.studio-ai-providers button.is-connected small{color:#72cdaa}}.studio-ai-recommend{border:1px solid var(--line-strong,#d4d4d4);color:var(--muted,#757575);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:600;line-height:1.5;display:inline-block}.studio-ai-audio-provider .studio-ai-recommend{grid-area:3/2;justify-self:start}.studio-ai-plan{border:1px solid var(--line,#e4e4e4);background:var(--soft,#f6f6f6);border-radius:10px;gap:12px;margin:0 0 16px;padding:14px;display:grid}.studio-ai-plan.is-loading{color:var(--muted,#666);font-size:12px}.studio-ai-plan-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.studio-ai-plan-head b{color:var(--text,#161616);font-size:14px;font-weight:600}.studio-ai-plan-head span{color:var(--muted,#666);overflow-wrap:anywhere;font-size:12px}.studio-ai-meter{gap:6px;display:grid}.studio-ai-meter>div{justify-content:space-between;gap:12px;font-size:12px;display:flex}.studio-ai-meter>div span{color:var(--text,#161616);font-weight:550}.studio-ai-meter>div small{color:var(--muted,#666);white-space:nowrap;font-size:12px}.studio-ai-meter>i{background:var(--line,#e4e4e4);border-radius:999px;height:6px;display:block;overflow:hidden}.studio-ai-meter>i>b{border-radius:inherit;background:var(--mint,#b8edd7);height:100%;transition:width .4s;display:block}.studio-ai-meter>i>b.is-mid{background:#e0b366}.studio-ai-meter>i>b.is-high{background:#ef9696}.studio-key-row{gap:10px;display:grid}.studio-ai-account.studio-key-row{margin-top:4px}.studio-key-row .studio-ai-plan{margin:0}.studio-ai-account>div.studio-key-row-main,.studio-key-row-main{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:10px;min-height:36px;display:flex}.studio-key-row-name{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.studio-key-row-name strong{white-space:nowrap;text-overflow:ellipsis;color:var(--text,#161616);font-size:13px;font-weight:600;overflow:hidden}.studio-key-row-main>small{color:var(--muted,#666);white-space:nowrap;flex:none;font-size:12px}.studio-key-row-tag{background:var(--soft,#f2f2f2);color:var(--muted,#666);border-radius:999px;flex:none;padding:1px 7px;font-size:11px;font-style:normal;font-weight:600;line-height:1.5}.studio-key-row-tag.is-good{background:color-mix(in srgb,var(--green,#22815d) 14%,transparent);color:var(--green,#22815d)}.studio-key-row-tag.is-bad{background:color-mix(in srgb,var(--red,#b42318) 14%,transparent);color:var(--red,#b42318)}.studio-key-row-extra{border-top:1px solid var(--line,#e4e4e4);margin:0;padding-top:10px}.studio-key-row-extra p{color:var(--muted,#666);margin:0 0 10px;font-size:12px}.studio-key-rename .ui-input{flex:1;height:32px}.studio-eleven-key-list>li.studio-key-row{padding:8px 0}.studio-key-add{color:var(--muted,#666);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:10px;padding:6px 0;font-size:13px;font-weight:550}.studio-key-add:hover:not(:disabled){color:var(--text,#161616)}.studio-row-menu{flex:none;position:relative}.studio-row-menu-button{width:32px;height:32px;color:var(--muted,#666);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;display:grid}.studio-row-menu-button:hover,.studio-row-menu-button[aria-expanded=true]{border-color:var(--line,#e4e4e4);background:var(--soft,#f2f2f2);color:var(--text,#161616)}.studio-row-menu-list{z-index:30;border:1px solid var(--line,#e4e4e4);background:var(--surface,#fff);border-radius:10px;min-width:168px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 32px #0000002e}.studio-row-menu-list button{color:var(--text,#161616);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 10px;font-size:13px}.studio-row-menu-list button:hover{background:var(--soft,#f2f2f2)}.studio-row-menu-list button.is-danger{color:var(--red,#b42318)}.studio-key-meter{margin:-2px 0 2px}.studio-key-meter>div span{font-weight:500}.studio-key-row-note{color:var(--muted,#666);font-size:12px}.studio-ai-providers button.is-connected{border-color:color-mix(in srgb,var(--green,#22815d) 45%,var(--line,#e4e4e4))}.studio-ai-providers button.is-connected:hover{border-color:color-mix(in srgb,var(--green,#22815d) 65%,var(--line,#e4e4e4))}.rend-shader-field{background:radial-gradient(at 30% 25%,#b8edd740 0,#0000 45%),radial-gradient(at 75% 70%,#1f4a5acc 0,#0000 55%),#141619;overflow:hidden}.rend-shader-field>*{animation:1.2s both rendShaderIn}@keyframes rendShaderIn{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.rend-shader-field>*{animation:none}}
