/* FlexonSys Motorista — tema escuro por padrão (bom pra dirigir à noite), claro opcional. */
:root, [data-tema="escuro"] {
    --fundo: #0b1220;
    --fundo-2: #0f172a;
    --card: #121c31;
    --card-2: #17233c;
    --borda: #22304d;
    --texto: #e7eef8;
    --texto-2: #94a3b8;
    --verde: #22c55e;
    --verde-2: #16a34a;
    --verde-suave: rgba(34, 197, 94, .14);
    --ambar: #f59e0b;
    --ambar-suave: rgba(245, 158, 11, .14);
    --vermelho: #f43f5e;
    --vermelho-suave: rgba(244, 63, 94, .14);
    --azul: #38bdf8;
    --azul-suave: rgba(56, 189, 248, .14);
    --roxo: #a78bfa;
    --sombra: 0 10px 30px rgba(0, 0, 0, .35);
    --raio: 18px;
    --sidebar: 248px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}
[data-tema="claro"] {
    --fundo: #eef2f7;
    --fundo-2: #e2e8f0;
    --card: #ffffff;
    --card-2: #f8fafc;
    --borda: #dfe6ef;
    --texto: #0f172a;
    --texto-2: #64748b;
    --verde-suave: rgba(34, 197, 94, .12);
    --sombra: 0 8px 24px rgba(15, 23, 42, .08);
}

* { -webkit-tap-highlight-color: transparent; }
html, body { background: var(--fundo); color: var(--texto); }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px; min-height: 100vh; }
a { color: var(--azul); }
.text-secundario { color: var(--texto-2) !important; }
.txt-verde { color: var(--verde) !important; }
.txt-ambar { color: var(--ambar) !important; }
.txt-vermelho { color: var(--vermelho) !important; }
.txt-azul { color: var(--azul) !important; }
.num { font-variant-numeric: tabular-nums; }

