/* ============================================
   TEACH FOR CHANGE — Weekly Review System
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:        #1a3c6e;
  --primary-light:  #2563eb;
  --primary-dark:   #0f2447;
  --secondary:      #059669;
  --secondary-light:#d1fae5;
  --accent:         #f59e0b;
  --accent-light:   #fef3c7;
  --danger:         #dc2626;
  --danger-light:   #fee2e2;
  --pending:        #d97706;
  --pending-light:  #fef9ee;
  --bg:             #f1f5f9;
  --card:           #ffffff;
  --text:           #1e293b;
  --text-muted:     #64748b;
  --border:         #e2e8f0;
  --border-focus:   #2563eb;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow:         0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --transition:     all 0.22s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ---- Page Header / Navbar ---- */
.navbar {
  background: var(--primary);
  color: white;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.navbar-brand .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.navbar-datetime {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.10);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.navbar-datetime .time-icon { font-size: 0.9rem; }

/* ---- Page Layout ---- */
.page { min-height: calc(100vh - 60px); padding: 2rem 1rem; }
.container { max-width: 640px; margin: 0 auto; }
.container-wide { max-width: 960px; margin: 0 auto; }

/* ---- Cards ---- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--border);
}
.card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.card-header .icon {
  font-size: 1.3rem;
}

/* ---- Page Title ---- */
.page-title {
  text-align: center;
  margin-bottom: 1.75rem;
}
.page-title h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.page-title p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---- Nav Tabs ---- */
.nav-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-tabs a {
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.nav-tabs a:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: white;
}
.nav-tabs a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary-light);
  color: white;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-primary:hover { background: var(--primary); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }

.btn-success {
  background: var(--secondary);
  color: white;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.btn-success:hover { background: #047857; }

.btn-warning {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}
.btn-warning:hover { background: #d97706; }

.btn-danger {
  background: var(--danger);
  color: white;
  box-shadow: 0 2px 8px rgba(220,38,38,0.25);
}
.btn-danger:hover { background: #b91c1c; }

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary-light);
}
.btn-outline:hover { background: var(--primary-light); color: white; }

.btn-ghost {
  background: var(--bg);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--border); color: var(--text); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; border-radius: 6px; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-block { width: 100%; display: flex; }
.btn-icon { padding: 0.5rem; border-radius: 50%; min-width: 36px; height: 36px; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-control::placeholder { color: #94a3b8; }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }

/* ---- Task Item (Dynamic) ---- */
.task-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.6rem; }
.task-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem 0.4rem 0.75rem;
  transition: var(--transition);
}
.task-item:focus-within { border-color: var(--border-focus); background: white; }
.task-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  min-width: 20px;
}
.task-item input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  padding: 0.25rem 0;
}
.task-item input::placeholder { color: #94a3b8; }
.task-remove {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
  transition: var(--transition);
  line-height: 1;
}
.task-remove:hover { color: var(--danger); background: var(--danger-light); }

/* ---- Review Task (Checkbox style) ---- */
.review-task {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.review-task.is-completed { border-color: var(--secondary); background: var(--secondary-light); }
.review-task.is-pending { border-color: var(--pending); background: var(--pending-light); }
.review-task-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.review-task-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 18px;
  margin-top: 2px;
}
.review-task-text {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.review-task-options {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-left: 26px;
}
.radio-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  user-select: none;
}
.radio-btn input[type="radio"] { display: none; }
.radio-btn.completed:has(input:checked),
.radio-btn.completed.selected {
  border-color: var(--secondary);
  background: var(--secondary);
  color: white;
}
.radio-btn.pending:has(input:checked),
.radio-btn.pending.selected {
  border-color: var(--pending);
  background: var(--pending);
  color: white;
}
.review-reason {
  margin-top: 0.65rem;
  margin-left: 26px;
  animation: slideDown 0.2s ease;
}
.review-reason textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--pending);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-family: inherit;
  resize: none;
  outline: none;
  background: white;
  min-height: 60px;
}
.review-reason textarea:focus { box-shadow: 0 0 0 3px rgba(217,119,6,0.15); }

