/* ASM OS — modulos/tecnico.css (PMOC, Certificados, Manutenções, Estoque, NFS-e, Metas)
   Tema black: só tokens do tema.css. Tópicos: --sec-campo (PMOC, certificados, manutenção) e --sec-financas (estoque, NFS-e, metas).
   Os fallbacks abaixo valem só até o núcleo definir os --sec-*. Cores claras existem apenas no @media print. */

:root {
  --tc-campo: var(--sec-campo, #F472B6);
  --tc-campo-suave: var(--sec-campo-suave, rgba(244,114,182,.14));
  --tc-fin: var(--sec-financas, #FACC15);
  --tc-fin-suave: var(--sec-financas-suave, rgba(250,204,21,.14));
  --tc-wa: var(--sec-whatsapp, #25D366);
}

/* ---------- comuns ---------- */
.tc-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 25px; flex-wrap: wrap; }
.tc-h1 { font-size: 28px; font-weight: 600; line-height: 44px; letter-spacing: -.02em; color: var(--texto); margin: 0; }
.tc-sub { font: 400 12.5px/20px var(--mono); color: var(--texto-fraco); margin: 0; }
.tc-sub14 { margin-top: 4px; }
.tc-sub15 { font-size: 13px; line-height: 22px; margin-top: 4px; }
.tc-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc-c { text-align: center; }
.tc-r { text-align: right; }
.tc-b { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 22px; cursor: pointer; text-decoration: none; font-family: inherit; white-space: nowrap; transition: background var(--anim), filter var(--anim), border-color var(--anim); }
.tc-b-bd { background: var(--sup-2); border-color: var(--borda-2); color: var(--texto); }
.tc-b-bd:hover { background: var(--sup-3); }
.tc-b600 { color: var(--texto); }
.tc-b-pri { background: var(--destaque); color: var(--sobre-destaque); font-weight: 600; }
.tc-b-pri:hover { filter: brightness(1.08); }
.tc-b-g { padding: 10px 24px; }
/* pílula de cor (periodicidade, status): cor via --c (token passado pelo JS) */
.tc-pill { --c: var(--texto-suave); display: inline-flex; align-items: center; gap: 6px; font: 500 11px/16px var(--mono); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); }
.tc-pill::before, .tc-pm-st::before, .tc-ct-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.tc-vazio-td { text-align: center; padding: 40px; color: var(--texto-suave); font-size: 14px; }
.tc-lb11 { display: block; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); margin-bottom: 3px; }
.tc-modal-form { display: grid; gap: 14px; }
/* campos do módulo */
.tc-in, .tc-sel, .tc-sel2, .tc-in2, .tc-mn-in, .tc-es-busca, .tc-mt-in { color: var(--texto); background-color: var(--sup-2); border: 1px solid var(--borda-2); font-family: inherit; box-sizing: border-box; outline: none; transition: border-color var(--anim), box-shadow var(--anim); }
.tc-in::placeholder, .tc-in2::placeholder, .tc-mn-in::placeholder, .tc-es-busca::placeholder, .tc-mt-in::placeholder { color: var(--texto-fraco); }
.tc-in:focus, .tc-sel:focus, .tc-sel2:focus, .tc-in2:focus, .tc-mn-in:focus, .tc-es-busca:focus, .tc-mt-in:focus { border-color: var(--destaque-borda); box-shadow: 0 0 0 3px var(--destaque-suave); }
.tc-sel option, .tc-sel2 option, .tc-in2 option, .tc-mn-in option, .tc-mt-in option { background: var(--sup-2); color: var(--texto); }
.tc-in, .tc-sel { width: 100%; height: 40px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.tc-ta { height: auto; padding: 10px 12px; }
.tc-g2b { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tc-g3b { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
/* tabelas internas (ambientes, ações, químicos, recompensas) */
.tc-tab13 { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-tab13 th { text-align: left; font: 400 11.5px/16px var(--mono); color: var(--texto-fraco); background: transparent; padding: 10px 14px; border-bottom: 1px solid var(--borda); }
.tc-tab13 th.tc-c { text-align: center; }
.tc-rola { overflow-x: auto; min-width: 0; }
.tc-tab13 td { padding: 14px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); vertical-align: middle; }
.tc-tab13 tbody tr:last-child td { border-bottom: 0; }
.tc-x, .tc-ed { background: none; border: 0; cursor: pointer; padding: 4px; font-size: 18px; color: var(--perigo); line-height: 1; border-radius: 6px; }
.tc-x:hover, .tc-ed:hover { background: var(--sup-3); }
.tc-ed { font-size: 15px; color: var(--info); }

/* linhas de tabela: hover sutil */
.tc-pm-tab tbody tr, .tc-ct-tab tbody tr, .tc-mn-tab tbody tr, .tc-es-tab tbody tr, .tc-nf-tab tbody tr { transition: background var(--anim); }
.tc-pm-tab tbody tr:hover, .tc-ct-tab tbody tr:hover, .tc-mn-tab tbody tr:hover, .tc-es-tab tbody tr:hover, .tc-nf-tab tbody tr:hover { background: var(--borda-3); }

/* cartões do módulo (mesma superfície do .cartao) */
.tc-pm-card, .tc-pm-novo, .tc-sec, .tc-filtro, .tc-ct-card, .tc-ce-card, .tc-kp3, .tc-mn-kp, .tc-mn-filtro, .tc-mn-lista, .tc-es-kp, .tc-es-card,
.tc-nf-stat, .tc-nf-painel, .tc-nf-hist, .tc-mt-hero, .tc-mt-pwa, .tc-mt-kp, .tc-mt-card, .tc-mt-promo, .tc-mt-bonus, .tc-banner {
  background-color: var(--sup-1); background-image: var(--veu-cartao); border: 1px solid var(--borda); border-radius: var(--r-lg); box-shadow: var(--brilho); }

/* ---------- PMOC lista ---------- */
.tc-pm-abas { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tc-pm-aba { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 9px; border: 1px solid var(--borda); background: var(--sup-1); color: var(--texto-suave); font-size: 13px; font-weight: 500; line-height: 21px; text-decoration: none; transition: background var(--anim), color var(--anim); }
.tc-pm-aba:hover { color: var(--texto); }
.tc-pm-aba.ativa { background: var(--sup-3); color: var(--texto); border-color: var(--borda-2); box-shadow: var(--brilho), inset 0 -2px 0 var(--tc-campo); }
.tc-pm-card { overflow: hidden; margin-bottom: 30px; }
.tc-pm-tab { width: 100%; table-layout: fixed; border-collapse: collapse; }
.tc-pm-tab th { text-align: left; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); background: transparent; padding: 14px 20px; border-bottom: 1px solid var(--borda); }
.tc-pm-tab th.tc-c { text-align: center; }
.tc-pm-tab td { padding: 15px 20px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); vertical-align: middle; }
.tc-pm-tab tbody tr:last-child td { border-bottom: 0; }
.tc-pm-tit { font-weight: 500; color: var(--texto); line-height: 23px; }
.tc-pm-cli { font-size: 13px !important; color: var(--texto-suave) !important; line-height: 23px; }
.tc-pm-orig { display: inline-flex; max-width: 96px; text-align: center; justify-content: center; font: 500 11px/16px var(--mono); color: var(--info); background: color-mix(in srgb, var(--info) 12%, transparent); border: 1px solid color-mix(in srgb, var(--info) 26%, transparent); padding: 4px 10px; border-radius: 999px; }
.tc-pm-data { font: 400 13px var(--mono) !important; color: var(--texto-suave) !important; }
.tc-pm-st { --c: var(--sucesso); display: inline-flex; align-items: center; gap: 6px; font: 500 11px/16px var(--mono); padding: 3px 10px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); }
.tc-pm-st.rasc { --c: var(--aviso); }
.tc-pm-acoes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.tc-pm-dup, .tc-pm-pdf { font: 500 11px/16px var(--mono); padding: 5px 9px; border-radius: 7px; text-decoration: none; border: 1px solid transparent; }
.tc-pm-dup { color: var(--info); background: color-mix(in srgb, var(--info) 12%, transparent); border-color: color-mix(in srgb, var(--info) 24%, transparent); }
.tc-pm-pdf { color: var(--perigo); background: color-mix(in srgb, var(--perigo) 12%, transparent); border-color: color-mix(in srgb, var(--perigo) 28%, transparent); }
.tc-pm-wa { background: none; border: 0; font-size: 16px; color: var(--tc-wa); padding: 5px; cursor: pointer; border-radius: 6px; }
.tc-pm-ib { font-size: 14px; padding: 5px; border-radius: 6px; text-decoration: none; line-height: 22px; }
.tc-pm-wa:hover, .tc-pm-ib:hover { background: var(--sup-3); }
.tc-pm-imp { color: var(--info); } .tc-pm-ed { color: var(--aviso); } .tc-pm-arq { color: var(--texto-suave); } .tc-pm-del { color: var(--perigo); }
.tc-pm-novo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 25px; border-style: dashed; border-color: var(--borda-2); flex-wrap: wrap; }
.tc-pm-novo-l { display: flex; align-items: center; gap: 15px; }
.tc-pm-novo-ic { font-size: 22px; line-height: 38px; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tc-campo-suave); }
.tc-pm-novo-t { font-size: 15px; font-weight: 600; color: var(--texto); line-height: 24px; }
.tc-pm-novo-s { font: 400 12px/20px var(--mono); color: var(--texto-fraco); }

