:root {
  --navy: #0f1b2d;
  --navy-light: #1c2e47;
  --accent: #3b82f6;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #f4f6f9;
  --error: #dc2626;
  --success: #16a34a;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

#app {
  width: 100%;
  max-width: 640px;
}

.header {
  background: var(--navy);
  color: white;
  padding: 24px 28px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.header h1 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.header p {
  margin: 0;
  color: #a8b3c4;
  font-size: 0.9rem;
}

.card {
  background: white;
  padding: 28px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card.standalone {
  border-radius: var(--radius);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

input[type="text"], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

button {
  background: var(--navy);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
}

button:hover { background: var(--navy-light); }
button:disabled { background: #9ca3af; cursor: not-allowed; }

.error-msg {
  color: var(--error);
  margin-top: 12px;
  font-size: 0.9rem;
}

.success-msg {
  color: var(--success);
  font-size: 1.05rem;
  font-weight: 500;
}

.question {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.question:last-of-type { border-bottom: none; }

.likert-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
}

.likert-option {
  flex: 1;
  text-align: center;
}

.likert-option input { display: block; margin: 0 auto 4px auto; }
.likert-option span { font-size: 0.72rem; color: var(--muted); }

.choice-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.progress {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.intro-text {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
