:root {
    color-scheme: dark;
    color: #e7e7eb;
    background: #111827;
    accent-color: #6366f1;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(160deg,#111827 0%,#0f172a 100%); color: #e7e7eb; }
.container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
header h1 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.5rem); letter-spacing: -0.03em; }
header .subtitle { color: #94a3b8; margin-top: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: rgba(15, 23, 42, 0.88); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 18px; padding: 20px; box-shadow: 0 25px 60px rgba(15,23,42,.22); }
.card h2 { margin: 0 0 12px; font-size: 1rem; color: #cbd5e1; }
.card p { margin: 0; line-height: 1.65; }
.stat { font-size: 1.8rem; font-weight: 700; margin: 8px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 22px; }
.panel { background: rgba(15, 23, 42, 0.9); border-radius: 20px; border: 1px solid rgba(148, 163, 184, 0.1); padding: 22px; }
.panel h3 { margin-top: 0; color: #cbd5e1; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
th, td { text-align: left; padding: 12px 14px; }
th { color: #94a3b8; font-size: .95rem; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
tr { border-bottom: 1px solid rgba(148, 163, 184, 0.08); }
tr:last-child { border-bottom: none; }
td { color: #e2e8f0; font-size: 0.96rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; }
.badge.green { background: rgba(34,197,94,.14); color: #86efac; }
.badge.yellow { background: rgba(234,179,8,.16); color: #facc15; }
.badge.red { background: rgba(239,68,68,.16); color: #fecaca; }
.badge.blue { background: rgba(59,130,246,.16); color: #bfdbfe; }
.footer { padding: 20px 0; color: #94a3b8; font-size: 0.92rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.tab { cursor: pointer; padding: 12px 18px; border-radius: 999px; background: rgba(148,163,184,.08); color: #cbd5e1; border: 1px solid transparent; transition: all .15s ease; }
.tab.active { background: #1e293b; border-color: rgba(99,102,241,.35); color: #eef2ff; }
.hidden { display: none; }
.page-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 12px; }
.page-controls button { border: 1px solid rgba(148,163,184,.18); background: rgba(15,23,42,.9); color: #e2e8f0; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.page-controls button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } header { flex-direction: column; align-items: flex-start; } }
