/* =====================================================================
   MAXEMM Portal — Design System
   Fonte única do visual: cores, tipografia, espaços, raio e sombras ficam
   nos tokens abaixo e todos os componentes herdam deles.
   Só aparência: nenhuma regra aqui muda funcionamento do portal.
   Marca: vermelho #d21d0d · tinta #1f2430 · branco · Poppins (títulos) + Inter (texto)
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
.ds body {
  /* Marca */
  --mx-vermelho: #d21d0d;
  --mx-vermelho-forte: #b5180a;
  --mx-vermelho-fundo: #a81708;
  --mx-vermelho-suave: #fdf3f1;
  --mx-vermelho-borda: #f6d5d0;
  --mx-tinta: #1f2430;

  /* Neutros, todos derivados da tinta da marca */
  --n-0: #ffffff;
  --n-25: #fafbfc;
  --n-50: #f6f7fa;
  --n-100: #eef0f4;
  --n-200: #e3e5ea;
  --n-300: #cfd3db;
  --n-400: #a3a9b6;
  --n-500: #6b7385;
  --n-600: #4d5466;
  --n-700: #363c4a;
  --n-800: #272c38;
  --n-900: #1f2430;

  /* Estados (discretos, para não competir com a marca) */
  --ok: #1d7a4c;      --ok-suave: #edf6f1;      --ok-borda: #cfe6da;
  --aviso: #8f5d08;   --aviso-suave: #fbf5e8;   --aviso-borda: #efdfba;
  --erro: #b42318;    --erro-suave: #fdf3f1;    --erro-borda: #f6d5d0;
  --info: #3d4a66;    --info-suave: #eff1f6;    --info-borda: #d9dde8;

  /* Fundos sólidos (texto branco por cima) */
  --tinta-fundo: #1f2430;
  --ok-forte: #1d7a4c;
  --aviso-forte: #a86f0a;

  /* Barra lateral (sempre escura, nos dois temas) */
  --lat-fundo: #1f2430;
  --lat-linha: rgba(255,255,255,.08);
  --lat-texto: rgba(255,255,255,.66);
  --lat-apagado: rgba(255,255,255,.36);
  --lat-hover: rgba(255,255,255,.06);
  --lat-ativo: rgba(255,255,255,.1);

  /* Tipografia */
  --f-titulo: 'Poppins', 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-corpo: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --t-mini: 11px;
  --t-pq: 12.5px;
  --t-base: 14px;
  --t-md: 15px;
  --t-g: 18px;
  --t-titulo: 26px;

  /* Espaços (escala de 4) */
  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 20px; --e-6: 24px; --e-8: 32px; --e-10: 40px; --e-12: 48px;

  /* Forma: um único raio no portal inteiro */
  --raio: 10px;
  --sombra-1: 0 1px 2px rgba(31,36,48,.05);
  --sombra-2: 0 1px 2px rgba(31,36,48,.04), 0 8px 24px rgba(31,36,48,.07);
  --sombra-3: 0 2px 6px rgba(31,36,48,.06), 0 24px 64px rgba(31,36,48,.18);
  --foco: 0 0 0 3px rgba(31,36,48,.14);
  --mov: .16s cubic-bezier(.2,.6,.3,1);

  /* Nomes antigos apontando para os tokens (o resto do CSS herda daqui) */
  --azul: var(--mx-vermelho);
  --azul-escuro: var(--mx-vermelho-fundo);
  --azul-claro: var(--mx-vermelho-suave);
  --sidebar: var(--lat-fundo);
  --sidebar-txt: var(--lat-texto);
  --sidebar-ativo: #ffffff;
  --verde: var(--ok);
  --vermelho: var(--erro);
  --amarelo: var(--aviso);
  --cinza-bg: var(--n-50);
  --cinza-borda: var(--n-200);
  --borda: var(--n-200);
  --texto: var(--n-900);
  --texto-leve: var(--n-500);
  --branco: var(--n-0);
  --sombra: var(--sombra-1);
  --sombra-md: var(--sombra-2);
  --radius: var(--raio);
  --sidebar-w: 248px;
}

/* Tema escuro: os mesmos tokens, invertidos */
.ds body.tema-escuro {
  --n-0: #1b202a;
  --n-25: #1f2430;
  --n-50: #13171e;
  --n-100: #232936;
  --n-200: #2c3341;
  --n-300: #3b4353;
  --n-400: #6b7385;
  --n-500: #98a0af;
  --n-600: #b7bdc9;
  --n-700: #d0d4dc;
  --n-800: #e4e6eb;
  --n-900: #f1f2f5;
  --mx-vermelho-suave: #2b1614;
  --mx-vermelho-borda: #51231d;
  --ok: #5fc394;      --ok-suave: #15251e;      --ok-borda: #1f3a2d;
  --aviso: #e0b256;   --aviso-suave: #272012;   --aviso-borda: #40351b;
  --erro: #f08a7e;    --erro-suave: #2b1614;    --erro-borda: #51231d;
  --info: #a9b6d3;    --info-suave: #1c2230;    --info-borda: #2c3549;
  --lat-fundo: #161a22;
  --tinta-fundo: #3b4353;
  --ok-forte: #23895a;
  --aviso-forte: #a86f0a;
  --sombra-1: 0 1px 2px rgba(0,0,0,.3);
  --sombra-2: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  --sombra-3: 0 2px 6px rgba(0,0,0,.3), 0 24px 64px rgba(0,0,0,.5);
  --foco: 0 0 0 3px rgba(255,255,255,.16);
}

/* ---------- 2. BASE ---------- */
.ds body {
  font-family: var(--f-corpo);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--n-900);
  background: var(--n-50);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ds body button, .ds body input, .ds body select, .ds body textarea { font-family: inherit; }
.ds ::selection { background: rgba(31,36,48,.14); }
.ds * { scrollbar-width: thin; scrollbar-color: var(--n-300) transparent; }
.ds body a { transition: color var(--mov); }
.ds body .text-leve { color: var(--n-500); }
.ds body .negrito { font-weight: 600; }
.ds body .verde-txt { color: var(--ok); }
.ds body .vermelho-txt { color: var(--erro); }
.ds body td, .ds body .kpi-valor { font-variant-numeric: tabular-nums; }

/* Ícones de traço fino (substituem os emojis) */
.ds body .pi { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-right: 6px; vertical-align: -3px; }
.ds body .btn .pi { width: 16px; height: 16px; stroke-width: 1.8; }
.ds body .icone .pi, .ds body .btn .pi, .ds body .notif-btn .pi, .ds body .nav-item .pi { margin: 0; vertical-align: middle; }
.ds body .bc-alerta .pi, .ds body .badge .pi, .ds body .kpi-label .pi, .ds body .bc-resumo-item .pi { width: 15px; height: 15px; vertical-align: -3px; }

/* ---------- 3. ESTRUTURA: barra lateral, topo, conteúdo ---------- */
.ds body .sidebar { background: var(--lat-fundo); border-right: 0; scrollbar-color: rgba(255,255,255,.16) transparent; }
.ds body .sidebar-logo { padding: 22px 20px 20px; border-bottom: 1px solid var(--lat-linha); gap: 0; min-height: 68px; background: url(../img/logo-h-branco.png) 20px center / auto 28px no-repeat; }
.ds body .sidebar-logo .logo-m, .ds body .sidebar-logo .sidebar-logo-texto { visibility: hidden; }
.ds body .sidebar.recolhida .sidebar-logo { background: url(../img/icone-branco.png) center / 26px auto no-repeat; }

