
* { box-sizing: border-box; margin: 0; }
body { background: var(--studio-surface-page); color: var(--studio-text-primary); font: 14px/1.5 var(--studio-font-ui); }
a { color: var(--studio-text-accent); text-decoration: none; }
button { cursor: pointer; font: inherit; }

h1, h2, h3, .logo {
  font-family: var(--studio-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.layout { display: flex; min-height: 100vh; }
.sidebar { width: 230px; background: var(--studio-surface-raised); border-right: 1px solid var(--studio-border-subtle); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.logo { font-size: 19px; margin-bottom: 26px; letter-spacing: -0.01em; display: flex; align-items: center; gap: var(--studio-space-2); }
.logo span { color: var(--studio-text-accent); }
.nav { display: flex; flex-direction: column; gap: var(--studio-space-1); flex: 1; }
.nav a { color: var(--studio-text-secondary); padding: 10px var(--studio-space-3); border-radius: var(--studio-radius-control); font-weight: 600; display: flex; align-items: center; gap: var(--studio-space-2); }
.nav a.ativo, .nav a:hover { background: var(--studio-surface-stage); color: var(--studio-text-primary); box-shadow: inset 3px 0 0 var(--studio-brand-accent); }
.nav-group-label { text-transform: uppercase; color: var(--studio-text-secondary); font-size: 11px; margin-top: var(--studio-space-4); margin-bottom: var(--studio-space-1); font-weight: 700; letter-spacing: .06em; padding: 0 var(--studio-space-3); }
.nav-group-label:first-child { margin-top: 0; }
.badge { margin-left: auto; background: var(--studio-brand-accent); color: var(--studio-text-primary); font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.userbox { border-top: 1px solid var(--studio-border-subtle); padding-top: var(--studio-space-3); font-size: 13px; color: var(--studio-text-secondary); }
.userbox b { color: var(--studio-text-primary); display: block; }
.main { flex: 1; padding: 26px 30px; max-width: 1500px; }
h1 { font-size: 22px; margin-bottom: var(--studio-space-1); }
.sub { color: var(--studio-text-secondary); margin-bottom: 22px; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-panel); padding: 14px; box-shadow: var(--studio-shadow-flat), 0 2px 8px color-mix(in srgb, var(--studio-shadow-color) 14.9%, transparent); transition: border-color .15s, transform .15s; }
.grid .card:hover { border-color: var(--studio-border-strong); transform: translateY(-1px); }
.estilos-admin { grid-column: 1 / -1; display: grid; gap: var(--studio-space-4); }
.estilos-admin__heading, .estilos-admin__heading > span { display: flex; align-items: center; justify-content: space-between; gap: var(--studio-space-2); }
.estilos-admin__heading small { color: var(--studio-text-secondary); }
.estilos-admin__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--studio-space-3); padding: var(--studio-space-3); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); background: var(--studio-surface-stage); }
.estilos-admin__form > :nth-last-child(2) { grid-column: span 2; }
.estilos-admin__form > :has(textarea) { grid-column: 1 / -1; }
.estilos-admin__form textarea, .estilos-admin-profile textarea { resize: vertical; }
.estilos-admin__list, .estilos-admin__profiles { display: grid; gap: var(--studio-space-2); }
.estilos-admin__list h3, .estilos-admin__profiles h3 { min-height: 0; margin: 0; }
.estilos-admin__list article { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--studio-space-3); align-items: center; padding: var(--studio-space-3); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); }
.estilos-admin__list article > div:first-child { display: grid; gap: 2px; }
.estilos-admin__list article small, .estilos-admin-profile summary small { color: var(--studio-text-secondary); }
.estilos-admin__actions { display: flex; flex-wrap: wrap; gap: var(--studio-space-1); }
.estilos-admin-profile { border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); overflow: clip; }
.estilos-admin-profile summary { display: flex; align-items: center; justify-content: space-between; gap: var(--studio-space-3); padding: var(--studio-space-3); cursor: pointer; background: var(--studio-surface-stage); }
.estilos-admin-profile summary > span { display: grid; gap: 2px; }
.estilos-admin-profile__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--studio-space-3); padding: var(--studio-space-3); }
.estilos-admin-profile__form > :has(textarea), .estilos-admin-profile__form > button { grid-column: 1 / -1; }
.estilos-admin-check { display: flex; align-items: center; gap: var(--studio-space-2); min-height: 44px; text-transform: none; }
@media (max-width: 760px) {
  .estilos-admin__form, .estilos-admin-profile__form { grid-template-columns: 1fr; }
  .estilos-admin__form > :nth-last-child(2), .estilos-admin__form > :has(textarea), .estilos-admin-profile__form > :has(textarea), .estilos-admin-profile__form > button { grid-column: auto; }
  .estilos-admin__list article { grid-template-columns: 1fr; align-items: start; }
}
.card img.foto { width: 100%; height: 190px; object-fit: cover; border-radius: var(--studio-radius-control); background: var(--studio-surface-stage); }
.card h3 { font-size: 14.5px; margin: 10px 0 6px; line-height: 1.35; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--studio-font-ui); font-weight: 600; letter-spacing: normal; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--studio-space-2) 0; }
.tag { background: var(--studio-surface-stage); border: 1px solid var(--studio-border-subtle); color: var(--studio-text-secondary); font-size: 11.5px; padding: 2px 9px; border-radius: 99px; font-weight: 600; }
.tag.verde { color: var(--studio-feedback-success-fg); border-color: var(--studio-feedback-success-fg); }
.tag.amarela { color: var(--studio-feedback-warning-fg); border-color: var(--studio-feedback-warning-fg); }
.tag.vermelha { color: var(--studio-feedback-error-fg); border-color: var(--studio-feedback-error-fg); }
.tag.roxa { color: var(--studio-ai-fg); border-color: var(--studio-ai-border); }
.tag.brand { color: var(--studio-text-accent); border-color: color-mix(in srgb, var(--studio-selection-bg) 40%, transparent); }