/* ---------- PMOC edição ---------- */
.tc-cab-edit { margin-bottom: 25px; }
.tc-voltar-l { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tc-voltar { font: 400 12.5px/20px var(--mono); color: var(--texto-suave); text-decoration: none; }
.tc-voltar:hover { color: var(--texto); }
.tc-banner { display: flex; align-items: center; gap: 12px; padding: 14px 20px; margin-bottom: 20px; box-shadow: var(--brilho), inset 3px 0 0 var(--tc-campo); }
.tc-banner-ic { font-size: 20px; line-height: 35px; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tc-campo-suave); flex: none; }
.tc-banner-t { flex: 1; min-width: 0; }
.tc-banner-n { font-size: 15px; font-weight: 600; color: var(--texto); line-height: 24px; }
.tc-banner-s { font: 400 12px/20px var(--mono); color: var(--texto-fraco); }
.tc-banner .tc-sel { width: 230px; flex: none; }
.tc-banner .tc-in { width: 240px; flex: none; }
.tc-banner select:last-child { width: 145px; }
.tc-sec { overflow: hidden; margin-bottom: 16px; }
.tc-sec-cab { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: transparent; border-bottom: 1px solid var(--borda); }
.tc-sec-n { width: 28px; height: 28px; border-radius: 8px; background: var(--tc-campo-suave); color: var(--tc-campo); border: 1px solid color-mix(in srgb, var(--tc-campo) 30%, transparent); font: 500 13px var(--mono); display: flex; align-items: center; justify-content: center; }
.tc-sec-t { font-size: 15px; font-weight: 600; color: var(--texto); line-height: 24px; }
.tc-sec-corpo { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.tc-fld { display: block; }
.tc-lb { display: block; font: 400 11.5px/18px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--texto-fraco); margin-bottom: 8px; }
.tc-grid { display: grid; gap: 15px; }
.tc-g2 { grid-template-columns: 1fr 1fr; }
.tc-g4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.tc-vinc { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--info) 7%, transparent); border: 1px solid color-mix(in srgb, var(--info) 24%, transparent); border-radius: 10px; padding: 12px 16px; }
.tc-vinc span { font: 500 11.5px var(--mono); text-transform: uppercase; color: var(--info); }
.tc-vinc .tc-sel { width: 363px; }
.tc-b-bloco { width: 100%; font-size: 13.5px; line-height: 18px; }
.tc-sec-obs { font-size: 13px; color: var(--texto-suave); margin: 0; line-height: 21px; }
.tc-sec-obs-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tc-bib-b { font-size: 13px; font-weight: 500; color: var(--texto); background: var(--sup-2); border: 1px solid var(--borda-2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-family: inherit; }
.tc-bib-b:hover { background: var(--sup-3); }
.tc-ac-n { font: 400 13px var(--mono) !important; color: var(--texto-fraco) !important; }
.tc-ac-d { font-size: 13px !important; font-weight: 500; }
.tc-ac-bt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tc-add-acao { margin-top: 15px; }
.tc-add-acao-b { display: block; border: 1px dashed var(--borda-2); border-radius: 10px; padding: 16px; text-align: center; font-size: 14px; font-weight: 500; color: var(--texto-suave); background: transparent; text-decoration: none; transition: background var(--anim), color var(--anim); }
.tc-add-acao-b:hover { background: var(--sup-2); color: var(--texto); }
.tc-eq-vazio { border: 1px dashed var(--borda-2); border-radius: 12px; padding: 30px; text-align: center; color: var(--texto-suave); font-size: 14px; }
.tc-eq-vazio-i { font-size: 30px; line-height: 51px; }
.tc-eq-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-eq-item { display: flex; gap: 10px; align-items: center; background: var(--sup-2); border: 1px solid var(--borda); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--texto); cursor: pointer; }
.tc-eq-item small { display: block; color: var(--texto-suave); }
.tc-vazio-in { text-align: center; padding: 18px; color: var(--texto-suave); font-size: 13px; }
.tc-bib { display: grid; gap: 8px; }
.tc-bib-i { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; color: var(--texto); background: var(--sup-2); border: 1px solid var(--borda); border-radius: 8px; cursor: pointer; }
.tc-bib-i span:first-of-type { flex: 1; }
.tc-add-q { margin-top: 14px; }
.tc-barra { position: sticky; bottom: 0; z-index: 20; margin: 16px -20px -32px; padding: 14px 32px; background: color-mix(in srgb, var(--fundo) 90%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--borda); display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.tc-cancelar { font-size: 14px; font-weight: 500; color: var(--texto-suave); padding: 9px 18px; text-decoration: none; background: transparent; border-radius: 10px; }
.tc-cancelar:hover { color: var(--texto); background: var(--sup-2); }
.tc-rasc { font-size: 13.5px; font-weight: 500; font-family: inherit; padding: 9px 18px; border-radius: 10px; background: var(--sup-2); border: 1px solid var(--borda-2); color: var(--texto); cursor: pointer; line-height: 22px; }
.tc-rasc:hover { background: var(--sup-3); }
.tc-b-salvar { font-size: 13.5px; padding: 9px 26px; }

/* ---------- Certificados ---------- */
.tc-kpis3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: -5px 0 20px; }
.tc-kp3 { display: flex; align-items: center; gap: 14px; padding: 16px; }
.tc-kp3-i { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; background: var(--tc-campo-suave); }
.tc-kp3-i.verde { background: color-mix(in srgb, var(--sucesso) 13%, transparent); }
.tc-kp3-i.verm { background: color-mix(in srgb, var(--perigo) 13%, transparent); }
.tc-kp3-v { font: 500 24px/34px var(--mono); font-variant-numeric: tabular-nums; color: var(--texto); }
.tc-kp3-v.tot { color: var(--tc-campo); }
.tc-kp3-v.verde { color: var(--sucesso); } .tc-kp3-v.verm { color: var(--perigo); }
.tc-kp3-r { font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); }
.tc-filtro { padding: 16px; margin-bottom: 19px; }
.tc-filtro-f { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.tc-ff { min-width: 0; flex: 0 1 auto; }
.tc-ff.w349 { width: 349px; } .tc-ff.w175 { width: 175px; }
.tc-sel2 { width: 100%; height: 40px; padding: 8px 10px; font-size: 14px; border-radius: 8px; }
.tc-ff-bt { display: flex; gap: 8px; margin-left: 0; }
.tc-b-f { font-size: 13.5px; padding: 8px 18px; height: 40px; box-sizing: border-box; line-height: 16px; }
.tc-b-x { padding: 8px 14px; height: 40px; width: 42px; box-sizing: border-box; font-size: 15px; }
.tc-ct-card { overflow: hidden; }
.tc-ct-tab { width: 100%; table-layout: fixed; border-collapse: collapse; }
.tc-ct-tab th { text-align: left; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); padding: 14px 15px; border-bottom: 1px solid var(--borda); }
.tc-ct-tab th.tc-r { text-align: right; }
.tc-ct-tab td { height: 80px; padding: 15px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); vertical-align: middle; line-height: 22px; }
.tc-ct-tab tbody tr:last-child td { border-bottom: 0; }
.tc-ct-cod { font: 400 12.5px var(--mono); color: var(--texto-fraco) !important; }
.tc-ct-cli, .tc-ct-amb { font-weight: 500; }
.tc-ct-prod { font: 400 11px/18px var(--mono); color: var(--texto-fraco); }
.tc-ct-venc { font: 500 13px var(--mono); } .tc-ct-venc.ok { color: var(--sucesso); } .tc-ct-venc.x { color: var(--perigo); }
.tc-ct-st { --c: var(--sucesso); display: inline-flex; align-items: center; gap: 6px; font: 500 11px/16px var(--mono); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); }
.tc-ct-st.x { --c: var(--perigo); }
.tc-ct-st { font-family: var(--fonte); padding: 3px 9px; }
.tc-ct-tab td:nth-child(6) { padding-left: 6px; padding-right: 6px; }
.tc-ct-ac { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.tc-ct-mod { flex: 0 0 74px; width: 74px; box-sizing: border-box; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 18px; padding: 6px 8px; border: 1px solid color-mix(in srgb, var(--tc-campo) 40%, transparent); border-radius: 8px; color: var(--tc-campo); text-decoration: none; background: transparent; }
.tc-ct-mod.cheio { background: var(--tc-campo-suave); }
.tc-ct-mod:hover { background: var(--tc-campo-suave); }
.tc-ct-bt { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--borda-2); border-radius: 8px; background: var(--sup-2); color: var(--texto); text-decoration: none; cursor: pointer; font-family: inherit; line-height: 18px; }
.tc-ct-bt:hover { background: var(--sup-3); }
.tc-ct-bt.wa { color: var(--tc-wa); border-color: color-mix(in srgb, var(--tc-wa) 36%, transparent); background: color-mix(in srgb, var(--tc-wa) 10%, transparent); padding: 6px 10px; }
.tc-ct-bt.del { color: var(--perigo); border-color: color-mix(in srgb, var(--perigo) 36%, transparent); background: transparent; }
/* modelos de certificado na tela: escuros; versão clara só na impressão (abaixo) */
.tc-cert-doc { border: 3px double color-mix(in srgb, var(--tc-campo) 55%, transparent); border-radius: var(--r-md); background: var(--sup-2); padding: 28px; text-align: center; font-size: 14px; line-height: 1.7; color: var(--texto); }
.tc-cert-doc.m2 { border: 0; border-top: 6px solid var(--tc-campo); text-align: left; }
.tc-cert-doc h2 { font-size: 17px; font-weight: 600; letter-spacing: .02em; margin: 10px 0 16px; color: var(--texto); }
.tc-cert-doc p { color: var(--texto-suave); }
.tc-cert-marca { font: 500 12px var(--mono); color: var(--tc-campo); letter-spacing: .12em; text-transform: uppercase; }
.tc-cert-ass { margin-top: 24px; font-weight: 600; color: var(--texto); }

