* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0f1117;
  --paper: #fafaf9;
  --accent: #e85d26;
  --accent-hover: #d14e1a;
  --accent-soft: #fff0eb;
  --muted: #6b7280;
  --border: #e5e5e4;
  --surface: #ffffff;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --blue: #3b82f6;
  --blue-soft: #eff6ff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0 24px 28px;
  letter-spacing: -0.5px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.sidebar-logo span { color: var(--accent); }

.sidebar-nav { padding: 0 12px; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.15s;
  margin-bottom: 2px;
}

.sidebar-nav a:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.sidebar-nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.sidebar-nav a .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.sidebar-section {
  padding: 20px 24px 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 600;
}

.sidebar-user {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-user > .sidebar-user-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
}

.user-name {
  font-size: 0.88rem;
  font-weight: 500;
}

.logout-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.logout-btn:hover { color: var(--danger); }

.main-wrapper {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#upgrade-banner-slot {
  padding: 0 40px;
  padding-top: 20px;
}

#upgrade-banner-slot:empty {
  padding: 0;
}

.main-content {
  flex: 1;
  padding: 32px 40px;
  max-width: 1000px;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-card .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.auth-card .logo span { color: var(--accent); }

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover { background: #f5f5f4; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
}

.btn-ghost:hover { color: var(--ink); background: #f5f5f4; }

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover { background: #dc2626; }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
}

.btn-block { width: 100%; justify-content: center; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.page-header p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.15s;
}

.card:hover { box-shadow: var(--shadow); }

.card-clickable { cursor: pointer; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
}

/* ============================================================
   AVATARS
   ============================================================ */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-muted { background: #f3f4f6; color: var(--muted); }

/* ============================================================
   MEETING CARD
   ============================================================ */
.meeting-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.meeting-card .meeting-info { flex: 1; }

.meeting-card .meeting-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.meeting-card .meeting-meta {
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.meeting-card .meeting-badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ============================================================
   TEAM MEMBER LIST
   ============================================================ */
.team-member-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}

.team-member-info { flex: 1; }

.team-member-info h3 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.team-member-info p {
  color: var(--muted);
  font-size: 0.84rem;
}

.team-member-stats {
  display: flex;
  gap: 16px;
}

.stat-pill {
  text-align: center;
  padding: 4px 12px;
  background: #f5f5f4;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--muted);
}

.stat-pill strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

/* ============================================================
   MEETING DETAIL
   ============================================================ */
.meeting-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.meeting-detail-header .avatar { margin-top: 4px; }

.meeting-detail-info h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.meeting-detail-info .meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 16px;
  margin-top: 32px;
}

/* ============================================================
   AGENDA ITEMS
   ============================================================ */
.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.agenda-item:last-child { border-bottom: none; }

.agenda-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agenda-check:hover { border-color: var(--accent); }

.agenda-check.checked {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.agenda-content {
  flex: 1;
  font-size: 0.92rem;
}

.agenda-content.discussed {
  text-decoration: line-through;
  color: var(--muted);
}

.agenda-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.agenda-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}

.agenda-item:hover .agenda-actions { opacity: 1; }

/* ============================================================
   ACTION ITEMS
   ============================================================ */
.action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.action-item:hover { background: #f9fafb; }

.action-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-check:hover { border-color: var(--success); }

.action-check.completed {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.action-content { flex: 1; }

.action-content p {
  font-size: 0.92rem;
}

.action-content p.done {
  text-decoration: line-through;
  color: var(--muted);
}

.action-content .action-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   INLINE ADD FORMS
   ============================================================ */
.inline-add {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.inline-add input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  background: #f9fafb;
}

.inline-add input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

/* ============================================================
   NOTES AREA
   ============================================================ */
.notes-area {
  width: 100%;
  min-height: 160px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  line-height: 1.7;
  resize: vertical;
  background: var(--surface);
}

.notes-area:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ============================================================
   CARRYOVER
   ============================================================ */
.carryover-section {
  background: var(--warning-soft);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.carryover-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--warning);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}

.empty-state .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.92rem;
  max-width: 360px;
  margin: 0 auto 20px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.modal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

.toast {
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 8px;
  animation: slideIn 0.2s ease-out;
  box-shadow: var(--shadow-lg);
}

.toast-error { background: var(--danger); }
.toast-success { background: var(--success); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   DASHBOARD STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.stat-card .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
}

/* ============================================================
   STATUS TABS
   ============================================================ */
.status-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.status-tab {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  transition: all 0.15s;
}

.status-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   OKR DASHBOARD
   ============================================================ */
.quarter-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: var(--radius-sm);
  width: fit-content;
  flex-wrap: wrap;
}

.okr-card {
  margin-bottom: 20px;
}

.okr-card-header {
  margin-bottom: 16px;
}

.okr-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.okr-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.okr-description {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.okr-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.okr-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.okr-progress-bar-wrap {
  flex: 1;
  height: 8px;
  background: #f3f4f6;
  border-radius: 99px;
  overflow: hidden;
}

.okr-progress-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.okr-progress-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 38px;
  text-align: right;
}

/* Key Results List */
.kr-list {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

.kr-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.kr-item:last-child {
  border-bottom: none;
}

.kr-item-body {
  flex: 1;
  min-width: 0;
}

.kr-title {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.kr-values {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kr-current {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.kr-sep {
  color: var(--muted);
  font-size: 0.88rem;
}

.kr-target {
  font-size: 0.88rem;
  color: var(--muted);
}

.kr-mini-bar-wrap {
  flex: 1;
  min-width: 60px;
  max-width: 120px;
  height: 6px;
  background: #f3f4f6;
  border-radius: 99px;
  overflow: hidden;
}

.kr-mini-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.kr-pct {
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 32px;
}

.kr-update-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.kr-progress-input {
  width: 88px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-family: inherit;
  background: #f9fafb;
  text-align: right;
}

.kr-progress-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .main-wrapper {
    margin-left: 0;
  }
  #upgrade-banner-slot {
    padding: 16px 16px 0;
  }
  .main-content {
    padding: 20px 16px;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   BILLING & SUBSCRIPTION
   ============================================================ */
#billing-badge:not(:empty) {
  /* When there's billing content, add space below */
  padding-bottom: 4px;
}

.billing-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 8px;
}

.billing-active {
  background: #d1fae5;
  color: #065f46;
}

.billing-trial {
  background: #fef3c7;
  color: #92400e;
}

.billing-expired {
  background: #fee2e2;
  color: #991b1b;
}

.billing-upgrade-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 7px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s;
  letter-spacing: -0.2px;
}

.billing-upgrade-btn:hover {
  background: #d4521f;
}

.billing-upgrade-urgent {
  animation: pulse-border 2s ease infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 93, 38, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(232, 93, 38, 0); }
}

/* Upgrade banners in main content */
.upgrade-banner {
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.upgrade-banner a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.upgrade-warning {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #78350f;
}

.upgrade-expired {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

/* ============================================================
   ONBOARDING WIZARD
   ============================================================ */
.onboarding-page {
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.onboarding-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 44px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}

.onboarding-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.onboarding-logo span { color: var(--accent); }

.onboarding-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.onboarding-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}

.onboarding-step-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.onboarding-step-dot.done {
  background: var(--success);
}

.onboarding-step {
  display: none;
}

.onboarding-step.visible {
  display: block;
}

.onboarding-step h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.onboarding-step .step-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.onboarding-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 4px;
}

.onboarding-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.onboarding-example {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.onboarding-example strong {
  color: var(--ink);
}

.onboarding-complete {
  text-align: center;
  padding: 8px 0;
}

.onboarding-complete .checkmark {
  width: 64px;
  height: 64px;
  background: var(--success-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.onboarding-complete h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.onboarding-complete p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.member-inputs { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 640px) {
  .onboarding-card { padding: 32px 24px; }
}
