:root {
  --vv-navy: #1f2937;
  --vv-teal: #0f766e;
  --vv-teal-light: #ccfbf1;
  --vv-amber: #b45309;
  --vv-bg: #f8fafc;
  --vv-border: #e2e8f0;
  --vv-text: #1e293b;
  --vv-muted: #64748b;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--vv-bg); color: var(--vv-text); }
a { color: var(--vv-teal); }
.topbar {
  background: var(--vv-navy); color: white; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: #e2e8f0; text-decoration: none; margin-left: 18px; font-size: 14px; }
.topbar a.active, .topbar a:hover { color: var(--vv-teal-light); }
.brand { font-weight: 700; letter-spacing: 0.3px; }
.brand small { display:block; font-weight: 400; color: #94a3b8; font-size: 11px; }
.container { max-width: 1080px; margin: 28px auto; padding: 0 20px; }
.card {
  background: white; border: 1px solid var(--vv-border); border-radius: 10px;
  padding: 20px 22px; margin-bottom: 20px;
}
.card h2 { margin-top: 0; font-size: 17px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--vv-border); }
th { color: var(--vv-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.muted { background: #f1f5f9; color: var(--vv-muted); }
.badge.warn { background: #fef3c7; color: #92400e; }
.badge.suppressed { background: #fee2e2; color: #991b1b; }
form.inline { display: inline; }
input, select, textarea, button {
  font-family: inherit; font-size: 14px; padding: 8px 10px;
  border: 1px solid var(--vv-border); border-radius: 6px;
}
button, .btn {
  background: var(--vv-teal); color: white; border: none; cursor: pointer;
  padding: 9px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block;
}
button.secondary, .btn.secondary { background: white; color: var(--vv-teal); border: 1px solid var(--vv-teal); }
button.danger { background: #dc2626; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; margin-bottom: 12px; }
.grid-form label { display: block; font-size: 12px; color: var(--vv-muted); margin-bottom: 4px; }
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-tile { background: white; border: 1px solid var(--vv-border); border-radius: 10px; padding: 16px 20px; min-width: 160px; }
.stat-tile .value { font-size: 26px; font-weight: 700; color: var(--vv-navy); }
.stat-tile .label { font-size: 12px; color: var(--vv-muted); text-transform: uppercase; }
.progress { background: #e2e8f0; border-radius: 20px; height: 10px; overflow: hidden; margin-top: 6px; }
.progress > div { background: var(--vv-teal); height: 100%; }
.flag { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 8px 12px; border-radius: 8px; margin-bottom: 8px; font-size: 13px; }
.gdpr-note { background: #f0fdfa; border: 1px solid #99f6e4; padding: 12px 14px; border-radius: 8px; font-size: 13px; color: #134e4a; margin-bottom: 16px; }
.error { color: #dc2626; font-size: 13px; margin-bottom: 10px; }
.survey-page { max-width: 640px; margin: 40px auto; padding: 0 20px; }
.dimension-block { margin-bottom: 22px; }
.dimension-block h3 { font-size: 15px; margin-bottom: 10px; color: var(--vv-navy); }
.item-row { margin-bottom: 14px; font-size: 14px; }
.scale-options { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.scale-options label { border: 1px solid var(--vv-border); border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 13px; }
.scale-options input { display: none; }
.scale-options input:checked + span { font-weight: 700; }
.scale-options label:has(input:checked) { border-color: var(--vv-teal); background: var(--vv-teal-light); }
.footer-note { font-size: 12px; color: var(--vv-muted); margin-top: 30px; }