.ds body .sidebar-nav { padding: 8px 12px 16px; gap: 1px; }
.ds body .nav-secao { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--lat-apagado); padding: 22px 12px 8px; opacity: 1; }
.ds body .nav-item { position: relative; padding: 9px 12px; border-radius: var(--raio); font-size: 13.5px; font-weight: 500; color: var(--lat-texto); gap: 12px; letter-spacing: -.005em; transition: background var(--mov), color var(--mov); }
.ds body .nav-item:hover { background: var(--lat-hover); color: #fff; }
.ds body .nav-item.ativo { background: var(--lat-ativo); color: #fff; font-weight: 500; box-shadow: none; }
.ds body .nav-item.ativo::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--mx-vermelho); }
.ds body .nav-item .icone { width: 20px; height: 20px; font-size: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,.46); transition: color var(--mov); }
.ds body .nav-item:hover .icone, .ds body .nav-item.ativo .icone { color: #fff; }
.ds body .nav-chevron { font-size: 15px; opacity: .4; }
.ds body .nav-submenu { margin: 2px 0 4px 21px; padding-left: 9px; border-left: 1px solid var(--lat-linha); }
.ds body .nav-subitem, .ds body .nav-subsubitem { font-size: 13px !important; padding: 7px 12px !important; opacity: 1; }
.ds body .nav-subitem.ativo, .ds body .nav-subsubitem.ativo { background: var(--lat-ativo) !important; color: #fff; }
.ds body .nav-subitem.ativo::before, .ds body .nav-subsubitem.ativo::before { display: none; }
.ds body .nav-subsubmenu { background: transparent; border-left: 1px solid var(--lat-linha); }
.ds body .nav-grupo-btn { opacity: 1; }
.ds body .sidebar.recolhida .nav-item.ativo::before { left: -4px; }
.ds body .sidebar.recolhida .nav-item:hover::after { background: var(--mx-tinta); border-radius: var(--raio); font-size: 12px; padding: 6px 10px; box-shadow: var(--sombra-2); }

.ds body .sidebar-tema, .ds body .sidebar-usuario { border-top: 1px solid var(--lat-linha); }
.ds body .sidebar-tema { padding: 12px 16px; }
.ds body .sidebar-usuario { padding: 14px 16px 16px; }
.ds body .btn-tema { background: transparent; border: 1px solid var(--lat-linha); color: var(--lat-texto); border-radius: var(--raio); padding: 8px 12px; font-size: 12.5px; transition: background var(--mov), color var(--mov); }
.ds body .btn-tema:hover { background: var(--lat-hover); color: #fff; }
.ds body .sidebar-usuario .nome-usuario { color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.ds body .sidebar-usuario .papel-usuario { color: var(--lat-apagado); font-size: 11.5px; margin-bottom: 6px; }
.ds body .sidebar-usuario .btn-fantasma, .ds body .sidebar-usuario #btn-sair { background: transparent; border: 1px solid var(--lat-linha); color: var(--lat-texto); box-shadow: none; justify-content: center; min-height: 34px; }
.ds body .sidebar-usuario .btn-fantasma:hover, .ds body .sidebar-usuario #btn-sair:hover { background: var(--lat-hover); border-color: rgba(255,255,255,.16); color: #fff; }

.ds body .btn-toggle-sidebar { left: calc(var(--sidebar-w) - 13px) !important; width: 26px; height: 26px; background: var(--n-0); color: var(--n-600); border: 1px solid var(--n-200); box-shadow: var(--sombra-2); font-size: 13px; transition: left .22s cubic-bezier(.4,0,.2,1), background var(--mov), color var(--mov); }
.ds body .btn-toggle-sidebar:hover { background: var(--n-25); color: var(--n-900); }
.ds body .sidebar.recolhida ~ .btn-toggle-sidebar { left: 39px !important; }

.ds body .conteudo { padding: 40px 44px 56px; max-width: 1560px; }

/* Sino de notificações */
.ds body .notif-wrapper { top: 20px; right: 28px; }
.ds body .notif-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--n-0); border: 1px solid var(--n-200); border-radius: var(--raio); box-shadow: var(--sombra-1); color: var(--n-600); padding: 0; font-size: 0; transition: background var(--mov), border-color var(--mov), color var(--mov); }
.ds body .notif-btn .pi { width: 18px; height: 18px; }
.ds body .notif-btn:hover { background: var(--n-25); border-color: var(--n-300); color: var(--n-900); }
.ds body .notif-badge { top: -6px; right: -6px; min-width: 18px; height: 18px; border: 2px solid var(--n-50); box-sizing: content-box; background: var(--mx-vermelho); font-size: 10.5px; font-weight: 600; }
.ds body .notif-dropdown { border: 1px solid var(--n-200); border-radius: var(--raio); box-shadow: var(--sombra-3); width: 380px; }
.ds body .notif-header { padding: 14px 18px; font-family: var(--f-titulo); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--n-200); }
.ds body .notif-ler-todas { color: var(--n-500); font-family: var(--f-corpo); font-weight: 500; }
.ds body .notif-ler-todas:hover { color: var(--n-900); text-decoration: none; }
.ds body .notif-item { padding: 14px 18px; border-bottom: 1px solid var(--n-100); transition: background var(--mov); }
.ds body .notif-item:hover { background: var(--n-25); }
.ds body .notif-item.nao-lida { background: var(--n-0); box-shadow: inset 3px 0 0 var(--mx-vermelho); }
.ds body .notif-item-titulo { font-size: 13.5px; font-weight: 600; }
.ds body .notif-item-desc { font-size: 12.5px; color: var(--n-500); }
.ds body .notif-item-tempo { font-size: 11.5px; color: var(--n-400); }
.ds body .notif-vazia { padding: 40px 24px; color: var(--n-500); font-size: 13px; }

/* ---------- 4. TIPOGRAFIA DE PÁGINA ---------- */
.ds body .pag-cabecalho { margin-bottom: var(--e-8); gap: var(--e-4); align-items: flex-end; }
.ds body .pag-titulo { font-family: var(--f-titulo); font-size: var(--t-titulo); font-weight: 600; letter-spacing: -.022em; line-height: 1.2; color: var(--n-900); }
.ds body .pag-subtitulo { font-size: var(--t-base); color: var(--n-500); margin: 6px 0 0; }
.ds body .card-titulo { font-family: var(--f-titulo); font-size: var(--t-md); font-weight: 600; letter-spacing: -.01em; color: var(--n-900); margin-bottom: var(--e-5); gap: 10px; }
.ds body .form-secao-titulo, .ds body .fin-secao-titulo { font-family: var(--f-titulo); font-weight: 600; letter-spacing: -.01em; }

/* ---------- 5. SUPERFÍCIES ---------- */
.ds body .card, .ds body .wz-card, .ds body .wz-painel-bloco { background: var(--n-0); border: 1px solid var(--n-200); border-radius: var(--raio); box-shadow: var(--sombra-1); }
.ds body .card { padding: var(--e-6) 28px; margin-bottom: var(--e-6); }
.ds body .card-clicavel { transition: box-shadow var(--mov), border-color var(--mov), transform var(--mov); }
.ds body .card-clicavel:hover { box-shadow: var(--sombra-2); border-color: var(--n-300); transform: translateY(-1px); }

/* Indicadores */
.ds body .kpi-grid { gap: var(--e-5); margin-bottom: var(--e-6); }
.ds body .kpi { --kc: var(--n-300); position: relative; background: var(--n-0); border: 1px solid var(--n-200) !important; border-radius: var(--raio); box-shadow: var(--sombra-1); padding: 22px 24px 22px 28px; overflow: hidden; }
.ds body .kpi::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 0 3px 3px 0; background: var(--kc); }
.ds body .kpi.azul { --kc: var(--mx-vermelho); }
.ds body .kpi.verde { --kc: var(--ok); }
.ds body .kpi.amarelo { --kc: #c98a12; }
.ds body .kpi.vermelho { --kc: var(--erro); }
.ds body .kpi-label { font-size: var(--t-mini); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--n-500); }
.ds body .kpi-valor { font-family: var(--f-titulo); font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.025em; color: var(--n-900); margin-top: 10px; line-height: 1.15; }
.ds body .kpi-sub { font-size: var(--t-pq); color: var(--n-500); margin-top: 4px; }
.ds body .kpi-clic { cursor: pointer; user-select: none; transition: box-shadow var(--mov), border-color var(--mov), transform var(--mov); }
.ds body .kpi-clic:hover { box-shadow: var(--sombra-2); border-color: var(--n-300) !important; transform: translateY(-1px); }
.ds body .kpi-clic.kpi-sel { border-color: var(--n-900) !important; box-shadow: 0 0 0 1px var(--n-900), var(--sombra-2); }
.ds body .kpi-clic::after { content: 'Ver empresas ›'; position: absolute; right: 18px; bottom: 14px; font-size: 11.5px; font-weight: 600; color: var(--n-600); opacity: 0; transition: opacity var(--mov); }
.ds body .kpi-clic:hover::after { opacity: 1; }