/* certificado edição */
.tc-ce-card { width: 800px; max-width: 100%; }
.tc-ce-cab { padding: 18px 24px; font-size: 15px; font-weight: 600; color: var(--texto); border-bottom: 1px solid var(--borda); line-height: 25px; }
.tc-ce-form { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.tc-lb2 { display: block; font-size: 13px; font-weight: 500; color: var(--texto-suave); line-height: 20px; margin-bottom: 6px; }
.tc-in2 { width: 100%; padding: 11px 14px; font-size: 14px; border-radius: 10px; line-height: 20px; }
select.tc-in2 { height: 44px; line-height: 20px; }
.tc-ta2 { resize: vertical; min-height: 83px; }
.tc-eqbox { background: var(--sup-2); border: 1px solid var(--borda); border-radius: 10px; padding: 14px 15px; line-height: 22px; display: grid; gap: 6px; color: var(--texto); }
.tc-eqbox-av { font-size: 13px; color: var(--aviso); }
.tc-eqbox-i { display: flex; gap: 8px; align-items: center; font-size: 13px; cursor: pointer; }
.tc-ce-fim { border-top: 1px solid var(--borda); padding-top: 20px; }
.tc-ce-salvar { width: 100%; padding: 13px; font-size: 15px; font-weight: 600; font-family: inherit; color: var(--sobre-destaque); background: var(--destaque); border: 0; border-radius: 10px; cursor: pointer; line-height: 21px; transition: filter var(--anim); }
.tc-ce-salvar:hover { filter: brightness(1.08); }

/* ---------- Manutenções ---------- */
.tc-h1b { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; line-height: 36px; letter-spacing: -.015em; color: var(--texto); margin: 0; }
.tc-h1b-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tc-campo-suave); color: var(--tc-campo); border: 1px solid color-mix(in srgb, var(--tc-campo) 28%, transparent); flex: none; }
.tc-h1b-ico.ro { background: var(--tc-fin-suave); color: var(--tc-fin); border-color: color-mix(in srgb, var(--tc-fin) 28%, transparent); }
.tc-cab:has(.tc-h1b) { margin-bottom: 20px; }
.tc-b-mn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 9px; border: 1px solid transparent; font-size: 13.5px; font-weight: 500; line-height: 22px; text-decoration: none; cursor: pointer; transition: background var(--anim), filter var(--anim); }
.tc-b-mn.branco { background: var(--sup-2); color: var(--texto); border-color: var(--borda-2); }
.tc-b-mn.branco:hover { background: var(--sup-3); }
.tc-b-mn.indigo, .tc-b-mn.pdv { background: var(--destaque); color: var(--sobre-destaque); font-weight: 600; }
.tc-b-mn.indigo:hover, .tc-b-mn.pdv:hover { filter: brightness(1.08); }
.tc-b-mn.roxo { color: var(--tc-fin); background: var(--tc-fin-suave); border-color: color-mix(in srgb, var(--tc-fin) 32%, transparent); }
.tc-b-mn.verde { color: var(--sucesso); background: color-mix(in srgb, var(--sucesso) 12%, transparent); border-color: color-mix(in srgb, var(--sucesso) 30%, transparent); }
.tc-mn-abas { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tc-mn-aba { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; border: 1px solid var(--borda); background: var(--sup-1); color: var(--texto-suave); font-size: 13px; font-weight: 500; line-height: 22px; text-decoration: none; transition: background var(--anim), color var(--anim); }
.tc-mn-aba:hover { color: var(--texto); }
.tc-mn-aba.ativa { background: var(--sup-3); color: var(--texto); border-color: var(--borda-2); box-shadow: var(--brilho), inset 0 -2px 0 var(--tc-campo); }
.tc-mn-aba .ico { color: inherit; }
.tc-mn-aba.ativa .ico { color: var(--tc-campo); }
.tc-mn-n { font: 500 11px/18px var(--mono); border-radius: 12px; padding: 0 8px; background: var(--sup-3); color: var(--texto-suave); }
.tc-mn-aba.ativa .tc-mn-n { background: var(--tc-campo-suave); color: var(--tc-campo); }
.tc-mn-kps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.tc-mn-kp { --c: var(--perigo); display: flex; align-items: center; gap: 14px; padding: 16px; box-shadow: var(--brilho), inset 3px 0 0 var(--c); }
.tc-mn-kp-i { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.tc-mn-kp-r { display: block; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); }
.tc-mn-kp-v { display: block; font: 500 24px/32px var(--mono); font-variant-numeric: tabular-nums; color: var(--c); }
.tc-mn-kp.amar { --c: var(--aviso); } .tc-mn-kp.verd { --c: var(--sucesso); } .tc-mn-kp.azul { --c: var(--info); }
.tc-mn-filtro { padding: 18px 20px; margin-bottom: 20px; }
.tc-mn-fg { display: flex; flex-wrap: wrap; gap: 14px; }
.tc-mn-f { width: 165px; }
.tc-mn-f.busca { width: 343px; }
.tc-mn-f .tc-lb11 { margin-bottom: 6px; }
.tc-mn-in { width: 100%; height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.tc-mn-fb { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.tc-mn-b { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent; font-size: 13px; font-weight: 500; line-height: 20px; cursor: pointer; text-decoration: none; font-family: inherit; transition: background var(--anim), filter var(--anim); }
.tc-mn-b.branco { background: var(--sup-2); color: var(--texto); border-color: var(--borda-2); padding: 8px 14px; }
.tc-mn-b.branco:hover { background: var(--sup-3); }
.tc-mn-b.indigo { background: var(--destaque); color: var(--sobre-destaque); font-weight: 600; }
.tc-mn-b.indigo:hover { filter: brightness(1.08); }
.tc-mn-b.verde { color: var(--sucesso); background: color-mix(in srgb, var(--sucesso) 12%, transparent); border-color: color-mix(in srgb, var(--sucesso) 30%, transparent); }
.tc-mn-lista { overflow: hidden; }
.tc-mn-lista-t { padding: 18px 24px; font-size: 15px; font-weight: 600; color: var(--texto); line-height: 26px; border-bottom: 1px solid var(--borda); }
.tc-mn-tab { width: 100%; table-layout: fixed; border-collapse: collapse; }
.tc-mn-tab th { text-align: left; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); background: transparent; padding: 12px 24px; border-bottom: 1px solid var(--borda); }
.tc-mn-tab td { padding: 14px 24px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); vertical-align: middle; }
.tc-mn-tab tbody tr:last-child td { border-bottom: 0; }
.tc-mn-prot { font: 500 12.5px var(--mono); color: var(--tc-campo) !important; }
.tc-mn-tit { font-weight: 500; }
.tc-mn-cli { font-size: 12px; color: var(--texto-suave); }
.tc-mn-ac { display: flex; gap: 6px; }
.tc-mn-vazio { text-align: center; padding: 40px !important; color: var(--texto-suave) !important; font-size: 14px; border-bottom: 0 !important; }
.tc-mn-vazio-i { font-size: 36px; line-height: 60px; }
.tc-mn-vazio-l { color: var(--destaque); text-decoration: none; display: inline-block; margin-top: 6px; }
.tc-mn-vazio-l:hover { text-decoration: underline; }

/* ---------- Estoque ---------- */
.tc-es-pag { padding: 20px; }
.tc-es-pag .tc-cab { margin-bottom: 20px; }
.tc-es-kps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.tc-es-kp { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.tc-es-kp-i { --c: var(--tc-fin); width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.tc-es-kp-i.b { --c: var(--sucesso); } .tc-es-kp-i.c { --c: var(--aviso); } .tc-es-kp-i.d { --c: var(--perigo); }
.tc-es-kp-r { margin: 0; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); }
.tc-es-kp-v { margin: 0; font: 500 24px/34px var(--mono); font-variant-numeric: tabular-nums; color: var(--texto); }
.tc-es-kp-v.a { color: var(--tc-fin); }
.tc-es-kp-v.b { color: var(--sucesso); font-size: 20px; } .tc-es-kp-v.c { color: var(--aviso); } .tc-es-kp-v.d { color: var(--perigo); }
.tc-es-card { overflow: hidden; }
.tc-es-bw { position: relative; padding: 16px 20px; border-bottom: 1px solid var(--borda); }
.tc-es-bw .ico { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); color: var(--texto-fraco); }
.tc-es-busca { width: 360px; max-width: 100%; height: 38px; padding: 9px 12px 9px 36px; font-size: 13.5px; border-radius: 8px; }
.tc-es-tab { width: 100%; border-collapse: collapse; }
.tc-es-tab th { text-align: left; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); background: transparent; padding: 12px; border-bottom: 1px solid var(--borda); }
.tc-es-tab th.tc-r { text-align: right; }
.tc-es-tab td { padding: 12px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); }
.tc-es-tab tbody tr:last-child td { border-bottom: 0; }
.tc-es-vazio { text-align: center; padding: 40px !important; color: var(--texto-suave); font-size: 14px; border-bottom: 0 !important; }