.btn { background: var(--studio-action-primary-bg); border: 0; color: var(--studio-action-primary-fg); padding: 9px var(--studio-space-4); border-radius: var(--studio-radius-control); font-weight: 700; display: inline-flex; align-items: center; gap: var(--studio-space-2); }
.btn:hover { background: var(--studio-action-primary-hover-bg); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.fantasma { background: var(--studio-surface-stage); color: var(--studio-text-primary); border: 1px solid var(--studio-border-subtle); }
.btn.verde { background: var(--studio-feedback-success-fg); color: var(--studio-feedback-success-bg); }
.btn.vermelho { background: var(--studio-feedback-error-bg); color: var(--studio-feedback-error-fg); border: 1px solid var(--studio-feedback-error-fg); }
.btn.mini { padding: 5px 11px; font-size: 13px; border-radius: var(--studio-radius-control); }
.btn.descartar-link { background: transparent; color: var(--studio-text-secondary); border: 1px solid transparent; }
.btn.descartar-link:hover { color: var(--studio-feedback-error-fg); border-color: var(--studio-feedback-error-fg); background: var(--studio-feedback-error-bg); }
.btn.ai { background: var(--studio-ai-bg); color: var(--studio-ai-fg); border: 1px solid var(--studio-ai-border); }
.btn.ai:hover { background: var(--studio-ai-hover-bg); }
.linha-botoes { display: flex; gap: var(--studio-space-2); flex-wrap: wrap; margin-top: 10px; }

.spin { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

input, textarea, select { background: var(--studio-surface-stage); border: 1px solid var(--studio-border-subtle); color: var(--studio-text-primary); padding: 9px var(--studio-space-3); border-radius: var(--studio-radius-control); width: 100%; max-width: 100%; min-width: 0; font: inherit; }
textarea { min-height: 96px; field-sizing: content; line-height: 1.55; resize: vertical; overflow-wrap: break-word; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--studio-brand-accent); box-shadow: 0 0 0 3px var(--studio-focus-ring); }
/* impede o autofill do navegador de pintar o input de branco no tema escuro */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus,
textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--studio-text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--studio-surface-stage) inset;
  box-shadow: 0 0 0 1000px var(--studio-surface-stage) inset;
  caret-color: var(--studio-text-primary);
  transition: background-color 9999s ease-out 0s;
}
label { font-size: 12.5px; color: var(--studio-text-secondary); font-weight: 700; display: block; margin: var(--studio-space-3) 0 5px; text-transform: uppercase; letter-spacing: .4px; }

.field { display: flex; flex-direction: column; gap: var(--studio-space-1); width: 100%; min-width: 0; margin-bottom: var(--studio-space-3); }

.modal-fundo { position: fixed; inset: 0; background: color-mix(in srgb, var(--studio-media-stage) 60%, transparent); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal-fundo[hidden] { display: none !important; }
.modal { background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-panel); padding: 22px; width: min(560px, 92vw); max-height: 88vh; overflow: auto; box-shadow: var(--studio-shadow-panel); }
/* variante larga: conteúdo lado a lado (editor de capa = preview + controles) */
.modal.largo { width: min(940px, 94vw); }
.capa-editor { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.capa-editor > * { min-width: 0; }
.capa-editor-preview { position: relative; }
.capa-editor-preview img { width: 100%; border-radius: var(--studio-radius-control); display: block; background: #111; user-select: none; }
/* alça de arrastar: fica no ponto que o BACKEND informou (posicoes), não num chute do front */
.capa-alca { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--studio-brand-accent); color: var(--studio-surface-raised); border: 2px solid color-mix(in srgb, var(--studio-border-subtle) 85.1%, transparent); cursor: grab;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px color-mix(in srgb, var(--studio-shadow-color) 50.2%, transparent); touch-action: none; }
.capa-alca:hover { transform: scale(1.15); }
.capa-alca.ativa { cursor: grabbing; transform: scale(1.25); }
.capa-render { position: absolute; top: 8px; right: 8px; background: color-mix(in srgb, var(--studio-media-stage) 70.2%, transparent); color: var(--studio-surface-raised);
  font-size: 10px; padding: 3px var(--studio-space-2); border-radius: var(--studio-radius-panel); }
.capa-alca.sel { border-color: var(--studio-brand-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--studio-shadow-color) 34.9%, transparent), 0 2px 8px color-mix(in srgb, var(--studio-shadow-color) 50.2%, transparent); }
/* texto-fantasma: acompanha o mouse no arrasto (feedback imediato antes do render real) */
.capa-ghost { position: absolute; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-weight: 800; text-transform: uppercase; text-shadow: 0 2px 6px color-mix(in srgb, var(--studio-shadow-color) 90.2%, transparent); opacity: .95; z-index: 2; }
/* linha-guia central: aparece quando o snap gruda no meio */
.capa-guia { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; border-left: 1px dashed var(--studio-brand-accent);
  pointer-events: none; z-index: 1; }