/* Bootstrap no tema do app */
.form-control, .form-select, .input-group-text { background-color: var(--card-2); border-color: var(--borda); color: var(--texto); }
.form-control:focus, .form-select:focus { background-color: var(--card-2); color: var(--texto); border-color: var(--verde); box-shadow: 0 0 0 .2rem var(--verde-suave); }
.form-control::placeholder { color: var(--texto-2); opacity: .7; }
.form-label { font-weight: 600; font-size: .85rem; color: var(--texto-2); margin-bottom: .3rem; }
.form-text { color: var(--texto-2); }
.form-check-input:checked { background-color: var(--verde); border-color: var(--verde); }
.modal-content, .offcanvas, .dropdown-menu { background: var(--card); color: var(--texto); border-color: var(--borda); }
.modal-header, .modal-footer { border-color: var(--borda); }
.modal-content { border-radius: var(--raio); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--texto); --bs-table-border-color: var(--borda); --bs-table-hover-bg: var(--card-2); --bs-table-hover-color: var(--texto); }
.table thead th { color: var(--texto-2); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.btn { border-radius: 12px; font-weight: 600; }
.btn-lg { border-radius: 14px; }
.btn-verde { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; border: 0; }
.btn-verde:hover, .btn-verde:focus { color: #fff; filter: brightness(1.08); }
.btn-vermelho { background: linear-gradient(135deg, #f43f5e, #e11d48); color: #fff; border: 0; }
.btn-vermelho:hover { color: #fff; filter: brightness(1.08); }
.btn-ambar { background: linear-gradient(135deg, #f59e0b, #d97706); color: #1a1205; border: 0; }
.btn-ambar:hover { color: #1a1205; filter: brightness(1.08); }
.btn-outline-secondary { color: var(--texto-2); border-color: var(--borda); }
.btn-outline-secondary:hover { background: var(--card-2); color: var(--texto); border-color: var(--borda); }
.alert { border-radius: 14px; }

.dlg, .aviso, .gr-dica { background: var(--card); border-color: var(--borda); color: var(--texto); }
.offcanvas-bottom { border-color: var(--borda); }
.form-check-input { background-color: var(--card-2); border-color: var(--borda); }
.btn-close { color: var(--texto); }

/* ── Marca ─────────────────────────────────────────────────────────── */
.marca { display: flex; align-items: center; justify-content: center; }
.marca-logo { width: 74px; height: auto; flex: none; }
.marca-grande .marca-logo { width: 102px; }

/* ── Layout ────────────────────────────────────────────────────────── */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--fundo-2); border-right: 1px solid var(--borda); padding: 1.2rem .9rem; display: flex; flex-direction: column; z-index: 1040; transition: transform .25s ease; }
.sidebar .marca { padding: 0 .4rem 1.2rem; }
.menu { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.menu a { display: flex; align-items: center; gap: .75rem; padding: .62rem .8rem; border-radius: 12px; color: var(--texto-2); text-decoration: none; font-weight: 500; }
.menu a i { font-size: 1.1rem; width: 1.3rem; text-align: center; }
.menu a:hover { background: var(--card); color: var(--texto); }
.menu a.ativo { background: var(--verde-suave); color: var(--verde); font-weight: 700; }
.menu-rodape { border-top: 1px solid var(--borda); padding-top: .9rem; }
.usuario-mini { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.usuario-mini div { min-width: 0; }
.usuario-mini b { display: block; }
.usuario-mini small { display: block; color: var(--texto-2); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--card-2); border: 1px solid var(--borda); font-weight: 800; color: var(--verde); }
.sidebar-fundo { display: none; }

.topo { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; margin-left: var(--sidebar);
        background: color-mix(in srgb, var(--fundo) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--borda); }
.topo-titulo { font-size: 1.15rem; font-weight: 800; margin: 0; flex: 1; letter-spacing: -.01em; }
.topo-acoes { display: flex; align-items: center; gap: .5rem; }
.btn-icone { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--borda); background: var(--card); color: var(--texto); display: grid; place-items: center; font-size: 1.15rem; }
.pilula-turno { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: var(--verde-suave); color: var(--verde); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.ponto-vivo { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulso 1.6s infinite; }
.ponto-vivo.pausado { background: var(--ambar); animation: none; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.conteudo { margin-left: var(--sidebar); padding: 1.4rem 1.5rem 3rem; max-width: calc(1280px + var(--sidebar)); }

@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); box-shadow: var(--sombra); }
    .sidebar.aberta { transform: none; }
    .sidebar-fundo.aberta { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1035; }
    .topo { margin-left: 0; padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top, 0px)); }
    .conteudo { margin-left: 0; padding: 1rem 1rem calc(96px + var(--safe-bottom)); }
}

/* Barra inferior (celular) com o "+" no meio */
.barra-inferior { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
                  padding: .35rem .4rem calc(.35rem + var(--safe-bottom)); background: color-mix(in srgb, var(--fundo-2) 92%, transparent);
                  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--borda); }
.barra-inferior a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem 0; color: var(--texto-2); text-decoration: none; font-size: .68rem; font-weight: 600; }
.barra-inferior a i { font-size: 1.3rem; }
.barra-inferior a.ativo { color: var(--verde); }
.botao-mais { justify-self: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 20px; border: 0; color: #fff; font-size: 1.7rem;
              background: linear-gradient(135deg, #22c55e, #0ea5e9); box-shadow: 0 10px 24px rgba(34, 197, 94, .45); }

.folha { border-radius: 24px 24px 0 0; height: auto !important; max-height: 85vh; padding-bottom: var(--safe-bottom); }
.lista-lancar, .dropdown-menu { list-style: none; padding: 0; margin: 0; }
.dropdown-menu { padding: .4rem; border-radius: 16px; box-shadow: var(--sombra); min-width: 300px; }
.dropdown-item, .lista-lancar .dropdown-item { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: 12px; color: var(--texto); white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--card-2); color: var(--texto); }
.dropdown-item i { font-size: 1.35rem; width: 1.6rem; text-align: center; }
.dropdown-item span { display: flex; flex-direction: column; line-height: 1.2; }
.dropdown-item small { color: var(--texto-2); font-size: .76rem; }
.item-destaque { background: var(--card-2); margin-bottom: .3rem; }

/* ── Cards e números ───────────────────────────────────────────────── */
.card-app { background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio); padding: 1.15rem 1.2rem; box-shadow: var(--sombra); }
.card-app + .card-app { margin-top: 1rem; }
.card-titulo { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.card-titulo h2, .card-titulo h3 { font-size: 1rem; font-weight: 800; margin: 0; }
.card-titulo .acao { font-size: .82rem; text-decoration: none; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .8rem; }
.kpi { background: var(--card); border: 1px solid var(--borda); border-radius: 16px; padding: .9rem 1rem; position: relative; overflow: hidden; }
.kpi .rotulo { color: var(--texto-2); font-size: .76rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.kpi .valor { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; margin-top: .15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .detalhe { color: var(--texto-2); font-size: .74rem; margin-top: .1rem; }
.kpi.destaque { background: linear-gradient(135deg, rgba(34, 197, 94, .18), rgba(14, 165, 233, .12)); border-color: rgba(34, 197, 94, .35); }
.kpi.destaque .valor { color: var(--verde); }
.kpi i.fundo { position: absolute; right: -6px; bottom: -14px; font-size: 3.6rem; opacity: .07; }

/* Card do turno */
.card-turno { background: radial-gradient(120% 140% at 0% 0%, rgba(34, 197, 94, .22), transparent 55%), var(--card); border: 1px solid rgba(34, 197, 94, .35); }
.card-turno.pausado { background: radial-gradient(120% 140% at 0% 0%, rgba(245, 158, 11, .22), transparent 55%), var(--card); border-color: rgba(245, 158, 11, .4); }
.cronometro { font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.status-turno { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .82rem; color: var(--verde); text-transform: uppercase; letter-spacing: .05em; }
.pausado .status-turno { color: var(--ambar); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0; }
.mini-stats div { background: rgba(0, 0, 0, .18); border-radius: 12px; padding: .55rem .6rem; }
[data-tema="claro"] .mini-stats div { background: var(--card-2); }
.mini-stats small { display: block; color: var(--texto-2); font-size: .7rem; font-weight: 600; }
.mini-stats b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.botoes-turno { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
.botoes-turno .btn { padding: .7rem .4rem; display: flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .8rem; }
.botoes-turno .btn i { font-size: 1.3rem; }

.card-iniciar { text-align: center; padding: 1.8rem 1.2rem; background: radial-gradient(100% 120% at 50% 0%, rgba(34, 197, 94, .16), transparent 60%), var(--card); }
.btn-iniciar { width: 132px; height: 132px; border-radius: 50%; border: 0; color: #fff; font-weight: 800; font-size: 1.05rem;
               background: linear-gradient(135deg, #22c55e, #0ea5e9); box-shadow: 0 16px 40px rgba(34, 197, 94, .45), inset 0 -6px 0 rgba(0, 0, 0, .15);
               display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; transition: transform .15s; }
.btn-iniciar:active { transform: scale(.96); }
.btn-iniciar i { font-size: 2.6rem; line-height: 1; }

/* Meta */
.meta-barra { height: 12px; border-radius: 99px; background: var(--card-2); overflow: hidden; border: 1px solid var(--borda); }
.meta-barra b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #0ea5e9); transition: width .6s; }
.anel { --p: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
        background: conic-gradient(var(--verde) calc(var(--p) * 1%), var(--card-2) 0); }
.anel > div { width: 94px; height: 94px; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; }
.anel b { font-size: 1.35rem; display: block; line-height: 1; }
.anel small { color: var(--texto-2); font-size: .68rem; }

/* Listas */
.lista-itens { display: flex; flex-direction: column; }
.item-linha { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--borda); }
.item-linha:last-child { border-bottom: 0; }
.item-linha .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; background: var(--card-2); color: var(--cor, var(--texto-2)); }
.item-linha .meio { flex: 1; min-width: 0; }
.item-linha .meio b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-linha .meio small { color: var(--texto-2); }
.item-linha .fim { text-align: right; font-variant-numeric: tabular-nums; }
.item-linha .fim b { display: block; }
.item-linha .fim small { color: var(--texto-2); }
.acoes-linha { display: flex; gap: .25rem; }
.acoes-linha .btn { padding: .25rem .5rem; }

.etiqueta-plat { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .82rem; }
.etiqueta-plat::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--cor); }
.selo { display: inline-block; padding: .15rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 700; background: var(--card-2); color: var(--texto-2); }
.selo.verde { background: var(--verde-suave); color: var(--verde); }
.selo.ambar { background: var(--ambar-suave); color: var(--ambar); }
.selo.vermelho { background: var(--vermelho-suave); color: var(--vermelho); }
.selo.azul { background: var(--azul-suave); color: var(--azul); }

/* Chips (plataformas e categorias) */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { padding: .5rem .85rem; border-radius: 12px; border: 1.5px solid var(--borda); background: var(--card-2); cursor: pointer; font-weight: 600; font-size: .86rem; user-select: none; }
.chip::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--cor); margin-right: .4rem; vertical-align: middle; }
.chips-icone .chip::before { display: none; }
.chips-icone .chip i { color: var(--cor); }
.btn-check:checked + .chip { border-color: var(--cor); background: color-mix(in srgb, var(--cor) 22%, var(--card)); color: var(--texto); }
.btn-check:focus-visible + .chip { outline: 2px solid var(--verde); }

/* Grade de ganhos por plataforma */
.grade-ganhos { display: flex; flex-direction: column; gap: .45rem; }
.linha-ganho { display: grid; grid-template-columns: 92px 1fr 84px 84px; gap: .4rem; align-items: center; }
.linha-ganho .etiqueta-plat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cabecalho-ganhos span { font-size: .72rem; font-weight: 600; color: var(--texto-2); }
.total-ganhos { text-align: right; padding-top: .3rem; color: var(--texto-2); }
.total-ganhos b { color: var(--verde); font-size: 1.1rem; }
@media (max-width: 420px) { .linha-ganho { grid-template-columns: 74px 1fr 64px 64px; } }

/* Filtro de período */
.filtro-periodo { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.filtro-periodo::-webkit-scrollbar { display: none; }
.filtro-periodo a { flex-shrink: 0; padding: .42rem .85rem; border-radius: 99px; border: 1px solid var(--borda); background: var(--card); color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: .82rem; }
.filtro-periodo a.ativo { background: var(--verde); border-color: var(--verde); color: #fff; }

.grafico { position: relative; height: 260px; }
.grafico.alto { height: 320px; }
.grafico.baixo { height: 200px; }

/* Barras horizontais simples (plataformas, categorias) */
.barras { display: flex; flex-direction: column; gap: .7rem; }
.barra-item .topo-barra { display: flex; justify-content: space-between; gap: .5rem; font-size: .86rem; margin-bottom: .25rem; }
.barra-item .trilho { height: 9px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.barra-item .trilho b { display: block; height: 100%; border-radius: 99px; background: var(--cor, var(--verde)); }

/* Mapa de calor dos horários */
.horarios { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.horarios div { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: var(--texto-2);
                background: color-mix(in srgb, var(--verde) calc(var(--i, 0) * 100%), var(--card-2)); }
.horarios div.forte { color: #fff; }

/* Calculadora */
.resultado-calc { border-radius: var(--raio); padding: 1.2rem; text-align: center; border: 1px solid var(--borda); background: var(--card-2); }
.resultado-calc.bom { background: var(--verde-suave); border-color: rgba(34, 197, 94, .45); }
.resultado-calc.medio { background: var(--ambar-suave); border-color: rgba(245, 158, 11, .45); }
.resultado-calc.ruim { background: var(--vermelho-suave); border-color: rgba(244, 63, 94, .45); }
.resultado-calc .veredito { font-size: 1.5rem; font-weight: 800; }

.vazio { text-align: center; padding: 2rem 1rem; color: var(--texto-2); }
.vazio i { font-size: 2.4rem; display: block; margin-bottom: .4rem; opacity: .6; }

/* Login */
.tela-login { min-height: 100vh; }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; }
.login-hero { padding: 4rem; align-items: center; background: radial-gradient(90% 80% at 10% 10%, rgba(34, 197, 94, .22), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(14, 165, 233, .18), transparent 60%), var(--fundo-2); border-right: 1px solid var(--borda); }
.login-hero h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 2rem 0 1rem; line-height: 1.1; }
.login-hero .lead { color: var(--texto-2); max-width: 520px; }
.lista-recursos { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.lista-recursos li { display: flex; gap: .7rem; align-items: center; }
.lista-recursos i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--verde-suave); color: var(--verde); }
.login-card { padding: 3rem clamp(1.2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; max-width: 520px; width: 100%; margin: 0 auto; }
.abas-login { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--borda); border-radius: 14px; padding: 4px; }
.abas-login a { text-align: center; padding: .6rem; border-radius: 11px; text-decoration: none; color: var(--texto-2); font-weight: 700; }
.abas-login a.ativa { background: var(--verde); color: #fff; }
@media (max-width: 991.98px) { .login-wrap { grid-template-columns: 1fr; } }

/* Aviso discreto de instalação PWA */
.pwa-install {
    position: fixed;
    z-index: 1090;
    left: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    width: min(540px, calc(100vw - 2rem));
    padding: .8rem;
    transform: translateX(-50%);
    border: 1px solid var(--borda);
    border-radius: 18px;
    background: var(--card);
    color: var(--texto);
    box-shadow: var(--sombra);
}
.pwa-install[hidden] { display: none; }
.pwa-install-icone { width: 48px; height: 48px; border-radius: 13px; }
.pwa-install-conteudo { display: grid; gap: .15rem; min-width: 0; font-size: .82rem; }
.pwa-install-conteudo strong { font-size: .92rem; }
.pwa-install-conteudo > span, .pwa-install-ajuda { color: var(--texto-2); }
.pwa-install-ajuda { margin: .25rem 0 0; }
.pwa-install-acoes { display: flex; align-items: center; gap: .25rem; }
.pwa-install-fechar { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--texto-2); }
.pwa-install-fechar:hover, .pwa-install-fechar:focus-visible { background: var(--card-2); color: var(--texto); }
body.app .pwa-install { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 420px) {
    .pwa-install { grid-template-columns: 42px minmax(0, 1fr); gap: .6rem; padding: .7rem; }
    .pwa-install-icone { width: 42px; height: 42px; }
    .pwa-install-acoes { grid-column: 2; justify-content: flex-end; }
}

/* Tabela que vira cartões no celular */
@media (max-width: 767.98px) {
    .tabela-cartoes thead { display: none; }
    .tabela-cartoes tr { display: block; border: 1px solid var(--borda); border-radius: 14px; padding: .6rem .8rem; margin-bottom: .6rem; background: var(--card-2); }
    .tabela-cartoes td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .2rem 0; }
    .tabela-cartoes td::before { content: attr(data-rotulo); color: var(--texto-2); font-size: .78rem; font-weight: 600; }
    .tabela-cartoes td.sem-rotulo::before { display: none; }
}

@media print {
    .sidebar, .topo, .barra-inferior, .pwa-install, .nao-imprimir { display: none !important; }
    .conteudo { margin: 0; padding: 0; }
    body, .card-app, .kpi { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}