/* ---------- 6. BOTÕES ---------- */
.ds body .btn { border-radius: var(--raio); font-size: 13.5px; font-weight: 500; padding: 9px 18px; min-height: 40px; gap: 8px; letter-spacing: -.005em; border: 1px solid transparent; box-shadow: none; transition: background var(--mov), border-color var(--mov), color var(--mov), box-shadow var(--mov), transform .08s; }
.ds body .btn:hover { opacity: 1; }
.ds body .btn:active { transform: translateY(1px) scale(1); }
.ds body .btn-sm { min-height: 32px; padding: 5px 12px; font-size: var(--t-pq); }
.ds body .btn-bloco { min-height: 44px; font-size: 14px; }
.ds body .btn-primario { background: var(--mx-vermelho); color: #fff; box-shadow: 0 1px 2px rgba(168,23,8,.24); }
.ds body .btn-primario:hover { background: var(--mx-vermelho-forte); }
.ds body .btn-primario:active { background: var(--mx-vermelho-fundo); }
.ds body .btn-secundario, .ds body .btn-fantasma { background: var(--n-0); border-color: var(--n-200); color: var(--n-800); box-shadow: var(--sombra-1); }
.ds body .btn-secundario:hover, .ds body .btn-fantasma:hover { background: var(--n-25); border-color: var(--n-300); color: var(--n-900); }
.ds body .btn-verde { background: var(--ok); color: #fff; }
.ds body .btn-verde:hover { filter: brightness(.93); }
.ds body .btn-vermelho { background: var(--n-0); color: var(--erro); border-color: var(--erro-borda); }
.ds body .btn-vermelho:hover { background: var(--erro-suave); }
.ds body .btn:disabled, .ds body .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.ds body .btn:focus-visible, .ds body button:focus-visible, .ds body a:focus-visible { outline: 2px solid var(--n-900); outline-offset: 2px; }
.ds body .sidebar button:focus-visible { outline-color: #fff; }

/* ---------- 7. CAMPOS ---------- */
.ds body .campo { margin-bottom: var(--e-4); }
.ds body .campo label { font-size: var(--t-pq); font-weight: 600; color: var(--n-700); letter-spacing: 0; margin-bottom: 6px; }
.ds body .campo input, .ds body .campo select, .ds body .campo textarea, .ds body .input, .ds body .input-busca { border: 1px solid var(--n-300); border-radius: var(--raio); padding: 9px 13px; min-height: 40px; font-size: 14px; color: var(--n-900); background: var(--n-0); box-shadow: var(--sombra-1); transition: border-color var(--mov), box-shadow var(--mov); }
.ds body .campo input[type=checkbox], .ds body .campo input[type=radio] { min-height: 0; padding: 0; box-shadow: none; }
.ds body .campo input::placeholder, .ds body .campo textarea::placeholder { color: var(--n-400); }
.ds body .campo input:hover, .ds body .campo select:hover, .ds body .campo textarea:hover { border-color: var(--n-400); }
.ds body .campo input:focus, .ds body .campo select:focus, .ds body .campo textarea:focus, .ds body .input:focus, .ds body .input-busca:focus { border-color: var(--n-900); box-shadow: var(--foco); outline: none; }
.ds body .campo input:disabled, .ds body .campo select:disabled, .ds body .campo textarea:disabled { background: var(--n-50); color: var(--n-400); cursor: not-allowed; box-shadow: none; }
.ds body input[type=checkbox], .ds body input[type=radio] { accent-color: var(--mx-tinta); }
.ds body.tema-escuro input[type=checkbox], .ds body.tema-escuro input[type=radio] { accent-color: var(--mx-vermelho); }
.ds body .obrigatorio { color: var(--mx-vermelho); }

/* ---------- 8. TABELAS ---------- */
.ds body thead th { background: transparent; font-size: var(--t-mini); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--n-500); padding: 12px 16px; border-bottom: 1px solid var(--n-200); white-space: nowrap; }
.ds body tbody td { padding: 14px 16px; font-size: 13.5px; color: var(--n-800); border-bottom: 1px solid var(--n-100); }
.ds body tbody tr { transition: background var(--mov); }
.ds body tbody tr:hover { background: var(--n-25); }
.ds body .tabela-vazia { padding: 56px 24px; color: var(--n-500); font-size: 13.5px; }

/* ---------- 9. SELOS E AVISOS ---------- */
.ds body .badge { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: var(--raio); letter-spacing: .01em; border: 1px solid transparent; }
.ds body .badge-verde { background: var(--ok-suave); color: var(--ok); border-color: var(--ok-borda); }
.ds body .badge-amarelo { background: var(--aviso-suave); color: var(--aviso); border-color: var(--aviso-borda); }
.ds body .badge-vermelho { background: var(--erro-suave); color: var(--erro); border-color: var(--erro-borda); }
.ds body .badge-azul { background: var(--info-suave); color: var(--info); border-color: var(--info-borda); }
.ds body .badge-cinza { background: var(--n-50); color: var(--n-600); border-color: var(--n-200); }

.ds body .alerta { padding: 12px 16px; border-radius: var(--raio); font-size: 13.5px; line-height: 1.5; margin-bottom: var(--e-4); border: 1px solid; }
.ds body .alerta-erro { background: var(--erro-suave); color: var(--erro); border-color: var(--erro-borda); }
.ds body .alerta-sucesso { background: var(--ok-suave); color: var(--ok); border-color: var(--ok-borda); }
.ds body .alerta-info { background: var(--info-suave); color: var(--info); border-color: var(--info-borda); }

/* Carregando */
.ds body .carregando { padding: 72px 24px; color: var(--n-500); font-size: 13.5px; gap: 12px; }
.ds body .spinner { width: 18px; height: 18px; border: 2px solid var(--n-200); border-top-color: var(--n-900); animation-duration: .7s; }

/* ---------- 10. JANELAS ---------- */
.ds body .modal-overlay { background: rgba(23,27,36,.48); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ds body .modal-caixa { border-radius: var(--raio); border: 1px solid var(--n-200); box-shadow: var(--sombra-3); background: var(--n-0); }
.ds body .modal-cabecalho { padding: 20px 24px; border-bottom: 1px solid var(--n-200); }
.ds body .modal-cabecalho h3, .ds body .modal-cabecalho h2 { font-family: var(--f-titulo); font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--n-900); }
.ds body .modal-fechar { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--raio); font-size: 15px; color: var(--n-500); transition: background var(--mov), color var(--mov); }
.ds body .modal-fechar:hover { background: var(--n-50); color: var(--n-900); }
.ds body #modal-corpo { padding: 24px; }
.ds body .modal-acoes { padding-top: var(--e-5); margin-top: var(--e-5); border-top: 1px solid var(--n-200); gap: 10px; }

/* Tutorial de boas-vindas */
.ds body #tutorial-card { border-radius: var(--raio); border: 1px solid var(--n-200); box-shadow: var(--sombra-3); background: var(--n-0); }
.ds body .tut-titulo { font-family: var(--f-titulo); font-weight: 600; letter-spacing: -.015em; }
.ds body .tut-dot.ativo, .ds body .tut-dot.feito { background: var(--mx-vermelho); }

/* ---------- 11. LOGIN ---------- */
.ds body .tela-login { position: relative; align-items: stretch; justify-content: flex-start; padding: 0; background: var(--n-0); overflow: hidden; min-height: 100vh; min-height: 100dvh; }
.ds body .tela-login::before { content: ''; flex: 1.1 1 0; min-width: 0; background:
    linear-gradient(var(--mx-vermelho), var(--mx-vermelho)) center calc(50% + 122px) / 36px 2px no-repeat,
    url(../img/logo-v-completo-branco.png) center calc(50% - 14px) / 216px auto no-repeat,
    #1f2430; }
.ds body .tela-login::after { content: ''; position: absolute; left: -170px; bottom: -210px; width: 640px; height: 640px; background: url(../img/marca-branco.png) center / contain no-repeat; opacity: .04; pointer-events: none; }
.ds body .login-card { flex: 1 1 0; min-width: 0; max-width: none; display: flex; flex-direction: column; justify-content: center; background: var(--n-0); border-radius: 0; box-shadow: none; padding: 48px clamp(28px, 7vw, 112px); }
.ds body .login-card > * { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
.ds body .login-logo { display: none; }
.ds body .login-titulo { font-family: var(--f-titulo); font-size: 28px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--n-900); margin-bottom: 8px; }
.ds body .login-subtitulo { font-size: 14.5px; color: var(--n-500); margin-bottom: var(--e-8); }
.ds body .login-card .campo { margin-bottom: 18px; }
.ds body .login-card .campo input { min-height: 46px; padding: 11px 14px; font-size: 15px; }
.ds body .login-card form > label { color: var(--n-600); font-size: 13.5px !important; margin: 2px auto 22px !important; }
.ds body .login-card .btn-bloco { min-height: 46px; font-size: 14.5px; font-weight: 600; }
.ds body .login-esqueci { margin-top: 20px; }
.ds body .login-esqueci a { color: var(--n-600); font-weight: 500; }
.ds body .login-esqueci a:hover { color: var(--n-900); text-decoration: underline; }
.ds body .login-esqueci-caixa { background: var(--n-50); border: 1px solid var(--n-200); border-radius: var(--raio); padding: 18px; margin-top: 18px; color: var(--n-700); }
.ds body .login-esqueci-dica { color: var(--n-500); }
.ds body #login-erro { margin-bottom: 20px; }

/* ---------- 12. DETALHES DA TELA PRINCIPAL ---------- */
.ds body .ds-pos { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--raio); font-size: 12.5px; font-weight: 600; background: var(--n-50); color: var(--n-600); border: 1px solid var(--n-200); font-variant-numeric: tabular-nums; }
.ds body .ds-pos-1 { background: var(--mx-tinta); color: #fff; border-color: var(--mx-tinta); }
.ds body.tema-escuro .ds-pos-1 { background: var(--n-900); color: #13171e; border-color: var(--n-900); }

/* Aba lateral de mensagens internas */
.ds body #mr-btn { background: var(--mx-tinta); box-shadow: -1px 2px 10px rgba(31,36,48,.22); border-radius: var(--raio) 0 0 var(--raio); opacity: .82; }
.ds body #mr-btn:hover, .ds body #mr-btn.on { opacity: 1; }
.ds body .mr-btn2 { background: var(--mx-tinta); border-radius: var(--raio); font-weight: 600; }

/* ---------- 13. RESPONSIVO ---------- */
@media (max-width: 1100px) {
  .ds body .conteudo { padding: 32px 28px 48px; }
}
@media (max-width: 900px) {
  .ds body .tela-login { flex-direction: column; }
  .ds body .tela-login::before { flex: 0 0 168px; background:
      url(../img/logo-h-branco.png) center / auto 34px no-repeat,
      #1f2430; }
  .ds body .tela-login::after { display: none; }
  .ds body .login-card { flex: 1 1 auto; justify-content: flex-start; padding: 40px 24px 48px; }
  .ds body .login-titulo { font-size: 24px; }
  .ds body .card { padding: 20px 18px; }
  .ds body .pag-titulo { font-size: 22px; }
  .ds body .pag-cabecalho { margin-bottom: var(--e-6); align-items: flex-start; }
}
@media (max-width: 768px) {
  .ds body { --sidebar-w: 0px; }
  .ds body .conteudo, .ds body .conteudo.sidebar-recolhida-offset { padding: 76px 16px 32px !important; max-width: none; }
  .ds body .topbar-mobile { background: var(--lat-fundo); box-shadow: none; border-bottom: 1px solid var(--lat-linha); height: 56px; }
  .ds body .topbar-mobile .logo-m { background: url(../img/icone-branco.png) center / contain no-repeat; color: transparent; border-radius: 0; width: 28px; height: 24px; min-width: 28px; }
  .ds body .topbar-mobile .topbar-menu { background: transparent; color: #fff; width: 40px; height: 40px; font-size: 20px; border-radius: var(--raio); box-shadow: none; display: flex; align-items: center; justify-content: center; filter: none; }
  .ds body .topbar-mobile .topbar-menu:active { background: var(--lat-hover); }
  .ds body .topbar-mobile .topbar-textos strong { font-family: var(--f-titulo); font-weight: 600; letter-spacing: .04em; color: #fff; font-size: 13px; }
  .ds body .topbar-textos span { color: var(--lat-apagado); }
  .ds body .nav-item { padding: 12px 14px; font-size: 15px; }
  .ds body .notif-wrapper { top: 8px; right: 10px; }
  .ds body .notif-btn { background: transparent; border-color: var(--lat-linha); color: #fff; box-shadow: none; }
  .ds body .notif-btn:hover { background: var(--lat-hover); border-color: var(--lat-linha); color: #fff; }
  .ds body .notif-badge { border-color: var(--lat-fundo); }
  .ds body .notif-dropdown { width: auto; }
  .ds body .kpi-grid { gap: var(--e-3); }
  .ds body .kpi { padding: 16px 16px 16px 20px; }
  .ds body .kpi::before { top: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ds body *, .ds body *::before, .ds body *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .ds body .spinner { animation-duration: .7s !important; }
}

/* ---------- 14. ÍCONES E PONTOS DE ESTADO (no lugar dos emojis) ---------- */
.ds body .pi-ok { color: var(--ok); }
.ds body .pi-aviso { color: var(--aviso); }
.ds body .pi-erro { color: var(--erro); }
.ds body .pi-neutro { color: var(--n-500); }
.ds body .btn .pi-ok, .ds body .btn .pi-aviso, .ds body .btn .pi-erro, .ds body .btn .pi-neutro { color: inherit; }
.ds body .ds-ponto { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--n-400); flex-shrink: 0; }
.ds body .ds-ponto.ds-ok { background: var(--ok-forte); }
.ds body .ds-ponto.ds-aviso { background: #c98a12; }
.ds body .ds-ponto.ds-erro { background: var(--mx-vermelho); }
.ds body .ds-so-icone > .pi { margin-right: 0; }

/* ---------- 15. AJUSTES GERAIS DAS TELAS ---------- */
/* Vermelho só na ação principal da página: botões pequenos e de linha ficam neutros */
.ds body .btn-primario.btn-sm { background: var(--tinta-fundo); color: #fff; box-shadow: none; }
.ds body .btn-primario.btn-sm:hover { background: var(--n-700); }
.ds body.tema-escuro .btn-primario.btn-sm:hover { background: var(--n-400); }
.ds body td .btn-primario, .ds body td .btn-primario.btn-sm { background: var(--n-0); color: var(--n-800); border-color: var(--n-300); box-shadow: var(--sombra-1); }
.ds body td .btn-primario:hover, .ds body td .btn-primario.btn-sm:hover { background: var(--n-25); border-color: var(--n-400); color: var(--n-900); }
.ds body .badge { white-space: nowrap; }

/* Campos soltos (sem classe): mesmo padrão dos campos de formulário */
.ds body :is(.conteudo, .modal-caixa) :is(select, textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=submit]):not([type=button])):not([class]) { border: 1px solid var(--n-300); border-radius: var(--raio); padding: 8px 12px; min-height: 38px; font-size: 13.5px; color: var(--n-900); background-color: var(--n-0); transition: border-color var(--mov), box-shadow var(--mov); }
.ds body :is(.conteudo, .modal-caixa) :is(select, textarea, input):not([class]):focus { border-color: var(--n-900); box-shadow: var(--foco); outline: none; }
.ds body :is(.conteudo, .modal-caixa) :is(select, textarea, input) { border-radius: var(--raio); }
.ds body input[type=file] { font-size: 13px; color: var(--n-600); }
.ds body input[type=file]::file-selector-button { font: inherit; font-weight: 500; margin-right: 10px; padding: 6px 12px; border: 1px solid var(--n-300); border-radius: var(--raio); background: var(--n-0); color: var(--n-800); cursor: pointer; }

/* Cabeçalho não fica embaixo do sino */
.ds body .pag-cabecalho, .ds body .pagina-topo { padding-right: 60px; }
.ds body .pagina-topo { display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); flex-wrap: wrap; margin-bottom: var(--e-6); }
.ds body #pagina-conteudo h2, .ds body #pagina-conteudo h3, .ds body #modal-corpo h3 { font-family: var(--f-titulo); font-weight: 600; letter-spacing: -.015em; color: var(--n-900); }
.ds body #pagina-conteudo h3 { font-size: var(--t-md); }

/* Emoji que sobrou sozinho: discreto, em tons de cinza */
.ds body .ds-emoji { filter: grayscale(1); opacity: .62; }
.ds body .proc-vazio .ds-emoji, .ds body .tabela-vazia .ds-emoji { font-size: 30px !important; opacity: .4; }

/* WhatsApp */
.ds body .wz-thread { background: var(--n-100); }

/* ---------- 16. AJUSTES POR TELA ---------- */
.ds body { --gz-a: var(--tinta-fundo); --gz-b: var(--tinta-fundo); --gz-novo: var(--mx-vermelho); --gz-fundo: var(--n-50); }
.ds body .gz-btn-prim { background: var(--tinta-fundo); box-shadow: none; }
.ds body .alerta-aviso { background: var(--aviso-suave); color: var(--aviso); border-color: var(--aviso-borda); }
.ds body .conquista-card { border: 1px solid var(--n-200); border-radius: var(--raio); background: var(--n-0); transition: box-shadow var(--mov), border-color var(--mov); }
.ds body .conquista-card.desbloqueada { border-color: var(--n-300); background: var(--n-0); box-shadow: var(--sombra-1); }
.ds body .conquista-card.bloqueada { background: var(--n-50); border-style: dashed; }
.ds body .ranking-eu { border: 1px solid var(--n-900); background: var(--n-0) !important; }
.ds body .ranking-pontos { color: var(--n-900); font-variant-numeric: tabular-nums; }
.ds body .btn-tema-icone { filter: grayscale(1) brightness(1.7); font-size: 13px; }
.ds body #pagina-conteudo h2:not(.pag-titulo) { font-size: 20px; }
.ds body .mx-hero::after { display: none; }
.ds body #pagina-conteudo a:not([class]), .ds body #modal-corpo a:not([class]) { color: var(--n-900); text-decoration: underline; text-decoration-color: var(--n-300); text-underline-offset: 3px; }
.ds body #pagina-conteudo a:not([class]):hover, .ds body #modal-corpo a:not([class]):hover { color: var(--mx-vermelho); text-decoration-color: currentColor; }
.ds body .modal-overlay { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.ds body #mr-painel a { color: var(--n-600); }

/* ---------- 17. CELULAR: ajustes de telas ---------- */
.ds body .cl-selects select { min-width: 0; }
@media (max-width: 900px) {
  .ds body .fin-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ds body .cl-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ds body .pag-cabecalho, .ds body .pagina-topo { padding-right: 0; }
  /* WhatsApp: os botões voltam para dentro da página, abaixo da barra superior */
  .ds body .conteudo:has(.wz-layout) { padding: 64px 10px 8px !important; height: 100vh; height: 100dvh; }
  .ds body .conteudo:has(.wz-layout) .wz-cab-fino { height: auto; margin: 0 0 8px !important; }
  .ds body .conteudo:has(.wz-layout) .wz-cab-fino .wz-nova { position: static; height: auto; flex-wrap: wrap; justify-content: flex-end; margin: 0; }
  .ds body .conteudo:has(.wz-layout) .wz-cab-fino .wz-nova .btn { min-height: 34px; padding: 5px 10px; font-size: 12.5px; }
}

/* ---------- 18. PÁGINAS AVULSAS (cadastro do MEI, instalar o app) ---------- */
.ds body.pagina-marca { background: #1f2430; }
.ds body #pagina-conteudo a:not([class]), .ds body #modal-corpo a:not([class]) { text-decoration-color: var(--n-400); }

/* ---------- 19. ÍCONES NO LUGAR DOS EMOJIS QUE RESTAVAM ---------- */
.ds body .conquista-icone .pi { width: 28px; height: 28px; stroke-width: 1.4; margin: 0; color: var(--n-800); }
.ds body .conquista-card.bloqueada .conquista-icone .pi { color: var(--n-400); }
.ds body .doc-item-icone .pi, .ds body .cert-vazio-msg .pi, .ds body .proc-vazio .pi { width: 24px; height: 24px; margin: 0; color: var(--n-500); }
.ds body .ranking-pos .pi { width: 20px; height: 20px; margin: 0; color: var(--n-600); }
.ds body .ds-so-icone > .pi { vertical-align: middle; }
.ds body #mr-btn { display: flex; align-items: center; justify-content: center; }
.ds body .mr-topo span, .ds body .mr-abas button, .ds body .mr-btn2 { display: inline-flex; align-items: center; }
.ds body .mr-abas button { justify-content: center; }
.ds body #pagina-conteudo > div:first-child:has(> h2.pag-titulo) { padding-right: 60px; }
@media (max-width: 768px) { .ds body #pagina-conteudo > div:first-child:has(> h2.pag-titulo) { padding-right: 0; } }
.ds body .conquista-pts { color: var(--n-600); }

/* =====================================================================
   20. LINHA "LUXO E TECNOLOGIA": vermelho, preto e branco
   Inspiração: produtos Apple. Muito branco e respiro, preto nas áreas de
   marca, vermelho como cor de ação. Cantos contínuos e generosos, botões
   em pílula, vidro fosco, sombras amplas e suaves, tipografia do sistema.
   ===================================================================== */
.ds body {
  --mx-preto: #000000;
  --mx-tinta: #1d1d1f;
  --tinta-fundo: #1d1d1f;
  /* neutros puros (sem tom azulado), para casar com preto, branco e vermelho */
  --n-0: #ffffff; --n-25: #fbfbfd; --n-50: #f5f5f7; --n-100: #ececf0; --n-200: #e3e3e8; --n-300: #d2d2d7;
  --n-400: #a1a1a6; --n-500: #6e6e73; --n-600: #515154; --n-700: #3a3a3c; --n-800: #2c2c2e; --n-900: #1d1d1f;
  --info: #515154; --info-suave: #f2f2f5; --info-borda: #e3e3e8;
  --lat-fundo: #000000; --lat-linha: rgba(255,255,255,.1); --lat-texto: rgba(255,255,255,.72); --lat-apagado: rgba(255,255,255,.42);
  --lat-hover: rgba(255,255,255,.08); --lat-ativo: rgba(255,255,255,.12);
  --f-titulo: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Arial, sans-serif;
  --f-corpo: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Arial, sans-serif;
  --raio: 14px;
  --raio-g: 20px;
  --raio-pilula: 980px;
  --sombra-1: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.04);
  --sombra-2: 0 2px 6px rgba(0,0,0,.05), 0 14px 36px rgba(0,0,0,.09);
  --sombra-3: 0 8px 20px rgba(0,0,0,.10), 0 30px 80px rgba(0,0,0,.22);
  --foco: 0 0 0 4px rgba(210,29,13,.16);
  --mov: .22s cubic-bezier(.25,.1,.25,1);
  --t-titulo: 30px;
  letter-spacing: -.011em;
}
.ds body.tema-escuro {
  --n-0: #1c1c1e; --n-25: #232325; --n-50: #000000; --n-100: #2c2c2e; --n-200: #38383a; --n-300: #48484a;
  --n-400: #636366; --n-500: #98989d; --n-600: #aeaeb2; --n-700: #c7c7cc; --n-800: #e5e5ea; --n-900: #f5f5f7;
  --info: #c7c7cc; --info-suave: #2c2c2e; --info-borda: #38383a;
  --lat-fundo: #0a0a0b; --tinta-fundo: #3a3a3c; --mx-tinta: #1d1d1f;
  --sombra-1: 0 1px 2px rgba(0,0,0,.4); --sombra-2: 0 14px 36px rgba(0,0,0,.5); --sombra-3: 0 30px 80px rgba(0,0,0,.7);
  --foco: 0 0 0 4px rgba(210,29,13,.34);
}

/* ---- Menu lateral: preto, item atual em vermelho ---- */
.ds body .sidebar { box-shadow: none; }
.ds body.tema-escuro .sidebar { border-right: 1px solid var(--n-200); }
.ds body .nav-secao { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--lat-apagado); padding: 22px 12px 8px; }
.ds body .nav-item { border-radius: 10px; font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; }
.ds body .nav-item.ativo { background: var(--mx-vermelho); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(210,29,13,.32); }
.ds body .nav-item.ativo::before { display: none; }
.ds body .nav-item.ativo .icone { color: #fff; }
.ds body .nav-item-pai.ativo.submenu-aberto { background: var(--lat-ativo); box-shadow: none; font-weight: 500; }
.ds body .nav-subitem.ativo, .ds body .nav-subsubitem.ativo { background: var(--mx-vermelho) !important; color: #fff; }
.ds body .sidebar-usuario #btn-sair:hover { background: var(--mx-vermelho); border-color: var(--mx-vermelho); color: #fff; }
.ds body .sidebar-usuario .btn-fantasma, .ds body .sidebar-usuario #btn-sair, .ds body .btn-tema { border-radius: var(--raio-pilula); }
.ds body .btn-toggle-sidebar { border-radius: 50%; }

/* ---- Tipografia: títulos grandes e apertados ---- */
.ds body .pag-titulo { font-size: var(--t-titulo); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.ds body .pag-subtitulo { font-size: 15px; color: var(--n-500); margin-top: 8px; letter-spacing: -.01em; }
.ds body .card-titulo { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.ds body #pagina-conteudo h2, .ds body #pagina-conteudo h3, .ds body #modal-corpo h3, .ds body .modal-cabecalho h3, .ds body .modal-cabecalho h2 { letter-spacing: -.02em; }

/* ---- Superfícies: brancas, sem contorno, cantos generosos ---- */
.ds body .card, .ds body .wz-card, .ds body .wz-painel-bloco { border: 0; border-radius: var(--raio-g); box-shadow: var(--sombra-1); }
.ds body .card-clicavel:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); }
.ds body .kpi { border: 0 !important; border-radius: var(--raio-g); box-shadow: var(--sombra-1); padding: 22px 24px; }
.ds body .kpi::before { left: 24px; top: 27px; bottom: auto; width: 8px; height: 8px; border-radius: 50%; }
.ds body .kpi-label { font-size: 13px; font-weight: 500; letter-spacing: -.005em; text-transform: none; color: var(--n-500); padding-left: 16px; }
.ds body .kpi-valor { font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.035em; margin-top: 8px; }
.ds body .kpi-clic:hover { transform: translateY(-2px); }
.ds body .kpi-clic.kpi-sel { box-shadow: 0 0 0 2px var(--mx-vermelho), var(--sombra-2); }

/* ---- Botões em pílula; vermelho é a cor de ação ---- */
.ds body .btn { border-radius: var(--raio-pilula); padding: 9px 20px; font-weight: 500; letter-spacing: -.01em; }
.ds body .btn:active { transform: scale(.97); }
.ds body .btn-sm { padding: 5px 14px; }
.ds body .btn-primario, .ds body .btn-primario.btn-sm { background: var(--mx-vermelho); color: #fff; box-shadow: 0 4px 14px rgba(210,29,13,.26); }
.ds body .btn-primario:hover, .ds body .btn-primario.btn-sm:hover, .ds body.tema-escuro .btn-primario.btn-sm:hover { background: var(--mx-vermelho-forte); box-shadow: 0 6px 20px rgba(210,29,13,.34); }
.ds body .btn-secundario, .ds body .btn-fantasma { background: rgba(0,0,0,.055); border-color: transparent; color: var(--n-900); box-shadow: none; }
.ds body .btn-secundario:hover, .ds body .btn-fantasma:hover { background: rgba(0,0,0,.095); border-color: transparent; }
.ds body.tema-escuro .btn-secundario, .ds body.tema-escuro .btn-fantasma { background: rgba(255,255,255,.1); }
.ds body.tema-escuro .btn-secundario:hover, .ds body.tema-escuro .btn-fantasma:hover { background: rgba(255,255,255,.16); }
.ds body td .btn-primario, .ds body td .btn-primario.btn-sm { background: var(--mx-vermelho-suave); color: var(--mx-vermelho); border-color: transparent; box-shadow: none; }
.ds body td .btn-primario:hover, .ds body td .btn-primario.btn-sm:hover { background: var(--mx-vermelho); color: #fff; box-shadow: none; }
.ds body.tema-escuro td .btn-primario { color: #ff8a7c; }
.ds body .btn-vermelho { background: var(--erro-suave); color: var(--erro); border-color: transparent; }
.ds body .btn-vermelho:hover { background: var(--erro); color: #fff; }
.ds body .gz-btn-prim, .ds body .mr-btn2 { background: var(--mx-vermelho); border-radius: var(--raio-pilula); }
.ds body .btn:focus-visible, .ds body button:focus-visible, .ds body a:focus-visible { outline-color: var(--mx-vermelho); }
.ds body .btn-link, .ds body #pagina-conteudo a:not([class]), .ds body #modal-corpo a:not([class]) { color: var(--mx-vermelho); text-decoration: none; }
.ds body #pagina-conteudo a:not([class]):hover, .ds body #modal-corpo a:not([class]):hover { text-decoration: underline; }

/* ---- Campos ---- */
.ds body .campo label { font-size: 13px; font-weight: 500; color: var(--n-700); }
.ds body .campo input, .ds body .campo select, .ds body .campo textarea, .ds body .input, .ds body .input-busca,
.ds body :is(.conteudo, .modal-caixa) :is(select, textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=submit]):not([type=button])):not([class]) { border-radius: 12px; border-color: var(--n-300); box-shadow: none; min-height: 42px; }
.ds body .campo input:focus, .ds body .campo select:focus, .ds body .campo textarea:focus, .ds body .input:focus, .ds body .input-busca:focus,
.ds body :is(.conteudo, .modal-caixa) :is(select, textarea, input):not([class]):focus { border-color: var(--mx-vermelho); box-shadow: var(--foco); }
.ds body input[type=checkbox], .ds body input[type=radio], .ds body.tema-escuro input[type=checkbox], .ds body.tema-escuro input[type=radio] { accent-color: var(--mx-vermelho); }

/* ---- Tabelas calmas ---- */
.ds body thead th { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--n-500); padding: 12px 16px; }
.ds body tbody td { padding: 15px 16px; border-bottom-color: var(--n-100); }

/* ---- Selos e avisos sem contorno ---- */
.ds body .badge { border-radius: var(--raio-pilula); border-color: transparent; font-weight: 500; font-size: 12px; padding: 3px 11px; }
.ds body .alerta { border-color: transparent; border-radius: var(--raio); padding: 14px 18px; }
.ds body .spinner { border-top-color: var(--mx-vermelho); }

/* ---- Janelas e painéis em vidro fosco ---- */
.ds body .modal-overlay { background: rgba(0,0,0,.34); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.ds body .modal-caixa { border: 0; border-radius: 24px; box-shadow: var(--sombra-3); }
.ds body .modal-cabecalho { padding: 22px 26px; border-bottom-color: var(--n-100); }
.ds body .modal-cabecalho h3, .ds body .modal-cabecalho h2 { font-size: 19px; font-weight: 600; }
.ds body .modal-fechar { border-radius: 50%; background: rgba(0,0,0,.055); }
.ds body.tema-escuro .modal-fechar { background: rgba(255,255,255,.1); }
.ds body #modal-corpo { padding: 26px; }
.ds body .modal-acoes { border-top-color: var(--n-100); }
.ds body .notif-btn { border: 0; border-radius: 50%; box-shadow: var(--sombra-1); }
.ds body .notif-dropdown { border: 0; border-radius: var(--raio-g); background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); box-shadow: var(--sombra-3); }
.ds body.tema-escuro .notif-dropdown { background: rgba(28,28,30,.86); }
.ds body .notif-header { background: transparent; border-bottom-color: rgba(0,0,0,.06); font-family: var(--f-titulo); }
.ds body .notif-item { border-bottom-color: rgba(0,0,0,.05); background: transparent; }
.ds body .notif-item.nao-lida { background: transparent; box-shadow: inset 3px 0 0 var(--mx-vermelho); }
.ds body #tutorial-card { border: 0; border-radius: 24px; }

/* ---- Destaques em vermelho ---- */
.ds body .ds-pos-1, .ds body.tema-escuro .ds-pos-1 { background: var(--mx-vermelho); color: #fff; border-color: var(--mx-vermelho); }
.ds body .ds-pos { border-radius: 50%; min-width: 28px; height: 28px; padding: 0; border: 0; background: var(--n-100); }
.ds body .ranking-eu { border: 0; box-shadow: 0 0 0 2px var(--mx-vermelho); }
.ds body .ranking-pontos, .ds body .conquista-pts { color: var(--mx-vermelho); }
.ds body .conquista-card { border: 0; border-radius: var(--raio-g); box-shadow: var(--sombra-1); }
.ds body .conquista-card.desbloqueada { border: 0; }
.ds body .conquista-card.desbloqueada .conquista-icone .pi { color: var(--mx-vermelho); }
.ds body .conquista-card.bloqueada { border: 0; box-shadow: none; background: var(--n-100); }
.ds body #mr-btn { background: #000; box-shadow: -2px 4px 18px rgba(0,0,0,.25); opacity: .92; border-radius: 16px 0 0 16px; }
.ds body .mx-hero { background: #000; border-radius: 26px; box-shadow: var(--sombra-2); }

/* ---- Tela do código de verificação e de escolha de empresa ---- */
.ds body .tela-empresas { background: var(--n-50); }
.ds body .emp-topo { background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); padding: 16px 22px; }
.ds body .emp-topo .logo-m { background: url(../img/icone-branco.png) center / contain no-repeat; color: transparent; border-radius: 0; width: 30px; height: 26px; min-width: 30px; }
.ds body .emp-topo strong { font-family: var(--f-titulo); font-weight: 600; letter-spacing: .06em; font-size: 15px; }
.ds body .emp-corpo { padding: 44px 20px 48px; }
.ds body .emp-titulo { background: transparent; box-shadow: none; border: 0; padding: 0; font-family: var(--f-titulo); font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.ds body .emp-sub { font-size: 16px; color: var(--n-500); margin: 12px 0 28px; line-height: 1.45; }
.ds body .emp-corpo #f2-cod { border: 1px solid var(--n-300) !important; border-radius: 16px !important; background: var(--n-0) !important; min-height: 64px; box-shadow: var(--sombra-1); transition: border-color var(--mov), box-shadow var(--mov); }
.ds body .emp-corpo #f2-cod:focus { border-color: var(--mx-vermelho) !important; box-shadow: var(--foco); outline: none; }
.ds body .emp-corpo .btn-bloco { min-height: 54px; font-size: 16px; font-weight: 600; }
.ds body .emp-card { border: 0; border-radius: var(--raio-g); box-shadow: var(--sombra-1); padding: 22px 18px; transition: box-shadow var(--mov), transform var(--mov); }
.ds body .emp-card:hover:not(:disabled) { box-shadow: var(--sombra-2); transform: translateY(-2px); border: 0; }
.ds body .emp-card.emp-carregando, .ds body .emp-card.emp-atual { box-shadow: 0 0 0 2px var(--mx-vermelho), var(--sombra-1); background: var(--n-0); }
.ds body .emp-nota { color: var(--mx-vermelho); }
.ds body .emp-voltar { color: var(--mx-vermelho); text-decoration: none; font-weight: 500; }

/* ---- LOGIN ---- */
.ds body .tela-login { background: var(--n-0); padding: 14px; gap: 0; }
.ds body .tela-login::before { border-radius: 30px; background:
    linear-gradient(var(--mx-vermelho), var(--mx-vermelho)) center calc(50% + 122px) / 36px 2px no-repeat,
    url(../img/logo-v-completo-branco.png) center calc(50% - 14px) / 216px auto no-repeat,
    radial-gradient(60% 46% at 50% 50%, rgba(210,29,13,.22) 0%, rgba(210,29,13,0) 72%),
    radial-gradient(80% 60% at 0% 100%, rgba(210,29,13,.38) 0%, rgba(210,29,13,0) 62%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 36px,
    #000; }
.ds body .tela-login::after { opacity: .045; left: -150px; bottom: -190px; }
.ds body .login-titulo { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 10px; }
.ds body .login-subtitulo { font-size: 17px; color: var(--n-500); letter-spacing: -.015em; margin-bottom: 34px; }
.ds body .login-card .campo label { font-size: 13px; font-weight: 500; color: var(--n-600); }
.ds body .login-card .campo input { min-height: 52px; padding: 13px 16px; font-size: 16px; border-radius: 14px; border: 1px solid transparent; background: var(--n-50); box-shadow: none; }
.ds body .login-card .campo input:hover { border-color: var(--n-300); }
.ds body .login-card .campo input:focus { background: var(--n-0); border-color: var(--mx-vermelho); box-shadow: var(--foco); }
.ds body .login-card .btn-bloco { min-height: 54px; font-size: 16px; font-weight: 600; border-radius: var(--raio-pilula); box-shadow: 0 10px 28px rgba(210,29,13,.3); }
.ds body .login-card .btn-bloco:hover { box-shadow: 0 14px 34px rgba(210,29,13,.38); }
.ds body .login-esqueci a { color: var(--mx-vermelho); font-weight: 500; }
.ds body .login-esqueci a:hover { color: var(--mx-vermelho-forte); }
.ds body .login-esqueci-caixa { border: 0; border-radius: var(--raio-g); background: var(--n-50); }
.ds body.pagina-marca { background: radial-gradient(90% 50% at 50% -10%, rgba(210,29,13,.36) 0%, rgba(210,29,13,0) 70%), #000; background-attachment: fixed; }

@media (max-width: 900px) {
  /* Celular: topo preto com a logo sobre o brilho vermelho; o formulário sobe numa folha branca de cantos bem arredondados */
  .ds body .tela-login { flex-direction: column; padding: 0; background:
      radial-gradient(120% 42% at 50% -4%, rgba(210,29,13,.62) 0%, rgba(210,29,13,.18) 46%, rgba(210,29,13,0) 74%),
      #000; }
  .ds body .tela-login::before { position: relative; z-index: 1; border-radius: 0; flex: 0 0 clamp(210px, 35vh, 320px); background: url(../img/logo-v-completo-branco.png) center 56% / 160px auto no-repeat; }
  .ds body .tela-login::after { display: block; position: absolute; left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 52vh; opacity: 1;
    background: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 30px 30px;
    -webkit-mask-image: radial-gradient(85% 75% at 50% 16%, #000 0%, transparent 78%); mask-image: radial-gradient(85% 75% at 50% 16%, #000 0%, transparent 78%); }
  .ds body .login-card { position: relative; z-index: 2; flex: 1 1 auto; justify-content: flex-start; padding: 38px 24px calc(36px + env(safe-area-inset-bottom));
    background: var(--n-0); border-radius: 34px 34px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,.45); }
  .ds body .login-card > * { max-width: 440px; }
  .ds body .login-titulo { font-size: 30px; }
  .ds body .login-subtitulo { font-size: 16px; margin-bottom: 28px; }
  .ds body .login-card .campo input { min-height: 56px; border-radius: 16px; }
  .ds body .login-card .btn-bloco { min-height: 58px; font-size: 17px; }
  .ds body .pag-titulo { font-size: 26px; }
  .ds body .emp-titulo { font-size: 28px; }
}
@media (max-width: 768px) {
  .ds body .topbar-mobile { background: rgba(0,0,0,.84); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 0; box-shadow: none; }
  .ds body .notif-btn { border-radius: 50%; background: rgba(255,255,255,.12); box-shadow: none; }
  .ds body .kpi { padding: 18px; }
  .ds body .kpi::before { left: 18px; top: 23px; }
}
.ds body .ds-pos.ds-pos-1, .ds body.tema-escuro .ds-pos.ds-pos-1 { background: var(--mx-vermelho); color: #fff; }
.ds body .emp-topo { background: rgba(0,0,0,.94); }
.ds body .kpi:has(.kpi-label .ds-ponto)::before { display: none; }
.ds body .kpi:has(.kpi-label .ds-ponto) .kpi-label { padding-left: 0; }
/* cartões do financeiro e da base no mesmo padrão dos indicadores */
.ds body .fin-card { --kc: var(--n-300); position: relative; border: 0; border-left: 0; border-radius: var(--raio-g); box-shadow: var(--sombra-1); padding: 22px 24px; background: var(--n-0); }
.ds body .fin-card.vermelho { --kc: var(--mx-vermelho); } .ds body .fin-card.amarelo { --kc: #c98a12; } .ds body .fin-card.verde { --kc: var(--ok-forte); }
.ds body .fin-card::before { content: ''; position: absolute; left: 24px; top: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--kc); }
.ds body .fin-card-label { font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: -.005em; color: var(--n-500); padding-left: 16px; margin-bottom: 8px; }
.ds body .fin-card-valor { font-family: var(--f-titulo); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.ds body .bc-card { border-radius: var(--raio-g); box-shadow: var(--sombra-1); }
@media (max-width: 768px) {
  .ds body .topbar-mobile { background: rgba(0,0,0,.93); }
}
.ds body.tema-escuro #mr-btn { background: var(--n-100); }

/* ---------- 21. EQUIPE VIRTUAL (simulador de WhatsApp e manual) ---------- */
.ds body .ev-agentes { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ds body .ev-ag { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 0; border-radius: var(--raio-g); background: var(--n-0); box-shadow: var(--sombra-1); cursor: pointer; text-align: left; font: inherit; color: var(--n-900); transition: box-shadow var(--mov), transform var(--mov); }
.ds body .ev-ag:hover { box-shadow: var(--sombra-2); transform: translateY(-1px); }
.ds body .ev-ag.on { box-shadow: 0 0 0 2px var(--mx-vermelho), var(--sombra-2); }
.ds body .ev-ag-txt { display: flex; flex-direction: column; line-height: 1.3; }
.ds body .ev-ag-txt b { font-size: 15px; letter-spacing: -.01em; } .ds body .ev-ag-txt small { color: var(--n-500); font-size: 12.5px; }
.ds body .ev-av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; color: #fff; background: #1d1d1f; }
.ds body .ev-av-f { background: linear-gradient(135deg, #d21d0d, #8a1206); }
.ds body .ev-av-m { background: linear-gradient(135deg, #3a3a3c, #000); }
.ds body .ev-av-g { width: 72px; height: 72px; flex-basis: 72px; font-size: 28px; }
.ds body .ev-abas { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.ds body .ev-abas > button:not(.btn) { border: 0; background: transparent; font: inherit; font-weight: 500; font-size: 14px; color: var(--n-500); padding: 8px 16px; border-radius: var(--raio-pilula); cursor: pointer; transition: background var(--mov), color var(--mov); }
.ds body .ev-abas > button:not(.btn):hover { background: rgba(0,0,0,.05); color: var(--n-900); }
.ds body .ev-abas > button.on { background: var(--n-900); color: #fff; }
.ds body.tema-escuro .ev-abas > button.on { background: var(--n-900); color: #000; }
.ds body .ev-grade { display: grid; grid-template-columns: 230px minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.ds body .ev-lista { display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 300px); overflow-y: auto; padding: 2px; }
.ds body .ev-sim { padding: 12px 14px; border-radius: var(--raio); background: var(--n-0); box-shadow: var(--sombra-1); cursor: pointer; transition: box-shadow var(--mov); }
.ds body .ev-sim:hover { box-shadow: var(--sombra-2); } .ds body .ev-sim.on { box-shadow: 0 0 0 2px var(--mx-vermelho); }
.ds body .ev-sim b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; } .ds body .ev-sim small { color: var(--n-500); font-size: 12px; }
/* o "celular" */
.ds body .ev-fone { display: flex; flex-direction: column; height: calc(100vh - 290px); min-height: 520px; border-radius: 28px; overflow: hidden; background: #efeae2; box-shadow: var(--sombra-2), 0 0 0 8px #000; margin: 8px; }
.ds body.tema-escuro .ev-fone { background: #0b141a; box-shadow: var(--sombra-2), 0 0 0 8px #2c2c2e; }
.ds body .ev-topo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.ds body.tema-escuro .ev-topo { background: rgba(28,28,30,.92); border-color: rgba(255,255,255,.06); }
.ds body .ev-topo div { display: flex; flex-direction: column; line-height: 1.25; } .ds body .ev-topo small { color: var(--n-500); font-size: 12px; }
.ds body .ev-ic { border: 0; background: transparent; font-size: 16px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--n-600); }
.ds body .ev-ic:hover { background: rgba(0,0,0,.06); }
.ds body .ev-cena { font-size: 11.5px; text-align: center; color: #54656f; background: rgba(255,255,255,.7); padding: 6px 12px; }
.ds body.tema-escuro .ev-cena { background: rgba(0,0,0,.3); color: var(--n-500); }
.ds body .ev-msgs { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.ds body .ev-l { display: flex; } .ds body .ev-l.ev-eu { justify-content: flex-end; margin-top: 8px; }
.ds body .ev-b { position: relative; max-width: 78%; padding: 7px 10px 18px; border-radius: 12px; background: #fff; color: #111b21; font-size: 14.5px; line-height: 1.42; white-space: pre-wrap; word-wrap: break-word; box-shadow: 0 1px .5px rgba(11,20,26,.13); min-width: 64px; }
.ds body .ev-eu .ev-b { background: #d9fdd3; }
.ds body.tema-escuro .ev-b { background: #202c33; color: #e9edef; } .ds body.tema-escuro .ev-eu .ev-b { background: #005c4b; }
.ds body .ev-h { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; color: #667781; }
.ds body .ev-grupo { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.ds body .ev-grupo.ev-foco .ev-b { box-shadow: 0 0 0 2px var(--mx-vermelho); }
.ds body .ev-nota { max-width: 78%; font-size: 12px; color: #54656f; background: rgba(255,255,255,.65); border: 1px dashed rgba(0,0,0,.15); border-radius: 10px; padding: 6px 10px; margin-top: 2px; }
.ds body.tema-escuro .ev-nota { background: rgba(255,255,255,.05); color: var(--n-500); border-color: rgba(255,255,255,.15); }
.ds body .ev-selo { font-size: 11.5px; color: var(--ok); margin-top: 2px; }
.ds body .ev-acoes { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ds body .ev-acoes .btn-secundario { background: #fff; box-shadow: var(--sombra-1); }
.ds body .ev-dica { margin: auto; text-align: center; font-size: 13px; color: #54656f; background: rgba(255,255,255,.75); border-radius: 12px; padding: 12px 16px; max-width: 360px; }
.ds body .ev-digitando { display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 12px; align-self: flex-start; margin-top: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.ds body .ev-digitando span { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: evPula 1.2s infinite ease-in-out; }
.ds body .ev-digitando span:nth-child(2) { animation-delay: .15s; } .ds body .ev-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes evPula { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ds body .ev-entrada { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: rgba(240,242,245,.95); }
.ds body.tema-escuro .ev-entrada { background: #1c1c1e; }
.ds body .ev-entrada textarea { flex: 1; resize: none; border: 0; border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15px; background: #fff; color: #111b21; min-height: 44px; max-height: 120px; outline: none; }
.ds body.tema-escuro .ev-entrada textarea { background: #2c2c2e; color: #fff; }
.ds body .ev-enviar { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mx-vermelho); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 4px 14px rgba(210,29,13,.3); }
.ds body .ev-enviar:disabled, .ds body .ev-entrada textarea:disabled { opacity: .45; cursor: not-allowed; }
.ds body .ev-vazio { margin: auto; text-align: center; padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 420px; }
.ds body .ev-vazio b { font-size: 18px; } .ds body .ev-vazio p { color: #54656f; font-size: 14px; margin: 0 0 6px; }
/* painel de ensinar */
.ds body .ev-lado .card { margin: 0; }
.ds body .ev-ajuda ol { padding-left: 18px; margin: 0 0 14px; line-height: 1.6; color: var(--n-700); }
.ds body .ev-cor div { display: flex; gap: 8px; font-size: 13px; padding: 8px 10px; background: var(--n-50); border-radius: 10px; margin-bottom: 6px; }
.ds body .ev-cor span { flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--n-900); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ds body .ev-entendi { font-size: 13px; color: var(--n-600); margin: 6px 0 12px; font-style: italic; }
.ds body .ev-prev-tit { font-size: 13px; font-weight: 500; color: var(--n-700); margin: 4px 0 6px; }
.ds body .ev-prev { background: #efeae2; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.ds body.tema-escuro .ev-prev { background: #0b141a; }
.ds body .ev-prev .ev-b { max-width: 100%; padding-bottom: 7px; }
.ds body .ev-prev .ev-nota { max-width: 100%; }
/* manual */
.ds body .ev-man-topo { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.ds body .ev-man-sec h3 { font-size: 16px !important; margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--n-100); }
.ds body .ev-regra { display: flex; gap: 12px; padding: 10px 0; }
.ds body .ev-regra.off { opacity: .45; }
.ds body .ev-num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--mx-vermelho-suave); color: var(--mx-vermelho); font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.ds body .ev-regra-txt { font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.ds body .ev-ex { margin-top: 6px; font-size: 13px; } .ds body .ev-ex summary { cursor: pointer; color: var(--n-500); }
.ds body .ev-ex-c, .ds body .ev-ex-r { background: var(--n-50); border-radius: 10px; padding: 8px 12px; margin-top: 6px; }
.ds body .ev-regra-ac { display: flex; gap: 6px; margin-top: 6px; opacity: .7; } .ds body .ev-regra:hover .ev-regra-ac { opacity: 1; }
@media (max-width: 1300px) { .ds body .ev-grade { grid-template-columns: 200px minmax(0, 1fr); } .ds body .ev-lado { grid-column: 1 / -1; } }
@media (max-width: 768px) { .ds body .ev-grade { grid-template-columns: 1fr; } .ds body .ev-lista { max-height: none; flex-direction: row; overflow-x: auto; } .ds body .ev-lista .btn-bloco { flex: 0 0 auto; width: auto; } .ds body .ev-sim { flex: 0 0 200px; } .ds body .ev-fone { height: 70vh; margin: 8px 0; border-radius: 20px; } }
.ds body .ev-dono { align-self: center; max-width: 86%; margin: 10px 0 4px; padding: 8px 14px; border-radius: 12px; background: #fff7d6; color: #54470b; font-size: 13px; text-align: center; box-shadow: 0 1px .5px rgba(11,20,26,.1); white-space: pre-wrap; }
.ds body .ev-dono b { display: block; font-size: 12px; margin-bottom: 2px; } .ds body .ev-dono span { display: block; font-size: 11px; opacity: .7; margin-top: 3px; }
.ds body.tema-escuro .ev-dono { background: #3a3215; color: #f3e3a3; }
.ds body .ev-consulta { display: flex; gap: 10px; align-items: center; margin: 0 10px 8px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--sombra-1); font-size: 13px; }
.ds body .ev-consulta div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ds body .ev-consulta small { color: var(--n-500); font-size: 12px; }
.ds body .ev-consulta-erro { background: var(--erro-suave); color: var(--erro); }
.ds body.tema-escuro .ev-consulta { background: #1c1c1e; }
.ds body .ev-pulso { flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--mx-vermelho); animation: evPulso 1.4s infinite; }
@keyframes evPulso { 0% { box-shadow: 0 0 0 0 rgba(210,29,13,.5); } 70% { box-shadow: 0 0 0 10px rgba(210,29,13,0); } 100% { box-shadow: 0 0 0 0 rgba(210,29,13,0); } }

/* ── Escritório virtual (Equipe virtual) ── */
.ds body .eo-voltar { margin-bottom: 10px; }
.ds body .eo-barra { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.ds body .eo-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--n-0); border: 1px solid var(--n-200); font-size: 12.5px; color: var(--n-600); }
.ds body .eo-on { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2bb36b; box-shadow: 0 0 0 2px #fff; }
.ds body .eo-planta { position: relative; border-radius: 28px; padding: 46px 18px 18px; background: linear-gradient(180deg, #f4f1ec, #ebe6de); border: 1px solid #e2dcd2; overflow: hidden; box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(31,36,48,.06); }
.ds body .eo-janelas { position: absolute; top: 12px; left: 18px; right: 18px; display: flex; gap: 10px; }
.ds body .eo-janelas span { flex: 1; height: 18px; border-radius: 8px; background: linear-gradient(180deg, #cfe6ff, #eef6ff); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ds body .eo-noite .eo-janelas span { background: linear-gradient(180deg, #1b2440, #33406a); }
.ds body .eo-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; align-items: start; }
.ds body .eo-sala { position: relative; border-radius: 22px; background: var(--n-0); border: 1px solid #e6e1d8; box-shadow: 0 2px 10px rgba(31,36,48,.05); overflow: hidden; }
.ds body .eo-sala header { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--n-100); }
.ds body .eo-sala header::before { content: ''; width: 4px; height: 18px; border-radius: 4px; background: var(--eo-cor); }
.ds body .eo-sala header b { font-size: 14px; } .ds body .eo-sala header small { margin-left: auto; color: var(--n-500); font-size: 12px; }
.ds body .eo-piso { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 10px 16px; min-height: 170px; align-items: flex-end;
  background-color: #faf8f5; background-image: linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px), linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px); background-size: 26px 26px; }
.ds body .eo-dec { position: absolute; right: 10px; top: 8px; font-size: 24px; opacity: .9; pointer-events: none; }
.ds body .eo-dec2 { right: auto; left: 10px; }
.ds body .eo-mesa { position: relative; width: 120px; display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 4px 0 0; cursor: pointer; font: inherit; color: inherit; border-radius: 16px; transition: transform .18s ease; }
.ds body .eo-mesa:hover { transform: translateY(-3px); } .ds body .eo-mesa:focus-visible { outline: 2px solid var(--mx-vermelho); outline-offset: 2px; }
.ds body .eo-pessoa { position: relative; width: 78px; height: 78px; z-index: 1; margin-bottom: -16px; animation: eoRespira 4s ease-in-out infinite; }
.ds body .eo-mesa:nth-child(2n) .eo-pessoa { animation-delay: -1.3s; } .ds body .eo-mesa:nth-child(3n) .eo-pessoa { animation-delay: -2.6s; }
.ds body .eo-svg { width: 78px; height: 78px; display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,.12)); }
.ds body .eo-olhos { animation: eoPisca 5s infinite; transform-origin: 32px 29px; }
.ds body .eo-pessoa .eo-on { position: absolute; right: 7px; top: 8px; }
.ds body .eo-ico { position: absolute; left: -2px; top: 2px; font-size: 15px; background: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.ds body .eo-bal { position: absolute; right: -14px; top: -6px; font-style: normal; font-size: 13px; background: #fff; border-radius: 12px 12px 12px 3px; padding: 2px 6px; box-shadow: 0 2px 6px rgba(0,0,0,.12); animation: eoFlutua 2.4s ease-in-out infinite; }
.ds body .eo-dig { display: flex; gap: 3px; padding: 6px 7px; } .ds body .eo-dig span { width: 5px; height: 5px; border-radius: 50%; background: var(--n-400); animation: eoDig 1.2s infinite; } .ds body .eo-dig span:nth-child(2) { animation-delay: .2s; } .ds body .eo-dig span:nth-child(3) { animation-delay: .4s; }
.ds body .eo-movel { position: relative; z-index: 2; width: 104px; height: 26px; border-radius: 9px; background: linear-gradient(180deg, #fff, #ece7df); border: 1px solid #ddd6cb; box-shadow: 0 6px 10px -6px rgba(0,0,0,.25); }
.ds body .eo-movel::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -8px; height: 8px; border-left: 3px solid #cfc7ba; border-right: 3px solid #cfc7ba; }
.ds body .eo-movel-g { width: 116px; background: linear-gradient(180deg, #3a3a3c, #1d1d1f); border-color: #000; }
.ds body .eo-note { position: absolute; left: 50%; top: -11px; width: 34px; height: 20px; transform: translateX(-50%); border-radius: 4px 4px 1px 1px; height: 15px; top: -9px; background: linear-gradient(180deg, #2c2c2e, #1d1d1f); box-shadow: 0 2px 3px rgba(0,0,0,.2); }
.ds body .eo-note::after { content: ''; position: absolute; left: 50%; top: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--mx-vermelho); box-shadow: 0 0 6px rgba(210,29,13,.8); }
.ds body .eo-cracha { margin-top: 12px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; }
.ds body .eo-cracha b { font-size: 13px; } .ds body .eo-cracha small { font-size: 11px; color: var(--n-500); }
.ds body .eo-vaga .eo-pessoa, .ds body .eo-breve .eo-pessoa { animation: none; }
.ds body .eo-vaga .eo-movel { background: transparent; border: 2px dashed var(--n-300); box-shadow: none; } .ds body .eo-vaga .eo-movel::after { display: none; }
.ds body .eo-cadeira { position: absolute; left: 50%; bottom: 14px; width: 34px; height: 34px; margin-left: -17px; border-radius: 12px 12px 6px 6px; background: var(--n-200); }
.ds body .eo-vaga .eo-cracha b { color: var(--mx-vermelho); }
.ds body .eo-caixa { display: flex; width: 78px; height: 62px; align-items: flex-end; justify-content: center; font-size: 34px; }
.ds body .eo-breve { opacity: .7; }
.ds body .eo-piso-copa { justify-content: space-around; align-items: center; font-size: 30px; min-height: 120px; }
.ds body .eo-logo { margin-top: 16px; text-align: center; font-family: var(--f-titulo); font-weight: 700; letter-spacing: .3em; color: var(--mx-vermelho); font-size: 13px; }
.ds body .eo-logo small { display: block; letter-spacing: .25em; color: var(--n-500); font-weight: 500; font-size: 10px; }
/* ficha do colaborador */
.ds body .eo-ficha { display: flex; gap: 16px; align-items: center; }
.ds body .eo-ficha-av { flex: 0 0 88px; height: 88px; border-radius: 26px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: color-mix(in srgb, var(--eo-cor) 12%, #fff); }
.ds body .eo-ficha-av .eo-svg { width: 84px; height: 84px; }
.ds body .eo-ficha-nome { font-family: var(--f-titulo); font-size: 22px; font-weight: 600; } .ds body .eo-ficha-setor { color: var(--n-500); margin: 2px 0 8px; }
.ds body .eo-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--aviso-suave); color: var(--aviso); font-size: 12px; } .ds body .eo-chip-ok { background: var(--ok-suave); color: var(--ok); }
.ds body .eo-ficha-papel { margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--n-50); color: var(--n-600); font-size: 13.5px; line-height: 1.5; white-space: pre-line; max-height: 150px; overflow: auto; }
.ds body .eo-nums { display: flex; gap: 10px; margin: 12px 0; } .ds body .eo-nums div { flex: 1; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--n-200); display: flex; flex-direction: column; }
.ds body .eo-nums b { font-size: 22px; font-family: var(--f-titulo); } .ds body .eo-nums small { color: var(--n-500); font-size: 12px; }
.ds body .eo-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ds body .eo-op { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 16px; border: 1px solid var(--n-200); background: var(--n-0); cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.ds body #eo-treino-real { grid-column: 1 / -1; } .ds body .eo-op-real { align-items: center; cursor: default; } .ds body .eo-op-real.on { cursor: pointer; border-color: #34c759; background: rgba(52,199,89,.06); } .ds body .eo-op-real > button { margin-left: auto; flex-shrink: 0; }
.ds body .eo-op:hover { border-color: var(--mx-vermelho); box-shadow: 0 4px 14px rgba(210,29,13,.1); }
.ds body .eo-op > span { font-size: 20px; } .ds body .eo-op b { display: block; font-size: 13.5px; } .ds body .eo-op small { color: var(--n-500); font-size: 12px; line-height: 1.35; }
@media (min-width: 1200px) { .ds body .eo-estudio { grid-column: span 2; } }
@media (max-width: 600px) { .ds body .eo-ops { grid-template-columns: 1fr; } .ds body .eo-planta { padding: 40px 10px 12px; border-radius: 20px; } .ds body .eo-grade { grid-template-columns: 1fr; } .ds body .eo-mesa { width: 100px; } }
@keyframes eoRespira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes eoPisca { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes eoFlutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes eoDig { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ds body .eo-pessoa, .ds body .eo-olhos, .ds body .eo-bal, .ds body .eo-dig span { animation: none; } }
/* tema escuro */
.ds body.tema-escuro .eo-planta { background: linear-gradient(180deg, #1c1c1e, #141416); border-color: #2c2c2e; }
.ds body.tema-escuro .eo-sala, .ds body.tema-escuro .eo-pill, .ds body.tema-escuro .eo-op { background: #1c1c1e; border-color: #2c2c2e; }
.ds body.tema-escuro .eo-piso { background-color: #222225; background-image: linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); }
.ds body.tema-escuro .eo-sala header { border-color: #2c2c2e; }
.ds body.tema-escuro .eo-movel { background: linear-gradient(180deg, #3a3a3c, #2c2c2e); border-color: #48484a; }
.ds body.tema-escuro .eo-ficha-papel { background: #222225; } .ds body.tema-escuro .eo-nums div { border-color: #2c2c2e; }
.ds body.tema-escuro .eo-ficha-av { background: #2c2c2e; } .ds body.tema-escuro .eo-on { box-shadow: 0 0 0 2px #1c1c1e; }
/* escritório: status, relatórios e cronograma */
.ds body .eo-on-cinza { background: var(--n-400); }
.ds body .eo-st-trab .eo-on { animation: evPulso 1.6s infinite; background: #2bb36b; }
.ds body .eo-st-inativo .eo-on { background: var(--n-400); }
.ds body .eo-st-inativo .eo-svg { filter: grayscale(.85) opacity(.7); } .ds body .eo-st-inativo .eo-pessoa { animation: none; }
.ds body .eo-st-inativo .eo-note::after { background: var(--n-400); box-shadow: none; }
.ds body .eo-st-afastado .eo-svg { filter: grayscale(1) opacity(.35); } .ds body .eo-st-afastado .eo-on { display: none; } .ds body .eo-st-afastado .eo-pessoa { animation: none; }
.ds body .eo-st-txt { font-weight: 600; } .ds body .eo-st-trab .eo-st-txt, .ds body .eo-st-ativo .eo-st-txt { color: var(--ok); } .ds body .eo-st-inativo .eo-st-txt, .ds body .eo-st-afastado .eo-st-txt { color: var(--n-400); }
.ds body .eo-zz { position: absolute; right: -6px; top: -4px; font-style: normal; font-weight: 700; color: var(--n-400); font-size: 14px; animation: eoFlutua 3s ease-in-out infinite; } .ds body .eo-zz small { font-size: 10px; }
.ds body .eo-rel { position: absolute; left: -4px; bottom: 16px; font-size: 14px; background: #fff; border-radius: 6px; padding: 1px 2px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.ds body .eo-gestor .eo-movel { width: 116px; background: linear-gradient(180deg, #3a3a3c, #1d1d1f); border-color: #000; }
.ds body .eo-quadro { align-self: center; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--n-200); background: #fff; cursor: pointer; font: inherit; color: inherit; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,.05); transition: border-color .15s; }
.ds body .eo-quadro:hover { border-color: var(--mx-vermelho); } .ds body .eo-quadro b { font-size: 13px; } .ds body .eo-quadro small { color: var(--n-500); font-size: 11.5px; }
.ds body .eo-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 14px; font-size: 12px; color: var(--n-500); } .ds body .eo-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.ds body .eo-ficha-ult { font-size: 12px; color: var(--n-500); margin-top: 6px; }
.ds body .eo-chip-trabalhando, .ds body .eo-chip-ativo { background: var(--ok-suave); color: var(--ok); }
.ds body .eo-chip-inativo { background: var(--n-100); color: var(--n-500); } .ds body .eo-chip-afastado { background: var(--info-suave); color: var(--info); }
.ds body .eo-rel-topo { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.ds body .eo-rel-topo b { display: block; font-size: 16px; } .ds body .eo-rel-topo small { display: block; color: var(--n-500); margin-bottom: 4px; }
.ds body .eo-rel-av, .ds body .eo-parecer-av { flex: 0 0 56px; height: 56px; border-radius: 18px; background: var(--n-50); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.ds body .eo-rel-av .eo-svg { width: 54px; height: 54px; } .ds body .eo-parecer-av { flex-basis: 40px; height: 40px; border-radius: 12px; } .ds body .eo-parecer-av .eo-svg { width: 40px; height: 40px; }
.ds body .eo-rel-resumo { padding: 12px 14px; border-radius: 14px; background: var(--n-50); line-height: 1.55; }
.ds body .eo-rel-nums { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; } .ds body .eo-rel-nums div { flex: 1 1 130px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--n-200); display: flex; flex-direction: column; }
.ds body .eo-rel-nums b { font-size: 20px; font-family: var(--f-titulo); } .ds body .eo-rel-nums small { color: var(--n-500); font-size: 11.5px; line-height: 1.3; }
.ds body .eo-h { margin: 16px 0 6px; font-size: 14px; } .ds body .eo-ul { margin: 0; padding-left: 20px; line-height: 1.55; } .ds body .eo-rel-txt { line-height: 1.5; }
.ds body .eo-parecer { display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 16px; background: var(--mx-vermelho-suave); border: 1px solid var(--mx-vermelho-borda); }
.ds body .eo-parecer b { display: block; margin-bottom: 2px; } .ds body .eo-nota { color: var(--mx-vermelho); }
.ds body .eo-crono { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ds body .eo-crono > div { padding: 10px; border-radius: 14px; border: 1px solid var(--n-200); font-size: 12.5px; } .ds body .eo-crono b { display: block; text-transform: capitalize; margin-bottom: 4px; } .ds body .eo-crono ul { margin: 0; padding-left: 16px; line-height: 1.45; }
.ds body .eo-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ds body .eo-caixa-ok, .ds body .eo-caixa-aviso { padding: 4px 14px 12px; border-radius: 16px; background: var(--ok-suave); border: 1px solid var(--ok-borda); } .ds body .eo-caixa-aviso { background: var(--aviso-suave); border-color: var(--aviso-borda); }
.ds body .eo-contratar-sug { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 12px 0; padding: 12px 14px; border-radius: 16px; border: 1px dashed var(--mx-vermelho); }
.ds body .eo-contratar-sug b { display: block; } .ds body .eo-contratar-sug small { color: var(--n-500); }
.ds body .eo-time { display: flex; flex-direction: column; gap: 6px; }
.ds body .eo-time-l { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--n-200); background: var(--n-0); cursor: pointer; font: inherit; color: inherit; text-align: left; }
.ds body .eo-time-l:hover { border-color: var(--mx-vermelho); }
.ds body .eo-time-av { flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--n-50); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; } .ds body .eo-time-av .eo-svg { width: 38px; height: 38px; }
.ds body .eo-cinza .eo-svg { filter: grayscale(.85) opacity(.7); }
.ds body .eo-time-txt { flex: 1; min-width: 0; } .ds body .eo-time-txt b { display: flex; gap: 6px; align-items: center; font-size: 13.5px; } .ds body .eo-time-txt b .eo-chip { padding: 1px 8px; font-size: 11px; }
.ds body .eo-time-txt small { display: block; color: var(--n-500); font-size: 12px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ds body .eo-nota-g { font-family: var(--f-titulo); font-size: 20px; font-weight: 700; } .ds body .eo-nota-g small { font-size: 11px; color: var(--n-500); }
.ds body .eo-tab-wrap { overflow-x: auto; } .ds body .eo-tab { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 760px; font-size: 12.5px; }
.ds body .eo-tab th { text-align: left; text-transform: capitalize; color: var(--n-500); font-weight: 600; padding: 0 4px; } .ds body .eo-tab td { vertical-align: top; }
.ds body .eo-tab-quem { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.ds body .eo-tarefa { padding: 6px 8px; border-radius: 10px; background: var(--n-50); margin-bottom: 4px; line-height: 1.35; }
.ds body .eo-vazio-rel { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 10px; text-align: center; font-size: 30px; } .ds body .eo-vazio-rel b { font-size: 15px; } .ds body .eo-vazio-rel span { font-size: 13px; color: var(--n-500); max-width: 420px; }
@media (max-width: 700px) { .ds body .eo-crono { grid-template-columns: 1fr 1fr; } .ds body .eo-g2 { grid-template-columns: 1fr; } .ds body .eo-contratar-sug { flex-direction: column; align-items: flex-start; } }
.ds body.tema-escuro .eo-quadro, .ds body.tema-escuro .eo-time-l { background: #1c1c1e; border-color: #2c2c2e; }
.ds body.tema-escuro .eo-rel-resumo, .ds body.tema-escuro .eo-tarefa, .ds body.tema-escuro .eo-rel-av, .ds body.tema-escuro .eo-time-av { background: #222225; }
.ds body.tema-escuro .eo-crono > div, .ds body.tema-escuro .eo-rel-nums div { border-color: #2c2c2e; }
.ds body .eo-quadros { display: flex; flex-direction: column; gap: 8px; align-self: center; margin-left: 4px; } .ds body .eo-quadros .eo-quadro { align-self: stretch; }
/* conversa com o gerente */
.ds body .eg-topo { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; } .ds body .eg-topo .pag-subtitulo { max-width: 760px; }
.ds body .eg-grade { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.ds body .eg-chat { display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--n-200); background: var(--n-0); overflow: hidden; height: calc(100vh - 250px); min-height: 460px; }
.ds body .eg-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--n-25); }
.ds body .eg-l { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; } .ds body .eg-eu { align-self: flex-end; }
.ds body .eg-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ds body .eg-av { flex: 0 0 36px; height: 36px; border-radius: 12px; background: var(--n-100); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; } .ds body .eg-av .eo-svg { width: 36px; height: 36px; }
.ds body .eg-b { position: relative; padding: 10px 14px 18px; border-radius: 18px 18px 18px 6px; background: var(--n-0); border: 1px solid var(--n-200); line-height: 1.5; white-space: pre-wrap; min-width: 80px; }
.ds body .eg-eu .eg-b { background: var(--tinta-fundo); color: #fff; border-color: transparent; border-radius: 18px 18px 6px 18px; } .ds body .eg-eu .ev-h { color: rgba(255,255,255,.6); }
.ds body .eg-b .ev-h { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: var(--n-400); }
.ds body .eg-prop { padding: 12px; border-radius: 16px; border: 1px solid var(--mx-vermelho-borda); background: var(--mx-vermelho-suave); }
.ds body .eg-prop-aprovado { border-color: var(--ok-borda); background: var(--ok-suave); } .ds body .eg-prop-descartado { opacity: .55; background: var(--n-50); border-color: var(--n-200); }
.ds body .eg-prop-topo { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--n-600); margin-bottom: 4px; } .ds body .eg-prop-st { font-weight: 600; white-space: nowrap; }
.ds body .eg-prop-txt { font-weight: 600; line-height: 1.45; } .ds body .eg-prop small { display: block; color: var(--n-500); margin-top: 4px; }
.ds body .eg-prop-bt { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ds body .eg-vazio { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; max-width: 460px; } .ds body .eg-vazio span { color: var(--n-500); font-size: 13px; }
.ds body .eg-sugs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.ds body .eg-sugs button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--n-200); background: var(--n-0); cursor: pointer; font: inherit; font-size: 12.5px; color: inherit; } .ds body .eg-sugs button:hover { border-color: var(--mx-vermelho); }
.ds body .eg-chat .ev-entrada { border-top: 1px solid var(--n-200); }
.ds body .eg-lado { border-radius: 22px; border: 1px solid var(--n-200); background: var(--n-0); padding: 16px; max-height: calc(100vh - 250px); overflow-y: auto; }
.ds body .eg-lado-tit { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .ds body .eg-lado-tit span { background: var(--mx-vermelho); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.ds body .eg-grupo { margin-top: 12px; } .ds body .eg-grupo > b { display: block; font-size: 12.5px; color: var(--n-500); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.ds body .eg-comb { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--n-200); margin-bottom: 6px; font-size: 13px; line-height: 1.45; } .ds body .eg-comb small { display: block; color: var(--n-400); font-size: 11px; margin-top: 4px; }
.ds body .eg-off { opacity: .55; }
.ds body .eg-comb-bt { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .ds body .eg-comb-bt button { border: 0; background: var(--n-50); border-radius: 8px; padding: 3px 8px; font: inherit; font-size: 11.5px; cursor: pointer; color: var(--n-600); } .ds body .eg-comb-bt button:hover { background: var(--n-100); }
.ds body .eg-vazio-lado { padding: 14px; border-radius: 14px; background: var(--n-50); color: var(--n-500); font-size: 13px; margin-top: 10px; }
.ds body .eo-melhorar { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--mx-vermelho-borda); } .ds body .eo-melhorar b { display: block; }
.ds body .eo-time-txt small.eo-melhorar-l { color: var(--mx-vermelho); }
@media (max-width: 900px) { .ds body .eg-grade { grid-template-columns: 1fr; } .ds body .eg-chat { height: 70vh; } .ds body .eg-lado { max-height: none; } .ds body .eg-l { max-width: 96%; } }
.ds body.tema-escuro .eg-chat, .ds body.tema-escuro .eg-lado, .ds body.tema-escuro .eg-b, .ds body.tema-escuro .eg-sugs button { background: #1c1c1e; border-color: #2c2c2e; }
.ds body.tema-escuro .eg-msgs { background: #141416; } .ds body.tema-escuro .eg-comb { border-color: #2c2c2e; } .ds body.tema-escuro .eg-comb-bt button, .ds body.tema-escuro .eg-vazio-lado { background: #222225; }
.ds body .eg-prop-substituido { opacity: .55; background: var(--n-50); border-color: var(--n-200); }

/* Treino da Júlia com conversa real: resposta verdadeira da equipe para comparar */
.ds body .ev-real-equipe { margin: 8px 12px 0; padding: 10px 12px; border-radius: 14px; background: rgba(52,199,89,.08); border: 1px solid rgba(52,199,89,.35); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.ds body .ev-real-equipe span { white-space: pre-wrap; } .ds body .ev-real-equipe small { color: var(--n-500); font-size: 11.5px; }
.ds body.tema-escuro .ev-real-equipe { background: rgba(52,199,89,.12); }
.ds body .eg-ped { border-color: rgba(255,149,0,.45); background: rgba(255,149,0,.07); }
.ds body.tema-escuro .eg-ped { background: rgba(255,149,0,.12); }