.capa-el { cursor: pointer; }
.capa-el.sel { border-color: var(--studio-brand-accent); }
.capa-props { border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); padding: 10px; margin-top: var(--studio-space-1); background: var(--studio-surface-stage); }
.capa-cores { display: flex; gap: 6px; margin-top: var(--studio-space-2); align-items: center; }
.capa-cores .cor { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--studio-border-subtle); cursor: pointer; padding: 0; }
.capa-cores .cor.sel { border-color: var(--studio-brand-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--studio-shadow-color) 34.9%, transparent); }
.capa-cores .cor.auto { width: auto; border-radius: var(--studio-radius-control); padding: 0 var(--studio-space-2); height: 22px; background: var(--studio-surface-raised);
  color: var(--studio-text-secondary); font-size: 10px; font-weight: 700; }
.capa-el { display: grid; grid-template-columns: 1fr auto; gap: var(--studio-space-2); align-items: center;
  padding: 10px; border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); margin-bottom: var(--studio-space-2); background: var(--studio-surface-stage); }
.capa-el.oculto { opacity: .5; }
.capa-el-acoes { display: flex; gap: var(--studio-space-1); }
@media (max-width: 720px) { .capa-editor { grid-template-columns: 1fr; } }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box { background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-panel); padding: 34px; width: 360px; max-width: calc(100vw - 32px); box-shadow: var(--studio-shadow-panel); }
.login-wrap.cadastro { padding: var(--studio-space-4) 0; }
.login-troca { margin-top: var(--studio-space-4); font-size: 13.5px; color: var(--studio-text-secondary); text-align: center; }
.login-troca a { color: var(--studio-text-accent); font-weight: 600; }
.login-nota { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--studio-text-secondary); text-align: center; }
.campo-senha { position: relative; display: flex; }
.campo-senha input { flex: 1; padding-right: 44px; }
.campo-senha-olho { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: var(--studio-radius-control); color: var(--studio-text-secondary); cursor: pointer; }
.campo-senha-olho:hover { color: var(--studio-text-primary); }
.campo-senha-olho:focus-visible { outline: 2px solid var(--studio-brand-accent); outline-offset: 1px; }
.senha-criterios { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; }
.senha-criterios li { display: flex; align-items: center; gap: 6px; color: var(--studio-text-secondary); }
.senha-criterios li.ok, .senha-confere.ok { color: var(--studio-feedback-success-fg); }
.senha-confere { margin-top: 6px; font-size: 12.5px; display: flex; align-items: center; gap: 6px; color: var(--studio-feedback-error-fg); }

.abas { display: flex; gap: var(--studio-space-2); margin-bottom: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.abas button { background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); color: var(--studio-text-secondary); padding: var(--studio-space-2) var(--studio-space-4); border-radius: var(--studio-radius-control); font-weight: 700; flex-shrink: 0; white-space: nowrap; }
.abas button.ativa { background: var(--studio-brand-accent); border-color: var(--studio-brand-accent); color: var(--studio-action-primary-fg); }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--studio-space-2) 18px; font-size: 13.5px; margin: var(--studio-space-2) 0; }
.kv > * { min-width: 0; }
.kv > :has(textarea) { grid-column: 1 / -1; }
.kv b { color: var(--studio-text-secondary); font-weight: 600; }