/* ---- Status Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-success { background: var(--secondary-light); color: var(--secondary); }
.badge-pending { background: var(--pending-light); color: var(--pending); }
.badge-danger  { background: var(--danger-light);  color: var(--danger);  }
.badge-info    { background: #eff6ff; color: var(--primary-light); }
.badge-gray    { background: #f1f5f9; color: var(--text-muted); }

/* ---- Member Row (Dashboard) ---- */
.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.75rem;
}
.member-row:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.member-row.submitted { border-color: var(--secondary); background: var(--secondary-light); }
.member-row.pending-row { border-color: var(--border); background: #fafafa; }
.member-info { display: flex; align-items: center; gap: 0.65rem; flex: 1; min-width: 0; }
.member-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.member-row.submitted .member-avatar { background: var(--secondary); }
.member-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.member-time { font-size: 0.78rem; color: var(--text-muted); }
.member-status { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* ---- Toggle Switch ---- */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.toggle-label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.toggle {
  position: relative;
  width: 48px; height: 26px;
  cursor: pointer;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 26px;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-slider { background: var(--secondary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ---- Step Indicator ---- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}
.step.active .step-num { background: var(--primary-light); color: white; }
.step.done .step-num { background: var(--secondary); color: white; }
.step.active .step-label { color: var(--primary-light); }
.step-divider {
  width: 40px; height: 2px;
  background: var(--border);
  margin: 0 0.5rem;
}
.step.done + .step-divider { background: var(--secondary); }

/* ---- Week Info Bar ---- */
.week-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.week-bar .week-label { font-size: 0.8rem; opacity: 0.8; font-weight: 500; }
.week-bar .week-dates { font-size: 1rem; font-weight: 700; }
.week-bar .meeting-day { font-size: 0.82rem; background: rgba(255,255,255,0.18); padding: 0.2rem 0.65rem; border-radius: 20px; font-weight: 600; }

/* ---- Section Divider ---- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}
.section-divider span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--border);
}

/* ---- Alert / Notice ---- */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.alert-success { background: var(--secondary-light); border: 1px solid #6ee7b7; color: #065f46; }
.alert-warning { background: var(--pending-light); border: 1px solid #fcd34d; color: #92400e; }
.alert-danger  { background: var(--danger-light); border: 1px solid #fca5a5; color: #991b1b; }

/* ---- Closed Submissions Message ---- */
.submissions-closed {
  text-align: center;
  padding: 3rem 1.5rem;
}
.submissions-closed .icon { font-size: 3rem; margin-bottom: 1rem; }
.submissions-closed h2 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.submissions-closed p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.stat-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
  text-align: center;
}
.stat-box .stat-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-box .stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-box.green .stat-num { color: var(--secondary); }
.stat-box.orange .stat-num { color: var(--pending); }

/* ---- Home Page Choices ---- */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.choice-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.choice-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.choice-card.active { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.choice-card .choice-icon { font-size: 2.8rem; }
.choice-card .choice-title { font-size: 1rem; font-weight: 700; color: var(--primary); }
.choice-card .choice-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Summary Editor ---- */
.summary-member {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.summary-member-header {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.summary-member-body { padding: 1rem 1.1rem; }
.summary-task-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.summary-task-row input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.87rem;
  outline: none;
  font-family: inherit;
}
.summary-task-row input:focus { border-color: var(--border-focus); }

/* ---- Print Styles ---- */
@media print {
  .no-print { display: none !important; }
  .navbar { display: none; }
  body { background: white; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .print-report { padding: 0; }
}
.print-report { max-width: 720px; margin: 0 auto; }
.print-header {
  text-align: center;
  padding: 1.5rem 0 1rem;
  border-bottom: 3px solid var(--primary);
  margin-bottom: 1.5rem;
}
.print-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.print-header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }
.print-member {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  page-break-inside: avoid;
}
.print-member-name {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.print-member-body { padding: 0.85rem 1rem; }
.print-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0.65rem 0 0.3rem;
}
.print-task { font-size: 0.88rem; color: var(--text); padding: 0.15rem 0 0.15rem 1rem; position: relative; }
.print-task::before { content: '•'; position: absolute; left: 0.3rem; color: var(--primary-light); }
.print-pending-reason { font-size: 0.82rem; color: var(--pending); font-style: italic; padding-left: 1rem; margin-top: 0.1rem; }

/* ---- Animations ---- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(5,150,105,0); }
}
.animate-in { animation: fadeIn 0.3s ease; }
.live-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; }
.hidden { display: none !important; }

/* ---- Compact Rows (Phase 5/6) ---- */
.compact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}
.compact-row:hover {
  border-color: var(--border-focus);
}
.compact-col-info {
  flex: 0 0 25%;
  min-width: 200px;
}
.compact-col-input {
  flex: 1;
}
.compact-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.compact-btn.active.green {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.compact-btn.active.red {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.compact-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .compact-row {
    flex-direction: column;
    align-items: stretch;
  }
  .compact-col-info {
    flex: none;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .page { padding: 1.25rem 0.75rem; }
  .card { padding: 1.1rem; }
  .navbar-brand span { font-size: 0.85rem; }
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .choice-card { padding: 1.5rem 0.75rem; }
  .stats-bar { grid-template-columns: repeat(3,1fr); }
  .step-label { display: none; }
}
