.nav-btn { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: .6rem; font-size: .875rem; font-weight: 500; white-space: nowrap; color: #cbd5e1; transition: background .15s, color .15s; }
.nav-btn i { font-size: 1.1rem; }
.nav-btn:hover { background: #1e293b; color: #fff; }
.nav-btn.is-active { background: #2563eb; color: #fff; }
.nav-badge { margin-left: auto; font-size: 10px; background: #f59e0b; color: #1e293b; border-radius: 999px; padding: 0 .45rem; }

.box { background: #fff; border: 1px solid #f1f5f9; border-radius: 1rem; padding: 1.1rem 1.25rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.box-title { font-size: .875rem; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }

.tbl { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .03em; padding: .7rem .9rem; border-bottom: 1px solid #e2e8f0; white-space: nowrap; background: #f8fafc; }
.tbl td { padding: .7rem .9rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.tbl tbody tr:hover { background: #f8fafc; }
.tbl .vazio { text-align: center; color: #94a3b8; padding: 2rem; }

.chip { display: inline-block; font-size: 10px; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.btn-sm { font-size: 12px; font-weight: 600; border-radius: .5rem; padding: .4rem .7rem; background: #f1f5f9; color: #334155; white-space: nowrap; transition: background .15s; display: inline-flex; align-items: center; gap: .3rem; }
.btn-sm:hover { background: #e2e8f0; }
.btn-sm.azul { background: #2563eb; color: #fff; }
.btn-sm.azul:hover { background: #3b82f6; }
.btn-sm.verde { background: #dcfce7; color: #15803d; }
.btn-sm.vermelho { background: #fef2f2; color: #dc2626; }
.sel-mini { font-size: 12px; border: 1px solid #cbd5e1; border-radius: .5rem; padding: .35rem .5rem; background: #fff; }

.kpi { background: #fff; border: 1px solid #f1f5f9; border-radius: 1rem; padding: .9rem 1rem; }
.kpi p:first-child { font-size: 11px; color: #64748b; }
.kpi p:last-child { font-size: 1.15rem; font-weight: 700; }

pre.codigo { background: #0f172a; color: #e2e8f0; font-size: 11px; border-radius: .75rem; padding: .9rem; overflow-x: auto; white-space: pre; }

.tbl-click tbody tr { cursor: pointer; }
.filtro-chip { font-size: 12px; font-weight: 600; border-radius: 999px; padding: .4rem .8rem; background: #fff; border: 1px solid #e2e8f0; color: #475569; }
.filtro-chip.is-active { background: #0f172a; border-color: #0f172a; color: #fff; }
.relatorio p { margin: .15rem 0; }