/* ---------- NFS-e ---------- */
.tc-nf-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.tc-nf-h1 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: var(--texto); margin: 0; line-height: 32px; flex-wrap: wrap; }
.tc-nf-saldo { font: 500 11.5px/18px var(--mono); color: var(--tc-fin); background: var(--tc-fin-suave); border: 1px solid color-mix(in srgb, var(--tc-fin) 30%, transparent); padding: 3px 10px; border-radius: 999px; }
.tc-nf-bt { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-nf-b { padding: 8px 16px; border-radius: 9px; font-size: 13.5px; font-weight: 500; line-height: 21px; text-decoration: none; border: 1px solid transparent; transition: background var(--anim), filter var(--anim); }
.tc-nf-b.cfg { color: var(--texto); background: var(--sup-2); border-color: var(--borda-2); }
.tc-nf-b.cfg:hover { background: var(--sup-3); }
.tc-nf-b.emit { color: var(--sobre-destaque); background: var(--destaque); font-weight: 600; padding: 8px 18px; }
.tc-nf-b.emit:hover { filter: brightness(1.08); }
.tc-nf-alerta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: color-mix(in srgb, var(--aviso) 8%, transparent); border: 1px solid color-mix(in srgb, var(--aviso) 30%, transparent); border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 20px; flex-wrap: wrap; }
.tc-nf-alerta-l { display: flex; gap: 12px; align-items: center; }
.tc-nf-alerta-ic { font-size: 22px; line-height: 38px; }
.tc-nf-alerta-t { font-size: 15px; font-weight: 600; color: var(--aviso); line-height: 24px; }
.tc-nf-alerta-s { font-size: 13px; color: var(--texto-suave); line-height: 21px; }
.tc-nf-comprar { background: color-mix(in srgb, var(--aviso) 16%, transparent); border: 1px solid color-mix(in srgb, var(--aviso) 40%, transparent); color: var(--aviso); font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 9px; text-decoration: none; line-height: 21px; transition: filter var(--anim); }
.tc-nf-comprar:hover { background: color-mix(in srgb, var(--aviso) 24%, transparent); }
.tc-nf-lembrete { display: flex; align-items: center; gap: 14px; background: var(--sup-1); border: 1px solid var(--borda); border-radius: var(--r-lg); padding: 14px 20px; box-shadow: var(--brilho), inset 3px 0 0 var(--tc-fin); margin-bottom: 20px; }
.tc-nf-lem-ic { font-size: 20px; line-height: 35px; }
.tc-nf-lem-t { font-size: 13px; color: var(--texto-suave); line-height: 21px; }
.tc-nf-lem-t strong { font-weight: 600; color: var(--texto); }
.tc-nf-ver { color: var(--destaque); font-weight: 500; text-decoration: none; margin-left: 4px; }
.tc-nf-ver:hover { text-decoration: underline; }
.tc-nf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.tc-nf-stat { padding: 20px; }
.tc-nf-stat-t { display: flex; justify-content: space-between; align-items: center; }
.tc-nf-v { font: 500 26px/30px var(--mono); font-variant-numeric: tabular-nums; color: var(--texto); }
.tc-nf-ic { --c: var(--sucesso); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.tc-nf-ic.r, .tc-nf-ic.v { --c: var(--perigo); } .tc-nf-ic.y { --c: var(--aviso); }
.tc-nf-ic.y, .tc-nf-ic.v { border-radius: 7px; }
.tc-nf-r { font: 400 11.5px/19px var(--mono); color: var(--texto-fraco); margin-top: 8px; }
.tc-nf-pars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.tc-nf-painel { padding: 20px; }
.tc-nf-painel-t { font-size: 14px; font-weight: 500; color: var(--texto); padding-bottom: 14px; border-bottom: 1px solid var(--borda); margin-bottom: 16px; line-height: 22px; }
.tc-nf-par { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.tc-nf-par-c { padding: 0 20px; }
.tc-nf-par-c + .tc-nf-par-c { border-left: 1px solid var(--borda); }
.tc-nf-par-v { font: 500 24px/38px var(--mono); font-variant-numeric: tabular-nums; color: var(--texto); white-space: nowrap; }
.tc-nf-par-c:first-child .tc-nf-par-v { color: var(--tc-fin); }
.tc-nf-par-r { font: 400 11.5px/19px var(--mono); color: var(--texto-fraco); margin-bottom: 5px; }
.tc-nf-hist { overflow: hidden; }
.tc-nf-hist-c { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--borda); }
.tc-nf-hist-t { font-size: 14px; font-weight: 500; color: var(--texto); line-height: 22px; }
.tc-nf-hist-m { font: 400 11.5px var(--mono); color: var(--texto-fraco); }
.tc-nf-tab { width: 100%; border-collapse: collapse; }
.tc-nf-tab th { text-align: left; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); background: transparent; padding: 12px 24px; border-bottom: 1px solid var(--borda); }
.tc-nf-tab th.tc-r { text-align: right; }
.tc-nf-tab td { padding: 12px 24px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--borda-3); }
.tc-nf-vazio { text-align: center; padding: 40px !important; color: var(--texto-suave); font-size: 14px; border-bottom: 0 !important; }
.tc-nf-vazio-i { font-size: 30px; line-height: 51px; }