.colapsavel { margin-bottom: var(--studio-space-5); }
.colapsavel-cabecalho {
  display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0;
  padding: 6px 0; margin-bottom: 10px; cursor: pointer; color: var(--studio-text-primary);
}
.colapsavel-seta { color: var(--studio-text-secondary); transition: transform .15s; flex-shrink: 0; }
.colapsavel-seta.aberta { transform: rotate(180deg); }
.colapsavel-titulo { font-size: 15px; font-weight: 700; }
.colapsavel-contagem {
  background: var(--studio-surface-stage); border: 1px solid var(--studio-border-subtle); color: var(--studio-text-secondary);
  font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 99px;
}
video, audio { width: 100%; border-radius: var(--studio-radius-control); background: black; }
.duas-colunas { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.duas-colunas > * { min-width: 0; }
/* Cards empilhados DENTRO de uma coluna do grid. Sem isso, um card extra viraria filho do grid
   e cairia abaixo da linha inteira — ou seja, abaixo da coluna mais alta, não do card de cima. */
.coluna-pilha { display: grid; gap: 18px; align-content: start; }
.duas-colunas img, .duas-colunas video { max-width: 100%; height: auto; }
@media (max-width: 900px) { .duas-colunas { grid-template-columns: 1fr; } .sidebar { display: none; } }
.aviso { background: var(--studio-feedback-warning-bg); border: 1px solid var(--studio-feedback-warning-fg); color: var(--studio-feedback-warning-fg); padding: 10px 14px; border-radius: var(--studio-radius-control); font-size: 13.5px; margin: 10px 0; }
.erro-box { background: var(--studio-feedback-error-bg); border: 1px solid var(--studio-feedback-error-fg); color: var(--studio-feedback-error-fg); padding: 10px 14px; border-radius: var(--studio-radius-control); font-size: 13.5px; margin: 10px 0; }
.field-erro { color: var(--studio-feedback-error-fg); font-size: 12.5px; line-height: 1.4; }
.tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabela th { text-align: left; color: var(--studio-text-secondary); font-size: 12px; text-transform: uppercase; padding: 10px var(--studio-space-2); border-bottom: 1px solid var(--studio-border-subtle); background: var(--studio-surface-stage); }
.tabela th:first-child { border-radius: var(--studio-radius-control) 0 0 0; }
.tabela th:last-child { border-radius: 0 8px 0 0; }
.tabela td { padding: 9px var(--studio-space-2); border-bottom: 1px solid var(--studio-border-subtle); }
.tabela td.vazio-linha { color: var(--studio-text-secondary); text-align: center; padding: 22px 0; }
.vazio { color: var(--studio-text-secondary); text-align: center; padding: 46px 0; border: 1px dashed var(--studio-border-subtle); border-radius: var(--studio-radius-panel); background: var(--studio-surface-raised); margin-top: var(--studio-space-2); }

/* ---- componentes novos (Fase 0 / usados pelos componentes React da próxima etapa) ---- */

.toast-stack { position: fixed; bottom: var(--studio-space-5); right: var(--studio-space-5); display: flex; flex-direction: column; gap: var(--studio-space-2); z-index: 100; }
.toast { background: var(--studio-surface-stage); border: 1px solid var(--studio-border-strong); border-radius: var(--studio-radius-control); padding: var(--studio-space-3) var(--studio-space-4); box-shadow: var(--studio-shadow-panel); font-size: 13.5px; display: flex; align-items: center; gap: var(--studio-space-2); min-width: 240px; max-width: 380px; animation: toast-in .18s ease-out; }
.toast.ok { border-color: var(--studio-feedback-success-fg); }
.toast.err { border-color: var(--studio-feedback-error-fg); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.skeleton { background: linear-gradient(90deg, var(--studio-surface-stage) 25%, var(--studio-border-subtle) 37%, var(--studio-surface-stage) 63%); background-size: 400% 100%; animation: skeleton-wave 1.4s ease infinite; border-radius: var(--studio-radius-control); }
@keyframes skeleton-wave { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--studio-space-3); color: var(--studio-text-secondary); text-align: center; padding: var(--studio-space-6) var(--studio-space-4); border: 1px dashed var(--studio-border-subtle); border-radius: var(--studio-radius-panel); background: var(--studio-surface-raised); }

.stat-card { background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-panel); padding: var(--studio-space-4); }
.stat-card .stat-label { color: var(--studio-text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.stat-card .stat-value { font-family: var(--studio-font-display); font-size: 26px; font-weight: 700; margin-top: var(--studio-space-1); }

.details-legenda summary { cursor: pointer; font-weight: 700; color: var(--studio-text-secondary); padding: var(--studio-space-2) 0; text-transform: uppercase; font-size: 12.5px; letter-spacing: .4px; list-style: none; }
.details-legenda summary::-webkit-details-marker { display: none; }
.details-legenda summary::before { content: '▸ '; color: var(--studio-text-secondary); }
.details-legenda[open] summary::before { content: '▾ '; }
.details-legenda p { white-space: pre-wrap; font-size: 14px; margin-top: var(--studio-space-2); }

.dropzone { border: 2px dashed var(--studio-border-strong); border-radius: var(--studio-radius-panel); padding: var(--studio-space-6); text-align: center; color: var(--studio-text-secondary); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.dropzone:hover, .dropzone.arrastando { border-color: var(--studio-brand-accent); color: var(--studio-text-primary); background: var(--studio-selection-bg); }
.dropzone input { display: none; }

.tarefa-header { position: sticky; top: 0; z-index: 20; background: var(--studio-surface-page); padding-bottom: var(--studio-space-3); margin-bottom: var(--studio-space-4); border-bottom: 1px solid var(--studio-border-subtle); }
.tarefa-header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--studio-space-4); flex-wrap: wrap; }
.tarefa-header h1 { font-size: 21px; margin-bottom: 2px; }

.secao-titulo { display: flex; align-items: center; gap: var(--studio-space-2); font-size: 12.5px; color: var(--studio-text-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 var(--studio-space-2); }

.refs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--studio-space-3); }
.ref-thumb { position: relative; border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); overflow: hidden; cursor: pointer; background: var(--studio-surface-stage); aspect-ratio: 9/12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--studio-space-1); transition: border-color .15s; }
.ref-thumb:hover { border-color: var(--studio-brand-accent); }
.ref-thumb .ref-play { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--studio-media-stage) 50.2%, transparent); display: flex; align-items: center; justify-content: center; color: var(--studio-text-primary); }
.ref-thumb .ref-legenda { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--studio-space-2); background: linear-gradient(to top, rgba(0,0,0,.75), transparent); font-size: 11.5px; color: var(--studio-text-primary); text-align: left; line-height: 1.3; }

.foto-mini { position: relative; }
.foto-mini img { width: 100%; border-radius: var(--studio-radius-control); display: block; cursor: pointer; border: 2px solid var(--studio-border-subtle); opacity: .85; transition: opacity .15s, border-color .15s; }
.foto-mini img:hover { opacity: 1; border-color: var(--studio-brand-accent); }
.foto-mini button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; line-height: 18px; padding: 0; border-radius: 50%; border: none; background: color-mix(in srgb, var(--studio-media-stage) 65.1%, transparent); color: var(--studio-surface-raised); cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }

