body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(135deg, #eef2f7, #f8fafc);
  margin: 0;
  padding: 30px;
  color: #1f2933;
}

.app-container {
  max-width: 1400px;
  margin: auto;
}

header {
  margin-bottom: 25px;
}

header h1 {
  margin: 0;
  font-size: 30px;
}

header p {
  color: #6b7280;
  margin-top: 6px;
}

.filters {
  display: flex;
  gap: 20px;
  background: white;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.filter-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-box label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  min-width: 260px;
  background: #f9fafb;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.kpi-card {
  background: white;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.kpi-title {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

.table-wrapper {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

thead {
  background: linear-gradient(90deg, #1f2933, #334155);
  color: white;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
}

thead th {
  font-size: 11px;
}

td {
  text-align: right;
}

td:first-child {
  text-align: left;
  font-weight: 500;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

tbody tr:hover {
  background-color: #f3f4f6;
}

.scenario-row td {
  padding: 0;
  border: none;
}

.scenario-block {
  background: linear-gradient(90deg, #e2e8f0, #f8fafc);
  padding: 10px 14px;
  border-radius: 8px;
  margin: 12px 0 6px 0;
  display: flex;
  align-items: center;
}

.scenario-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 13px;
}

.scenario-spacer {
  height: 14px;
  border: none;
}