/* ---------- Metas ---------- */
.tc-mt-hero { display: flex; flex-direction: column; gap: 16px; color: var(--texto); padding: 24px 28px; margin-bottom: 22px; border-radius: var(--r-xl); }
.tc-mt-hero-t { display: flex; align-items: center; gap: 14px; }
.tc-mt-hero-ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--tc-fin-suave); color: var(--tc-fin); border: 1px solid color-mix(in srgb, var(--tc-fin) 30%, transparent); flex: none; }
.tc-mt-hero h1 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 32px; margin: 0; color: var(--texto); }
.tc-mt-hero p { font: 400 12.5px/20px var(--mono); color: var(--texto-fraco); margin: 4px 0 0; }
.tc-mt-hero-b { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-mt-hb { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; background: var(--sup-2); border: 1px solid var(--borda-2); color: var(--texto); font-size: 13px; font-weight: 500; line-height: 19px; text-decoration: none; transition: background var(--anim), filter var(--anim); }
.tc-mt-hb:hover { background: var(--sup-3); }
.tc-mt-hb.lar { background: var(--destaque); border-color: transparent; color: var(--sobre-destaque); font-weight: 600; }
.tc-mt-hb.lar:hover { filter: brightness(1.08); }
.tc-mt-hb.peq { padding: 7px 13px; font-size: 12px; line-height: 16px; }
.tc-mt-pwa { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; box-shadow: var(--brilho), inset 3px 0 0 var(--tc-fin); margin-bottom: 24px; }
.tc-mt-pwa-l { display: flex; align-items: center; gap: 15px; }
.tc-mt-pwa-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--tc-fin-suave); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.tc-mt-pwa h5 { font-size: 15px; font-weight: 600; color: var(--texto); margin: 0; line-height: 24px; }
.tc-mt-pwa p { font-size: 13px; color: var(--texto-suave); margin: 3px 0 0; line-height: 21px; }
.tc-mt-pwa-sw { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--sucesso) 32%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--sucesso) 11%, transparent); color: var(--sucesso); font-size: 13.5px; font-weight: 500; line-height: 22px; cursor: pointer; }
.tc-mt-pwa-sw.off { border-color: var(--borda-2); background: var(--sup-2); color: var(--texto-suave); }
.tc-mt-pwa-sw input { width: 16px; height: 16px; }
.tc-mt-kps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.tc-mt-kp { position: relative; overflow: hidden; padding: 16px 18px; }
.tc-mt-kp-b { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.tc-mt-kp-r { display: flex; align-items: center; gap: 6px; font: 400 11.5px/18px var(--mono); color: var(--texto-fraco); margin-bottom: 6px; }
.tc-mt-kp-v { font: 500 24px/34px var(--mono); font-variant-numeric: tabular-nums; color: var(--texto); }
.tc-mt-kp-s { font-size: 12px; color: var(--texto-suave); line-height: 18px; margin-top: 2px; }
.tc-mt-promo { display: flex; gap: 16px; border-color: color-mix(in srgb, var(--tc-fin) 30%, transparent); padding: 20px; margin-bottom: 22px; }
.tc-mt-promo-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tc-fin-suave); color: var(--tc-fin); flex: none; }
.tc-mt-promo h4 { font-size: 14px; font-weight: 600; color: var(--texto); margin: 0; line-height: 22px; }
.tc-mt-promo p { font-size: 13px; color: var(--texto-suave); margin: 5px 0 11px; line-height: 20px; }
.tc-mt-cols { display: grid; grid-template-columns: minmax(0, 719fr) minmax(0, 360fr); gap: 22px; align-items: start; }
.tc-mt-pod { padding: 20px; }
.tc-mt-h3 { display: flex; align-items: center; gap: 8px; font: 500 12px/22px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--texto-suave); margin: 0 0 14px; }
.tc-mt-h3 .ico { color: var(--tc-fin); }
.tc-mt-h3.fora { margin: 22px 0 14px; }
.tc-mt-esq > .tc-mt-pod + .tc-mt-h3, .tc-mt-dir > .tc-mt-h3:first-child { margin-top: 0; }
.tc-mt-esq > .tc-mt-pod + .tc-mt-h3 { margin-top: 20px; }
.tc-mt-h3.lar { color: var(--tc-fin); }
.tc-mt-vazio30 { padding: 30px; text-align: center; color: var(--texto-suave); font-size: 13px; line-height: 21px; }
.tc-mt-vazio30.pq { font-size: 12.5px; line-height: 19px; }
.tc-mt-pod .tc-mt-vazio30 { padding: 30px; }
.tc-mt-podio { display: grid; gap: 8px; }
.tc-mt-pod-i { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--sup-2); border: 1px solid var(--borda); border-radius: 10px; font-size: 14px; color: var(--texto); }
.tc-mt-pod-i strong { flex: 1; font-weight: 500; } .tc-mt-pod-v { font: 500 14px var(--mono); color: var(--sucesso); } .tc-mt-med { font-size: 20px; }
.tc-mt-termo { padding: 18px 20px; display: grid; gap: 14px; }
.tc-mt-termo-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; color: var(--texto); }
.tc-mt-termo-t span { font: 400 12px var(--mono); color: var(--texto-suave); }
.tc-mt-barra { height: 8px; background: var(--sup-3); border-radius: 6px; overflow: hidden; }
.tc-mt-barra-i { height: 100%; border-radius: 6px; background: var(--tc-fin); }
.tc-mt-bonus { margin-top: 20px; border-style: dashed; border-color: color-mix(in srgb, var(--tc-fin) 36%, transparent); padding: 20px; }
.tc-mt-bonus .tc-mt-h3 { margin-bottom: 9px; }
.tc-mt-p { font-size: 13px; color: var(--texto-suave); line-height: 20px; margin: 0 0 14px; }
.tc-mt-p strong { font-weight: 600; color: var(--texto); }
.tc-mt-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-mt-lb { display: block; font: 400 11.5px/19px var(--mono); color: var(--texto-fraco); margin-bottom: 8px; }
.tc-mt-lb2 { display: block; font: 400 11.5px/19px var(--mono); color: var(--texto-fraco); margin: 26px 0 10px; }
.tc-mt-in { width: 100%; height: 38px; padding: 9px 12px; font-size: 13px; border-radius: 10px; }
.tc-mt-motivos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tc-mt-mot { display: flex; align-items: center; gap: 6px; width: 163px; box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--borda); border-radius: 10px; background: var(--sup-2); font-size: 12.5px; font-weight: 500; color: var(--texto-suave); line-height: 19px; cursor: pointer; transition: background var(--anim), color var(--anim), border-color var(--anim); }
.tc-mt-mot:hover { color: var(--texto); border-color: var(--borda-2); }
.tc-mt-mot.sel { color: var(--texto); background: var(--tc-fin-suave); border-color: color-mix(in srgb, var(--tc-fin) 45%, transparent); }
.tc-mt-mot.sel .ico { color: var(--tc-fin); }
.tc-mt-mot input { margin: 0 4px 0 0; flex: none; accent-color: var(--tc-fin); }
.tc-mt-mot .ico { flex: none; }
.tc-mt-bonus-fim { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.tc-mt-chk { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-suave); }
.tc-mt-verde { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 18px; border: 1px solid color-mix(in srgb, var(--sucesso) 32%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--sucesso) 13%, transparent); color: var(--sucesso); font-size: 13px; font-weight: 600; font-family: inherit; line-height: 17px; cursor: pointer; transition: background var(--anim); }
.tc-mt-verde:hover { background: color-mix(in srgb, var(--sucesso) 20%, transparent); }
.tc-mt-verde.bloco { width: 100%; margin-top: 16px; }
.tc-mt-aprov { padding: 6px 16px; }
.tc-mt-aprov-i { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borda); font-size: 13px; color: var(--texto); }
.tc-mt-aprov-i strong { font-weight: 500; }
.tc-mt-aprov-i:last-child { border-bottom: 0; }
.tc-mt-aprov-i small { display: block; color: var(--texto-suave); font-size: 11.5px; }
.tc-mt-aprov-bt { display: flex; gap: 6px; }
.tc-mt-com { padding: 20px; }
.tc-mt-p2 { font-size: 12.5px; color: var(--texto-suave); line-height: 19px; margin: 0 0 14px; }
.tc-mt-p2 strong { font-weight: 600; color: var(--texto); }
.tc-mt-g2c { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-mt-g2c .tc-mt-lb { margin-bottom: 6px; }
.tc-mt-chk2 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-suave); margin-top: 18px; }