.drawer-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--studio-media-stage) 60%, transparent); z-index: 60; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 260px; background: var(--studio-surface-raised); border-right: 1px solid var(--studio-border-subtle); z-index: 61; padding: var(--studio-space-4); overflow-y: auto; }
.topbar-mobile { display: none; }
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar { display: none; }
  .topbar-mobile { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--studio-space-3) var(--studio-space-4); background: var(--studio-surface-raised); border-bottom: 1px solid var(--studio-border-subtle); position: sticky; top: 0; z-index: 40; }
  .main { padding: var(--studio-space-4); }

  /* ---- pacote mobile da auditoria 2026-08-13 ---- */
  /* iOS dá zoom automático em qualquer campo com fonte < 16px — TODO input da UI tinha 14px,
     então cada toque num campo dava zoom e a Andressa tinha que beliscar de volta. */
  input, textarea, select { font-size: 16px; }
  /* os headers sticky das telas de detalhe deslizavam POR BAIXO da topbar (ambos top:0) */
  .detalhe-header, .tarefa-header { top: 56px; }
  /* alvo de toque: botões pequenos (inclusive o do hambúrguer) tinham 18-30px; 40px é o piso */
  .btn, .topbar-mobile button { min-height: 40px; }
  .ref-tk-ext, .ref-tk-copy { width: 24px; height: 24px; }
  .ref-tk-copy { top: 32px; }
  /* pares de inputs .kv espremiam a ~140px cada dentro de modal — vira coluna única */
  .kv { grid-template-columns: 1fr; }
}

/* ---- Aprovações: master-detail (T1.1) ---- */
.aprovacoes-shell { display: grid; grid-template-columns: 320px 1fr; gap: var(--studio-space-4); height: calc(100vh - 150px); min-height: 420px; }
.lista-coluna { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.lista-coluna .abas { margin-bottom: var(--studio-space-3); }
.lista-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--studio-space-2); padding-right: 2px; }
.item-lista { display: flex; align-items: center; gap: var(--studio-space-3); background: var(--studio-surface-raised); color: var(--studio-text-primary); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); padding: var(--studio-space-2) var(--studio-space-3); text-align: left; width: 100%; cursor: pointer; transition: background .12s, border-color .12s; }
.item-lista:hover { border-color: var(--studio-border-strong); }
.item-lista.ativo { background: var(--studio-surface-stage); box-shadow: inset 3px 0 0 var(--studio-brand-accent); border-color: var(--studio-border-strong); }
.item-lista.devolvido { border-color: var(--studio-feedback-warning-fg); background: var(--studio-feedback-warning-bg); }
.item-lista.devolvido.ativo { box-shadow: inset 3px 0 0 var(--studio-feedback-warning-fg); }
.item-lista .item-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: var(--studio-radius-control); background: var(--studio-surface-stage); flex-shrink: 0; }
.item-lista .item-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--studio-space-1); }
.item-lista .item-nome { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-lista .item-meta { display: flex; align-items: center; gap: 6px; color: var(--studio-text-secondary); font-size: 11.5px; }
.item-lista .item-audio { color: var(--studio-ai-fg); flex-shrink: 0; }
.geracao-lista { display: flex; flex-direction: column; gap: var(--studio-space-2); }
.geracao-fila-item { flex-shrink: 0; min-height: 64px; }
.geracao-fila-item .item-meta { flex-wrap: wrap; }
.geracao-fila-item:focus-visible { outline: 2px solid var(--studio-brand-accent); outline-offset: -2px; }
.geracao-painel .geracao-item { padding: var(--studio-space-4); }
.geracao-painel .geracao-item-topo { flex-wrap: wrap; }
.geracao-painel .geracao-produto { flex: 1 1 240px; font-size: 18px; }
.geracao-item { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: var(--studio-space-3);
  background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); }
