/* ===== MARKETPLACE HUB — DESIGN SYSTEM ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f1117;
  --surface: #1a1d2e;
  --surface-2: #1e2235;
  --border: #2d3748;
  --border-dim: rgba(255,255,255,0.06);

  --text: #e2e8f0;
  --text-secondary: #a0aec0;
  --text-muted: #718096;

  --accent: #00de75;
  --accent-dark: #00a854;
  --accent-dim: rgba(0,222,117,0.1);

  --red: #fc8181;
  --red-dark: #e53e3e;
  --red-dim: rgba(252,129,129,0.12);

  --yellow: #f6c90e;
  --yellow-dim: rgba(246,201,14,0.12);

  --blue: #63b3ed;
  --blue-dim: rgba(99,179,237,0.12);

  --orange: #f6ad55;
  --orange-dim: rgba(246,173,85,0.12);

  --purple: #b794f4;
  --purple-dim: rgba(183,148,244,0.12);

  --green: #48bb78;
  --green-dim: rgba(72,187,120,0.12);

  --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 9999px;
  --shadow: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.5);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --nav-h: 56px;
  --t: 0.18s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ===== NAVIGATION ===== */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  min-height: var(--nav-h);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 6px;
  max-width: 100vw;
}

.nav-brand { font-size: 18px; font-weight: 700; flex-shrink: 0; }
.nav-brand span { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; row-gap: 4px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--r-full);
  transition: all var(--t);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-link.ativo { background: var(--accent-dim); color: var(--accent); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 1440px) {
  .nav-menu { gap: 2px; }
  .nav-link, .nav-dropdown-toggle { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 768px) {
  .nav { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 8px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid var(--border-dim);
  }
  .nav-menu.aberto { display: flex; }
  .nav-link { width: 100%; border-radius: var(--r); }
  .nav-right { flex: 1; justify-content: flex-end; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 24px;
  border-bottom: 1px solid var(--border-dim);
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: 0.4; }

/* ===== CONTAINER ===== */
.container { padding: 20px 24px; max-width: 1800px; margin: 0 auto; }
@media (max-width: 600px) { .container { padding: 16px; } }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.card-icon { font-size: 18px; margin-bottom: 6px; }
.card-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.card-valor { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.2; }
.card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.card-filtro { font-size: 10px; color: var(--text-muted); margin-top: 4px; }

.card-valor.verde { color: var(--accent); }
.card-valor.vermelho { color: var(--red); }
.card-valor.amarelo { color: var(--yellow); }
.card-valor.azul { color: var(--blue); }
.card-valor.laranja { color: var(--orange); }
.card-valor.roxo { color: var(--purple); }

.cards-row { display: grid; gap: 12px; margin-bottom: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 900px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards-3, .cards-4, .cards-5 { grid-template-columns: 1fr 1fr; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 10px 20px; font-size: 14px; }

.btn-primary { background: var(--accent); color: #0a0f0a; }
.btn-primary:hover:not(:disabled) { background: #00f084; }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover:not(:disabled) { background: #252a40; }
.btn-danger { background: var(--red-dim); color: var(--red); border: 1px solid transparent; }
.btn-danger:hover:not(:disabled) { background: rgba(252,129,129,0.22); border-color: var(--red); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,0.05); color: var(--text); }

.btn-periodo {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  transition: all var(--t);
}
.btn-periodo:hover { border-color: var(--accent); color: var(--accent); }
.btn-periodo.ativo { background: var(--accent); color: #0a0f0a; border-color: var(--accent); font-weight: 700; }

.btn-conta {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t);
  font-family: var(--font);
}
.btn-conta:hover { border-color: var(--text); color: var(--text); }
.btn-conta.ativo { border-color: var(--accent); color: var(--accent); }
.conta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.conta-dot.ml { background: #ffe033; }
.conta-dot.amazon { background: #ff9900; }
.btn-conta-ml:hover { border-color: #ffe033; color: #ffe033; }
.btn-conta-ml.ativo { border-color: #ffe033; color: #ffe033; background: rgba(255,224,51,0.08); }
.btn-conta-amazon:hover { border-color: #ff9900; color: #ff9900; }
.btn-conta-amazon.ativo { border-color: #ff9900; color: #ff9900; background: rgba(255,153,0,0.08); }
.conta-dot.shopee { background: #ee4d2d; }
.btn-conta-shopee:hover { border-color: #ee4d2d; color: #ee4d2d; }
.btn-conta-shopee.ativo { border-color: #ee4d2d; color: #ee4d2d; background: rgba(238,77,45,0.08); }
.conta-dot.tiktok { background: #fe2c55; }
.btn-conta-tiktok:hover { border-color: #fe2c55; color: #fe2c55; }
.btn-conta-tiktok.ativo { border-color: #fe2c55; color: #fe2c55; background: rgba(254,44,85,0.08); }
.conta-dot.rebrink { background: #b8860b; }
.btn-conta-rebrink:hover { border-color: #b8860b; color: #b8860b; }
.btn-conta-rebrink.ativo { border-color: #b8860b; color: #b8860b; background: rgba(184,134,11,0.08); }

.mkt-badge { display: inline-block; padding: 2px 6px; border-radius: var(--r-sm); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; }
.mkt-badge.ml { background: rgba(255,224,51,0.15); color: #ffe033; }
.mkt-badge.amazon { background: rgba(255,153,0,0.15); color: #ff9900; }
.mkt-badge.shopee { background: rgba(238,77,45,0.15); color: #ee4d2d; }
.mkt-badge.tiktok { background: rgba(254,44,85,0.15); color: #fe2c55; }
.mkt-badge.envio-full { background: rgba(46,204,113,0.15); color: #2ecc71; }
.mkt-badge.envio-flex { background: rgba(52,152,219,0.15); color: #3498db; }
.mkt-badge.envio-agencia { background: rgba(155,89,182,0.15); color: #9b59b6; }
.mkt-badge.envio-coleta { background: rgba(230,126,34,0.15); color: #e67e22; }
.mkt-badge.envio-neutro { background: rgba(148,163,184,0.15); color: #94a3b8; }

.btn-tipo {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  transition: all var(--t);
}
.btn-tipo:hover { border-color: var(--text); color: var(--text); }
.btn-tipo.ativo { background: var(--surface-2); color: var(--text); border-color: var(--accent); }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; }
.badge-green { background: var(--green-dim); color: var(--green); }
.badge-red { background: var(--red-dim); color: var(--red); }
.badge-yellow { background: var(--yellow-dim); color: var(--yellow); }
.badge-blue { background: var(--blue-dim); color: var(--blue); }
.badge-gray { background: rgba(113,128,150,0.15); color: var(--text-secondary); }
.badge-count { display: inline-block; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); font-size: .72rem; padding: 1px 6px; border-radius: 99px; margin-left: 4px; }
.badge-full { background: var(--blue-dim); color: var(--blue); }
.badge-proprio { background: rgba(113,128,150,0.15); color: var(--text-secondary); }

.lucro-badge { padding: 3px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; }
.lucro-badge.positivo { background: var(--accent-dim); color: var(--accent-dark); }
.lucro-badge.negativo { background: var(--red-dim); color: var(--red-dark); }

.status-badge { padding: 2px 8px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; background: rgba(160,174,192,0.15); color: var(--text-secondary); }
.status-paid { background: var(--accent-dim); color: var(--accent-dark); }
.status-cancelled { background: var(--red-dim); color: var(--red-dark); }
.status-Shipped { background: var(--accent-dim); color: var(--accent-dark); }
.status-Unshipped { background: var(--blue-dim); color: var(--blue); }
.status-PartiallyShipped { background: var(--yellow-dim); color: var(--yellow); }
.status-Canceled { background: var(--red-dim); color: var(--red-dark); }
.status-Pending { background: var(--orange-dim); color: var(--orange); }
/* Shopee/TikTok — mesma paleta usada acima pra ML/Amazon, por status bruto do canal */
.status-COMPLETED, .status-DELIVERED, .status-SHIPPED { background: var(--accent-dim); color: var(--accent-dark); }
.status-CANCELLED { background: var(--red-dim); color: var(--red-dark); }
.status-PROCESSED, .status-IN_TRANSIT, .status-AWAITING_COLLECTION, .status-READY_TO_SHIP { background: var(--blue-dim); color: var(--blue); }
.status-AWAITING_SHIPMENT, .status-INVOICE_PENDING, .status-UNPAID, .status-ON_HOLD { background: var(--orange-dim); color: var(--orange); }

.proj { padding: 3px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; text-align: center; display: inline-block; min-width: 42px; }
.proj-ok { background: var(--accent-dim); color: var(--accent-dark); }
.proj-alerta { background: var(--yellow-dim); color: #c89a00; }
.proj-critico { background: var(--red-dim); color: var(--red-dark); }

/* ===== TABLES ===== */
.tabela-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.tabela-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead { background: var(--bg); }
th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
th.sortable { cursor: pointer; user-select: none; transition: color var(--t); }
th.sortable:hover { color: var(--text); }
td { padding: 11px 14px; color: var(--text); border-bottom: 1px solid var(--border-dim); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface-2); }

.tabela-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tabela-header h3 { font-size: 14px; font-weight: 700; }

/* ===== FORMS ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

@media (max-width: 600px) {
  .form-grid.cols-2, .form-grid.cols-3, .form-grid.cols-4 { grid-template-columns: 1fr; }
}

label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.3px; }

input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t);
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
select option { background: var(--surface); }
textarea { resize: vertical; min-height: 80px; }
.checkbox-group { display: flex; align-items: center; gap: 8px; padding: 9px 0; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }

.secao { margin-bottom: 24px; }
.secao-titulo {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.estoque-input {
  width: 70px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 12px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  outline: none;
}
.estoque-input:focus { border-color: var(--accent); }
.estoque-input.input-negativo { color: var(--red-dark); border-color: var(--red); background: var(--red-dim); font-weight: 700; }

.linha-fisica td { background: var(--surface-2); }

/* ===== TOOLBAR ===== */
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }

.busca {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 14px;
  gap: 8px;
  flex: 1;
  max-width: 400px;
  transition: border-color var(--t);
}
.busca:focus-within { border-color: var(--accent); }
.busca input { background: none; border: none; outline: none; color: var(--text); font-size: 14px; width: 100%; padding: 0; font-family: var(--font); }

.busca-pedido {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 6px 12px;
  transition: border-color var(--t);
}
.busca-pedido:focus-within { border-color: var(--accent); }
.busca-pedido input { background: none; border: none; outline: none; font-size: 13px; color: var(--text); width: 200px; padding: 0; font-family: var(--font); }

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.aberto { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 800px;
  margin: auto;
  animation: slideUp 0.2s ease;
}
.modal-sm { max-width: 520px; }
.modal-xs { max-width: 420px; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 16px; font-weight: 700; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ===== AJUSTE DE ESTOQUE ML (primeira escrita real num marketplace) ===== */
.ajuste-info-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; margin-bottom: 16px; font-size: 13px; }
.ajuste-info-linha { color: var(--text-secondary); margin-top: 4px; }
.ajuste-preview { background: var(--accent-dim); border: 1px solid var(--accent-dark); border-radius: var(--r); padding: 10px 14px; font-size: 13px; margin-bottom: 14px; color: var(--text); }
.ajuste-aviso-perigo { background: var(--orange-dim); border: 1px solid var(--orange); border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin-bottom: 14px; color: var(--text); }
.ajuste-resultado { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin-bottom: 14px; flex-direction: column; gap: 6px; }
/* Segunda pergunta (reativar anúncio pausado) — deliberadamente mais chamativa que o
   resto do modal (borda dupla, amarelo) pra nunca ser confundida com a 1ª confirmação. */
.ajuste-reativar-box { background: var(--yellow-dim); border: 2px solid var(--yellow); border-radius: var(--r); padding: 14px; margin-bottom: 14px; }
.ajuste-reativar-titulo { font-weight: 700; color: var(--yellow); margin-bottom: 10px; font-size: 13px; }
.ajuste-reativar-botoes { display: flex; gap: 10px; justify-content: flex-end; }
.ajuste-erro-variacoes { background: var(--red-dim); border: 1px solid var(--red); border-radius: var(--r); padding: 12px 14px; font-size: 13px; color: var(--red); }

/* ===== LOADING STATES ===== */
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px 20px; color: var(--text-muted); font-size: 14px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.65s linear infinite; }
.card-valor.card-carregando { color: var(--text-muted); }
.card-valor.card-erro, .card-sub.card-erro { color: var(--red); }

/* ===== EMPTY STATES ===== */
.vazio { text-align: center; padding: 56px 20px; color: var(--text-muted); }
.vazio-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.vazio p { font-size: 14px; margin-top: 6px; }

/* ===== NOTIFICATION ===== */
.notificacao {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-weight: 600;
  display: none;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  animation: slideIn 0.22s ease;
}
.notificacao.sucesso { border-color: var(--accent); color: var(--accent); }
.notificacao.erro { border-color: var(--red); color: var(--red); }

/* ===== PAINEL STATUS ATUALIZAR ===== */
.painel-status {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 24px;
  width: 280px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  z-index: 10000;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.22s ease;
}
.painel-status-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.painel-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: painelStatusPulse 1.2s ease-in-out infinite; }
.painel-status-titulo { flex: 1; font-size: 13px; font-weight: 700; color: var(--accent); }
.painel-status-fechar { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 13px; line-height: 1; padding: 2px 4px; }
.painel-status-fechar:hover { color: var(--text); }
.painel-status-lista { display: flex; flex-direction: column; gap: 8px; }
.painel-status-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.painel-status-item .icone { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; }
.painel-status-item.ok .icone { color: var(--accent); }
.painel-status-item.erro .icone { color: var(--red); }
@keyframes painelStatusPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ===== PAINEL ===== */
.painel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.painel-titulo { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

/* ===== DASHBOARD — HERO SECTION ===== */
.topo { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 24px 0; }
.faturamento-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.faturamento-valor { font-size: 36px; font-weight: 800; color: var(--text); line-height: 1.1; }
.lucro-valor { font-size: 18px; font-weight: 700; color: var(--accent); margin-top: 4px; display: inline; }
.lucro-valor.negativo { color: var(--red); }
.lucro-perc { font-size: 13px; color: var(--text-muted); margin-left: 8px; }
.filtros-bar { padding: 12px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.filtros-periodo { display: flex; gap: 6px; flex-wrap: wrap; }
.contas-selector { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--t);
}
.tab:hover { border-color: var(--text); color: var(--text); }
.tab.ativo { background: var(--surface-2); color: var(--text); border-color: var(--accent); }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }

/* ===== TOP PRODUCTS LIST ===== */
.produto-lista-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-dim); }
.produto-lista-item:last-child { border-bottom: none; }
.produto-perc-circle { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.produto-perc-circle svg { transform: rotate(-90deg); }
.produto-perc-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 10px; font-weight: 700; color: var(--text); }
.produto-lista-nome { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; }
.produto-lista-nome span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.produto-lista-receita { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ===== CHARTS ===== */
.grafico-container { position: relative; height: 200px; }

/* ===== PAGINATION ===== */
.paginacao { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 12px; border-top: 1px solid var(--border-dim); }
.btn-pag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  transition: all var(--t);
  min-width: 32px;
  line-height: 1.4;
}
.btn-pag:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn-pag.ativo { background: var(--accent); color: #0a0f0a; border-color: var(--accent); font-weight: 700; }
.btn-pag:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===== MISC HELPERS ===== */
.ultima-att { font-size: 12px; color: var(--text-muted); }
.contador { font-size: 13px; color: var(--text-muted); }
.acoes { display: flex; gap: 6px; }
.nome-produto { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transfer-badge { color: var(--blue); font-weight: 700; }
.total-badge { color: var(--text); font-weight: 800; }
.anuncio-badge { color: var(--purple); font-weight: 700; }
.estoque-alerta { color: var(--red); font-weight: 700; }
.filtros-tipo { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== PAINEL ANÚNCIOS POR CONTA (produto.html) ===== */
.anuncio-inativo td { opacity: 0.45; }
.anuncio-link { color: var(--accent); text-decoration: none; }
.anuncio-link:hover { text-decoration: underline; }

/* ===== TOOLTIP ===== */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t);
  z-index: 50;
  box-shadow: var(--shadow);
}
[data-tooltip]:hover::after { opacity: 1; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4a5568; }

/* ===== NAV BADGES (nav-badge.js) ===== */
.nav-link { position: relative; }
.nav-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #f56565;
  color: #fff;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.nav-dot-verde {
  position: absolute;
  top: 0;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #48bb78;
  animation: pulseVerde 1.6s ease-in-out infinite;
}
.nav-badge-alerta { position: absolute; top: -8px; left: -4px; font-size: 12px; }

@keyframes pulseVerde {
  0%, 100% { box-shadow: 0 0 0 0 rgba(72,187,120,.55); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(72,187,120,0); opacity: .7; }
}
.card-agente-rodando {
  border-color: #48bb78 !important;
  animation: pulseBorda 1.6s ease-in-out infinite;
}
@keyframes pulseBorda {
  0%, 100% { box-shadow: 0 0 0 0 rgba(72,187,120,.45); }
  50% { box-shadow: 0 0 0 5px rgba(72,187,120,0); }
}

/* ===== ANIMATIONS ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideIn { from { transform: translateX(16px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== STICKY THEAD ===== */
.tabela-scroll { overflow-y: auto; max-height: 70vh; }
.tabela-dados thead th, table thead th,
.tabela-dados thead th[data-tooltip], table thead th[data-tooltip] {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}

/* ===== MARKETPLACE ICON BADGES (filtros) ===== */
.mkt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 4px;
  margin-right: 4px;
  line-height: 1.4;
  flex-shrink: 0;
}
.mkt-icon.mkt-ml      { background: #FFE600; color: #111; }
.mkt-icon.mkt-amazon  { background: #FF9900; color: #111; }
.mkt-icon.mkt-shopee  { background: #EE4D2D; color: #fff; }
.mkt-icon.mkt-tiktok  { background: #010101; color: #fff; border: 1px solid #333; }
.mkt-icon.mkt-all     { font-size: 0.8rem; }
.mkt-icon.mkt-rebrink { background: #b8860b; color: #fff; }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--r-full);
  transition: all var(--t); white-space: nowrap;
  cursor: pointer; text-decoration: none;
}
.nav-dropdown-toggle:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-dropdown-toggle.ativo { background: var(--accent-dim); color: var(--accent); font-weight: 600; }
.nav-submenu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 190px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 6px 0; z-index: 200; box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu { display: block; }
.nav-submenu a {
  display: block; padding: 8px 16px; font-size: 13px;
  color: var(--text-secondary); transition: all var(--t); white-space: nowrap;
}
.nav-submenu a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav-submenu-sep { height: 1px; background: var(--border-dim); margin: 4px 12px; }
@media (max-width: 768px) {
  .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-toggle { width: 100%; border-radius: var(--r); }
  .nav-submenu {
    position: static; box-shadow: none; border: none;
    border-left: 2px solid var(--border); border-radius: 0;
    padding: 0; margin: 2px 0 2px 14px; background: transparent; display: none;
  }
  .nav-dropdown.aberto-mobile .nav-submenu { display: block; }
  .nav-submenu a { padding: 6px 12px; font-size: 12px; }
}

/* ===== MODAL TAREFA (agentes.html) ===== */
.modal-tarefa-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.75); z-index: 1000;
  overflow-y: auto; padding: 20px; backdrop-filter: blur(4px);
}
.modal-tarefa-overlay.aberto { display: flex; align-items: flex-start; justify-content: center; }
.modal-tarefa {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); width: 100%; max-width: 680px;
  margin: auto; animation: slideUp 0.2s ease;
}
.modal-tarefa-header {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.modal-tarefa-body { padding: 20px 22px; max-height: 65vh; overflow-y: auto; }
.modal-tarefa-section { margin-bottom: 16px; }
.modal-tarefa-section:last-child { margin-bottom: 0; }
.modal-tarefa-stitle {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.modal-tarefa-desc { font-size: 13px; color: var(--text); line-height: 1.6; white-space: pre-wrap; }
.modal-tarefa-files { list-style: none; padding: 0; margin: 0; }
.modal-tarefa-files li { font-size: 12px; color: var(--blue); padding: 2px 0; font-family: monospace; }

/* ===== AGENTE HEADER (agentes.html) ===== */
.agente-header { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 14px; }
.agente-header-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.agente-header-emoji { font-size: 1.5rem; }
.agente-header-nome { font-size: 1.05rem; font-weight: 700; }
.agente-header-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.agente-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.agente-chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px; font-size: 11px; color: var(--text-secondary); padding: 3px 10px; }
.org-custo { font-size: .64rem; color: var(--text-muted); margin-top: .25rem; }
.org-custo.sem-custo { color: var(--accent); }

/* ===== MODAL CUSTOS & IMPOSTOS (estilo Metrizap) ===== */
.modal-overlay.centralizado.aberto { align-items: center; }

.modal-custos {
  background: #0a0e17;
  border: 1px solid #1c2233;
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.2s ease;
}
.modal-custos.modal-sm { max-width: 480px; }
.modal-custos-header {
  padding: 20px 24px 12px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.modal-custos-titulo { color: #fff; font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: 0.3px; }
.modal-custos-subtitulo { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.modal-custos-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; line-height: 1; }
.modal-custos-close:hover { color: #fff; }
.modal-custos-body { padding: 0 24px 24px; }

.contas-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.conta-pill {
  background: #1c2233; color: var(--text-secondary); border: none;
  padding: 6px 16px; border-radius: var(--r-full); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all var(--t);
}
.conta-pill:hover { color: #fff; }
.conta-pill.ativo { background: #00d97e; color: #06180f; }

.custos-busca {
  display: flex; align-items: center; gap: 8px;
  background: #1c2233; border-radius: var(--r); padding: 8px 14px; margin-bottom: 14px;
}
.custos-busca input { background: none; border: none; outline: none; color: #fff; font-size: 13px; width: 100%; font-family: var(--font); }

.custos-lista { max-height: 50vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }

.custo-card { background: #12151f; border: 1px solid #232839; border-radius: 10px; padding: 14px; }
.custo-card-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.custo-card-sku { color: #fff; font-weight: 700; font-size: 14px; }
.custo-card-desc { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.custo-card-icones { display: flex; gap: 6px; flex-shrink: 0; }
.custo-card-icone { background: none; border: none; cursor: pointer; font-size: 15px; color: var(--text-muted); padding: 2px; }
.custo-card-icone:hover { color: #fff; }
.custo-card-inputs { display: flex; gap: 10px; margin-top: 12px; }
.custo-input-group { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.custo-input-group label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; font-weight: 600; }
.custo-input-group input {
  width: 100%; background: #e2e5ea; color: #12151f; border: 1px solid #cbd2dc;
  border-radius: 6px; padding: 8px 10px; font-size: 13px; font-family: var(--font); outline: none;
}
.custo-input-group input:focus { border-color: #00d97e; }
.custo-card-status { font-size: 11px; color: var(--text-muted); margin-top: 8px; min-height: 14px; }
.custo-card-salvar {
  display: none; align-items: center; gap: 6px; margin-top: 6px;
  background: #00d97e; color: #06180f; border: none; border-radius: 6px;
  padding: 8px 14px; font-weight: 700; font-size: 12px; cursor: pointer; font-family: var(--font);
}
.custo-card-salvar.visivel { display: inline-flex; }
.custo-card-salvar:hover { background: #00f08a; }

/* ── Histórico (calendário) ── */
.historico-nav-mes { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calendario-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendario-dia-semana { text-align: center; font-size: 10px; color: var(--text-muted); font-weight: 700; padding: 4px 0; }
.calendario-dia { background: #12151f; border: 1px solid #1c2233; border-radius: 6px; padding: 6px 2px; text-align: center; }
.calendario-dia.vazio { background: transparent; border: none; }
.calendario-dia-num { font-weight: 700; color: #fff; font-size: 11px; }
.calendario-dia-valor { font-size: 9px; color: #00d97e; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Confirmação "Como deseja aplicar?" ── */
.modal-confirmar {
  background: #0a0e17; border: 1px solid #1c2233; border-radius: 12px;
  width: 100%; max-width: 380px; margin: auto; padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow-lg); animation: slideUp 0.2s ease;
}
.confirmar-icone { font-size: 32px; color: #00d97e; margin-bottom: 10px; }
.confirmar-titulo { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.confirmar-texto { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
.confirmar-btn-primario {
  width: 100%; background: #00d97e; color: #06180f; border: none; border-radius: 8px;
  padding: 12px; font-weight: 700; font-size: 13px; cursor: pointer; margin-bottom: 10px; font-family: var(--font);
}
.confirmar-btn-primario:hover { background: #00f08a; }
.confirmar-btn-secundario {
  width: 100%; background: transparent; border: 1px solid #2a3047; color: #fff; border-radius: 8px;
  padding: 12px; font-weight: 700; font-size: 13px; cursor: pointer; margin-bottom: 10px; font-family: var(--font);
}
.confirmar-btn-secundario:hover { border-color: #4a5568; }
.confirmar-cancelar { display: block; text-align: center; color: var(--text-muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.confirmar-cancelar:hover { color: #fff; }

/* ===== MODO PRIVADO (mascarar valores monetários e nomes de loja/conta) =====
   .valor-privado / .nome-privado ficam com visibility:hidden (preserva o box
   exato, sem precisar recalcular largura) e o ::after (visibility:visible
   sobrepõe o ancestral oculto) desenha '••••' por cima, herdando cor/tamanho
   normalmente — funciona igual pra conteúdo renderizado depois do toggle já
   ativo, já que é uma regra CSS viva, não um replace de texto via JS. */
.btn-modo-privado {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 15px;
  padding: 5px 9px;
  border-radius: var(--r-full);
  line-height: 1;
  transition: all var(--t);
}
.btn-modo-privado:hover { border-color: var(--accent); color: var(--accent); }
body.modo-privado .btn-modo-privado { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

body.modo-privado .valor-privado,
body.modo-privado .nome-privado {
  position: relative;
  visibility: hidden;
}
body.modo-privado .valor-privado::after,
body.modo-privado .nome-privado::after {
  content: '••••';
  visibility: visible;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

/* ===== RELATÓRIOS (agentes.html) ===== */
.relatorios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 1rem 1.5rem; }
@media (max-width: 700px) { .relatorios-grid { grid-template-columns: 1fr; } }
.rel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.rel-card-titulo { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.rel-item { padding: 8px 0; border-bottom: 1px solid var(--border-dim); }
.rel-item:last-child { border-bottom: none; }
.rel-item-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; }
.rel-item-valor { font-size: 13px; color: var(--text); margin-top: 2px; line-height: 1.5; }

/* ===== ADS — achados e timeline de insights (ads.html) ===== */
.achado-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 12px; border-left: 3px solid var(--border); }
.achado-card.prejuizo { border-left-color: var(--red); }
.achado-card.sem_venda { border-left-color: var(--yellow); }
.achado-card.investir, .achado-card.ok { border-left-color: var(--accent); }
.achado-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.achado-nome { font-size: 13px; font-weight: 600; color: var(--text); }
.achado-sku { font-size: 11px; color: var(--text-muted); }
.achado-metricas { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0; }
.achado-metrica { font-size: 12px; color: var(--text-muted); }
.achado-metrica strong { display: block; font-size: 15px; color: var(--text); font-weight: 700; }
.achado-metrica strong.negativo { color: var(--red); }
.achado-metrica strong.positivo { color: var(--accent); }
.achado-acoes { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.spinner-sm { width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .65s linear infinite; display: inline-block; }
.insight-timeline { margin-top: 10px; border-top: 1px solid var(--border-dim); padding-top: 10px; }
.insight-item { padding: 8px 0; border-bottom: 1px solid var(--border-dim); font-size: 13px; }
.insight-item:last-child { border-bottom: none; }
.insight-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
.insight-autor.usuario { color: var(--blue); }
.insight-autor.agente { color: var(--purple); }
.insight-texto { color: var(--text); white-space: pre-wrap; line-height: 1.4; }
.insight-form { display: flex; gap: 8px; margin-top: 10px; align-items: flex-start; }
.insight-form textarea { min-height: 40px; font-size: 12px; }

/* ===== EDIÇÃO INLINE DE CUSTO (tabela de Pedidos, dashboard) ===== */
.custo-celula { position: relative; padding-right: 24px !important; white-space: nowrap; }
.custo-editar-icone {
  background: none; border: none; cursor: pointer; font-size: 11px; padding: 0 2px;
  color: var(--text-muted); opacity: 0; margin-left: 6px; vertical-align: middle;
  transition: opacity var(--t);
}
tr:hover .custo-editar-icone { opacity: 1; }
.custo-editar-icone:hover { color: #fff; }
.custo-edit-wrap { display: flex; align-items: center; gap: 4px; }
.custo-edit-prefixo { font-size: 12px; color: var(--text-muted); }
.custo-edit-input {
  width: 72px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 4px 6px; color: var(--text); font-size: 12px; font-family: var(--font); outline: none;
}
.custo-edit-input:focus { border-color: var(--accent); }
.custo-edit-btn {
  background: none; border: none; cursor: pointer; font-size: 13px; padding: 2px 5px;
  border-radius: var(--r-sm); line-height: 1; font-weight: 700;
}
.custo-edit-confirmar { color: var(--accent); }
.custo-edit-confirmar:hover { background: var(--accent-dim); }
.custo-edit-cancelar { color: var(--red); }
.custo-edit-cancelar:hover { background: var(--red-dim); }
