:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --success: #16a34a;
  --danger: #dc2626;
  --border: #e5e7eb;
}
* { box-sizing: border-box; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}
.navbar {
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.navbar a { color: #fff; text-decoration: none; margin-left: 16px; }
.navbar .brand { font-weight: 700; font-size: 1.1rem; }
.container {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
h1, h2, h3 { color: var(--primary); }
.hero {
  text-align: center;
  padding: 60px 20px;
}
.btn {
  display: inline-block;
  background: var(--primary-light);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { background: var(--primary); }
.btn-secondary { background: var(--muted); }
.btn-danger { background: var(--danger); }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.92rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}
th { background: #eef2ff; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #fff;
}
.badge-ok { background: var(--success); }
.badge-warn { background: #d97706; }
.badge-danger { background: var(--danger); }
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.bar-row { margin-bottom: 10px; }
.bar-bg {
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  height: 22px;
}
.bar-fill {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  height: 100%;
  color: #fff;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  padding-left: 8px;
  white-space: nowrap;
}
.form-group { margin-bottom: 14px; }
label { display: block; margin-bottom: 4px; font-weight: 600; }
input[type=text], input[type=password], select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}
.likert { display: flex; gap: 10px; flex-wrap: wrap; }
.likert label { font-weight: 400; display: flex; align-items: center; gap: 4px; }
.pairwise-scale { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); font-size: 0.9rem; }
.section-title { border-bottom: 2px solid var(--border); padding-bottom: 6px; margin-top: 28px; }
.matrix-mini-table td, .matrix-mini-table th { text-align: center; }
footer { text-align: center; padding: 20px; color: var(--muted); font-size: 0.85rem; }