.geracao-item-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--studio-space-2); width: 100%; }
.geracao-produto { min-width: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.geracao-meta, .geracao-detalhe { color: var(--studio-text-secondary); font-size: 12px; }
.geracao-erro { color: var(--studio-feedback-error-fg); font-size: 13px; overflow-wrap: anywhere; }
.geracao-progresso { width: 100%; min-width: 0; }
.geracao-atividade { margin: 2px 0 10px; font-size: 12px; color: var(--studio-text-primary); overflow-wrap: anywhere; }
.geracao-etapas { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.geracao-etapa { display: flex; align-items: flex-start; gap: var(--studio-space-2); color: var(--studio-text-secondary); }
.geracao-etapa > svg { flex-shrink: 0; margin-top: 2px; }
.geracao-etapa > div { flex: 1; min-width: 0; }
.geracao-etapa-titulo { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.geracao-etapa-titulo span { display: block; font-size: 11px; font-weight: 400; color: var(--studio-text-secondary); }
.geracao-etapa-detalhe { margin-top: 3px; font-size: 11px; line-height: 1.45; color: var(--studio-text-secondary); overflow-wrap: anywhere; }
.geracao-etapa.estado-em_andamento { color: var(--studio-text-accent); }
.geracao-etapa.estado-concluida > svg { color: var(--studio-feedback-success-fg); }
.geracao-etapa.estado-erro > svg, .geracao-etapa.estado-sem_saldo > svg { color: var(--studio-feedback-error-fg); }
.geracao-etapa.estado-pausada > svg, .geracao-etapa.estado-aguardando_configuracao > svg,
.geracao-etapa.estado-nova_tentativa_agendada > svg { color: var(--studio-feedback-warning-fg); }
.geracao-complementos { border-top: 1px solid var(--studio-border-subtle); padding-top: 10px; margin-top: var(--studio-space-3); }
.geracao-complementos-titulo { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.geracao-complementos-titulo span { display: block; font-size: 11px; color: var(--studio-text-secondary); font-weight: 400; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .geracao-etapa .spin { animation: none; } }
.lista-scroll > .geracao-item { flex-shrink: 0; }
.detalhe-coluna { height: 100%; overflow-y: auto; min-height: 0; }
.detalhe-header { position: sticky; top: 0; background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); padding: var(--studio-space-3) var(--studio-space-4); margin-bottom: var(--studio-space-4); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: var(--studio-space-3); flex-wrap: wrap; }
.detalhe-header h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
/* O bloco do título encolhe em vez de empurrar os botões pra uma linha nova (dono, 2026-08-11):
   nome comprido de produto Shopee jogava a fileira de botões pra baixo e deixava o lado direito
   do header vazio, custando ~44px de altura logo no topo — onde ela mais precisa de espaço. */
.detalhe-header > :first-child { flex: 1 1 240px; min-width: 0; }
@media (max-width: 900px) {
  .aprovacoes-shell { grid-template-columns: 1fr; height: auto; }
  .lista-scroll { max-height: 320px; }
  .detalhe-coluna { height: auto; overflow-y: visible; }
}

/* ---- Monitor (T2.5) ---- */
.mono-copy { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 11.5px; color: var(--studio-text-secondary); display: inline-flex; align-items: center; gap: 5px; }

/* ---- Prateleira de Vencedores ---- */
/* card do campeão na Minha Fila. O :hover do .grid .card (0,3,0) ganharia de .card.campeao (0,2,0),
   por isso o hover é qualificado com .grid (0,4,0) — senão a borda verde some ao passar o mouse. */
.card.campeao { border-color: var(--studio-feedback-success-fg); }
.grid .card.campeao:hover { border-color: var(--studio-feedback-success-fg); }

/* sub_id na tabela de Publicados: é o número que o dono cruza com o painel da Shopee */
.mono-subid { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 11.5px; color: var(--studio-text-secondary); line-height: 1.6; word-break: break-all; }

/* vídeo do campeão como referência (Tarefa) — destaca no meio das outras refs */
.ref-thumb.campeao { border-color: var(--studio-feedback-success-fg); box-shadow: 0 0 0 1px var(--studio-feedback-success-fg); }
.ref-thumb.campeao:hover { border-color: var(--studio-feedback-success-fg); }
/* devolvido pela produção: o editor tem que ver de longe que esse é pra refazer */
.card-devolvido { border-color: var(--studio-feedback-error-fg); box-shadow: 0 0 0 2px var(--studio-feedback-error-fg), var(--studio-shadow-flat); }
.card-devolvido::before {
  content: 'DEVOLVIDO'; position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--studio-feedback-error-fg); color: var(--studio-feedback-error-bg); font-size: 10.5px; font-weight: 800;
  letter-spacing: .5px; padding: 3px 9px; border-radius: 99px;
}
.grid .card-devolvido { position: relative; }

.ref-thumb.ref-erro { border-color: var(--studio-feedback-error-fg); background: var(--studio-feedback-error-bg); }
.ref-thumb.ref-erro:hover { border-color: var(--studio-feedback-error-fg); }
.girando { animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* escolha de gancho no modal "Fazer variação" */
.gancho-opcao { display: flex; align-items: flex-start; gap: var(--studio-space-2); width: 100%; text-align: left; background: var(--studio-surface-stage); color: var(--studio-text-secondary); border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); padding: var(--studio-space-2) var(--studio-space-3); font-size: 13px; line-height: 1.45; margin-bottom: 6px; transition: border-color .12s, color .12s, background .12s; }
.gancho-opcao:hover { border-color: var(--studio-border-strong); color: var(--studio-text-primary); }
.gancho-opcao.sel { border-color: var(--studio-brand-accent); background: var(--studio-selection-bg); color: var(--studio-text-primary); }

/* escolha de capa no modal "Fazer variação" */
.capa-escolha { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--studio-space-2); }
.capa-escolha img { width: 100%; border-radius: var(--studio-radius-control); display: block; cursor: pointer; border: 2px solid var(--studio-border-subtle); opacity: .7; transition: opacity .15s, border-color .15s; }
.capa-escolha img:hover { opacity: 1; border-color: var(--studio-border-strong); }
.capa-escolha img.sel { opacity: 1; border-color: var(--studio-brand-accent); }

/* Referências automáticas do TikTok (RefsTikTok.jsx).
   Tira pequena, todas lado a lado e visíveis de uma vez — o dono pediu assim (2026-07-27) pra
   olhar as 5 sem rolar. Clicar abre o player do TikTok logo abaixo, dentro do kit. */
.refs-tk { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tk { position: relative; width: 74px; }
.ref-tk-abrir {
  display: block; width: 100%; padding: 0; border: 1px solid var(--studio-border-subtle); background: var(--studio-surface-stage);
  border-radius: var(--studio-radius-control); overflow: hidden; cursor: pointer; position: relative;
  transition: border-color .15s, transform .15s;
}
.ref-tk-abrir:hover { border-color: var(--studio-brand-accent); transform: translateY(-2px); }
.ref-tk.ativa .ref-tk-abrir { border-color: var(--studio-brand-accent); box-shadow: 0 0 0 2px var(--studio-brand-accent, color-mix(in srgb, var(--studio-shadow-color) 34.9%, transparent)); }
.ref-tk-abrir img { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.ref-tk-sem {
  width: 100%; aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center;
  color: var(--studio-text-secondary); background: var(--studio-surface-stage);
}
.ref-tk-play {
  position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--studio-media-stage) 54.9%, transparent); color: var(--studio-surface-raised);
}
.ref-tk-views {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px var(--studio-space-1) 3px; color: var(--studio-surface-raised);
  font-size: 10px; font-weight: 600; text-align: center;
  background: linear-gradient(transparent, color-mix(in srgb, var(--studio-media-stage) 74.9%, transparent));
}
.ref-tk-ext {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--studio-media-stage) 54.9%, transparent); color: var(--studio-surface-raised);
}
.ref-tk-ext:hover { background: var(--studio-brand-accent); }
/* copiar link: mesmo visual do abrir-no-TikTok, logo abaixo dele. Verde no "copiado". */
.ref-tk-copy { top: 24px; border: 0; padding: 0; cursor: pointer; }
.ref-tk-copy:has(svg.lucide-check) { background: var(--studio-feedback-success-fg, var(--studio-feedback-success-bg)); color: var(--studio-feedback-success-bg); }

