:root {
  --bg: #f3f6fa;
  --ink: #1f2a37;
  --blue: #163a5f;
  --green: #1c8c4c;
  --yellow: #d9a31a;
  --red: #c23a3a;
  --panel: #ffffff;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.hero {
  background: linear-gradient(135deg, #0f2f4f, #183f66);
  color: #fff;
}

.subtitle {
  color: #d7e4f3;
}

.panel {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  background: var(--panel);
}

.kpi-card {
  border-radius: 12px;
  color: #fff;
  padding: 14px;
  min-height: 120px;
}

.kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.risk-high {
  background: rgba(194, 58, 58, 0.14);
}
.risk-medium {
  background: rgba(217, 163, 26, 0.14);
}
.risk-low {
  background: rgba(28, 140, 76, 0.14);
}

.heat-cell {
  text-align: center;
  font-weight: 600;
}

.tab-pane .metric {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
}

.word-cloud-list span {
  display: inline-block;
  margin: 5px 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9eef5;
}

.conclusion-box {
  background: #f8fafc;
  border: 1px solid #e5edf6;
  border-radius: 10px;
  padding: 12px;
  height: 100%;
}

#uploadStatus.error {
  color: #c23a3a;
}

#uploadStatus.ok {
  color: #1c8c4c;
}
