/* One visual system over the existing product flows. */
html.studio-premium.studio-refresh {
  --fundo:#0e1012;--painel:#171a1e;--painel-2:#20242a;--caixa:#171a1e;
  --caixa-borda:#33383f;--borda:#2b3036;--texto:#f0f2f4;--suave:#a1a8b1;--apagado:#8c959f;
  --lima:#c9f55a;--lima-forte:#dafd85;--lima-fundo:#c9f55a0d;
  --refresh-line:#ffffff0b;--refresh-hover:#ffffff04;--refresh-glass:#14171bed;
  --step-circle:#14171b;--step-outline:#3c434c;--step-line:#30353c;--step-label:#9da6b1;
  --step-active:#c9f55a;--step-halo:#c9f55a0c;
}
html.studio-refresh[data-theme=light] {
  --fundo:#f7f8fa;--painel:#fff;--painel-2:#edf0f4;--caixa:#fff;
  --caixa-borda:#cbd1d8;--borda:#dfe3e8;--texto:#20262e;--suave:#596574;--apagado:#667181;
  --refresh-line:#20262e0d;--refresh-hover:#20262e04;--refresh-glass:#ffffffed;
  --step-circle:#f7f8fa;--step-outline:#c2cad3;--step-line:#dce1e7;--step-label:#64707e;
}
html.studio-refresh body{background:var(--fundo);font-family:Inter,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
html.studio-refresh body::before{background:radial-gradient(ellipse 65% 36% at 12% -12%,#bdfa3610,transparent 80%);opacity:.6}
html.studio-premium.studio-refresh header{width:100%;max-width:none;margin:0;padding:16px max(28px,calc((100% - 1180px)/2));min-height:84px;gap:28px;border:0;border-bottom:1px solid var(--refresh-line);border-radius:0;background:var(--refresh-glass);box-shadow:none}
html.studio-premium.studio-refresh header .logo-imagem{width:176px}
html.studio-premium.studio-refresh header .abas{gap:8px!important}
html.studio-premium.studio-refresh header .aba{min-width:64px;height:44px;padding:10px 14px!important;font-size:13px;font-weight:500;border-radius:6px}
html.studio-premium.studio-refresh header .aba.sel{background:transparent;font-weight:600}
html.studio-premium.studio-refresh header .aba.sel::after{left:14px;right:14px;bottom:0;height:2px;background:var(--lima);box-shadow:none}
html.studio-refresh header #pillCreditos{background:var(--painel-2)!important;border:1px solid var(--borda)!important;border-radius:8px!important;box-shadow:none!important;min-height:36px;color:var(--suave)!important;padding:8px 12px!important}
html.studio-refresh header #pillCreditos .cota-ponto{width:5px;height:5px;background:var(--lima);box-shadow:none}
html.studio-refresh header #pillCreditos b{color:var(--texto)!important;font-size:13px}
html.studio-refresh header .avatar{width:34px;height:34px;padding:1px;box-shadow:none}
html.studio-refresh header .avatar span{background:var(--painel-2);color:var(--texto);font-size:12px;font-weight:500}
html.studio-refresh header .conta-area{gap:12px}
html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEstetica,#telaGaleria,#telaIdeias){max-width:1096px;padding:42px 28px 70px}
html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEstetica,#telaGaleria,#telaEditor)>h1{font:600 clamp(30px,3.3vw,42px)/1.13 Inter,'Segoe UI',sans-serif;text-align:left;letter-spacing:-1.7px;margin:4px 0 12px}
html.studio-refresh main>.sub{text-align:left;font-size:14px;line-height:1.65;max-width:690px;margin:0 0 32px;color:var(--suave)}
html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEditor) h2{font-size:14px;letter-spacing:-.15px;font-weight:550;text-transform:none;margin-bottom:14px}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passos-nav{max-width:650px;margin:8px 0 30px}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-aba{min-height:84px;padding:10px 2px 6px;gap:9px;font-size:12px}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-num{width:28px;height:28px;flex-basis:28px;font-size:11px;font-weight:600}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-aba::before{top:24px;left:calc(-50% + 19px);right:calc(50% + 19px)}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-aba.atual .passo-num{box-shadow:0 0 0 4px var(--step-halo)}
html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-aba .bonus-tag{margin-top:-5px;font-size:9px;text-shadow:0 0 8px #bd86ff55}
html.studio-premium.studio-refresh :is(#telaCriar,#telaAnimar) .campo-composer{border:1px solid var(--caixa-borda);border-radius:14px;background:var(--caixa);box-shadow:0 6px 24px #0000000c;transition:border-color .16s,box-shadow .16s}
html.studio-premium.studio-refresh :is(#telaCriar,#telaAnimar) .campo-composer:focus-within{border-color:color-mix(in srgb,var(--lima) 43%,var(--borda));box-shadow:0 0 0 3px var(--lima-fundo)}
html.studio-refresh .campo-composer textarea{font-size:16px;line-height:1.7;font-weight:400;letter-spacing:0}
html.studio-refresh .campo-composer textarea::placeholder{color:var(--apagado);opacity:1}
html.studio-refresh #telaCriar .campo-composer textarea{min-height:128px}
html.studio-refresh #telaCriar .campo-composer.com-refs.character-has-selection textarea,html.studio-refresh #telaCriar .campo-composer.com-refs:has(.refs-previews:not(:empty)) textarea{min-height:92px}
html.studio-refresh #telaCriar #btnIdeiaSeguir{border-radius:9px;width:42px;min-width:42px;height:42px;min-height:42px;background:var(--lima);color:#202a11;border-color:transparent;box-shadow:none}
html.studio-refresh #telaCriar #btnIdeiaSeguir:not(:disabled):hover{background:var(--lima-forte);color:#202a11;filter:none}
html.studio-refresh #telaCriar #btnIdeiaSeguir:disabled{background:var(--painel-2);color:var(--apagado);opacity:.65}
html.studio-refresh :is(.btn-continuar,.free-btn,.character-button,.res-btn,.editor-btn,.ideas-btn){border-radius:9px;box-shadow:none;font-weight:550;letter-spacing:0;min-height:42px}
html.studio-refresh :is(#btnGerar,#btnAnimar,#btnExportar,.free-primary,.character-primary){background:var(--lima);border-color:transparent;color:#202a11;box-shadow:none;border-radius:10px;font-weight:600}
html.studio-refresh :is(#btnGerar,#btnAnimar,#btnExportar,.free-primary,.character-primary):not(:disabled):hover{background:var(--lima-forte);filter:none;box-shadow:0 3px 14px #c9f55a12}
html.studio-refresh :is(#telaCriar,#telaAnimar) .estetica{border-radius:12px;border-color:var(--borda);background:var(--painel);box-shadow:none;overflow:hidden}
html.studio-refresh :is(#telaCriar,#telaAnimar) .estetica.sel{border-color:var(--lima);box-shadow:0 0 0 1px var(--lima)}
html.studio-refresh .estetica .thumb{aspect-ratio:4/5;filter:none}
html.studio-refresh .estetica .info{padding:15px 16px 17px}
html.studio-refresh .estetica .nome{font-size:14px;font-weight:600;letter-spacing:0;text-transform:none}
html.studio-refresh .estetica .desc{font-size:12px;line-height:1.6;color:var(--suave);margin-top:6px}
html.studio-refresh .seta{width:36px;height:36px;border-radius:50%;background:var(--refresh-glass);border:1px solid var(--borda);color:var(--texto);box-shadow:0 3px 12px #0002}
html.studio-refresh .formato{border-radius:11px;background:var(--painel);border-color:var(--borda);box-shadow:none}
html.studio-refresh .formato.sel{border-color:var(--lima);background:var(--lima-fundo)}
html.studio-refresh :is(.menu-conta,.loja-caixa,.free-dialog,.character-dialog,.picker-caixa){background:var(--painel);color:var(--texto);border:1px solid var(--borda);border-radius:16px;box-shadow:0 24px 70px #0004}
html.studio-refresh #menuConta{padding:22px;box-shadow:0 20px 65px #0005}
html.studio-refresh #menuConta .free-upgrade-banner{border-color:#b9ee3838;border-radius:12px;box-shadow:none}
html.studio-refresh #menuConta .free-upgrade-action a{box-shadow:none;background:var(--lima);border-color:transparent;border-radius:8px}
html.studio-refresh #telaEstetica .my-style-content{max-width:none;margin-top:30px}
html.studio-refresh .characters-eyebrow{color:var(--suave);letter-spacing:1.5px;font-size:9px;font-weight:500}
html.studio-refresh :is(.characters-style-heading,.characters-heading) h2{font-size:23px;font-weight:550;letter-spacing:-.6px}
html.studio-refresh :is(.characters-style-heading,.characters-heading) p{font-size:13px;color:var(--suave)}
html.studio-refresh #telaEstetica .free-upload{border-color:var(--caixa-borda);border-radius:12px;min-height:156px;background:var(--painel)}
html.studio-refresh .my-style-slot{border-color:var(--borda);background:var(--refresh-hover);border-radius:10px}
html.studio-refresh .characters-grid{gap:18px}
html.studio-refresh .character-empty{min-height:260px;border-color:var(--caixa-borda);background:var(--painel);border-radius:12px;box-shadow:none}
html.studio-refresh .character-empty:hover{border-color:var(--lima);background:var(--painel-2)}
html.studio-refresh .character-empty.character-slot-locked{background:var(--refresh-hover);border-color:var(--borda)}
html.studio-refresh .character-empty.character-slot-locked:hover{border-color:var(--borda);background:var(--refresh-hover)}
html.studio-refresh .character-card{border:1px solid var(--borda);border-radius:12px;box-shadow:none;background:var(--painel)}
html.studio-refresh .character-add{width:36px;height:36px;border-radius:10px;border-color:var(--borda);font-size:23px}
html.studio-refresh #personagensConteudo{margin-top:48px;padding-top:30px;border-color:var(--refresh-line)}
html.studio-refresh .gal-subabas{justify-content:flex-start;gap:4px;margin-bottom:24px}
html.studio-refresh .gal-subaba{border-radius:8px;border-color:transparent;min-height:40px;color:var(--suave);font-size:13px}
html.studio-refresh .gal-subaba.sel{background:#b99bef15;border-color:#b99bef25;color:var(--texto)}
html.studio-refresh .gal-item{border-radius:12px;border-color:var(--borda)}
html.studio-refresh :is(.painel-clipes,.tl-painel,.preview-caixa){border-color:var(--borda);border-radius:12px;background:var(--painel);box-shadow:none}
html.studio-refresh .aviso-frame{border-radius:10px;font-size:12px;color:var(--suave);background:var(--refresh-hover);border-color:var(--borda)}
html.studio-refresh footer{border-top:1px solid var(--refresh-line);margin:0 28px;padding:25px 0;font-size:11px;color:var(--apagado)}

/* Inspiration is part of the workspace, not an advertising banner. */
html.studio-refresh .ideas-entry{margin:32px 0 0;padding:24px 0 0;border:0;border-top:1px solid var(--borda);border-radius:0;background:none}
html.studio-refresh .ideas-entry-head h2{font-size:16px!important;font-weight:550;letter-spacing:-.3px}
html.studio-refresh .ideas-entry .ideas-updated{font-size:11px;margin:4px 0 14px}
html.studio-refresh .ideas-entry-list>li+li{border:0;margin-top:3px}
html.studio-refresh .ideas-teaser{padding:11px 14px;min-height:48px;grid-template-columns:6px minmax(0,1fr) 20px;gap:14px;border-radius:9px;background:var(--refresh-hover);border:1px solid transparent}
html.studio-refresh .ideas-teaser .ideas-list-number{font-size:0;width:5px;height:5px;border-radius:50%;background:var(--ideas-accent-ink);opacity:.85}
html.studio-refresh .ideas-teaser strong{font-size:14px;font-weight:450}
html.studio-refresh .ideas-teaser .ideas-teaser-arrow{font-size:16px;color:var(--suave)}
html.studio-refresh .ideas-teaser:hover{background:var(--painel);border-color:var(--borda)}
html.studio-refresh .ideas-teaser:hover strong{color:var(--ideas-accent-ink)}
html.studio-refresh .ideas-catalog{border:0}
html.studio-refresh .ideas-catalog>li+li{border-top:1px solid var(--refresh-line)}
html.studio-refresh .ideas-topic{padding:20px 12px;border-radius:10px;gap:22px}
html.studio-refresh .ideas-topic-title{font-size:19px;font-weight:500}
html.studio-refresh .ideas-topic-summary{font-size:13px;max-width:660px;margin-top:5px}
html.studio-refresh .ideas-topic-action{border:1px solid var(--borda);border-radius:7px;padding:7px 12px;color:var(--suave)}
html.studio-refresh .ideas-back{font-size:12px;color:var(--suave);min-height:40px}
html.studio-refresh .ideas-detail-head{margin:22px 0 0}
html.studio-refresh .ideas-detail-head h1{font:550 clamp(28px,3.3vw,38px)/1.15 Inter,sans-serif;letter-spacing:-1.4px;margin:9px 0 13px}
html.studio-refresh .ideas-lead{font-size:15px;line-height:1.6;color:var(--suave);max-width:700px;margin-bottom:0}
html.studio-refresh .ideas-guide{padding:0;margin:12px 0 24px;border:0;background:none;font-size:12px}
html.studio-refresh .ideas-references{padding:0 0 18px;margin:0 0 25px;border:0;border-bottom:1px solid var(--borda);border-radius:0;background:none}
html.studio-refresh .ideas-references>summary{font-size:12px;color:var(--suave);font-weight:450;min-height:36px;cursor:pointer;line-height:1.7;overflow-wrap:anywhere}
html.studio-refresh .ideas-ref-grid{padding-top:16px;max-width:760px}
html.studio-refresh .ideas-script-toolbar{margin:0 0 15px}
html.studio-refresh .ideas-script-toolbar h2{font-size:15px!important;font-weight:500;letter-spacing:0}
html.studio-refresh .ideas-script-toolbar>.ideas-btn{border:0;background:none;color:var(--suave);padding:6px 0;font-size:12px}
html.studio-refresh .ideas-scenes{gap:8px}
html.studio-refresh .ideas-scene{display:block;padding:0;border:1px solid var(--refresh-line);border-radius:12px;background:var(--painel);overflow:hidden}
html.studio-refresh .ideas-beat-head{display:grid;grid-template-columns:25px minmax(0,1fr) 16px;align-items:center;gap:17px;padding:19px 22px;cursor:pointer;list-style:none;min-height:82px}
html.studio-refresh .ideas-beat-head::-webkit-details-marker{display:none}
html.studio-refresh .ideas-beat-head:focus-visible{outline:2px solid var(--lima);outline-offset:-4px;border-radius:10px}
html.studio-refresh .ideas-beat-head:hover{background:var(--refresh-hover)}
html.studio-refresh .ideas-scene-number{font-size:12px;font-weight:500;letter-spacing:0;color:var(--suave);align-self:start;margin-top:3px}
html.studio-refresh .ideas-beat-label strong{font-size:15px;font-weight:550;line-height:1.4;display:block}
html.studio-refresh .ideas-beat-action{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:var(--suave)}
html.studio-refresh .ideas-chevron{width:7px;height:7px;border-right:1.5px solid var(--suave);border-bottom:1.5px solid var(--suave);transform:rotate(45deg);margin:0 4px 5px}
html.studio-refresh .ideas-beat[open]>.ideas-beat-head .ideas-chevron{transform:rotate(225deg);margin-top:6px}
html.studio-refresh .ideas-beat[open]>.ideas-beat-head .ideas-scene-number{color:var(--lima)}
html.studio-refresh .ideas-scene-content{padding:0 22px 22px 64px}
html.studio-refresh .ideas-prompt-label{font-size:10px;color:var(--suave);text-transform:uppercase;letter-spacing:.8px;border-top:1px solid var(--borda);padding-top:17px;margin:0 0 8px}
html.studio-refresh .ideas-image-prompt{font-size:14px;line-height:1.8;margin-bottom:14px;max-width:800px}
html.studio-refresh .ideas-ref-instruction{font-size:12px;margin-bottom:14px}
html.studio-refresh .ideas-scene-actions{margin-top:14px;justify-content:flex-end}
html.studio-refresh .ideas-prompt{border:0}.studio-refresh .ideas-prompt summary{min-height:36px}
html.studio-refresh .ideas-sources{font-size:11px;border-top:0;margin-top:15px;padding:12px 0}
@media(min-width:1100px){html.studio-refresh .ideas-entry{display:grid;grid-template-columns:230px minmax(0,1fr);column-gap:55px}.studio-refresh .ideas-entry-head{display:block}.studio-refresh .ideas-entry .ideas-updated{grid-column:1;align-self:start;margin-top:8px}.studio-refresh .ideas-entry-list{grid-column:2;grid-row:1/4}.studio-refresh .ideas-entry h2{max-width:210px;line-height:1.55}}
@media(max-width:900px){html.studio-premium.studio-refresh header{gap:16px;padding:15px 22px}html.studio-premium.studio-refresh header .logo-imagem{width:155px}html.studio-premium.studio-refresh header .abas{gap:0!important}}
@media(max-width:800px){html.studio-premium.studio-refresh header{display:grid;grid-template-columns:1fr auto;gap:10px 16px;padding:16px 22px 7px}.studio-refresh header .abas{padding:4px 0 0}.studio-refresh header .aba.sel::after{bottom:0}}
@media(max-width:600px){
  html.studio-premium.studio-refresh header{padding:15px 16px 4px;gap:11px 10px}
  html.studio-premium.studio-refresh header .logo-imagem{width:125px}
  html.studio-premium.studio-refresh header .aba{height:44px;padding:10px 2px!important;min-width:0;font-size:12px}
  html.studio-premium.studio-refresh header .aba.sel::after{left:12px;right:12px}
  html.studio-refresh header .conta-area{gap:7px}
  html.studio-refresh header #pillCreditos{padding:6px 9px!important;min-height:32px;font-size:10px}
  html.studio-refresh header #pillCreditos b{font-size:12px}
  html.studio-refresh header .avatar{width:30px;height:30px}
  html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEstetica,#telaGaleria,#telaIdeias){padding:28px 18px 48px}
  html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEstetica,#telaGaleria,#telaEditor)>h1{font-size:29px;letter-spacing:-1.1px;margin-top:0}
  html.studio-refresh main>.sub{font-size:13px;line-height:1.65;margin-bottom:24px}
  html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passos-nav{margin-bottom:24px;max-width:none}
  html.studio-premium.studio-refresh.connected-steps :is(#telaCriar,#telaAnimar) .passo-aba{font-size:11px;min-height:78px}
  html.studio-refresh #telaCriar .campo-composer textarea{min-height:138px}
  html.studio-refresh #telaCriar #btnIdeiaSeguir{width:44px;height:44px;min-width:44px;min-height:44px}
  html.studio-refresh .ideas-entry{margin-top:25px;padding-top:22px}
  html.studio-refresh .ideas-entry-head h2{font-size:16px!important;line-height:1.5}
  html.studio-refresh .ideas-teaser{padding:13px 10px;gap:10px;min-height:50px}
  html.studio-refresh .ideas-topic{padding:17px 2px;gap:4px 10px}.studio-refresh .ideas-topic-title{font-size:16px!important}.studio-refresh .ideas-topic-action{border:0!important;padding:4px 0!important;margin-top:3px}
  html.studio-refresh .ideas-detail-head h1{font-size:29px;letter-spacing:-1px}
  html.studio-refresh .ideas-lead{font-size:14px}
  html.studio-refresh .ideas-beat-head{grid-template-columns:22px minmax(0,1fr) 12px;padding:17px 15px;gap:10px}
  html.studio-refresh .ideas-beat-label strong{font-size:14px}.studio-refresh .ideas-beat-action{font-size:12px}
  html.studio-refresh .ideas-scene-content{padding:0 16px 18px}
  html.studio-refresh .ideas-btn{min-height:44px}
  html.studio-refresh .character-empty{min-height:200px}
  html.studio-refresh #menuConta{padding:18px}
  html.studio-refresh footer{margin:0 18px;padding:24px 0}
}
@media(max-width:360px){html.studio-premium.studio-refresh header{padding-left:12px;padding-right:12px}.studio-refresh header .logo-imagem{width:112px!important}html.studio-refresh header .conta-area{gap:4px}html.studio-refresh header #pillCreditos{padding:6px!important}.studio-refresh header .theme-toggle{width:27px;height:27px;flex-basis:27px}}
/* Workbench: a flat creation panel and an open canvas for results. */
html.studio-premium.studio-refresh {--fundo:#141414;--painel:#1b1b1b;--painel-2:#262626;--caixa:#1b1b1b;--borda:#303030;--caixa-borda:#393939;--texto:#f2f2f2;--suave:#a4a4a4;--apagado:#949494;--lima:#cfff35;--lima-forte:#dcff78;--lima-fundo:#cfff350e;--refresh-line:#ffffff09}
html.studio-premium.studio-refresh[data-theme=light]{--fundo:#f5f5f7;--painel:#ffffff;--painel-2:#f0f1f4;--caixa:#fff;--borda:#e2e3e8;--caixa-borda:#dddfe4;--texto:#202126;--suave:#656976;--apagado:#747987;--refresh-line:#20262e09;--lima-fundo:#91bd1612}
html.studio-refresh body::before{display:none}
html.studio-refresh header #pillCreditos,html.studio-refresh header #pillCreditos .cota-ponto{animation:none!important;box-shadow:none!important}
#studioWorkspace[hidden],.workspace-controls[hidden],#workspaceSamples[hidden]{display:none!important}
#studioWorkspace{width:100%;min-width:0}.workspace-controls{min-width:0}.workspace-jump,.workspace-breadcrumb{display:none}
html.studio-refresh header .aba svg{width:19px;height:19px;flex:none}
html.studio-refresh header .aba{gap:9px}
html.studio-refresh :is(#telaCriar,#telaAnimar,#telaEstetica,#telaGaleria,#telaEditor)>.sub{text-align:left;margin-left:0;font-size:14px}
html.studio-refresh #telaCriar.workbench-flat>.sub,html.studio-refresh #telaCriar.workbench-flat>.passos-nav{display:none!important}
html.studio-refresh #telaCriar.workbench-flat>.passo-tela{display:block!important}
html.studio-refresh #telaCriar.workbench-flat #btnIdeiaSeguir,html.studio-refresh #telaCriar.workbench-flat .btn-continuar{display:none!important}
html.studio-refresh #telaCriar.workbench-flat h2{font-size:12px;font-weight:500;color:var(--suave);letter-spacing:0;margin:0 0 11px;text-transform:none}
html.studio-refresh #telaCriar.workbench-flat>.passo-tela[data-passo='1']>h2{display:none}
html.studio-refresh #telaCriar.workbench-flat>.passo-tela[data-passo='4']{margin-top:23px}
html.studio-refresh #telaCriar.workbench-flat .campo-composer{box-shadow:none;border:1px solid var(--borda);border-radius:12px;background:var(--fundo);grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto}
html.studio-refresh #telaCriar.workbench-flat .campo-composer .composer-esq{padding:16px 0 0}
html.studio-refresh #telaCriar.workbench-flat .dropzone{width:30px;min-width:30px;height:30px;margin-left:10px;border-color:var(--borda);background:var(--painel)}
html.studio-refresh #telaCriar.workbench-flat .campo-composer textarea{padding:18px 16px 18px 3px;min-height:190px;max-height:360px;font-size:14px;line-height:1.75;font-weight:400}
html.studio-refresh #telaCriar.workbench-flat .campo-composer .refs-previews{grid-column:1/-1;padding:0 16px 12px}
html.studio-refresh #telaCriar.workbench-flat .ideia-limite{font-size:10px;margin:9px 0 0;color:var(--apagado)}
html.studio-refresh .workbench-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:23px}
html.studio-refresh .workbench-choice{display:flex;align-items:center;text-align:left;gap:10px;min-width:0;padding:12px;border:1px solid var(--borda);border-radius:10px;background:transparent;color:var(--texto);cursor:pointer;position:relative;min-height:66px}
html.studio-refresh .workbench-choice:first-child{grid-column:1/-1}
html.studio-refresh .workbench-choice:hover{background:var(--painel-2);border-color:var(--caixa-borda)}
html.studio-refresh .workbench-choice-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:38px;border-radius:7px;overflow:hidden;color:var(--lima);background:var(--lima-fundo)}
html.studio-refresh .workbench-choice-icon svg{width:18px;height:18px}
html.studio-refresh .workbench-choice-icon img{width:100%;height:100%;object-fit:cover}
html.studio-refresh .workbench-choice-text{min-width:0;display:block;flex:1}
html.studio-refresh .workbench-choice-label{display:block;color:var(--suave);font:400 11px/1.4 Inter,sans-serif;margin-bottom:4px}
html.studio-refresh .workbench-choice-value{display:block;font:500 12px/1.4 Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.studio-refresh .workbench-chevron{font-size:20px;font-weight:300;color:var(--suave)}
html.studio-refresh .workbench-choice:not(:first-child){padding:12px 10px;gap:8px}
html.studio-refresh .workbench-choice:not(:first-child) .workbench-choice-icon{background:none;flex-basis:21px;width:21px;color:var(--suave)}
html.studio-refresh .workbench-choice:not(:first-child) .workbench-chevron{display:none}
html.studio-refresh .workbench-premium::after{content:'Premium';position:absolute;right:8px;top:6px;font-size:8px;color:var(--apagado)}
html.studio-refresh #telaCriar.workbench-flat .formatos{display:flex;gap:8px;margin:0 0 22px}
html.studio-refresh #telaCriar.workbench-flat .formato{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;padding:12px 5px;min-height:44px;border-radius:8px;background:none;border:1px solid var(--borda);font-size:11px}
html.studio-refresh #telaCriar.workbench-flat .formato.sel{border-color:var(--texto);background:var(--painel-2);color:var(--texto)}
html.studio-refresh #telaCriar.workbench-flat .formato>span:last-child{display:none}
html.studio-refresh #telaCriar.workbench-flat .formato .mini{height:17px;margin:0;border-width:1px;background:none;opacity:.6}.studio-refresh .workbench-flat .mini.m916{width:10px}.studio-refresh .workbench-flat .mini.m11{width:17px}.studio-refresh .workbench-flat .mini.m169{width:24px}
html.studio-refresh #telaCriar.workbench-flat #btnGerar{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin:0;padding:15px 17px;border-radius:9px;font-size:13px;min-height:50px;gap:10px}
html.studio-refresh #telaCriar.workbench-flat #btnGerar .rotulo-btn{font-size:13px;font-weight:600}
html.studio-refresh #telaCriar.workbench-flat #btnGerar .custo-linha{font-size:10px;opacity:.8;color:inherit;white-space:normal;margin:0}
html.studio-refresh .workbench-ideas{margin-top:12px;font-size:11px;color:var(--suave)}
html.studio-refresh .workbench-ideas>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;line-height:1.5;font-weight:450}
html.studio-refresh .workbench-ideas>summary::after{content:'↗';font-size:15px;color:var(--lima)}
html.studio-refresh .workbench-ideas>summary::-webkit-details-marker{display:none}
html.studio-refresh .workbench-ideas .ideas-entry{display:block;padding:0;margin:0;border:0}
html.studio-refresh .workbench-ideas .ideas-entry-head{display:none}
html.studio-refresh .workbench-ideas .ideas-updated{margin:10px 0;font-size:10px}
html.studio-refresh .workbench-ideas .ideas-teaser{padding:9px 4px;min-height:40px;gap:9px;grid-template-columns:5px minmax(0,1fr) 14px;background:none;border-radius:5px}
html.studio-refresh .workbench-ideas .ideas-teaser strong{font-size:12px;line-height:1.5}
html.studio-refresh .workbench-dialog{position:fixed;inset:0;width:min(880px,calc(100vw - 40px));max-height:min(800px,90dvh);margin:auto;padding:0;border:1px solid var(--borda);background:var(--painel);color:var(--texto);border-radius:18px;box-shadow:0 32px 100px #0006;overflow:auto}
html.studio-refresh .workbench-dialog::backdrop{background:#07090c88;backdrop-filter:blur(8px)}
html.studio-refresh .workbench-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border-bottom:1px solid var(--borda);position:sticky;top:0;background:var(--painel);z-index:5}
html.studio-refresh #telaCriar .workbench-dialog-head h2{font-size:21px;color:var(--texto);font-weight:550;margin:0;letter-spacing:-.5px}
html.studio-refresh .workbench-close{border:1px solid var(--borda);background:none;border-radius:50%;width:36px;height:36px;font:300 25px/1 Inter,sans-serif;color:var(--texto);cursor:pointer;flex:none}
html.studio-refresh .workbench-dialog-body{padding:25px 28px}
html.studio-refresh .workbench-dialog .passo-tela{display:block!important}
html.studio-refresh .workbench-dialog .esteticas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;overflow:visible;scroll-snap-type:none;padding:2px}
html.studio-refresh .workbench-dialog .estetica{width:100%;min-width:0;flex:none}
html.studio-refresh .workbench-dialog .estetica .thumb{aspect-ratio:3/4}
html.studio-refresh .workbench-dialog .estetica .info{padding:13px}
html.studio-refresh .workbench-dialog .estetica .nome{font-size:13px}
html.studio-refresh .workbench-dialog .estetica .desc{font-size:11px}
html.studio-refresh .workbench-dialog .seta{display:none}
html.studio-refresh .workbench-done{display:block;margin:0 28px 24px auto;background:var(--lima);color:#202a11;border:0;border-radius:9px;min-height:44px;padding:12px 27px;font-weight:600;cursor:pointer}
html.studio-refresh .workbench-dialog .free-empty{margin:12px 0 0}
html.studio-refresh #telaGaleria>.sub{display:none}
html.studio-refresh #telaGaleria>h1{font-size:22px;letter-spacing:-.6px;margin:0 0 23px;font-weight:550}
html.studio-refresh .gal-subabas{margin-bottom:25px;gap:20px}
html.studio-refresh .gal-subaba{border:0;border-radius:0;background:none!important;padding:4px 0 10px;font-size:12px;min-height:36px;color:var(--suave)}
html.studio-refresh .gal-subaba.sel{color:var(--texto);border:0;border-bottom:2px solid var(--lima)}
html.studio-premium.studio-refresh #telaGaleria .gal-aviso{font-size:10px;line-height:1.7;color:var(--apagado);background:none;border:0;padding:0 0 12px}
html.studio-refresh .gal-vazio{max-width:none;margin:0;padding:45px 20px 36px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:270px;background:none;border:0;font-size:13px;line-height:1.7}
html.studio-refresh .gal-vazio>strong{display:block;font-size:21px;color:var(--texto);font-weight:500;letter-spacing:-.5px;margin:8px 0 7px}
html.studio-refresh .gal-vazio>span{display:block;color:var(--suave);font-size:12px;max-width:350px;margin:auto}
html.studio-refresh .workbench-empty-art{position:relative;width:160px;height:100px;margin:0 auto 14px}
html.studio-refresh .workbench-empty-art>span{position:absolute;width:59px;height:74px;left:50px;top:10px;border:1px solid var(--caixa-borda);border-radius:9px;background:var(--painel);box-shadow:0 4px 14px #00000005;display:grid;place-items:center}
html.studio-refresh .workbench-empty-art>span:first-child{transform:rotate(-18deg) translateX(-29px);opacity:.45}.studio-refresh .workbench-empty-art>span:nth-child(2){transform:rotate(18deg) translateX(29px);opacity:.45}
html.studio-refresh .workbench-empty-art svg{width:25px;height:25px;color:var(--lima)}
html.studio-refresh .workbench-samples{border-top:1px solid var(--borda);padding:25px 0 0;margin:0 auto;max-width:850px}
html.studio-refresh .workbench-samples>h2{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--suave);margin:0 0 17px}
html.studio-refresh .workbench-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html.studio-refresh .workbench-sample{padding:0;position:relative;min-width:0;border:0;border-radius:12px;overflow:hidden;background:var(--painel);cursor:pointer;text-align:left;isolation:isolate;aspect-ratio:4/3}
html.studio-refresh .workbench-sample::after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#000b);z-index:0;pointer-events:none}
html.studio-refresh .workbench-sample>img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
html.studio-refresh .workbench-sample:hover>img{transform:scale(1.035)}
html.studio-refresh .workbench-sample>span{position:absolute;bottom:15px;left:15px;color:#fff;font-size:12px;font-weight:550;z-index:1}
html.studio-refresh .workbench-sample>span.workbench-sample-arrow{left:auto;right:15px;font-size:17px;font-weight:400}
html.studio-refresh .workbench-flat .erro{font-size:12px;line-height:1.6;margin-top:12px}.studio-refresh .workbench-flat .aviso-sim{font-size:10px;line-height:1.6}
html.studio-refresh :is(.workbench-choice,.workbench-sample,.workbench-close,.workbench-done,.workbench-ideas>summary):focus-visible{outline:2px solid var(--lima);outline-offset:3px}
@media(min-width:901px){
 html.studio-refresh body.studio-authenticated{padding-left:84px}
 html.studio-refresh body.studio-authenticated::after{content:'';position:fixed;inset:0 auto 0 0;width:84px;background:var(--fundo);border-right:1px solid var(--refresh-line);z-index:0;pointer-events:none}
 html.studio-premium.studio-refresh .studio-authenticated header{display:flex;justify-content:space-between;min-height:64px;padding:12px 28px 12px 24px;border:0;background:var(--fundo);position:relative;z-index:20}
 html.studio-premium.studio-refresh .studio-authenticated header .logo{position:fixed;top:27px;left:26px;width:31px;overflow:hidden;z-index:21}
 html.studio-premium.studio-refresh .studio-authenticated header .logo-imagem{width:171px;max-width:none}
 html.studio-premium.studio-refresh .studio-authenticated header .abas{position:fixed;left:9px;top:104px;width:66px;display:flex!important;flex-direction:column;gap:10px!important;align-items:stretch;z-index:21}
 html.studio-premium.studio-refresh .studio-authenticated header .aba{display:flex;flex-direction:column;justify-content:center;align-items:center;height:64px;min-width:0;width:66px;padding:9px 3px!important;gap:7px;border-radius:11px;font-size:10px;font-weight:450}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel{background:var(--painel-2);color:var(--texto)}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel svg{color:var(--lima)}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel::after{left:25px;right:25px;bottom:4px;height:2px}
 html.studio-refresh .workspace-breadcrumb{display:block;color:var(--suave);font-size:12px;font-weight:450}
 html.studio-refresh body.studio-authenticated.workspace-generating{height:100dvh;overflow:hidden}
 html.studio-refresh body.workspace-generating>header{flex:none}
 html.studio-refresh #studioWorkspace.workspace-generating{display:grid;grid-template-columns:340px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;padding:0 24px 24px 12px;align-items:start;flex:1;min-height:0}
 html.studio-refresh .workspace-generating .workspace-controls{background:var(--painel);border:1px solid var(--refresh-line);border-radius:16px;min-height:0;height:100%;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
 html.studio-refresh .workspace-generating :is(#telaCriar,#telaAnimar){padding:25px 21px;width:100%;max-width:none}
 html.studio-refresh .workspace-generating :is(#telaCriar,#telaAnimar)>h1{font-size:18px;letter-spacing:-.4px;font-weight:550;margin:0 0 25px;line-height:1.3}
 html.studio-refresh .workspace-generating #telaGaleria{padding:27px 0 35px 34px;max-width:none;min-width:0;min-height:0;height:100%;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;background:none;border:0;border-radius:0}
 html.studio-refresh .workspace-generating #telaAnimar>.sub{font-size:12px;margin:0 0 20px}
 html.studio-refresh .workspace-generating #telaAnimar .passo-aba{font-size:10px}.studio-refresh .workspace-generating #telaAnimar .aviso-frame{font-size:11px}
 html.studio-refresh .workspace-generating #telaAnimar .opcoes-animacao{grid-template-columns:1fr;gap:14px;padding:14px}
 html.studio-refresh .workspace-generating #telaAnimar textarea{font-size:14px;padding:15px;min-height:130px}
 html.studio-refresh .workspace-generating #telaAnimar .estetica{flex:0 0 calc((100% - 12px)/2)}
 html.studio-refresh .workspace-generating #telaAnimar .estetica .nome{font-size:12px}
 html.studio-refresh .workspace-generating footer{display:none}
}
@media(min-width:1250px){html.studio-refresh #studioWorkspace.workspace-generating{grid-template-columns:370px minmax(0,1fr);padding-right:34px;gap:8px}.studio-refresh .workspace-generating #telaCriar{padding:28px 24px}.studio-refresh .workspace-generating #telaGaleria{padding-left:36px}}
@media(min-width:1600px){html.studio-refresh #studioWorkspace.workspace-generating{grid-template-columns:390px minmax(0,1fr)}html.studio-refresh .workspace-generating #telaGaleria{padding-left:48px;padding-right:24px}}
@media(max-width:900px){
 html.studio-refresh header .aba svg{display:none}
 html.studio-refresh #studioWorkspace.workspace-generating{display:block}
 html.studio-refresh .workspace-jump{display:block;width:max-content;margin:12px 20px 0 auto;padding:8px 0;min-height:40px;background:none;border:0;color:var(--suave);font-size:11px}
 html.studio-refresh #telaCriar.workbench-flat{padding-top:15px}
 html.studio-refresh #telaCriar.workbench-flat>h1{font-size:23px;margin:0 0 22px}
 html.studio-refresh #telaCriar.workbench-flat .campo-composer textarea{min-height:150px;font-size:16px}
 html.studio-refresh #telaGaleria{border-top:1px solid var(--borda);padding-top:30px}
 html.studio-refresh .gal-vazio{min-height:240px;padding:25px 0}
 html.studio-refresh .workbench-sample-grid{gap:10px}
 html.studio-refresh .workbench-sample{aspect-ratio:3/4}
 html.studio-refresh .workbench-sample>span{left:10px;bottom:12px;font-size:10px}
 html.studio-refresh .workbench-sample>span.workbench-sample-arrow{right:10px;left:auto;font-size:13px}
 html.studio-refresh .workbench-dialog{width:calc(100vw - 24px);max-height:92dvh;border-radius:15px}
 html.studio-refresh .workbench-dialog-head{padding:19px 18px}
 html.studio-refresh #telaCriar .workbench-dialog-head h2{font-size:19px}
 html.studio-refresh .workbench-dialog-body{padding:20px 16px}
 html.studio-refresh .workbench-dialog .esteticas{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(prefers-reduced-motion:reduce){html.studio-refresh *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

html.studio-refresh #telaCriar.workbench-flat .formato b{font-size:12px}
html.studio-refresh #telaCriar.workbench-flat .formato.sel .mini{border-color:currentColor}
html.studio-refresh[data-theme=light] header .aba.sel svg,html.studio-refresh[data-theme=light] .workbench-ideas>summary::after{color:#668610}
html.studio-refresh[data-theme=light] .studio-authenticated header .logo{mix-blend-mode:multiply}

html.studio-refresh:not([data-theme=light]){--premium-top:#ffffff03;--premium-nav:#1b1b1b;--premium-edge:#303030;--step-active:#cfff35;--step-halo:#cfff350c;--step-circle:#1b1b1b;--step-outline:#393939;--step-line:#303030;--step-label:#a4a4a4}
html.studio-refresh:not([data-theme=light]) :is(.bonus-tag,.characters-eyebrow){color:var(--lima)!important;text-shadow:none!important}
html.studio-refresh:not([data-theme=light]) .ideas-teaser,html.studio-refresh:not([data-theme=light]) .ideas-topic{--ideas-accent-ink:var(--lima)}
html.studio-refresh[data-theme=light] .workbench-choice-icon{color:#668610;background:#91bd1612}
/* Mobile keeps the generator in its own panel above a permanent navigation bar. */
html.studio-refresh:not([data-theme=light]){--refresh-glass:#191919ed}
.workbench-library,.workbench-reference-tools{display:none}
html.studio-refresh .workbench-character-picker{display:grid;gap:10px;margin:22px 0}
html.studio-refresh .workbench-character-option{display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 14px;align-items:center;padding:12px;border:1px solid var(--borda);border-radius:12px;background:var(--painel-2);color:var(--texto);text-align:left;cursor:pointer;font:500 14px Inter,sans-serif}
html.studio-refresh .workbench-character-option img{grid-row:1/3}.studio-refresh .workbench-character-option small{font-size:11px;color:var(--suave)}
@media(max-width:900px){
 html.studio-refresh body.studio-authenticated{padding-bottom:calc(83px + env(safe-area-inset-bottom))}
 html.studio-premium.studio-refresh .studio-authenticated header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding:13px 18px;background:var(--painel);border-bottom:1px solid var(--refresh-line)}
 html.studio-premium.studio-refresh .studio-authenticated header .logo{flex:1;min-width:0}
 html.studio-premium.studio-refresh .studio-authenticated header .logo-imagem{width:112px;max-width:112px}
 html.studio-premium.studio-refresh .studio-authenticated header .abas{position:fixed;left:0;right:0;bottom:0;width:100%;height:calc(74px + env(safe-area-inset-bottom));padding:7px 12px calc(7px + env(safe-area-inset-bottom));margin:0;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px!important;background:var(--painel);border-top:1px solid var(--borda);border-radius:0;z-index:1000;box-sizing:border-box}
 html.studio-premium.studio-refresh .studio-authenticated header .aba{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;height:58px;width:100%;padding:7px 2px!important;border-radius:10px;font-size:10px;color:var(--suave)}
 html.studio-premium.studio-refresh .studio-authenticated header .aba svg{display:block;width:20px;height:20px}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel{color:var(--texto);background:var(--painel-2)}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel svg{color:var(--lima)}
 html.studio-premium.studio-refresh .studio-authenticated header .aba.sel::after{left:calc(50% - 9px);right:calc(50% - 9px);bottom:3px;height:2px}
 html.studio-refresh #studioWorkspace.workspace-generating:not(.workspace-mobile-closed)>#telaGaleria{display:none!important}
 html.studio-refresh #studioWorkspace.workspace-mobile-closed>.workspace-controls{display:none!important}
 html.studio-refresh .workspace-generating .workspace-controls{min-height:calc(100dvh - 155px);background:var(--painel);padding-bottom:calc(210px + env(safe-area-inset-bottom))}
 html.studio-refresh .workspace-jump{position:fixed;bottom:calc(74px + env(safe-area-inset-bottom));left:0;width:100%;height:65px;margin:0;padding:12px 16px;display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border:12px solid var(--painel);background:var(--painel-2);color:var(--texto);border-radius:20px 20px 0 0;font-size:13px;font-weight:500;z-index:998}
 html.studio-refresh #telaCriar.workbench-flat{padding:18px 16px 25px}
 html.studio-refresh #telaCriar.workbench-flat>h1{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:var(--lima-fundo);border:1px solid #cfff3510;border-radius:12px;font-size:16px;font-weight:500;line-height:1.4;margin:0 0 25px}
 html.studio-refresh .workbench-library{display:block;min-height:44px;padding:9px 13px;font:400 11px Inter,sans-serif;border:0;border-radius:8px;background:#ffffff06;color:var(--texto);cursor:pointer}
 html.studio-refresh .workbench-reference-tools{display:block}
 html.studio-refresh .workbench-section-label{display:block;font-size:10px;letter-spacing:.4px;text-transform:uppercase;color:var(--suave);margin:0 0 12px}
 html.studio-refresh .workbench-reference-buttons{display:flex;gap:10px;margin-bottom:26px}
 html.studio-refresh .workbench-reference-tool{width:82px;height:82px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:10px 4px;border:1px dashed var(--borda);background:var(--painel-2);color:var(--suave);border-radius:10px;cursor:pointer;font:400 10px Inter,sans-serif}
 html.studio-refresh .workbench-reference-tool svg{width:22px;height:22px}
 html.studio-refresh .workbench-reference-tool:first-child{color:var(--lima);background:var(--lima-fundo)}
 html.studio-refresh .workbench-prompt-label{margin:0 0 12px}
 html.studio-refresh #telaCriar.workbench-flat .campo-composer.com-refs{grid-template-columns:minmax(0,1fr)}
 html.studio-refresh #telaCriar.workbench-flat .campo-composer .composer-esq{display:none}
 html.studio-refresh #telaCriar.workbench-flat .campo-composer textarea{grid-column:1;padding:17px;min-height:160px;max-height:260px;font-size:16px}
 html.studio-refresh .workbench-choices .workbench-choice:first-child{display:none}
 html.studio-refresh #telaCriar.workbench-flat .workbench-submit{position:fixed;left:0;right:0;bottom:calc(139px + env(safe-area-inset-bottom));background:var(--painel);padding:12px 16px 5px;z-index:998;box-shadow:0 -12px 22px var(--painel)}
 html.studio-refresh #telaCriar.workbench-flat .workbench-submit .erro{margin:7px 0;font-size:11px;max-height:90px;overflow:auto}
 html.studio-refresh #telaCriar.workbench-flat #btnGerar{min-height:46px;padding:14px 16px}
 html.studio-refresh #studioWorkspace.workspace-mobile-closed .workbench-submit{display:none}
 html.studio-refresh .mobile-generator-open .fb-raiz{display:none}
 html.studio-refresh .fb-raiz{bottom:calc(90px + env(safe-area-inset-bottom))}
 html.studio-refresh .workspace-generating footer{display:none}
 html.studio-refresh #telaGaleria{border-top:0}
 html.studio-refresh[data-theme=light] .workbench-reference-tool:first-child{color:#668610}
}
@media(max-width:900px){
 html.studio-premium.studio-refresh .studio-authenticated header:has(#menuConta.aberto){z-index:1100}
 html.studio-premium.studio-refresh #menuConta{position:fixed;top:86px;right:12px;left:auto;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 170px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;z-index:1101;background:var(--painel)}
}
html.studio-refresh .workbench-choice:not(:first-child).workbench-has-thumb .workbench-choice-icon{flex:0 0 34px;width:34px;height:38px;background:var(--painel-2)}

/* Generator panels share references, compact controls and the same primary action. */
html.studio-refresh #telaCriar.workbench-flat .campo-composer{display:flex;flex-direction:column;gap:0;padding:12px;min-width:0}
html.studio-refresh .workbench-composer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font-size:12px}
html.studio-refresh .workbench-character-add{display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--suave);width:32px;height:32px;cursor:pointer}
html.studio-refresh .workbench-character-add svg{width:18px;height:18px}
html.studio-refresh #telaCriar.workbench-flat .campo-composer .composer-esq{display:block;padding:0;order:0}
html.studio-refresh #telaCriar.workbench-flat #dropRefs{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:44px;min-width:0;margin:0;padding:10px 12px;border:1px dashed var(--borda);border-radius:8px;background:var(--painel-2);font-size:11px;color:var(--suave);box-sizing:border-box;cursor:pointer}
html.studio-refresh #telaCriar.workbench-flat #dropRefs svg{width:21px;height:21px;flex:none}
html.studio-refresh #telaCriar.workbench-flat .campo-composer>.composer-media{padding:12px 0 0;gap:9px}
html.studio-refresh #telaCriar.workbench-flat .campo-composer>.composer-media:not(:has(.ref-item)):not(:has(.character-selection:not([hidden]))){display:none}
html.studio-refresh #telaCriar.workbench-flat .campo-composer .refs-previews{padding:0}
html.studio-refresh #telaCriar.workbench-flat .campo-composer textarea{width:100%;padding:14px 2px 6px;min-height:170px;max-height:300px;box-sizing:border-box;resize:vertical}
html.studio-refresh #telaCriar.workbench-flat .campo-composer.com-refs.character-has-selection textarea,html.studio-refresh #telaCriar.workbench-flat .campo-composer.com-refs:has(.refs-previews:not(:empty)) textarea{min-height:140px}
html.studio-refresh #telaCriar.workbench-flat .workbench-choices .workbench-choice:first-child{display:flex}
html.studio-refresh .workbench-choice-icon video{width:100%;height:100%;object-fit:cover}
html.studio-refresh .workbench-ideas-link{display:none;border:0;background:none;color:var(--suave);font:400 11px/1.5 Inter,sans-serif;padding:12px 0;text-align:left;cursor:pointer}
html.studio-refresh .workbench-trends{margin:26px auto 0;max-width:900px;border-top:1px solid var(--borda);padding-top:24px}
html.studio-refresh .workbench-trends .ideas-entry{padding:0;margin:0;background:none;border:0;border-radius:0}
html.studio-refresh .workbench-trends .ideas-entry h2{font-size:16px!important;font-weight:500;letter-spacing:-.3px;line-height:1.5}
html.studio-refresh .workbench-trends .ideas-updated{font-size:11px;color:var(--apagado);margin:9px 0 18px}
html.studio-refresh .workbench-trends .ideas-teaser{min-height:55px;padding:12px 9px;gap:16px;grid-template-columns:24px minmax(0,1fr) 20px}
html.studio-refresh .workbench-trends .ideas-teaser strong{font-size:13px;font-weight:450}
html.studio-refresh #perguntasEstranheza:empty{display:none}
html.studio-refresh #perguntasEstranheza{margin-top:14px}
html.studio-refresh #perguntasEstranheza input{width:100%;box-sizing:border-box;font-size:13px}
html.studio-refresh #telaAnimar.workbench-video>.sub,html.studio-refresh #telaAnimar.workbench-video>.passos-nav,html.studio-refresh #telaAnimar.workbench-video .btn-continuar{display:none!important}
html.studio-refresh #telaAnimar.workbench-video>.passo-tela{display:block!important}
html.studio-refresh #telaAnimar.workbench-video>.passo-tela[data-passo='2']{display:none!important}
html.studio-refresh #telaAnimar.workbench-video .aviso-frame{padding:0;margin:0 0 22px;border:0;background:none;font-size:11px;line-height:1.6;color:var(--suave)}
html.studio-refresh #telaAnimar.workbench-video h2{font-size:12px;font-weight:500;color:var(--suave);margin:0 0 11px}
html.studio-refresh #telaAnimar.workbench-video .refs-linha{display:flex;align-items:center;gap:10px;margin:0 0 23px}
html.studio-refresh #telaAnimar.workbench-video #frameAnimPreview{padding:0}
html.studio-refresh #telaAnimar.workbench-video #frameAnimPreview .ref-item{width:64px;height:72px}
html.studio-refresh #telaAnimar.workbench-video #dropFrameAnim{display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed var(--borda);border-radius:10px;background:var(--painel-2);color:var(--suave);min-width:0;flex:1;width:auto;height:72px;padding:12px;font-size:12px;box-sizing:border-box}
html.studio-refresh #telaAnimar.workbench-video #dropFrameAnim svg{width:23px;height:23px}
html.studio-refresh #telaAnimar.workbench-video .campo-composer{display:block;background:var(--fundo);box-shadow:none;border-radius:12px;border-color:var(--borda)}
html.studio-refresh #telaAnimar.workbench-video #movimentoAnim{width:100%;min-height:140px;max-height:270px;padding:16px;font-size:14px;line-height:1.7;box-sizing:border-box}
html.studio-refresh #telaAnimar.workbench-video .workbench-motion{width:100%;margin:16px 0}
html.studio-refresh #telaAnimar.workbench-video .workbench-motion .workbench-chevron{display:block}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:0;margin:0 0 21px;background:none;border:0}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao .qual-linha{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:8px;padding:11px 10px;border:1px solid var(--borda);border-radius:9px;min-width:0;margin:0}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao .qual-texto{min-height:0;min-width:0}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao .qual-texto span{display:none}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao .qual-texto b{display:block;font-size:11px;line-height:1.4;font-weight:500}
html.studio-refresh #telaAnimar.workbench-video .opcoes-animacao .dur-linha{grid-column:1/-1;padding:8px 12px}
html.studio-refresh #telaAnimar.workbench-video .dur-stepper{height:32px;border:0;background:var(--painel-2)}
html.studio-refresh #telaAnimar.workbench-video .toggle{flex:0 0 32px;width:32px;height:20px;min-width:32px;margin:0}
html.studio-premium.studio-refresh #telaAnimar.workbench-video .toggle-trilho{inset:auto 0 auto 0;top:50%;transform:translateY(-50%);width:32px;height:20px;box-sizing:border-box;border:0;background:var(--borda)}
html.studio-premium.studio-refresh #telaAnimar.workbench-video .toggle-trilho::after{width:14px;height:14px;left:3px;top:3px;transform:none;box-shadow:none}
html.studio-refresh #telaAnimar.workbench-video .toggle input:checked+.toggle-trilho{background:var(--lima)}
html.studio-refresh #telaAnimar.workbench-video .toggle input:checked+.toggle-trilho::after{left:15px;transform:none;background:#19200e}
html.studio-refresh #telaAnimar.workbench-video #btnAnimar{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:15px 17px;gap:10px;margin:0;border:0;border-radius:9px;background:var(--lima);color:#19200e;box-shadow:none}
html.studio-refresh #telaAnimar.workbench-video #btnAnimar .rotulo-btn{font-size:13px;font-weight:600}
html.studio-refresh #telaAnimar.workbench-video #btnAnimar .custo-linha{font-size:10px;color:inherit;margin:0;white-space:normal}
html.studio-refresh #telaAnimar .workbench-dialog-head h2{font-size:21px;margin:0;color:var(--texto)}
html.studio-refresh #workspace-motion .estetica{width:100%;min-width:0}
html.studio-refresh #workspace-motion .estetica video{width:100%;height:auto;object-fit:cover;aspect-ratio:4/3}
@media(max-width:900px){
 html.studio-refresh .workbench-ideas-link{display:block}
 html.studio-refresh #telaCriar.workbench-flat .campo-composer textarea,html.studio-refresh #telaAnimar.workbench-video #movimentoAnim{font-size:16px}
 html.studio-refresh #telaAnimar.workbench-video{padding:18px 16px 25px}
 html.studio-refresh #telaAnimar.workbench-video>h1{padding:14px 15px;background:var(--lima-fundo);border:1px solid #cfff3510;border-radius:12px;font-size:16px;font-weight:500;margin:0 0 25px;letter-spacing:0}
 html.studio-refresh #telaAnimar.workbench-video .workbench-submit{position:fixed;left:0;right:0;bottom:calc(139px + env(safe-area-inset-bottom));background:var(--painel);padding:12px 16px 5px;z-index:998;box-shadow:0 -12px 22px var(--painel)}
 html.studio-refresh #telaAnimar.workbench-video .workbench-submit .erro{margin:7px 0;font-size:11px;max-height:90px;overflow:auto}
 html.studio-refresh #telaAnimar.workbench-video #btnAnimar{min-height:46px;padding:14px 16px}
}

/* Editor: neutral surfaces, a single workspace and compact media library. */
html.studio-premium.studio-refresh #telaEditor{max-width:none;width:100%;padding:23px 28px 40px;box-sizing:border-box}
html.studio-refresh #telaEditor>.sub{display:none}
html.studio-refresh .workbench-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}
html.studio-refresh .workbench-editor-head h1{font-size:22px;font-weight:550;letter-spacing:-.6px;margin:0;text-align:left}
html.studio-refresh #telaEditor .editor-acoes{padding:0;margin:0;background:none;border:0}
html.studio-refresh #telaEditor #btnExportar{background:var(--lima);color:#19200e;border:0;border-radius:9px;padding:12px 18px;min-height:43px;font-size:12px;font-weight:600;box-shadow:none;width:auto;margin:0}
html.studio-refresh #telaEditor .editor-workspace{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
html.studio-refresh #telaEditor .editor-workspace .editor-topo{display:grid;grid-template-columns:clamp(340px,32vw,520px) minmax(0,1fr);gap:16px;margin-bottom:16px}
html.studio-refresh #telaEditor .editor-workspace .editor-biblioteca{width:auto;height:480px;max-height:480px;background:var(--painel);border:0;border-radius:14px}
html.studio-refresh #telaEditor .editor-workspace .sec-preview:not(.preview-expandida){height:480px;max-height:480px;min-height:0;background:var(--painel);border:0;border-radius:14px;padding:18px;order:0;box-sizing:border-box}
html.studio-refresh #telaEditor .sec-preview>h2{color:var(--suave);font-size:11px;font-weight:500;letter-spacing:0}
html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa{max-height:400px;border:0;border-radius:10px;background:var(--fundo);box-shadow:none;flex-shrink:1}
html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-916{width:220px;max-width:100%}
html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-11{width:390px;max-width:100%}
html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-169{width:690px;max-width:100%}
html.studio-refresh #telaEditor .preview-ampliar,html.studio-refresh #telaEditor #fmtBtn{border:0;background:var(--painel-2);color:var(--texto);border-radius:7px;font-size:10px;box-shadow:none}
html.studio-refresh #telaEditor .biblioteca-abas{padding:12px;gap:7px;background:transparent;border:0}
html.studio-refresh #telaEditor .biblioteca-abas button{color:var(--suave);border:0;border-radius:7px;font-size:12px;background:transparent;padding:10px 13px;flex:1;min-width:0}
html.studio-refresh #telaEditor .biblioteca-abas button[aria-selected=true]{background:var(--painel-2)!important;color:var(--texto)!important;box-shadow:none}
html.studio-refresh #telaEditor .bonus-tag{display:none}
html.studio-refresh #telaEditor .editor-ajuda,html.studio-refresh #telaEditor .musica-orientacao{color:var(--apagado);font-size:10px;line-height:1.6;font-weight:400}
html.studio-refresh #telaEditor .importar-clipes{padding:0;background:none;border:0}
html.studio-refresh #telaEditor #btnImportarVideo{background:var(--painel-2);color:var(--texto);border:0;border-radius:8px;min-height:44px;font-size:12px}
html.studio-refresh #telaEditor .importar-clipes small{font-size:9px;color:var(--apagado)}
html.studio-refresh #telaEditor .clipes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
html.studio-refresh #telaEditor .clipe{border-radius:9px;border-color:var(--borda);background:var(--painel-2)}
html.studio-refresh #telaEditor .clipes-vazio{font-size:12px;color:var(--suave);line-height:1.7}
html.studio-refresh #telaEditor .musica-biblioteca{padding:14px}
html.studio-refresh #telaEditor .musica-biblioteca>label{font-size:11px;color:var(--suave);font-weight:500;letter-spacing:0}
html.studio-refresh #telaEditor #buscaTrilha{background:var(--fundo);border:0;border-radius:8px;color:var(--texto);padding:11px 12px;font-size:12px}
html.studio-refresh #telaEditor .musica-item{gap:8px;padding:7px 3px;border-radius:9px;border-color:transparent}
html.studio-refresh #telaEditor .musica-item:hover{background:var(--painel-2)!important;border-color:transparent!important}
html.studio-refresh #telaEditor .musica-item.selecionada{background:var(--lima-fundo)!important;border-color:color-mix(in srgb,var(--lima) 24%,var(--borda))!important}
html.studio-refresh #telaEditor .musica-escolher{min-width:0;flex:1}
html.studio-refresh #telaEditor .musica-escolher>span{font-size:11px;color:var(--texto);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.studio-refresh #telaEditor .musica-escolher>small{font-size:9px;color:var(--apagado)}
html.studio-refresh #telaEditor .musica-item.selecionada .musica-escolher>span::after{color:var(--lima)}
html.studio-refresh #telaEditor :is(.musica-ouvir,.musica-download){display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:0;border-radius:8px;background:var(--painel-2);color:var(--suave);font-size:10px;text-decoration:none;cursor:pointer}
html.studio-refresh #telaEditor .musica-download:hover,html.studio-refresh #telaEditor .musica-ouvir.tocando{color:var(--lima);border-color:var(--lima)}
html.studio-refresh #telaEditor .musica-download svg{width:15px;height:15px}
html.studio-refresh #telaEditor .musica-download:focus-visible{outline:2px solid var(--lima);outline-offset:3px}
html.studio-refresh #telaEditor .musica-status{font-size:10px;color:var(--suave)}
html.studio-refresh #telaEditor .editor-workspace .editor-montagem-cab{border:0;border-radius:14px 14px 0 0;background:var(--painel);padding:18px 18px 15px}
html.studio-refresh #telaEditor .editor-montagem-cab h2{font-size:12px;font-weight:500;letter-spacing:0;margin:0}
html.studio-refresh #telaEditor .editor-workspace .tl-painel{background:var(--painel);border:0;border-radius:0 0 14px 14px;padding:0 18px 18px}
html.studio-refresh #telaEditor :is(.editor-ferramentas,.tl-toolbar,.audio-controles){background:none;border:0;color:var(--suave);font-size:11px}
html.studio-refresh #telaEditor .editor-ferramentas button,html.studio-refresh #telaEditor .tl-magnet{border:0;border-radius:6px;background:var(--painel-2);color:var(--suave);box-shadow:none}
html.studio-refresh #telaEditor .editor-ferramentas button[aria-pressed=true],html.studio-refresh #telaEditor .tl-magnet[aria-pressed=true]{background:var(--lima-fundo);border-color:var(--borda);color:var(--lima)}
html.studio-refresh #telaEditor .btn-play{background:var(--lima);color:#19200e;border:0;border-radius:7px;box-shadow:none}
html.studio-refresh #telaEditor .tl-scroll{border:0;border-radius:9px;background:transparent}
html.studio-refresh #telaEditor .tl-regua{border:0;background:transparent}
html.studio-refresh #telaEditor .tl-lane{border:0;border-radius:8px;background:var(--fundo);margin-bottom:8px}
html.studio-refresh #telaEditor .lane-tag{background:none;color:var(--suave);font-size:9px;border:0}
html.studio-refresh #telaEditor .tl-lane.drop-ativo{outline:2px dashed var(--lima);outline-offset:-2px}
html.studio-refresh #telaEditor .faixa-musica{background:#27331c;border-color:#536b38;color:#c9e4a8}
html.studio-refresh #telaEditor .faixa-musica.sem{background:var(--painel-2);border-color:var(--borda);color:var(--apagado)}
html.studio-refresh #telaEditor .editor-workspace .bloco-musica{border-color:var(--borda);background:var(--painel);padding:16px 18px}
html.studio-refresh #telaEditor .bloco-musica .rotulo{font-size:11px;letter-spacing:0;color:var(--suave)}
html.studio-refresh #telaEditor input[type=range]{accent-color:var(--lima)}
@media(max-width:900px){
 html.studio-premium.studio-refresh #telaEditor{padding:22px 14px 35px}
 html.studio-refresh .workbench-editor-head{gap:10px;margin-bottom:18px}.studio-refresh .workbench-editor-head h1{font-size:19px}
 html.studio-refresh #telaEditor #btnExportar{font-size:11px;padding:11px 13px}
 html.studio-refresh #telaEditor .editor-workspace .editor-topo{grid-template-columns:minmax(0,1fr)}
 html.studio-refresh #telaEditor .editor-workspace .sec-preview:not(.preview-expandida){order:-1;height:340px;max-height:340px;padding:14px}
 html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-916{width:146px;max-height:260px}
 html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-11{width:250px;max-height:260px}
 html.studio-refresh #telaEditor .sec-preview:not(.preview-expandida) .preview-caixa.fmt-169{width:min(100%,462px);max-height:260px}
 html.studio-refresh #telaEditor .editor-workspace .editor-biblioteca{height:360px;max-height:360px;border:0}
 html.studio-refresh #telaEditor :is(.musica-ouvir,.musica-download){width:40px;height:40px;flex-basis:40px}
 html.studio-refresh #telaEditor .editor-montagem-cab{flex-wrap:wrap;gap:8px}
 html.studio-refresh #telaEditor .editor-workspace .tl-painel{padding:0 10px 14px}
}
html.studio-refresh #telaEditor .biblioteca-musicas{overflow-x:hidden}
html.studio-refresh #telaEditor .musica-biblioteca,html.studio-refresh #telaEditor .musica-lista,html.studio-refresh #telaEditor .musica-item{width:100%;min-width:0;box-sizing:border-box}
html.studio-refresh #telaEditor .musica-escolher>span,html.studio-refresh #telaEditor .musica-escolher>small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.studio-refresh #telaEditor .biblioteca-abas button[aria-selected=true]::after{display:none}
html.studio-refresh #telaEditor #buscaTrilha:focus{outline-color:var(--lima)}
@media(max-width:480px){
 html.studio-premium.studio-refresh .studio-authenticated header .logo{flex:0 0 30px;overflow:hidden}
 html.studio-premium.studio-refresh .studio-authenticated header .logo-imagem{width:171px;max-width:none}
}
@media(min-width:1201px){
 html.studio-refresh #telaEditor .editor-workspace .tl-painel{display:grid;grid-template-columns:auto minmax(250px,1fr) auto;column-gap:24px;row-gap:18px;align-items:center}
 html.studio-refresh #telaEditor .tl-toolbar{grid-column:1;grid-row:1;padding:0;margin:0}
 html.studio-refresh #telaEditor .editor-ferramentas{grid-column:2;grid-row:1;padding:0;margin:0}
 html.studio-refresh #telaEditor .audio-controles{grid-column:3;grid-row:1;padding:0;margin:0;gap:8px}
 html.studio-refresh #telaEditor .audio-controles input{width:90px;max-width:90px}
 html.studio-refresh #telaEditor .audio-controles label{font-size:10px}
 html.studio-refresh #telaEditor .tl-scroll{grid-column:1/-1;min-width:100%}
}
/* Light theme: selection uses dark green ink, not the bright action fill. */
html.studio-premium.studio-refresh[data-theme=light] .studio-authenticated header .aba.sel{color:#294b14;background:#e5efda}
html.studio-premium.studio-refresh[data-theme=light] .studio-authenticated header .aba.sel svg{color:#37641d}
html.studio-premium.studio-refresh[data-theme=light] .studio-authenticated header .aba.sel::after{background:#547f2c}
html.studio-refresh #telaAnimar.workbench-video #durNum{color:var(--texto);min-width:40px;text-align:center;font-size:13px}
html.studio-refresh #telaAnimar.workbench-video .dur-stepper{display:flex;align-items:center;justify-content:center}
html.studio-refresh #telaAnimar.workbench-video .dur-stepper button{color:var(--suave);display:grid;place-items:center}
html.studio-refresh #telaAnimar.workbench-video .dur-stepper button:disabled{opacity:.35}
html.studio-premium.studio-refresh #telaAnimar.workbench-video .toggle input:checked+.toggle-trilho{background:var(--lima)}
html.studio-premium.studio-refresh #telaAnimar.workbench-video .toggle input:checked+.toggle-trilho::after{left:15px;background:#294b14}

/* Premium is purple; buying remains green. Keep the workspace's type and surfaces. */
html.studio-refresh{--up-titulo:Inter,'Segoe UI',sans-serif;--up-limao:var(--lima)}
html.studio-refresh .up-caixa{border-radius:20px;padding:20px;background:radial-gradient(120% 55% at 50% 0%,#8b5cf633,transparent 62%),#121016;border:1px solid #a78bfa59;box-shadow:0 30px 120px #8b5cf630,0 20px 60px #000b;color:var(--texto)}
html.studio-refresh .up-caixa h2{font:600 25px/1.15 Inter,'Segoe UI',sans-serif;letter-spacing:-.6px;color:var(--texto)}
html.studio-refresh .up-sub{font-size:14px;line-height:1.6;color:var(--suave)}
html.studio-refresh .up-usage-note{font-size:12px;margin-top:12px}
html.studio-refresh :is(.up-bloco,.up-preco,.bv-item,.bv-premium,.up-fig){border-radius:12px}
html.studio-refresh .up-bloco{padding:13px;gap:7px;background:linear-gradient(160deg,#a78bfa1f,#a78bfa0a);border-color:#a78bfa38}
html.studio-refresh .up-bloco b{font-size:19px;font-weight:600;color:var(--texto)}
html.studio-refresh .up-preco{background:#0b0a0f;border:1px solid #a78bfa5c;box-shadow:inset 0 1px 0 #ffffff08}
html.studio-refresh :is(.up-bloco-ic,.bv-ic){width:32px;height:32px;border-radius:9px}
html.studio-refresh .up-bloco-ic{margin:0}
html.studio-refresh .up-btn{border-radius:10px;font-size:15px;min-height:48px}
html.studio-refresh .up-primario{background:linear-gradient(115deg,#e2ff7a,#c4f52a);color:#19200e;border-color:#e2ff86;box-shadow:0 8px 30px #cfff3540}
html.studio-refresh .up-chip{border-radius:9px;background:#2b2a31;border:0;min-height:34px;box-shadow:0 0 18px #8b5cf622}
html.studio-refresh .up-comp{border-radius:12px;overflow:hidden}
html.studio-refresh .up-comp-tr{font-size:13px}
html.studio-refresh .up-comp-tr>span{padding:11px 10px}
html.studio-refresh .bv-txt b{font-size:16px;font-weight:600}
html.studio-refresh .bv-txt span{font-size:13px}
html.studio-refresh .bv-chip{font-size:10px;letter-spacing:.8px}
html.studio-refresh .bv-presente{width:40px;height:40px;border-radius:10px}
html.studio-refresh .bv-num{width:27px;height:27px;font-size:13px}
html.studio-refresh .bv-secao{font-size:11px;font-weight:600}
html.studio-refresh .free-premium-banner{max-width:690px;margin:20px auto;padding:24px;border-radius:16px;box-shadow:none;background:var(--painel-2)}
html.studio-refresh .free-premium-banner h3{font-family:Inter,'Segoe UI',sans-serif;font-size:24px;letter-spacing:-.5px}
html.studio-refresh .free-upgrade-banner{border-radius:13px;box-shadow:0 0 30px #8b5cf626;background:color-mix(in srgb,var(--up-roxo) 8%,var(--painel));border-color:color-mix(in srgb,var(--up-roxo) 35%,var(--borda))}
html.studio-refresh .free-upgrade-title,html.studio-refresh .free-upgrade-credits b{color:var(--up-roxo-claro)}
html.studio-refresh .free-limite-menu{padding:12px 0;display:grid;gap:5px;color:var(--texto);font-size:12px}
html.studio-refresh .free-limite-menu[hidden]{display:none}
html.studio-refresh .free-limite-menu small{color:var(--suave);line-height:1.5;font-size:11px}
html.studio-refresh .up-faixa{width:100%;margin:12px 0;border-radius:10px;padding:12px;box-shadow:none;gap:10px}
html.studio-refresh .up-faixa-txt b{font-size:13px;font-family:inherit;line-height:1.3}
html.studio-refresh .up-faixa-txt span{font-size:11px}
html.studio-refresh .up-faixa-cta{font-size:11px}
html.studio-refresh .up-faixa-ic{display:none}
html.studio-refresh .up-recupera{border-radius:14px;box-shadow:0 20px 60px #0008,0 0 28px #8b5cf626}
html.studio-refresh[data-theme=light] .up-caixa{background:radial-gradient(120% 55% at 50% 0%,#c4b5fd66,transparent 62%),#fff;border-color:#c9b8f7;box-shadow:0 20px 70px #8b5cf62b,0 14px 40px #0002}
html.studio-refresh[data-theme=light] .up-preco{background:#faf8ff;border-color:#c9b8f7}
html.studio-refresh[data-theme=light] .up-bloco{background:linear-gradient(160deg,#eee6ff,#faf8ff);border-color:#d6cbfb}
html.studio-refresh[data-theme=light] .up-chip{background:#e6e4ec}
html.studio-refresh[data-theme=light] :is(.free-upgrade-title,.free-upgrade-credits b){color:#6c3ac5}
html.studio-refresh[data-theme=light] .up-atual{color:var(--texto)}
html.studio-refresh[data-theme=light] .up-fechar{color:var(--texto);background:var(--painel-2)}
@media(max-width:900px){
 html.studio-refresh .up-chip{display:none!important}
 html.studio-refresh .up-recupera{bottom:calc(210px + env(safe-area-inset-bottom));right:12px;left:12px;max-width:none}
 html.studio-refresh .free-premium-banner{margin:12px 0;padding:18px}
}
@media(max-width:480px){
 html.studio-refresh .up-caixa{padding:20px 16px;max-height:calc(100dvh - 24px)}
 html.studio-refresh .up-caixa h2{font-size:22px;padding-right:30px}
 html.studio-refresh .up-comp-tr{font-size:11px}
 html.studio-refresh .up-comp-tr>span{padding:10px 7px}
 html.studio-refresh .up-atual{font-size:29px}
 html.studio-refresh .bv-itens{gap:8px}
 html.studio-refresh .bv-item{padding:10px;gap:8px}
 html.studio-refresh .bv-txt b{font-size:14px}
 html.studio-refresh .bv-txt span{font-size:12px}
}
/* Contextual offer cards must fit the new narrow generator panel. */
html.studio-premium.studio-refresh #telaAnimar .free-vitrine:not([hidden]){
 display:flex!important;flex-direction:column;align-items:stretch;gap:17px;width:100%;min-width:0;max-width:100%;box-sizing:border-box;
 margin:0 0 22px;padding:16px;border:1px solid color-mix(in srgb,var(--up-roxo) 25%,var(--borda))!important;
 border-radius:13px;background:var(--painel-2)!important;box-shadow:none!important;overflow:hidden;
}
html.studio-refresh #telaAnimar .free-vitrine>video{width:100%;min-width:0;height:155px;max-height:155px;aspect-ratio:16/9;object-fit:cover;border:0;border-radius:9px}
html.studio-refresh .free-vitrine-txt{min-width:0;max-width:100%;width:auto}
html.studio-refresh .free-vitrine .free-vitrine-txt strong{font:600 21px/1.2 Inter,'Segoe UI',sans-serif;letter-spacing:-.4px;display:block;color:var(--texto);overflow-wrap:break-word}
html.studio-refresh .free-vitrine .free-vitrine-txt p{font-size:13px;line-height:1.55;color:var(--suave);margin:9px 0 15px}
html.studio-refresh .free-vitrine .free-eyebrow{display:inline-flex;align-items:center;gap:5px;font-size:9px;letter-spacing:.6px;font-weight:600;padding:4px 7px;border-radius:5px;line-height:1.2;margin:0 0 10px;box-shadow:none;background:color-mix(in srgb,var(--up-roxo) 15%,transparent);color:var(--up-roxo-claro)}
html.studio-refresh .free-vitrine .free-eyebrow svg{width:12px;height:12px}
html.studio-refresh .free-vitrine .free-primary{width:100%;max-width:100%;min-width:0;min-height:43px;padding:11px 12px;font-size:12px;font-weight:600;line-height:1.4;white-space:normal;box-sizing:border-box;border-radius:9px;background:linear-gradient(115deg,#e2ff7a,#c4f52a);color:#19200e;box-shadow:0 8px 28px #cfff3533}
html.studio-refresh #telaEditor .free-vitrine:not([hidden]),html.studio-refresh #galInspiracoes .free-vitrine:not([hidden]){display:grid!important;grid-template-columns:minmax(0,200px) minmax(0,1fr);width:min(100%,680px);min-width:0;gap:24px;padding:20px;box-sizing:border-box;margin:0 auto 24px;background:var(--painel-2)!important;border-radius:13px;border-color:var(--borda)!important}
html.studio-refresh :is(#telaEditor,#galInspiracoes) .free-vitrine>video{width:100%;min-width:0;height:200px;max-height:200px;object-fit:cover;border-radius:9px}
html.studio-refresh header .aba svg{filter:none!important;box-shadow:none!important;text-shadow:none!important}
html.studio-refresh header .aba{position:relative}
html.studio-premium.studio-refresh.studio-free header :is(#abaAnimar,#abaEditor)::after{content:''!important;display:block!important;position:absolute;top:7px;right:7px;bottom:auto;left:auto;width:11px;height:11px;margin:0;border:0;border-radius:0;background:#b98cf6;filter:drop-shadow(0 0 4px #ac70f5);box-shadow:none;transform:none;pointer-events:none}
html.studio-premium.studio-refresh.studio-free[data-theme=light] header :is(#abaAnimar,#abaEditor)::after{background:#8250c4;filter:drop-shadow(0 0 3px #ac70f580)}
html.studio-premium.studio-refresh.studio-free header :is(#abaAnimar,#abaEditor) svg{color:var(--up-roxo-claro)}
html.studio-premium.studio-refresh.studio-free[data-theme=light] header :is(#abaAnimar,#abaEditor) svg{color:#7444c2}
html.studio-refresh :is(.free-vitrine,.free-premium-banner)[hidden]{display:none!important}
html.studio-refresh[data-theme=light] .free-vitrine .free-eyebrow{color:#6c3ac5}
@media(max-width:600px){
 html.studio-refresh :is(#telaEditor,#galInspiracoes) .free-vitrine:not([hidden]){display:flex!important;flex-direction:column;gap:17px;padding:16px}
 html.studio-refresh :is(#telaEditor,#galInspiracoes) .free-vitrine>video{height:150px;max-height:150px;aspect-ratio:16/9}
}
/* Access-aware video showcase lives with the results, never inside the form. */
html.studio-refresh #telaGaleria{container-type:inline-size;container-name:results}
html.studio-refresh .workspace-video-locked #galMinhas>:not(#freeAnimarVitrine){display:none!important}
html.studio-refresh #freeAnimarVitrine:not([hidden]){
 display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);align-items:center;gap:28px;
 width:min(100%,660px);max-width:100%;box-sizing:border-box;margin:48px auto;padding:24px;
 border:0!important;border-radius:16px;background:var(--painel)!important;box-shadow:none!important;
}
html.studio-refresh #freeAnimarVitrine>video{width:100%;height:290px;object-fit:cover;border-radius:11px;border:0}
html.studio-refresh #freeAnimarVitrine .free-vitrine-txt strong{font-size:26px;line-height:1.12;letter-spacing:-.7px}
html.studio-refresh #freeAnimarVitrine .free-vitrine-txt p{font-size:14px;line-height:1.6;margin:12px 0 22px}
html.studio-refresh #freeAnimarVitrine .free-primary{font-size:13px}
html.studio-refresh.studio-free #telaEditor .workbench-editor-head{opacity:1;pointer-events:auto}
html.studio-refresh.studio-free #telaEditor .editor-acoes{opacity:.38}
html.studio-refresh.studio-free #menuConta #menuCredLinha{align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:20px}
html.studio-refresh.studio-free #menuConta #menuCred{font-size:12px;white-space:nowrap;color:var(--lima)}
html.studio-refresh.studio-free #menuConta #menuDias{display:grid;gap:7px;font-size:11px;line-height:1.55;margin-top:9px}
html.studio-refresh.studio-free #menuConta .free-menu-permanencia{color:var(--apagado)}
html.studio-refresh.studio-free #menuConta .free-limite-menu{padding:14px;margin:14px 0 7px;gap:6px;border-radius:10px;background:var(--painel-2)}
html.studio-refresh.studio-free #menuConta .free-menu-hoje{display:flex;flex-wrap:wrap;gap:4px;font-size:12px;line-height:1.5}
html.studio-refresh.studio-free #menuConta .free-menu-verde{color:var(--lima)}
html.studio-refresh.studio-free #menuConta .free-menu-alerta{color:#d9b56c;font-weight:500}
html.studio-refresh.studio-free #menuConta .free-limite-menu small{font-size:10px;line-height:1.5;color:var(--suave)}
html.studio-refresh.studio-free #menuConta .free-limite-menu small b{font-weight:500;color:var(--texto)}
html.studio-refresh.studio-free[data-theme=light] #menuConta :is(#menuCred,.free-menu-verde){color:#37641d}
html.studio-refresh.studio-free[data-theme=light] #menuConta .free-menu-alerta{color:#92601a}
@container results (max-width:540px){
 html.studio-refresh #freeAnimarVitrine:not([hidden]){grid-template-columns:minmax(0,1fr);gap:20px;max-width:380px;margin:24px auto;padding:20px}
 html.studio-refresh #freeAnimarVitrine>video{height:190px;object-position:center 35%}
 html.studio-refresh #freeAnimarVitrine .free-vitrine-txt strong{font-size:23px}
}
/* Purple showcases are the visual signature of Premium; primary actions stay green. */
html.studio-premium.studio-refresh :is(#freeAnimarVitrine,#telaEditor .free-vitrine,#galInspiracoes .free-vitrine){
 border:1px solid #ab7aee70!important;
 background:radial-gradient(ellipse at 95% 0%,#a76af234,transparent 65%),linear-gradient(135deg,#271b3d,#18121f 75%)!important;
 box-shadow:0 0 36px #965cf52b,inset 0 1px 0 #c89aff24!important;
}
html.studio-premium.studio-refresh .free-vitrine .free-eyebrow{background:#9e65e8;color:#fff;box-shadow:0 0 16px #aa73f44d}
html.studio-premium.studio-refresh .free-vitrine .free-vitrine-txt p{color:#d0c5de}
html.studio-premium.studio-refresh[data-theme=light] :is(#freeAnimarVitrine,#telaEditor .free-vitrine,#galInspiracoes .free-vitrine){
 border-color:#a675dd70!important;background:radial-gradient(ellipse at 95% 0%,#b47bf22b,transparent 65%),linear-gradient(135deg,#f2e9ff,#faf7ff 75%)!important;
 box-shadow:0 0 32px #8f4edb26,inset 0 1px 0 #fff!important;
}
html.studio-premium.studio-refresh[data-theme=light] .free-vitrine .free-vitrine-txt p{color:#665577}
/* Personal presets: saved work first, compact account information below. */
html.studio-premium.studio-refresh #telaEstetica{max-width:1120px;padding-top:32px}
html.studio-refresh #telaEstetica>h1{font-size:28px;font-weight:600;letter-spacing:-.8px;margin:0 0 8px}
html.studio-refresh #telaEstetica>.sub{margin-bottom:32px;font-size:13px}
html.studio-refresh #telaEstetica :is(.characters-style-heading,.characters-heading){margin:0 0 18px}
html.studio-refresh #telaEstetica .characters-eyebrow{display:none}
html.studio-refresh #telaEstetica :is(.characters-style-heading,.characters-heading) h2{font-size:18px;letter-spacing:-.3px;margin-bottom:6px}
html.studio-refresh #telaEstetica :is(.characters-style-heading,.characters-heading) p{font-size:12px;line-height:1.55}
html.studio-refresh #telaEstetica #minhaEsteticaConteudo{margin:0;max-width:none}
html.studio-refresh #telaEstetica .my-style-saved{display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;align-items:center;margin:0;padding:20px;max-width:none;border-radius:14px;background:var(--painel);box-sizing:border-box}
html.studio-refresh #telaEstetica .my-style-cover{width:100%;height:232px;aspect-ratio:auto;object-fit:cover;border-radius:10px}
html.studio-refresh #telaEstetica .my-style-info{min-width:0}
html.studio-refresh #telaEstetica .my-style-info>.free-eyebrow{font-size:9px;color:var(--lima);letter-spacing:.8px;background:none;padding:0}
html.studio-refresh #telaEstetica .my-style-info h2{font:600 22px/1.25 Inter,'Segoe UI',sans-serif;letter-spacing:-.4px;text-transform:none;margin:6px 0 8px;overflow-wrap:anywhere}
html.studio-refresh #telaEstetica .my-style-mode{padding:0;border:0;background:none;font-size:11px;color:var(--suave)}
html.studio-refresh #telaEstetica .my-style-info>.free-muted{font-size:12px;line-height:1.6;max-width:600px;margin:10px 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.studio-refresh #telaEstetica .free-palette{gap:6px;margin:12px 0}
html.studio-refresh #telaEstetica .free-palette span{width:22px;height:22px;border-radius:6px}
html.studio-refresh #telaEstetica .my-style-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px;margin:16px 0 9px;width:auto}
html.studio-refresh #telaEstetica .my-style-actions .free-btn{width:auto;padding:11px 14px;min-height:40px;font-size:12px;white-space:normal;border-radius:8px}
html.studio-refresh #telaEstetica .my-style-delete{padding:5px 0;border:0;font-size:11px;color:var(--suave);text-decoration:underline;text-underline-offset:3px}
html.studio-refresh #telaEstetica .free-plan-summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1.2fr);align-items:center;gap:24px;padding:0;margin:16px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}
html.studio-refresh #telaEstetica .free-plan-balance{display:grid;gap:5px;padding:0 4px}
html.studio-refresh #telaEstetica .free-plan-balance>span{font-size:10px;color:var(--suave)}
html.studio-refresh #telaEstetica .free-plan-balance>strong{font:500 13px/1.4 Inter,sans-serif;color:var(--texto)}
html.studio-refresh #telaEstetica .free-plan-balance>small{font-size:10px;color:var(--apagado)}
html.studio-refresh #telaEstetica .free-plan-upgrade{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 16px;min-width:0;box-sizing:border-box;text-align:left;border:1px solid #a775e55c;border-radius:11px;background:linear-gradient(120deg,#322142,#20172e);color:#f2eaff;box-shadow:0 0 22px #9e65e51a;cursor:pointer}
html.studio-refresh #telaEstetica .free-plan-upgrade>span:first-child{display:grid;gap:5px;min-width:0}
html.studio-refresh #telaEstetica .free-plan-upgrade strong{font:600 12px/1.4 Inter,sans-serif}
html.studio-refresh #telaEstetica .free-plan-upgrade small{font-size:10px;line-height:1.5;color:#ccbbdf}
html.studio-refresh #telaEstetica .free-plan-arrow{font-size:20px;color:#c19aed}
html.studio-refresh #telaEstetica #personagensConteudo{margin-top:36px;padding-top:0;border:0}
html.studio-refresh #telaEstetica .characters-heading>div:first-child{flex-basis:240px}
html.studio-refresh #telaEstetica .characters-grid{gap:16px}
html.studio-refresh #telaEstetica .character-empty{min-height:220px;border-radius:12px}
html.studio-refresh #telaEstetica .character-card{border-radius:12px}
html.studio-refresh[data-theme=light] #telaEstetica .my-style-info>.free-eyebrow{color:#37641d}
html.studio-refresh[data-theme=light] #telaEstetica .free-plan-upgrade{background:linear-gradient(120deg,#f0e5ff,#f7f2ff);color:#503578}
html.studio-refresh[data-theme=light] #telaEstetica .free-plan-upgrade small{color:#775e95}
@media(max-width:600px){
 html.studio-refresh #telaEstetica .my-style-saved{grid-template-columns:1fr;gap:18px;padding:16px}
 html.studio-refresh #telaEstetica .my-style-cover{height:210px;object-position:center 35%}
 html.studio-refresh #telaEstetica .free-plan-summary{grid-template-columns:1fr;gap:14px;margin-top:18px}
 html.studio-refresh #telaEstetica .my-style-actions{align-items:stretch}
 html.studio-refresh #telaEstetica .my-style-actions .free-btn{flex:1 1 130px;text-align:center;justify-content:center}
}
/* Free allowance sits directly after Generate; compact enough for the control panel. */
html.studio-refresh #freeBeneficioCriar{margin:20px 0 0;padding:15px;border:1px solid var(--borda);border-radius:12px;background:var(--painel-2);text-align:left;min-width:0}
html.studio-refresh #freeBeneficioCriar[hidden]{display:none!important}
html.studio-refresh .free-create-label{display:inline-flex;padding:4px 7px;border-radius:5px;background:#ffffff09;color:var(--suave);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
html.studio-refresh .free-create-title{display:block;font:600 16px/1.35 Inter,sans-serif;letter-spacing:-.25px;margin:10px 0 13px}
html.studio-refresh .free-create-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html.studio-refresh .free-create-stats>div{padding:9px 7px;min-width:0;background:var(--painel);border-radius:7px}
html.studio-refresh .free-create-stats b{display:block;font:600 21px/1.1 Inter,sans-serif;letter-spacing:-.6px;color:var(--texto)}
html.studio-refresh .free-create-stats span{display:block;font-size:9px;line-height:1.4;color:var(--suave);margin-top:5px}
html.studio-refresh .free-create-stats .is-warning b{color:#e9ba6b}
html.studio-refresh .free-create-progress{height:4px;background:var(--borda);border-radius:4px;margin:12px 0;overflow:hidden}
html.studio-refresh .free-create-progress i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#9fd61f,var(--lima))}
html.studio-refresh .free-create-upgrade{display:flex;align-items:center;gap:8px;width:100%;padding:11px 9px;margin-bottom:11px;text-align:left;color:#f4edff;border:1px solid #a78bfa66;border-radius:9px;background:linear-gradient(120deg,#38264e,#231a30);box-shadow:0 0 22px #8b5cf62b;cursor:pointer}
html.studio-refresh .free-create-crown{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;background:linear-gradient(135deg,#a78bfa,#8b5cf6);box-shadow:0 0 12px #8b5cf644}
html.studio-refresh .free-create-crown svg{width:17px;height:17px}
html.studio-refresh .free-create-upgrade>span:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}
html.studio-refresh .free-create-upgrade b{font-size:11px;line-height:1.35;font-weight:600}
html.studio-refresh .free-create-upgrade small{font-size:9px;line-height:1.5;color:#c4b5fd}
html.studio-refresh .free-create-arrow{font-size:15px;color:#c4b5fd}
html.studio-refresh #freeBeneficioCriar>.free-primary{width:100%;min-height:40px;padding:10px;font-size:11px;border-radius:8px;white-space:normal;background:var(--lima);color:#19200e}
html.studio-refresh[data-theme=light] .free-create-label{background:#e7e7ec}
html.studio-refresh[data-theme=light] .free-create-upgrade{background:linear-gradient(120deg,#eee4ff,#f6f1ff);color:#49306c}
html.studio-refresh[data-theme=light] .free-create-upgrade small{color:#755896}
html.studio-refresh[data-theme=light] .free-create-stats .is-warning b{color:#91601a}
@media(max-width:900px){
 html.studio-premium.studio-refresh.studio-free #telaCriar .workbench-submit{position:static;padding:0;background:none;box-shadow:none}
}
/* Personal presets and platform presets share one accessible picker. */
html.studio-refresh .style-tabs{display:flex;gap:5px;padding:4px;background:var(--painel-2);border-radius:10px;margin:0 0 22px;width:fit-content;max-width:100%}
html.studio-refresh .style-tabs button{padding:9px 16px;border:0;border-radius:7px;color:var(--suave);font:500 13px/1.4 Inter,sans-serif;min-height:40px;background:none;cursor:pointer;white-space:nowrap}
html.studio-refresh .style-tabs button[aria-selected=true]{background:var(--painel);color:var(--texto);box-shadow:0 1px 5px #0002}
html.studio-refresh #presetsUsuario{margin:0}
html.studio-refresh #presetsUsuario[hidden],html.studio-refresh #esteticasPlataforma[hidden],html.studio-refresh .workbench-dialog h2[hidden]{display:none!important}
html.studio-refresh .personal-presets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
html.studio-refresh .personal-presets-grid .free-personal-card{height:100%;border-radius:12px;overflow:hidden}
html.studio-refresh .personal-presets-grid .thumb{height:260px;object-fit:cover}
html.studio-refresh .personal-presets-grid .nome{white-space:normal;overflow-wrap:anywhere}
html.studio-refresh .personal-presets-grid .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.studio-refresh .personal-styles-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--suave);font-size:12px;margin:12px 0 20px}
html.studio-refresh .style-add-small{border:0;background:none;color:var(--texto);padding:8px 0;font:500 12px/1.5 Inter,sans-serif;cursor:pointer}
html.studio-refresh #minhaEsteticaConteudo .my-style-saved+.my-style-saved{margin-top:28px}
/* The progress indicator reflects real remaining images, with an actual expiration clock. */
html.studio-refresh #freeBeneficioCriar{padding:0;overflow:hidden}
html.studio-refresh .free-benefit-summary{display:flex;align-items:center;gap:10px;padding:14px;cursor:pointer;list-style:none}
html.studio-refresh .free-benefit-summary::-webkit-details-marker{display:none}
html.studio-refresh .free-benefit-ring{position:relative;isolation:isolate;flex:none;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lima) var(--restante),var(--borda) 0);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
html.studio-refresh .free-benefit-ring::before{content:'';position:absolute;inset:3px;background:var(--painel-2);border-radius:50%;z-index:-1}
html.studio-refresh .free-benefit-summary-copy{display:grid;gap:4px;flex:1;min-width:0}
html.studio-refresh .free-benefit-summary-copy b{font:600 12px/1.4 Inter,sans-serif}
html.studio-refresh .free-benefit-summary-copy small{font:400 10px/1.4 Inter,sans-serif;color:var(--suave)}
html.studio-refresh .free-benefit-chevron{font-size:18px;color:var(--suave);transition:transform .15s}
html.studio-refresh details[open] .free-benefit-chevron{transform:rotate(180deg)}
html.studio-refresh .free-benefit-body{padding:0 14px 14px}
html.studio-refresh .free-benefit-body .free-create-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
html.studio-refresh .free-benefit-body .free-create-stats span{font-size:11px}
html.studio-refresh .free-benefit-remaining{font-size:11px;color:var(--suave);margin:12px 0 0;line-height:1.5}
html.studio-refresh .free-benefit-countdown{display:grid;gap:5px;font-size:11px;color:var(--suave);margin:14px 0 9px}
html.studio-refresh .free-benefit-countdown strong{font:600 16px/1.5 Inter,sans-serif;font-variant-numeric:tabular-nums;color:var(--texto)}
html.studio-refresh .free-benefit-countdown .is-warning{color:#e9ba6b}
html.studio-refresh[data-theme=light] .free-benefit-countdown .is-warning{color:#91601a}
html.studio-refresh .free-benefit-reset{display:block;color:var(--suave);font-size:10px;line-height:1.5;margin:0 0 14px}
html.studio-refresh .free-benefit-body>.free-primary{width:100%;white-space:normal;font-size:12px;min-height:40px;padding:10px}
html.studio-refresh .free-benefit-body>.free-create-upgrade:last-child{margin-bottom:0}
@media(max-width:900px){html.studio-premium.studio-refresh .studio-authenticated header .abas{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-left:4px;padding-right:4px;gap:1px!important}}
@media(max-width:600px){html.studio-refresh .personal-presets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.studio-refresh .personal-presets-grid .thumb{height:170px}html.studio-refresh .style-tabs{width:100%;box-sizing:border-box}html.studio-refresh .style-tabs button{flex:1;padding:9px 8px;font-size:12px}}

/* Alertas de saldo e limite do dia; contraste também no tema claro. */
html.studio-refresh{--free-error:#ff8585}
html.studio-refresh[data-theme="light"]{--free-error:#bd252f}
html.studio-refresh #studioWorkspace{overflow-anchor:none}
html.studio-refresh #freeBeneficioCriar.is-exhausted .free-benefit-ring{background:var(--free-error);color:var(--free-error)}
html.studio-refresh #freeBeneficioCriar.is-exhausted .free-benefit-summary-copy small,
html.studio-refresh #freeBeneficioCriar.is-exhausted .free-create-stats>div:first-child b{color:var(--free-error)}
html.studio-refresh.free-daily-exhausted #pillCreditos{color:var(--free-error)!important;border-color:color-mix(in srgb,var(--free-error) 50%,transparent)!important;background:color-mix(in srgb,var(--free-error) 9%,var(--painel))!important;animation:none!important;box-shadow:none!important}
html.studio-refresh.free-daily-exhausted #pillCreditos b,html.studio-refresh.free-daily-exhausted #pillCreditos .credito-pill-label{color:var(--free-error)!important}
html.studio-refresh.free-daily-exhausted #pillCreditos .cota-ponto{background:var(--free-error)!important;animation:none!important}
html.studio-refresh .up-faixa.up-faixa-esgotado{border-color:color-mix(in srgb,var(--free-error) 55%,transparent);background:color-mix(in srgb,var(--free-error) 8%,var(--painel))}
html.studio-refresh .up-faixa.up-faixa-esgotado .up-faixa-txt b{color:var(--free-error)}
html.studio-premium.studio-refresh[data-theme=light] .logo-imagem{content:normal;filter:grayscale(1) invert(1) contrast(1.4);mix-blend-mode:multiply}

html.studio-refresh #workspace-style{height:min(800px,90dvh);max-height:90dvh;overflow:hidden;box-sizing:border-box}
html.studio-refresh #workspace-style[open]{display:flex;flex-direction:column}
html.studio-refresh #workspace-style>.workbench-dialog-head{flex:none;border-bottom:0}
html.studio-refresh #workspace-style>.workbench-dialog-body{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding-top:8px}
html.studio-refresh #workspace-style>.workbench-done{flex:none;align-self:flex-end;margin:12px 28px 20px}
html.studio-refresh #workspace-style .style-tabs{justify-content:center;margin:0 auto 24px;padding:0;background:none;border-radius:0;gap:24px}
html.studio-refresh #workspace-style .style-tabs button{border-radius:0;padding:10px 2px;background:none;box-shadow:none;border-bottom:2px solid transparent;color:var(--suave)}
html.studio-refresh #workspace-style .style-tabs button[aria-selected=true]{color:var(--texto);border-bottom-color:var(--lima)}
html.studio-refresh[data-theme=light] #workspace-style .style-tabs button[aria-selected=true]{border-bottom-color:#426d1f}
@media(max-width:600px){html.studio-refresh #workspace-style{height:90dvh}html.studio-refresh #workspace-style .style-tabs{gap:22px}}
html.studio-refresh .workbench-premium::after{color:#bf91ff;text-shadow:0 0 7px #a15cff88;font-weight:600}html.studio-refresh[data-theme=light] .workbench-premium::after{color:#7b3db6;text-shadow:0 0 5px #aa74e344}