@media (max-width: 900px) {
  .tc-kpis3, .tc-mn-kps, .tc-es-kps, .tc-nf-stats, .tc-mt-kps, .tc-nf-pars, .tc-mt-cols, .tc-g2, .tc-g4, .tc-g2b, .tc-g3b, .tc-eq-grade { grid-template-columns: 1fr; }
  .tc-banner { flex-wrap: wrap; } .tc-banner .tc-sel, .tc-banner .tc-in, .tc-banner select:last-child { width: 100%; }
  .tc-vinc { flex-wrap: wrap; } .tc-vinc .tc-sel { width: 100%; }
  .tc-pm-card, .tc-ct-card, .tc-mn-lista, .tc-es-card, .tc-nf-hist { overflow-x: auto; }
  .tc-pm-tab, .tc-ct-tab, .tc-mn-tab { min-width: 900px; }
  .tc-ff.w349, .tc-ff.w175, .tc-mn-f, .tc-mn-f.busca { width: 100%; }
  .tc-h1 { font-size: 24px; line-height: 36px; }
  .tc-mt-hero, .tc-mt-pwa { padding: 18px; } .tc-mt-pwa { flex-wrap: wrap; }
  .tc-mt-mot { width: calc(50% - 4px); }
  .tc-es-pag { padding: 0; }
  .tc-nf-par-c { padding: 0 12px; }
  .tc-nf-par-v { font-size: 18px; }
  .tc-barra { margin-left: -14px; margin-right: -14px; padding: 12px 14px; flex-wrap: wrap; }
}

