::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

.kpi-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 160px;
}
.kpi-card .kpi-label { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.kpi-card .kpi-value { font-size: 1.5rem; font-weight: 700; color: #f8fafc; margin-top: 4px; }
.kpi-card .kpi-sub { font-size: 0.7rem; color: #64748b; margin-top: 2px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.data-table th {
  background: #1e293b; color: #94a3b8; padding: 8px 12px;
  text-align: left; font-weight: 600; text-transform: uppercase;
  font-size: 0.7rem; letter-spacing: 0.05em; border-bottom: 2px solid #334155;
  position: sticky; top: 0; z-index: 10;
}
.data-table td { padding: 6px 12px; border-bottom: 1px solid #1e293b; }
.data-table tr:hover td { background: #1e293b; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .pos { color: #4ade80; }
.data-table .neg { color: #f87171; }
.data-table tfoot td { background: #1e293b; font-weight: 700; border-top: 2px solid #334155; position: sticky; bottom: 0; z-index: 10; }

.chart-container { background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 16px; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: #1e293b; border: 1px solid #334155; border-radius: 10px;
  padding: 10px 16px; margin-bottom: 16px;
}
.filter-bar label { font-size: 0.75rem; color: #94a3b8; }
.filter-bar input, .filter-bar select {
  background: #0f172a; border: 1px solid #334155; color: #e2e8f0;
  border-radius: 6px; padding: 4px 8px; font-size: 0.8rem;
}
.filter-bar button {
  background: #f59e0b; color: #0f172a; border: none; border-radius: 6px;
  padding: 6px 16px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.filter-bar button:hover { background: #d97706; }

.preset-btn {
  padding: 4px 10px; border-radius: 6px; font-size: 0.75rem;
  border: 1px solid #334155; color: #94a3b8; cursor: pointer;
  background: transparent; transition: all 0.2s;
}
.preset-btn:hover, .preset-btn.active { background: #f59e0b20; color: #f59e0b; border-color: #f59e0b; }

.section-title { font-size: 1rem; font-weight: 600; color: #e2e8f0; margin-bottom: 12px; }

.loading { display: flex; align-items: center; justify-content: center; padding: 40px; color: #64748b; }

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

