:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  font-weight: 400;
  color: #f8fafc;
  background: #050813;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: #050813; }
button, input, select { font: inherit; }

.page {
  min-height: 100vh;
  position: relative;
  padding: 32px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.10), transparent 26%),
    #050813;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(10, 14, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7dd3fc;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 6px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
}

.top p {
  margin: 0;
  color: #94a3b8;
}

.select {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.select span,
.kpi span,
th {
  color: #94a3b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.select-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
}

option {
  color: #0f172a;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.table-card {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: nowrap;
}

thead th {
  position: sticky;
  top: 0;
  background: #0c1322;
  z-index: 1;
}

.good { color: #34d399; }
.bad { color: #f87171; }

@media (max-width: 800px) {
  .page { padding: 16px; }
  .top, .kpis { grid-template-columns: 1fr; display: grid; }
}