/* O vídeo promocional é o principal material Shopee do kit. */
.video-shopee-card {
  min-width: 0; margin: 0 0 var(--studio-space-3); padding: var(--studio-space-3); border: 2px solid var(--studio-selection-bg);
  border-radius: var(--studio-radius-control); background: var(--studio-surface-raised); color: var(--studio-text-primary);
}
.video-shopee-cabecalho { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--studio-space-2); margin-bottom: 10px; }
.video-shopee-tag { display: inline-flex; align-items: center; padding: var(--studio-space-1) var(--studio-space-2); border-radius: 999px; background: var(--studio-selection-bg); color: var(--studio-surface-raised); font-size: 11px; font-weight: 700; }
.video-shopee-produto, .video-shopee-download { display: inline-flex; align-items: center; gap: 5px; color: var(--studio-text-accent); font-size: 12px; font-weight: 600; text-decoration: none; }
.video-shopee-produto:hover, .video-shopee-download:hover { text-decoration: underline; }
.video-shopee-player { display: block; width: 100%; max-height: min(58vh, 520px); border-radius: var(--studio-radius-control); background: var(--studio-media-stage); object-fit: contain; }
.video-shopee-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--studio-space-3); margin-top: 9px; color: var(--studio-text-secondary); font-size: 11px; }
.video-shopee-status { margin: 0; color: var(--studio-text-secondary); font-size: 13px; line-height: 1.5; }
.video-shopee-status.sem-video { color: var(--studio-text-secondary); }
:root[data-theme='dark'] .video-shopee-produto, :root[data-theme='dark'] .video-shopee-download { color: var(--studio-text-accent); }
:root[data-theme='dark'] .video-shopee-status { color: var(--studio-text-secondary); }
@media (max-width: 600px) {
  .video-shopee-card { padding: 10px; }
  .video-shopee-player { max-height: 56vh; }
}

.ref-tk-player { margin-top: 10px; border: 1px solid var(--studio-border-subtle); border-radius: var(--studio-radius-control); overflow: hidden; }
.ref-tk-player-topo {
  display: flex; align-items: center; justify-content: space-between; gap: var(--studio-space-2);
  padding: 6px var(--studio-space-2); font-size: 12px; color: var(--studio-text-secondary); background: var(--studio-surface-stage);
}
.ref-tk-player-topo > div { display: flex; align-items: center; gap: var(--studio-space-2); }
.ref-tk-player-topo a { color: var(--studio-text-accent); text-decoration: none; }
.ref-tk-player-topo button {
  padding: 2px; border: 0; background: transparent; color: var(--studio-text-secondary); cursor: pointer; display: flex;
}
.ref-tk-player iframe { width: 100%; height: 560px; border: 0; display: block; background: var(--studio-surface-stage); }

.ref-tk-baixado {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--studio-feedback-success-fg, var(--studio-feedback-success-bg)); color: var(--studio-feedback-success-bg); font-size: 11px; font-weight: 700; line-height: 1;
}
/* ↗ cinza = sem arquivo local, toca no player do TikTok (pede clique). Verde = MP4 aqui,
   sem marca d'água, toca na hora. O editor precisa saber disso antes de clicar. */
.ref-tk-remoto { background: var(--studio-surface-stage, var(--studio-ai-bg)); font-weight: 600; }
.ref-tk-foto { background: var(--studio-ai-fg, var(--studio-ai-fg)); color: var(--studio-ai-fg); font-weight: 700; }
/* carrossel aberto: fotos lado a lado, roláveis, altura do player de vídeo */
.ref-tk-galeria { display: flex; gap: var(--studio-space-2); overflow-x: auto; padding: var(--studio-space-2); background: var(--studio-media-stage); max-height: 560px; }
.ref-tk-galeria img { height: 520px; width: auto; border-radius: 6px; flex: 0 0 auto; }
.ref-tk-player video { width: 100%; max-height: 560px; display: block; background: var(--studio-media-stage); }

