*{box-sizing:border-box}body{margin:0;font:14px/1.45 "Segoe UI",system-ui,sans-serif;background:#f3f5f8;color:#1c2333}
header{background:#1b2a4a;color:#fff;padding:14px 24px;display:flex;justify-content:space-between;align-items:center}
header b{font-size:17px;letter-spacing:.5px}.sub{margin-left:12px;opacity:.75;font-size:12px}#ver{opacity:.7;font-size:12px}
main{max-width:1250px;margin:20px auto;padding:0 16px}.card{background:#fff;border:1px solid #e3e7ee;border-radius:10px;padding:16px 18px;margin-bottom:16px}
h2{font-size:15px;margin:0 0 8px}.hint{color:#5b6475;font-size:12.5px;margin:4px 0}code{background:#eef1f6;padding:1px 5px;border-radius:4px}
.row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.between{justify-content:space-between}
label{display:flex;flex-direction:column;font-size:12px;color:#5b6475;gap:3px}label.inline{flex-direction:row;align-items:center;gap:6px}
input,select{padding:7px 9px;border:1px solid #cdd3de;border-radius:6px;font:inherit;min-width:180px}
button{background:#1b2a4a;color:#fff;border:0;border-radius:6px;padding:8px 14px;font:inherit;cursor:pointer}
button.sec{background:#e8ecf3;color:#1b2a4a}button.danger{background:#fff;color:#a12a2a;border:1px solid #e5b9b9}button:disabled{opacity:.5;cursor:default}
table{width:100%;border-collapse:collapse;margin-top:10px}th{text-align:left;font-size:11.5px;text-transform:uppercase;color:#6a7385;font-weight:600;padding:8px;border-bottom:1px solid #e3e7ee;background:#fafbfd}
td{padding:8px;border-bottom:1px solid #eef1f5;vertical-align:top}td .small{font-size:12px;color:#5b6475}
.pill{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11.5px;background:#eef1f6}.ok{background:#e3f4e8;color:#1d6b35}.warn{background:#fff3d6;color:#8a5a00}.err{background:#fde5e5;color:#9b1c1c}
.msg{padding:10px 14px;border-radius:8px;margin-bottom:14px;background:#e3f4e8;color:#1d6b35}.msg.err{background:#fde5e5;color:#9b1c1c}.hidden{display:none}
.tarefa{background:#eef3ff;border:1px solid #cdd9f6;border-radius:8px;padding:10px 14px;margin-top:10px;font-size:13px}
.estreito{max-width:640px}a.btn{display:inline-block;background:#1b2a4a;color:#fff;border-radius:6px;padding:9px 16px;text-decoration:none}
.login{max-width:380px;margin:60px auto}.login input{width:100%}.link-convite{width:100%;font-family:Consolas,monospace;font-size:12px}
.resumo{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:16px}
.cartao{background:#fff;border:1px solid #e3e7ee;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;cursor:default}
.cartao[data-f]{cursor:pointer}.cartao b{font-size:24px;color:#1b2a4a}.cartao span{font-size:12.5px;color:#3a4458}.cartao small{font-size:11.5px;color:#6a7385;margin-top:2px}
.cartao.ok{border-left:4px solid #2e9a52}.cartao.err{border-left:4px solid #c23b3b}.cartao.warn{border-left:4px solid #d39b1c}
.lateral{position:fixed;top:0;right:0;width:min(560px,100%);height:100vh;overflow:auto;background:#fff;border-left:1px solid #d6dbe4;box-shadow:-8px 0 24px rgba(20,30,50,.12);padding:16px 18px;z-index:10}
.bloco{border:1px solid #e3e7ee;border-radius:8px;padding:10px 12px;margin:10px 0}.bloco h3,.lateral h3{font-size:14px;margin:0 0 6px}
table.mini{width:auto;margin:6px 0}table.mini th,table.mini td{padding:3px 8px;font-size:12px;border-bottom:1px solid #eef1f6}
.err-txt{color:#9b1c1c}textarea{width:100%;padding:7px 9px;border:1px solid #cdd3de;border-radius:6px;font:inherit}
a.btn.sec{background:#e8ecf3;color:#1b2a4a}.app{padding:8px 0;border-bottom:1px solid #eef1f6}.app-nome{min-width:110px}td.acoes{white-space:nowrap}
details summary{cursor:pointer;margin-top:6px}
/* 2.1: selos das plataformas, cartões com ícone, conexões */
.selo{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:10.5px;font-weight:700;letter-spacing:-.3px;vertical-align:middle;flex:none}
.selo.mini{width:17px;height:17px;font-size:8.5px}.selo.grande{width:28px;height:28px;font-size:12.5px}
.selo-bling{background:#1f9d55;color:#fff}.selo-mercadolivre{background:#ffd43b;color:#26305c}.selo-amazon{background:#232f3e;color:#ff9900}.selo-olist{background:#2d5bd7;color:#fff}
.cartao{flex-direction:row;align-items:center;gap:12px}.cartao>div{display:flex;flex-direction:column;min-width:0}
.cartao .ico{width:36px;height:36px;border-radius:9px;background:#eef1f6;display:flex;align-items:center;justify-content:center;flex:none}
.cartao .ico svg{width:20px;height:20px;fill:none;stroke:#1b2a4a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cartao.ok .ico{background:#e3f4e8}.cartao.ok .ico svg{stroke:#1d6b35}.cartao.err .ico{background:#fde5e5}.cartao.err .ico svg{stroke:#9b1c1c}.cartao.warn .ico{background:#fff3d6}.cartao.warn .ico svg{stroke:#8a5a00}
.cartao small .selo{margin-right:2px}
.conexao{display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 2px;border-radius:14px;font-size:11.5px;margin:0 4px 4px 0;background:#eef1f6;color:#3a4458;border:1px solid transparent}
.conexao.ok{background:#e9f6ee;color:#1d6b35;border-color:#c5e6d0}.conexao.err{background:#fde9e9;color:#9b1c1c;border-color:#f2c4c4}.conexao.warn{background:#fff6e0;color:#8a5a00;border-color:#f1dca4}.conexao.link{background:#fff;border:1px dashed #b9c2d2}
.bloco{border-left-width:4px}.bloco-bling{border-left-color:#1f9d55}.bloco-mercadolivre{border-left-color:#ffd43b}.bloco-amazon{border-left-color:#ff9900}.bloco-olist{border-left-color:#2d5bd7}
.bloco h3{display:flex;align-items:center;gap:8px}.app-nome{display:flex;align-items:center;gap:8px}
header{background:#14213d}
.selo-shopee{background:#ee4d2d;color:#fff}.selo-tiktok{background:#111;color:#fff;font-size:9px}.selo.grande.selo-tiktok{font-size:11px}.selo.mini.selo-tiktok{font-size:7px}
.bloco-shopee{border-left-color:#ee4d2d}.bloco-tiktok{border-left-color:#111}
.selo-nfse{background:#6b3fa0;color:#fff;font-size:8.5px}.selo.grande.selo-nfse{font-size:10px}.selo.mini.selo-nfse{font-size:6.5px}.bloco-nfse{border-left-color:#6b3fa0}
.bloco-destino{border-left:4px solid #14213d}
.bloco-destino select{min-width:320px;max-width:100%}


/* =================== HG GROUP · tema 2.3 (login + painel com menu lateral) =================== */
:root { --hg-roxo: #7c3aed; --hg-roxo2: #a855f7; --hg-azul: #2563eb; --hg-marinho: #0b1550; --hg-texto: #141a3a; --hg-mudo: #5f6785; --hg-fundo: #f3f2fb; --hg-borda: #e6e3f5; }
body { background: var(--hg-fundo); color: var(--hg-texto); }
button { background: linear-gradient(90deg, var(--hg-roxo), #5b3be8); }
button.sec { background: #ece9fb; color: #3b2a8a; }
.hidden { display: none !important; }

/* ---------- login ---------- */
body.entrando { background: #120c45; }
.tela-entrada { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 1fr); overflow: hidden; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(80% 70% at 85% 20%, #3a3192 0%, #1a1460 45%, #0c0a3c 100%); }
.tela-entrada::before { content: ""; position: absolute; inset: auto -10% -20% 30%; height: 45%; background: radial-gradient(60% 60% at 60% 60%, rgba(124,58,237,.55), transparent 70%); filter: blur(10px); }
.entrada-arte { position: relative; z-index: 1; background: url(/login_hugo.jpg) right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.entrada-lado { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 24px 5vw 70px 2vw; }
.entrada-card { width: min(610px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(240,238,255,.95)); border: 1px solid rgba(255,255,255,.7); border-radius: 34px;
  padding: clamp(24px, 4vh, 40px) clamp(22px, 3.4vw, 50px) clamp(24px, 4vh, 44px); box-shadow: 0 0 0 1px rgba(168,85,247,.25), 0 30px 90px rgba(20, 8, 80, .55), 0 0 60px rgba(124,58,237,.35); position: relative; overflow: hidden; }
.entrada-card::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -36px; height: 70px; border-radius: 50%; border-top: 3px solid rgba(124,58,237,.55); box-shadow: 0 -10px 30px rgba(168,85,247,.25); pointer-events: none; }
.entrada-card > * { min-width: 0; }
.entrada-logo { width: clamp(150px, 15vw, 230px); height: auto; justify-self: center; }
.entrada-titulo { margin: 4px 0 0; font-size: clamp(34px, 3.6vw, 60px); font-weight: 900; color: #0d1240; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.entrada-titulo span { background: linear-gradient(90deg, #7c2ff0, #3b5bf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entrada-sub { margin: 0 0 12px; font-size: clamp(16px, 1.4vw, 21px); color: #141a3a; font-weight: 500; }
.tela-entrada .campo { position: relative; display: flex; flex-direction: row; align-items: center; height: 60px; padding: 0 18px; border: 1.5px solid #dcd7f2; border-radius: 14px; background: rgba(255,255,255,.85); gap: 0; transition: border-color .15s, box-shadow .15s; }
.tela-entrada .campo:focus-within { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.tela-entrada .campo .ico svg, .olho svg, .entrada-exclusivo svg { width: 26px; height: 26px; fill: none; stroke: #1c2252; stroke-width: 1.7; display: block; }
.tela-entrada .campo input { flex: 1; border: 0; border-radius: 0; outline: 0; background: transparent; min-width: 0; height: 100%; padding: 0 16px; font-size: 19px; color: #141a3a; }
.tela-entrada .campo input::placeholder { color: #545b7c; }
.olho { background: none !important; border: 0; padding: 6px; cursor: pointer; }
.olho.aberto .risco { display: none; }
.entrada-opcoes { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; padding: 2px 4px; }
.entrada-opcoes .lembrar { flex-direction: row; align-items: center; gap: 10px; font-size: 16px; color: #141a3a; cursor: pointer; }
.entrada-opcoes .lembrar input { min-width: 0; width: 20px; height: 20px; margin: 0; accent-color: #7c3aed; }
.entrada-opcoes a { color: #5b2fe0; text-decoration: underline; }
.entrada-erro { min-height: 18px; margin: -6px 0 -6px; color: #c0262d; font-size: 14.5px; }
.entrar { display: flex; align-items: center; justify-content: center; gap: 14px; height: 64px; border: 0; border-radius: 14px; font-size: 23px; font-weight: 600; color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #7a2ff0, #3d5cf5); box-shadow: 0 12px 28px rgba(76, 52, 230, .4); }
.entrar:hover { filter: brightness(1.08); } .entrar:disabled { opacity: .7; cursor: wait; }
.entrar svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.entrada-exclusivo { position: absolute; z-index: 3; left: 0; right: 0; bottom: 2.2vh; margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #e8e6ff; font-size: clamp(14px, 1.2vw, 19px); }
.entrada-exclusivo svg { stroke: #e8e6ff; }
.entrada-exclusivo span { width: min(160px, 12vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(232,230,255,.6)); }
.entrada-exclusivo span:last-child { background: linear-gradient(90deg, rgba(232,230,255,.6), transparent); }
@media (max-height: 800px) and (min-width: 901px) { .tela-entrada .campo { height: 52px; } .entrar { height: 56px; } .entrada-card { gap: 10px; } }
@media (max-width: 900px) {
  .tela-entrada { position: absolute; min-height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: 38vh auto; overflow: auto; }
  .entrada-arte { background-position: 60% 30%; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
  .entrada-lado { padding: 0 14px 80px; margin-top: -50px; align-items: flex-start; }
  .entrada-card { border-radius: 24px; } .entrada-exclusivo { position: relative; bottom: auto; padding: 0 0 22px; margin-top: -60px; }
}

/* ---------- painel: casca com menu lateral ---------- */
#app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; padding: 0; border: 0; }
#app.hidden { display: none !important; }
.lado { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; color: #fff; overflow: hidden auto;
  background: radial-gradient(120% 40% at 50% 100%, rgba(124,58,237,.65), transparent 60%), linear-gradient(180deg, #06144e 0%, #0a1660 60%, #10106a 100%); }
.lado-logo { padding: 10px 24px 14px; text-align: center; border-bottom: 1px solid rgba(124,58,237,.35); }
.lado-logo img { width: 150px; height: auto; display: inline-block; }
.lado-nav { display: grid; gap: 4px; padding: 16px 14px; }
.nav-item { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; color: #fff; text-decoration: none; font-size: 16.5px; }
.nav-item svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-item:hover { background: rgba(255,255,255,.08); }
.nav-item.ativo { background: linear-gradient(90deg, #7c3aed, #5b3be8); box-shadow: 0 6px 20px rgba(124,58,237,.45); }
.lado-hugo { margin-top: auto; padding: 0 10px 12px; text-align: center; }
.lado-hugo img { width: 100%; max-width: 230px; height: auto; display: inline-block; border-radius: 14px; }
.conteudo { min-width: 0; display: flex; flex-direction: column; }
header.topo { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px 26px; background: rgba(243,242,251,.92); backdrop-filter: blur(8px); color: var(--hg-texto); justify-content: flex-start; border-bottom: 1px solid var(--hg-borda); }
.menu, .sino { background: none !important; color: #1c2252; padding: 6px; position: relative; }
.menu svg, .sino svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; display: block; }
.busca-topo { flex: 1; max-width: 600px; flex-direction: row; align-items: center; gap: 10px; background: #e7e4f9; border-radius: 12px; padding: 0 16px; height: 46px; }
.busca-topo svg { width: 22px; height: 22px; fill: none; stroke: #1c2252; stroke-width: 2; flex: none; }
.busca-topo input { flex: 1; border: 0; background: transparent; min-width: 0; font-size: 15.5px; outline: 0; color: var(--hg-texto); }
.sino { margin-left: auto; }
.sino b { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: #e11d48; color: #fff; font-size: 11.5px; display: grid; place-items: center; padding: 0 5px; }
.usuario-topo { display: flex; align-items: center; gap: 12px; padding-left: 18px; border-left: 1px solid var(--hg-borda); }
.usuario-topo .avatar svg { width: 40px; height: 40px; fill: #0d1240; display: block; background: #fff; border-radius: 50%; padding: 4px; border: 2px solid #0d1240; }
.usuario-topo b { display: block; font-size: 15.5px; } .usuario-topo small { color: var(--hg-mudo); font-size: 13px; }
.usuario-topo #ver { opacity: 1; font-size: 12px; }
.sair { padding: 6px 12px; font-size: 13px; }
main#painel { max-width: none; margin: 0; padding: 18px 26px 30px; display: block; }
body.lado-recolhido #app { grid-template-columns: 0 minmax(0, 1fr); }
body.lado-recolhido .lado { visibility: hidden; }
@media (max-width: 1000px) {
  #app { grid-template-columns: minmax(0, 1fr); }
  .lado { position: fixed; left: 0; top: 0; width: 264px; z-index: 20; transform: translateX(-100%); transition: transform .2s; }
  body.menu-aberto .lado { transform: none; box-shadow: 0 0 0 100vmax rgba(10,10,40,.45); }
  .usuario-topo span:not(.avatar), .usuario-topo .sair { display: none; }
  .usuario-topo { padding-left: 6px; border: 0; } header.topo { padding: 8px 12px; gap: 10px; } main#painel { padding: 14px 12px 24px; }
  .usuario-topo .sair { display: inline-block; }
}

/* ---------- dashboard ---------- */
.card { border: 1px solid var(--hg-borda); border-radius: 16px; box-shadow: 0 6px 24px rgba(40, 20, 120, .06); }
.card-tit { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.card-tit h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0; color: #0d1240; }
.card-tit h2 svg { width: 24px; height: 24px; fill: none; stroke: var(--hg-roxo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card-tit a { color: #5b2fe0; font-weight: 600; text-decoration: none; font-size: 14px; }
.banner { border-radius: 22px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(60, 30, 160, .14); background: #e9e6fb; }
.banner img { width: 100%; height: auto; display: block; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--hg-borda); border-radius: 16px; padding: 16px 16px; min-height: 104px; box-shadow: 0 6px 24px rgba(40, 20, 120, .06); overflow: hidden; }
.kpi[data-ir] { cursor: pointer; } .kpi[data-ir]:hover { border-color: #cfc5f7; }
.kpi-ico { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
.kpi-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi.roxo .kpi-ico { background: #efe7ff; color: #7c3aed; } .kpi.verde .kpi-ico { background: #e3f6ea; color: #1f9d55; }
.kpi.lilas .kpi-ico { background: #efe9ff; color: #6d3df0; } .kpi.laranja .kpi-ico { background: #fff1e4; color: #f08a24; }
.kpi-txt { position: relative; z-index: 1; min-width: 0; display: grid; }
.kpi-txt b { font-size: clamp(17px, 1.5vw, 26px); line-height: 1.1; color: #0d1240; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-txt span { font-size: 14.5px; color: #1c2252; } .kpi-txt small { font-size: 13.5px; font-weight: 600; color: #5b2fe0; margin-top: 2px; }
.kpi .spark { position: absolute; right: 10px; top: 12px; width: 76px; height: 30px; opacity: .55; z-index: 0; }
@media (max-width: 1600px) { .kpi .spark { display: none; } }
.ok-txt { color: #1f9d55 !important; } .err-txt { color: #c0262d; }
.dash-grade { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.1fr) minmax(0, .8fr); grid-template-areas: "graf int status" "ev acoes acoes"; gap: 16px; align-items: stretch; }
.dash-grade > .card { margin: 0; }
.painel-graf { grid-area: graf; } .painel-int { grid-area: int; } .painel-status { grid-area: status; } .painel-ev { grid-area: ev; } .painel-acoes { grid-area: acoes; }
.painel-graf { display: flex; flex-direction: column; } .grafico { width: 100%; flex: 1; min-height: 220px; display: block; }
.g-linha { stroke: #ebe8f6; } .g-eixo { font-size: 11.5px; fill: #2a3058; } .g-area { fill: url(#gArea); fill: rgba(124,58,237,.16); }
.g-traco { fill: none; stroke: #7c3aed; stroke-width: 3; stroke-linejoin: round; } .g-ponto { fill: #7c3aed; stroke: #fff; stroke-width: 2; } .g-vazio { font-size: 14px; fill: #6b7090; }
.int-linha { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid #efedf8; }
.int-linha:last-child { border-bottom: 0; } .int-linha b { font-size: 15px; line-height: 1.2; } .int-linha .pill { font-size: 11.5px; white-space: nowrap; } .int-linha small { grid-column: 2 / 4; color: var(--hg-mudo); font-size: 12.5px; margin-top: -8px; }
.int-linha .pill { justify-self: end; }
#intCompleta .int-linha { grid-template-columns: auto 1fr auto; padding: 14px 4px; }
.pill.ok { background: #e3f6ea; color: #1b7a43; } .pill.err { background: #fde8ea; color: #a8202a; } .pill.warn { background: #fff3dc; color: #8a5a00; }
.anel { width: 100%; max-width: 210px; display: block; margin: 0 auto; }
.anel-fundo { fill: none; stroke: #efeafc; stroke-width: 16; } .anel-valor { fill: none; stroke: url(#gAnel); stroke-width: 16; stroke-linecap: round; }
.anel-num { font-size: 30px; font-weight: 800; fill: #0d1240; } .anel-txt { font-size: 13px; fill: #1c2252; }
.ev { display: grid; grid-template-columns: 12px 120px 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #efedf8; font-size: 14px; }
.ev:last-child { border: 0; } .ev i { width: 11px; height: 11px; border-radius: 50%; align-self: center; } .ev i.ok { background: #22a35a; } .ev i.err { background: #e11d48; }
.painel-acoes { border-radius: 18px; padding: 16px 18px; color: #fff; background: radial-gradient(100% 140% at 0% 0%, #5b2fe0 0%, #2a1a9a 45%, #101a7a 100%); box-shadow: 0 10px 30px rgba(60, 30, 160, .25); }
.painel-acoes h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 12px; color: #fff; }
.painel-acoes h2 svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.acoes-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acoes-grade button { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(190,170,255,.45); color: #fff; font-size: 15px; line-height: 1.2; }
.acoes-grade button:hover { background: rgba(255,255,255,.16); }
.acoes-grade svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1350px) { .dash-grade { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "graf graf" "int status" "ev ev" "acoes acoes"; } }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kpis { grid-template-columns: minmax(0, 1fr); } .dash-grade { grid-template-columns: minmax(0, 1fr); grid-template-areas: "graf" "int" "status" "ev" "acoes"; } .acoes-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev { grid-template-columns: 12px minmax(0,1fr); } .ev > :not(i) { grid-column: 2; } .grafico { min-height: 0; flex: none; height: auto; } }

/* ---------- 2.4: usuários do painel e página do link de acesso ---------- */
.tabela-rolagem { overflow-x: auto; }
.tab-usuarios td, .tab-usuarios th { vertical-align: middle; }
.tab-usuarios select { min-width: 140px; }
.acoes-u { white-space: nowrap; text-align: right; }
.acoes-u button { padding: 6px 10px; font-size: 13px; }
.novo-usuario { align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hg-borda); }
.novo-usuario label { flex: 1 1 180px; }
.caixa-link { margin-top: 14px; padding: 14px; border-radius: 12px; background: #f6f3ff; border: 1px solid #ddd3fb; }
.acesso-form { display: grid; gap: 12px; }
.acesso-usuario { margin: 0; color: #141a3a; }
a.entrar { text-decoration: none; }
.selo-upseller{background:#ff6a00;color:#fff;font-size:9px}.selo.grande.selo-upseller{font-size:11px}.selo.mini.selo-upseller{font-size:7px}.bloco-upseller{border-left-color:#ff6a00}
.selo-tiny{background:#0a7cff;color:#fff}.bloco-tiny{border-left-color:#0a7cff}

/* 2.11.7: sinal da SEFAZ por empresa */
.sinal{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.08)}.sinal.verde{background:#22a35a}.sinal.vermelho{background:#d23b3b}td.centro{text-align:center}
.selo-importacao{background:#141f37;color:#fff;font-size:9px}.selo.grande.selo-importacao{font-size:11px}.selo.mini.selo-importacao{font-size:7px}.bloco-importacao{border-left-color:#141f37}
/* 2.17.0 — link de envio do cliente */
.envio-zona{display:grid;justify-items:center;gap:6px;padding:36px 16px;margin:14px 0;border:2px dashed #c9bdf0;border-radius:14px;cursor:pointer;text-align:center;background:#faf8ff}
.envio-zona:hover,.envio-zona.sobre{border-color:#7c3aed;background:#f1ebff}.envio-zona small{color:#6b6b80}
.envio-linha{margin:6px 0;font-size:14px}.envio-linha.ok{color:#1b7a43}.envio-linha.err{color:#b4232c}
