/* Blaste IA — composição dos módulos.
   Carregada por último para substituir o visual legado, sem mudar contratos. */
:root{--bl-bg:#080808;--bl-surface:#121214;--bl-surface-2:#19191D;--bl-line:rgba(226,180,62,.18);--bl-gold:#D4AF37;--bl-gold-deep:#D4AF37;--bl-text:#F8F8F8;--bl-muted:#A1A1AA;--bl-radius:16px}
html[data-blaste-ia] body.blaste-module{background:var(--bl-bg)!important;color:var(--bl-text)!important}
body.blaste-module .blaste-card{position:relative;overflow:clip;background:var(--bl-surface)!important;border:1px solid var(--bl-line)!important;border-radius:var(--bl-radius)!important;box-shadow:0 14px 35px rgba(0,0,0,.22)!important}body.blaste-module .blaste-card:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:#D4AF37;opacity:.8}body.blaste-module .blaste-card>*{position:relative}body.blaste-module .blaste-card:hover{border-color:rgba(245,181,27,.42)!important}
body.blaste-module label{display:block;margin:0 0 7px!important;color:#c1cde0!important;font-size:10px!important;font-weight:820!important;letter-spacing:.1em!important;text-transform:uppercase}body.blaste-module input,body.blaste-module textarea,body.blaste-module select{width:100%;min-height:44px;background:#0D0D0F!important;border:1px solid rgba(226,180,62,.2)!important;border-radius:10px!important;color:#F8F8F8!important;font-size:14px!important}body.blaste-module textarea{min-height:148px;resize:vertical}body.blaste-module input:hover,body.blaste-module textarea:hover,body.blaste-module select:hover{border-color:rgba(245,181,27,.4)!important}body.blaste-module input:focus,body.blaste-module textarea:focus,body.blaste-module select:focus{border-color:var(--bl-gold)!important;box-shadow:0 0 0 3px rgba(245,181,27,.13)!important}
body.blaste-module .primary,body.blaste-module .btn-primary,body.blaste-module button.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#D4AF37!important;border:1px solid #FFD76A!important;border-radius:10px!important;color:#211600!important;font-weight:850!important;letter-spacing:.01em;transition:transform .15s,filter .15s}body.blaste-module .primary:hover,body.blaste-module .btn-primary:hover,body.blaste-module button.primary:hover{filter:brightness(1.08);transform:translateY(-1px)}body.blaste-module .secondary,body.blaste-module .btn-outline{background:#19191D!important;border:1px solid var(--bl-line)!important;border-radius:10px!important;color:#e9eef7!important;font-weight:720!important}body.blaste-module .secondary:hover,body.blaste-module .btn-outline:hover{border-color:rgba(245,181,27,.45)!important;background:#202b40!important}
body.blaste-module .grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:14px!important;align-items:start}body.blaste-module .span{grid-column:1/-1!important}body.blaste-module .buttons{display:flex;flex-wrap:wrap;gap:9px!important;align-items:center}body.blaste-module .buttons>*{min-height:40px}body.blaste-module .gsub{margin:24px 0 12px!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid rgba(226,180,62,.16)!important;color:var(--bl-gold)!important;font-size:11px!important;letter-spacing:.11em!important}
body.blaste-module .steps{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important}body.blaste-module .step{min-height:86px!important;padding:14px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:12px!important;color:#aebbd0!important}body.blaste-module .step b{color:#F8F8F8!important}body.blaste-module .step.active{background:rgba(245,181,27,.1)!important;border-color:rgba(245,181,27,.55)!important}body.blaste-module .step.done{border-color:rgba(74,222,128,.55)!important}body.blaste-module .bar,body.blaste-module .progress{height:8px!important;border-radius:999px!important;background:#070c17!important;border:1px solid rgba(255,255,255,.04)!important;overflow:hidden}body.blaste-module .bar i,body.blaste-module .progress i{background:var(--bl-gold)!important}
body.blaste-module .log,body.blaste-module pre{padding:14px!important;background:#060b15!important;border:1px solid rgba(226,180,62,.14)!important;border-radius:12px!important;color:#bdc8d9!important;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace!important}body.blaste-module #result,body.blaste-module .result{margin-top:16px;padding:16px;background:#0D0D0F;border:1px dashed rgba(245,181,27,.35);border-radius:14px}body.blaste-module video{max-width:100%;border:1px solid var(--bl-line)!important;border-radius:14px!important;background:#000!important}

/* Produção: leitura linear, com monitor e fila bem separados. */
body[data-studio-page="gerar"] .wrap,body[data-studio-page="montar-video"] .wrap,body[data-studio-page="montar2"] .wrap,body[data-studio-page="imagem"] .wrap,body[data-studio-page="imagem-video"] .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:0}body[data-studio-page="gerar"] .card:first-of-type,body[data-studio-page="montar-video"] .card:first-of-type,body[data-studio-page="imagem"] .card:first-of-type,body[data-studio-page="imagem-video"] .card:first-of-type{border-color:rgba(245,181,27,.38)!important}body[data-studio-page="gerar"] #monitor,body[data-studio-page="montar-video"] #monitor{border-left:3px solid var(--bl-gold);scroll-margin-top:20px}body[data-studio-page="gerar"] #queueBox,body[data-studio-page="montar-video"] #queueBox{background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:14px!important;padding:15px!important}body[data-studio-page="imagem"] .styles{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(175px,1fr))!important;gap:12px!important}body[data-studio-page="imagem"] .styleopt{padding:12px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:12px!important}body[data-studio-page="imagem"] .styleopt.sel{border-color:var(--bl-gold)!important;box-shadow:inset 0 0 0 1px var(--bl-gold)!important}

/* Roteiro: painel editorial com hierarquia clara. */
body[data-studio-page="roteiro"] .workspace{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:18px!important;align-items:start}body[data-studio-page="roteiro"] .hero{padding:30px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:18px!important}body[data-studio-page="roteiro"] .quick-row{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0!important}body[data-studio-page="roteiro"] .panel-head{display:flex;justify-content:space-between;gap:14px;padding-bottom:13px;margin-bottom:18px;border-bottom:1px solid rgba(226,180,62,.14)}body[data-studio-page="roteiro"] .panel-head .step{display:grid;place-items:center;min-height:30px!important;width:30px;padding:0!important;border-radius:8px;background:rgba(245,181,27,.16)!important;color:var(--bl-gold)!important}

/* Hermes e administração: dados fáceis de ler, sem aparência de dashboard genérico. */
body[data-studio-page="hermes"] .st-main,body[data-studio-page="Super"] .wrap{max-width:1580px!important}body[data-studio-page="hermes"] .top{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:20px;padding:24px;border:1px solid var(--bl-line);border-radius:16px;background:#121214}body[data-studio-page="hermes"] #stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important}body[data-studio-page="hermes"] #stats .card{min-height:112px;margin:0!important;padding:17px!important}body[data-studio-page="hermes"] #stats .card b{display:block;margin-top:10px;color:var(--bl-gold);font-size:27px}body[data-studio-page="hermes"] .panel{margin-top:16px!important;padding:22px!important;border:1px solid var(--bl-line)!important;border-radius:16px!important;background:#121214!important}body[data-studio-page="hermes"] .live{padding:15px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:12px!important}
body.blaste-module .tbl-wrap,body.blaste-module .table-wrap{overflow:auto;border:1px solid var(--bl-line);border-radius:12px}body.blaste-module table{width:100%;border-collapse:collapse;background:#121214!important}body.blaste-module th{padding:12px!important;background:#19191D!important;color:var(--bl-gold)!important;font-size:10px!important;letter-spacing:.08em;text-align:left;text-transform:uppercase}body.blaste-module td{padding:13px!important;border-top:1px solid rgba(226,180,62,.1)!important;color:#d9e1ed!important}body.blaste-module tr:hover td{background:#19191D!important}

/* Biblioteca, editor e publicações. */
body[data-studio-page="biblioteca"] .library-hero,body[data-studio-page="editor"] .hero,body[data-studio-page="publicacoes"] .hero{padding:28px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:18px!important}body[data-studio-page="biblioteca"] .mgrid,body[data-studio-page="biblioteca"] .fgrid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:14px!important}body[data-studio-page="biblioteca"] .mitem,body[data-studio-page="biblioteca"] .fitem{min-height:170px!important;padding:14px!important;border:1px solid var(--bl-line)!important;border-radius:14px!important;background:#121214!important}body[data-studio-page="editor"] .vwrap{background:#050a14!important;border:1px solid var(--bl-line)!important;border-radius:16px!important}body[data-studio-page="publicacoes"] .pub,body[data-studio-page="configuracoes"] .cfg-section,body[data-studio-page="Super"] .kpi{padding:18px!important;background:#121214!important;border:1px solid var(--bl-line)!important;border-radius:14px!important}

@media(max-width:980px){body[data-studio-page="roteiro"] .workspace{grid-template-columns:1fr!important}body[data-studio-page="hermes"] .top{align-items:flex-start;flex-direction:column}body.blaste-module .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){body.blaste-module .grid{grid-template-columns:1fr!important}body.blaste-module .card,body.blaste-module .panel{padding:16px!important}body.blaste-module .buttons>*{flex:1 1 100%}body[data-studio-page="roteiro"] .panel-head{align-items:flex-start;flex-direction:column}body[data-studio-page="hermes"] .top{padding:17px}body.blaste-module th,body.blaste-module td{white-space:nowrap}}

/* Camada de substituição dos módulos antigos.
   Há páginas históricas com até três blocos <style> e menus próprios. Esta
   camada é carregada por último e usa escopo do shell, portanto preserva IDs,
   eventos e chamadas de API, mas elimina a aparência azul/roxa herdada. */
html[data-blaste-ia] body.blaste-module{background:#080808!important;color:#F8F8F8!important;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif!important;letter-spacing:.002em}
html[data-blaste-ia] body.blaste-module :is(.wrap,.st-main,.container){width:min(100%,1580px)!important;max-width:1580px!important;margin-inline:auto!important;padding:clamp(22px,3vw,46px)!important}
html[data-blaste-ia] body.blaste-module :is(.wrap,.st-main){min-width:0!important}
html[data-blaste-ia] body.blaste-module :is(.st-side,.st-burger,.st-overlay){display:none!important}
html[data-blaste-ia] body.blaste-module :is(.card,.panel,.cfg-section,.pub,.prov,.side-card,.kpi,.mitem,.fitem,.scene,.details,.live,.empty){background:#121214!important;background-image:none!important;border:1px solid rgba(212,175,55,.18)!important;border-radius:16px!important;box-shadow:0 16px 42px rgba(0,0,0,.24)!important}
html[data-blaste-ia] body.blaste-module :is(.card,.panel,.cfg-section,.pub,.prov,.side-card,.scene,.details,.live,.empty){padding:clamp(16px,2vw,24px)!important;margin-bottom:16px!important}
html[data-blaste-ia] body.blaste-module :is(.card,.panel,.cfg-section,.pub,.prov,.side-card,.scene,.details,.live,.empty):hover{border-color:rgba(255,215,106,.45)!important}

/* Blindagem das páginas legadas: todos os módulos internos usam a mesma base
   escura e sinais em ouro. O HTML antigo pode manter suas classes e scripts,
   mas não volta a injetar azul/roxo no fundo, cards ou ações. */
html[data-blaste-ia] body.blaste-module{background:#080808!important;background-image:none!important}html[data-blaste-ia] body.blaste-module :is(.hero,.top,.topbar,.studio-hero,.workspace,.side-card,.preview,.preview-card,.modal-inner,.mbox){background-color:#121214!important;background-image:none!important;border-color:rgba(212,175,55,.2)!important}html[data-blaste-ia] body.blaste-module :is(.hero,.top,.topbar,.studio-hero){box-shadow:0 18px 46px rgba(0,0,0,.25)!important}html[data-blaste-ia] body.blaste-module :is(.btn.primary,.btn.indigo,.primary,.gold){background:#D4AF37!important;background-image:none!important;border-color:#FFD76A!important;color:#211600!important}html[data-blaste-ia] body.blaste-module :is(.btn.secondary,.btn.subtle,.secondary,.alt){background:#19191D!important;border-color:rgba(212,175,55,.24)!important;color:#F8F8F8!important}html[data-blaste-ia] body.blaste-module :is(.btn.primary,.btn.indigo,.primary,.gold):hover{background:#FFD76A!important;filter:none!important}html[data-blaste-ia] body.blaste-module :is(a,.eyebrow,.gsub,.num){color:#FFD76A!important}html[data-blaste-ia] body.blaste-module :is(input,textarea,select,.control){background:#0D0D0F!important;border-color:rgba(212,175,55,.24)!important;color:#F8F8F8!important}html[data-blaste-ia] body.blaste-module :is(input,textarea,select,.control):focus{border-color:#FFD76A!important;box-shadow:0 0 0 3px rgba(212,175,55,.13)!important}

/* Efeito imediato em páginas que ainda chegam do processo antigo: esconde
   apenas a navegação HTML legada. A shell nova usa .blaste-app-shell e não é
   afetada. Isso elimina a faixa estreita e recortada do Super no celular. */
html[data-blaste-ia] body>.st-side,html[data-blaste-ia] body>.st-burger,html[data-blaste-ia] body>.st-overlay{display:none!important}
@media(max-width:1050px){html[data-blaste-ia] body.blaste-module[data-studio-page="Super"]{padding-left:0!important;overflow-x:hidden!important}html[data-blaste-ia] body.blaste-module[data-studio-page="Super"] .wrap{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:16px 13px 40px!important}html[data-blaste-ia] body.blaste-module[data-studio-page="Super"] .admtabs{display:flex!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;gap:8px!important;padding:10px!important;scroll-snap-type:x proximity}html[data-blaste-ia] body.blaste-module[data-studio-page="Super"] .admtabs button{display:block!important;flex:0 0 154px!important;min-width:154px!important;min-height:52px!important;padding:10px 12px!important;white-space:normal!important;text-align:left!important;scroll-snap-align:start}}
html[data-blaste-ia] body.blaste-module :is(.hero,.library-hero,.top){position:relative!important;overflow:hidden!important;background:#121214!important;background-image:none!important;border:1px solid rgba(212,175,55,.3)!important;border-radius:18px!important;box-shadow:0 20px 52px rgba(0,0,0,.28)!important}
html[data-blaste-ia] body.blaste-module :is(.hero,.library-hero,.top):before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#D4AF37!important}
html[data-blaste-ia] body.blaste-module :is(.hero,.library-hero,.top)>*{position:relative!important}
html[data-blaste-ia] body.blaste-module h1{font-size:clamp(28px,3vw,42px)!important;line-height:1.08!important;letter-spacing:-.045em!important;color:#F8F8F8!important}
html[data-blaste-ia] body.blaste-module h2{color:#F8F8F8!important;font-size:clamp(17px,1.6vw,22px)!important;letter-spacing:-.025em!important}
html[data-blaste-ia] body.blaste-module h3{color:#F8F8F8!important}html[data-blaste-ia] body.blaste-module :is(.muted,.hint,.hero-copy,.hero p,.card p,.panel p){color:#A1A1AA!important}
html[data-blaste-ia] body.blaste-module :is(input,textarea,select,.control){background:#0D0D0F!important;color:#F8F8F8!important;border:1px solid rgba(212,175,55,.22)!important;border-radius:10px!important;box-shadow:none!important}
html[data-blaste-ia] body.blaste-module :is(input,textarea,select,.control):focus{border-color:#FFD76A!important;box-shadow:0 0 0 3px rgba(212,175,55,.14)!important}
html[data-blaste-ia] body.blaste-module select option{background:#121214!important;color:#F8F8F8!important}
html[data-blaste-ia] body.blaste-module :is(button,.btn,.button){min-height:40px!important;border-radius:10px!important;background:#19191D!important;background-image:none!important;border:1px solid rgba(212,175,55,.24)!important;color:#F8F8F8!important;box-shadow:none!important}
html[data-blaste-ia] body.blaste-module :is(button,.btn,.button):hover{border-color:#FFD76A!important;background:#222226!important;filter:none!important}
html[data-blaste-ia] body.blaste-module :is(.primary,.btn-primary,.hero-primary,.gold,button.primary,.button.primary){background:#D4AF37!important;border-color:#FFD76A!important;color:#211600!important;font-weight:850!important}
html[data-blaste-ia] body.blaste-module :is(.secondary,.btn-outline,.alt,button.secondary){background:#19191D!important;color:#F8F8F8!important}
html[data-blaste-ia] body.blaste-module :is(.danger,.bad){color:#fda4af!important}html[data-blaste-ia] body.blaste-module .ok{color:#86efac!important}
html[data-blaste-ia] body.blaste-module :is(.gsub,.eyebrow,.hero-kicker,.num,.blaste-breadcrumb){color:#FFD76A!important}
html[data-blaste-ia] body.blaste-module :is(.step,.styleopt,.plan-title,.stat,.keyrow,.checkline,.batchcard){background:#19191D!important;background-image:none!important;border:1px solid rgba(212,175,55,.16)!important;border-radius:12px!important;color:#d4d4d8!important}
html[data-blaste-ia] body.blaste-module :is(.step.active,.step.on,.styleopt.sel){background:rgba(212,175,55,.11)!important;border-color:#D4AF37!important;color:#F8F8F8!important;box-shadow:inset 0 0 0 1px rgba(255,215,106,.35)!important}
html[data-blaste-ia] body.blaste-module :is(.step.done){border-color:rgba(74,222,128,.55)!important}
html[data-blaste-ia] body.blaste-module :is(.log,pre,.logbox){background:#0D0D0F!important;border:1px solid rgba(212,175,55,.14)!important;color:#d4d4d8!important}
html[data-blaste-ia] body.blaste-module :is(table,thead,tbody,tr,td,th){background:transparent!important;border-color:rgba(212,175,55,.13)!important}html[data-blaste-ia] body.blaste-module th{background:#19191D!important;color:#FFD76A!important}
html[data-blaste-ia] body.blaste-module :is(.modal,.mbox,dialog){background:#121214!important;border-color:rgba(212,175,55,.3)!important;color:#F8F8F8!important}

/* Composições específicas: grandes áreas de visualização e fluxo legível. */
html[data-blaste-ia] body[data-studio-page="gerar"] .wrap,html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap,html[data-blaste-ia] body[data-studio-page="montar2"] .wrap{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,.38fr)!important;align-items:start!important;gap:18px!important}
html[data-blaste-ia] body[data-studio-page="gerar"] .wrap> :is(.card,.panel):first-of-type,html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap> :is(.card,.panel):first-of-type,html[data-blaste-ia] body[data-studio-page="montar2"] .wrap> :is(.card,.panel):first-of-type{grid-row:span 2!important}
html[data-blaste-ia] body[data-studio-page="imagem"] .wrap,html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)!important;gap:18px!important;align-items:start!important}
html[data-blaste-ia] body[data-studio-page="imagem"] .wrap> :is(.card,.panel):first-of-type,html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap> :is(.card,.panel):first-of-type{grid-row:span 2!important}
html[data-blaste-ia] body[data-studio-page="hermes"] .st-main{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important}
html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.top,html[data-blaste-ia] body[data-studio-page="hermes"] #stats,html[data-blaste-ia] body[data-studio-page="hermes"] .qpanel{grid-column:1/-1!important}html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.panel{grid-column:span 6!important;margin:0!important}html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.panel:nth-of-type(2n){grid-column:span 6!important}
html[data-blaste-ia] body[data-studio-page="Super"] .wrap{display:block!important}html[data-blaste-ia] body[data-studio-page="Super"] .wrap>*{grid-column:auto!important;margin-bottom:16px!important}

@media(max-width:1100px){html[data-blaste-ia] body[data-studio-page="gerar"] .wrap,html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap,html[data-blaste-ia] body[data-studio-page="montar2"] .wrap,html[data-blaste-ia] body[data-studio-page="imagem"] .wrap,html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap{grid-template-columns:1fr!important}html[data-blaste-ia] body[data-studio-page="gerar"] .wrap>*,html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap>*,html[data-blaste-ia] body[data-studio-page="montar2"] .wrap>*,html[data-blaste-ia] body[data-studio-page="imagem"] .wrap>*,html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap>*{grid-row:auto!important}html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.panel,html[data-blaste-ia] body[data-studio-page="Super"] .wrap>.card{grid-column:1/-1!important}html[data-blaste-ia] body[data-studio-page="Super"] .wrap{display:block!important}}
@media(max-width:640px){html[data-blaste-ia] body.blaste-module :is(.wrap,.st-main,.container){padding:16px 13px 42px!important}html[data-blaste-ia] body.blaste-module :is(.card,.panel,.cfg-section,.pub,.prov,.side-card,.scene,.details,.live,.empty){padding:16px!important;border-radius:13px!important}html[data-blaste-ia] body.blaste-module .buttons>*{width:100%!important;flex:1 1 100%!important}html[data-blaste-ia] body[data-studio-page="hermes"] .st-main{display:block!important}html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.panel{margin-bottom:14px!important}html[data-blaste-ia] body[data-studio-page="Super"] .wrap{display:block!important}}

/* Estabilidade estrutural no desktop.
   Os módulos legados têm hierarquias diferentes (alguns cartões são painéis
   auxiliares, outros são o monitor ou a fila). Não os redistribuímos por uma
   grade global: cada página mantém a ordem funcional original e recebe apenas
   o sistema visual comum acima. */
@media(min-width:641px){
 html[data-blaste-ia] body[data-studio-page="gerar"] .wrap,
 html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap,
 html[data-blaste-ia] body[data-studio-page="montar2"] .wrap,
 html[data-blaste-ia] body[data-studio-page="imagem"] .wrap,
 html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap,
 html[data-blaste-ia] body[data-studio-page="Super"] .wrap{display:block!important}
 html[data-blaste-ia] body[data-studio-page="gerar"] .wrap>* ,
 html[data-blaste-ia] body[data-studio-page="montar-video"] .wrap>* ,
 html[data-blaste-ia] body[data-studio-page="montar2"] .wrap>* ,
 html[data-blaste-ia] body[data-studio-page="imagem"] .wrap>* ,
 html[data-blaste-ia] body[data-studio-page="imagem-video"] .wrap>*{grid-row:auto!important;grid-column:auto!important}
 html[data-blaste-ia] body[data-studio-page="hermes"] .st-main{display:block!important}
 html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.top,
 html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>#stats,
 html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>.panel{display:block!important;grid-column:auto!important;margin-bottom:16px!important}
 html[data-blaste-ia] body[data-studio-page="Super"] .wrap>.card,
 html[data-blaste-ia] body[data-studio-page="Super"] .wrap>.hero,
 html[data-blaste-ia] body[data-studio-page="Super"] .wrap>.cards{grid-column:auto!important;margin-bottom:16px!important}
}

/* /blaste agora participa da navegação única. A workstation antiga continua
   fornecendo o conteúdo de projetos, mas sua barra lateral é removida para
   não duplicar a navegação do estúdio. */
html[data-blaste-ia] body.blaste-module.blaste-workstation{padding-left:278px!important}
html[data-blaste-ia] body.blaste-module.blaste-workstation .app{display:block!important;min-height:0!important;background:transparent!important}
html[data-blaste-ia] body.blaste-module.blaste-workstation .side{display:none!important}
html[data-blaste-ia] body.blaste-module.blaste-workstation .main{width:min(100%,1580px)!important;max-width:1580px!important;margin:0 auto!important;padding:clamp(22px,3vw,46px)!important}
html[data-blaste-ia] body.blaste-module.blaste-workstation .hero{margin:0 0 18px!important}
@media(max-width:1050px){html[data-blaste-ia] body.blaste-module.blaste-workstation{padding-left:0!important}html[data-blaste-ia] body.blaste-module.blaste-workstation .main{padding:20px!important}}
@media(max-width:640px){html[data-blaste-ia] body.blaste-module.blaste-workstation .main{padding:16px 13px 42px!important}}

/* Seleção compacta: checkboxes e radios não podem herdar a largura dos
   campos de texto. O rótulo continua uma área confortável para clicar. */
html[data-blaste-ia] body.blaste-module :is(input[type="checkbox"],input[type="radio"]){appearance:auto!important;display:inline-block!important;box-sizing:border-box!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;margin:1px 0 0!important;padding:0!important;border-radius:5px!important;accent-color:#D4AF37!important;box-shadow:none!important;vertical-align:middle!important}
html[data-blaste-ia] body.blaste-module :is(label.check,.checkline,.switch,.cfg-toggle){display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0!important;padding:12px 14px!important;border:1px solid rgba(212,175,55,.18)!important;border-radius:12px!important;background:#19191D!important;color:#E4E4E7!important;font-size:13px!important;font-weight:650!important;letter-spacing:0!important;line-height:1.45!important;text-transform:none!important;cursor:pointer!important}
html[data-blaste-ia] body.blaste-module :is(label.check,.checkline,.switch,.cfg-toggle):has(input:checked){border-color:rgba(212,175,55,.56)!important;background:rgba(212,175,55,.1)!important}
html[data-blaste-ia] body.blaste-module :is(label.check,.checkline,.switch,.cfg-toggle) :is(input[type="checkbox"],input[type="radio"]){margin-top:1px!important}
html[data-blaste-ia] body.blaste-module :is(label.check,.checkline,.switch,.cfg-toggle) small{display:block!important;margin-top:3px!important;color:#A1A1AA!important;font-weight:500!important}

/* Hermes — faixa operacional de métricas. Mantém o conteúdo dinâmico do
   backend e destaca volume, andamento, publicação e exceções sem poluir. */
html[data-blaste-ia] body[data-studio-page="hermes"] #stats{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;margin:0 0 20px!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat{position:relative!important;display:flex!important;min-height:118px!important;flex-direction:column!important;justify-content:space-between!important;gap:14px!important;margin:0!important;padding:17px!important;overflow:hidden!important;background:#121214!important;border:1px solid rgba(212,175,55,.18)!important;border-radius:14px!important;box-shadow:0 12px 30px rgba(0,0,0,.2)!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:before{content:"";width:7px;height:7px;border-radius:50%;background:#D4AF37;box-shadow:0 0 0 4px rgba(212,175,55,.1)}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat span{color:#A1A1AA!important;font-size:10px!important;font-weight:820!important;letter-spacing:.11em!important;line-height:1.2!important;text-transform:uppercase!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat b{color:#F8F8F8!important;font-size:clamp(28px,2.1vw,38px)!important;font-weight:850!important;line-height:1!important;letter-spacing:-.055em!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(2):before,html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(6):before{background:#4ade80!important;box-shadow:0 0 0 4px rgba(74,222,128,.1)!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(4){border-color:rgba(99,102,241,.48)!important;background:#14141b!important}html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(4):before{background:#818cf8!important;box-shadow:0 0 0 4px rgba(129,140,248,.12)!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(5){border-color:rgba(244,114,182,.4)!important}html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(5):before{background:#f472b6!important;box-shadow:0 0 0 4px rgba(244,114,182,.12)!important}
html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(7){border-color:rgba(251,113,133,.45)!important}html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat:nth-child(7):before{background:#fb7185!important;box-shadow:0 0 0 4px rgba(251,113,133,.1)!important}
@media(max-width:1280px){html[data-blaste-ia] body[data-studio-page="hermes"] #stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media(max-width:760px){html[data-blaste-ia] body[data-studio-page="hermes"] #stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}html[data-blaste-ia] body[data-studio-page="hermes"] #stats .hermes-stat{min-height:104px!important;padding:14px!important}}

/* A regra de estabilidade da página não deve desmontar a faixa de métricas. */
html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>#stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
@media(max-width:900px){html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>#stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:520px){html[data-blaste-ia] body[data-studio-page="hermes"] .st-main>#stats{grid-template-columns:1fr!important}}