/* ============================================================
   Chips (desktop) + barra do Garimpo
   O vocabulário .chips/.chip só existia no mobile.css (<=900px);
   este bloco cria o par desktop no breakpoint espelhado (>=901px),
   com o mesmo visual: pílula 99px, borda --border, ativo brand.
   ============================================================ */
@media (min-width: 901px) {
  .chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--studio-space-2); }
  .chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 14px;
    background: var(--studio-surface-raised); border: 1px solid var(--studio-border-subtle); border-radius: 99px;
    color: var(--studio-text-secondary); font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: background var(--studio-motion-feedback, 120ms) ease, border-color var(--studio-motion-feedback, 120ms) ease, color var(--studio-motion-feedback, 120ms) ease;
  }
  .chip:hover { background: var(--studio-surface-stage); border-color: var(--studio-border-strong); color: var(--studio-text-primary); }
  .chip:focus-visible { outline: 2px solid var(--studio-brand-accent); outline-offset: 2px; }
  /* ativo INCONFUNDÍVEL: borda + fundo brand, texto claro, peso e ✓ */
  .chip.ativo { background: var(--studio-selection-bg); border-color: var(--studio-brand-accent); color: var(--studio-text-primary); font-weight: 700; }
  .chip.ativo::before { content: '✓'; font-size: 11px; line-height: 1; color: var(--studio-text-accent); }
  /* contagem opcional dentro do chip (o ChipsFiltro renderiza <span class="n">) */
  .chip .n { font-size: 11px; color: var(--studio-text-secondary); background: var(--studio-surface-stage); border-radius: 99px; padding: 1px 6px; }
  .chip.ativo .n { color: var(--studio-text-accent); background: transparent; }

  /* Grupo de STATUS (escolha única) = controle segmentado, visualmente
     distinto dos chips de filtro: trilho --surface-2 com pílula interna. */
  .chips.chips-status {
    gap: 2px; padding: 3px; flex-wrap: nowrap;
    background: var(--studio-surface-stage); border: 1px solid var(--studio-border-subtle); border-radius: 99px;
  }
  .chips-status .chip { height: 28px; padding: 0 var(--studio-space-3); background: transparent; border-color: transparent; }
  .chips-status .chip:hover { background: var(--studio-surface-raised); color: var(--studio-text-primary); }
  .chips-status .chip.ativo { background: var(--studio-brand-accent); border-color: var(--studio-brand-accent); color: var(--studio-text-primary); }
  .chips-status .chip.ativo::before { content: none; } /* a pílula cheia já marca a seleção */

  /* select e busca da barra na MESMA altura dos chips (34px) */
  .garimpo-acoes .garimpo-busca,
  .garimpo-filtros .garimpo-nicho { height: 34px; padding-top: 0; padding-bottom: 0; }
}

/* Layout da barra do Garimpo (vale em toda largura; <=900px o mobile.css
   existente assume os chips e o flex-wrap resolve o resto) */
.garimpo-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--studio-space-3); flex-wrap: wrap; margin-bottom: var(--studio-space-3); }
.garimpo-titulo { display: flex; flex-direction: column; gap: 2px; }
.garimpo-titulo h2 { display: flex; align-items: center; gap: var(--studio-space-2); margin: 0; }
.garimpo-frescor { font-size: 12px; color: var(--studio-text-secondary); }
.garimpo-acoes { display: flex; align-items: center; gap: var(--studio-space-2); flex-wrap: wrap; }
.garimpo-busca { max-width: 240px; }
.garimpo-filtros { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: var(--studio-space-4); }
.garimpo-nicho { width: auto; max-width: 200px; }
.garimpo-contagem { margin-left: auto; font-size: 12px; color: var(--studio-text-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Estado ARMADO do "Mandar pra Descoberta" (2º clique confirma): muda de cara
   de verdade — verde + pulso — senão a dona não percebe que armou (revisão UX 25/08).
   O prefers-reduced-motion global já zera a animação. */
.btn.confirmar-envio { background: var(--studio-feedback-success-fg); border-color: var(--studio-feedback-success-fg); color: var(--studio-feedback-success-bg); animation: pulso-conf .9s ease-in-out infinite alternate; }
@keyframes pulso-conf { to { filter: brightness(1.18); } }

.kit-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: var(--studio-space-3) 0; margin: 0 0 var(--studio-space-4); gap: 6px; }
.kit-workflow li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--studio-text-secondary); }
.kit-workflow li span { border: 1px solid currentColor; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; flex-shrink: 0; }
.kit-workflow [aria-current] { color: var(--studio-text-accent); font-weight: 700; }
.kit-acompanhado { border: 2px solid var(--studio-brand-accent); border-radius: var(--studio-radius-panel); scroll-margin-top: 90px; }
.kit-geracao-vazia { text-align: center; padding: var(--studio-space-4); display: grid; justify-items: center; gap: var(--studio-space-3); }
@media (max-width: 600px) { .kit-workflow { padding: var(--studio-space-3); } .kit-workflow li { flex-direction: column; font-size: 11px; } }
