.kpis-6 { grid-template-columns: repeat(6, 1fr); }
.kpis-6 .k-val { font-size: 22px; }
.kpi .k-sub .pos, .kpi .k-sub .neg { font-weight: 600; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--ink); }
th.sortable.asc::after { content: " ↑"; }
th.sortable.desc::after { content: " ↓"; }
.sec-title { margin-top: 22px; }
.tbl-dense td .badge { margin-left: 4px; }
@media (max-width: 1300px) { .kpis-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .kpis-6 { grid-template-columns: repeat(2, 1fr); } .table-card { overflow-x: auto; } }
.sem-dot { display: none; }
td.sem-v .sem-dot, td.sem-a .sem-dot, td.sem-r .sem-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
td.sem-v .sem-dot { background: #2e9e5b; }
td.sem-a .sem-dot { background: #e0a100; }
td.sem-r .sem-dot { background: #d64545; }
td.sem-r { color: #b23434; font-weight: 600; }
tr.fila-mediana td { border-top: 2px solid var(--line, #ddd); font-weight: 600; }
.leyenda-sem { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.leyenda-sem span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.leyenda-sem .v::before { background: #2e9e5b; } .leyenda-sem .a::before { background: #e0a100; } .leyenda-sem .r::before { background: #d64545; }
body.app { grid-template-columns: var(--sidebar) minmax(0, 1fr); }
td.nowrap, th.nowrap { white-space: nowrap; }
