* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    padding: 20px;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 24px;
}
header h1 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #1e293b;
}
.filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}
.filter-group label {
    font-weight: 600;
    margin-bottom: 4px;
    color: #475569;
}
select[multiple] {
    height: auto;
    min-height: 38px;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
}
button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #2563eb;
}
#resetFilters {
    background: #94a3b8;
}
#resetFilters:hover {
    background: #64748b;
}
.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}
.tablinks {
    background: none;
    color: #64748b;
    padding: 12px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.tablinks:hover {
    color: #1e293b;
    background: #f8fafc;
}
.tablinks.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: transparent;
}
.tabcontent {
    display: none;
}
.tabcontent.active {
    display: block;
}
.kpi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.kpi-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.kpi-card h3 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}
.kpi-card p {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}
.chart-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: 400px;
}
.ag-theme-alpine {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}