/* impressão: papel claro (única exceção ao tema escuro) */
@media print {
  [class^="tc-"], [class*=" tc-"] { color: #0f172a !important; background: #fff !important; border-color: #cbd5e1 !important; box-shadow: none !important; backdrop-filter: none !important; }
  .tc-barra { position: static; }
  .tc-cert-doc { border: 3px double #0e7c86 !important; }
  .tc-cert-doc.m2 { border: 0 !important; border-top: 8px solid #1e3a8a !important; }
  .tc-cert-marca { color: #1e3a8a !important; }
  .tc-cert-doc p { color: #1e293b !important; }
}

/* ---- ícones SVG (troca de emojis) ---- */
.tc-ti { display: inline-flex; align-items: center; gap: 6px; }
.tc-b, .tc-pm-dup, .tc-pm-pdf, .tc-pm-orig, .tc-bib-b, .tc-rasc, .tc-ce-salvar, .tc-nf-b, .tc-nf-comprar, .tc-ct-st { gap: 6px; }
.tc-bib-b, .tc-rasc, .tc-ce-salvar, .tc-nf-b, .tc-nf-comprar, .tc-pm-dup, .tc-pm-pdf { display: inline-flex; align-items: center; justify-content: center; }
.tc-ce-salvar { display: flex; }
.tc-pm-ib, .tc-pm-wa, .tc-x, .tc-ed { display: inline-flex; align-items: center; justify-content: center; }
.tc-h1 { display: flex; align-items: center; gap: 12px; }
.tc-banner .azulejo, .tc-pm-novo-l .azulejo, .tc-mt-pwa-l .azulejo { flex: none; }
.tc-pm-novo-l, .tc-mt-pwa-l { align-items: center; }
.tc-eq-vazio-i, .tc-mn-vazio-i, .tc-nf-vazio-i { display: flex; justify-content: center; line-height: 1; margin-bottom: 8px; }
.tc-nf-alerta-l, .tc-nf-lembrete { align-items: center; }
.tc-mt-med { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; }
.tc-av { display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--aviso); }
.tc-mt-vazio30 .ico { vertical-align: -2px; color: var(--ico-dourado, var(--aviso)); }
