/* ============================================================
   CareSync App — extends theme.css
   Same design language: Fraunces + Source Sans 3, sage/amber palette
   ============================================================ */

/* APP SHELL */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.app-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}

.app-nav-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-nav-email {
  font-size: 14px;
  color: var(--fg-muted);
}

.app-nav-auth {
  display: flex;
  gap: 8px;
}

.app-nav-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.app-nav-btn-secondary {
  background: var(--bg);
  color: var(--fg-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.app-nav-btn-secondary:hover { background: var(--bg-alt); color: var(--charcoal); }

/* APP MAIN */
.app-main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  width: 100%;
}

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

.page-title {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--charcoal);
}

.page-subtitle {
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

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

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

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

.btn-amber:hover { background: var(--amber-light); }

.btn-secondary {
  background: var(--bg);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--bg-alt); }

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 10px; }

/* BROADCAST BAR */
.broadcast-bar {
  background: var(--amber);
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.broadcast-bar-text {
  font-size: 15px;
  font-weight: 500;
}

.broadcast-btn {
  background: white;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.broadcast-btn:hover { background: var(--bg); }

/* FAMILY MEMBERS */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.15s;
  cursor: pointer;
  position: relative;
}

.member-card:hover .member-menu-btn { opacity: 1; }

.member-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.member-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  flex-shrink: 0;
  opacity: 0;
  transition: all 0.15s;
  padding-bottom: 2px;
}

.member-menu-btn:hover { background: var(--bg-alt); color: var(--charcoal); }

@media (hover: none) {
  .member-menu-btn { opacity: 1; }
}

.member-card:hover { box-shadow: 0 4px 16px rgba(42,42,42,0.08); border-color: var(--sage-light); }

.member-card.active {
  background: rgba(107,143,113,0.06);
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,143,113,0.1);
}

.member-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
}

.member-info { flex: 1; }
.member-name { font-weight: 600; font-size: 15px; color: var(--charcoal); font-family: 'Fraunces', serif; }
.member-rel { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.role-tag {
  background: rgba(200,151,62,0.15);
  color: var(--amber);
  font-weight: 600;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
}
.member-count { font-size: 11px; color: var(--sage); font-weight: 600; margin-top: 4px; }

.add-member-card {
  border: 2px dashed var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: var(--fg-muted);
  font-size: 14px;
  gap: 8px;
  cursor: pointer;
}

.add-member-card:hover { border-color: var(--sage); color: var(--sage); }

/* CALENDAR GRID */
.cal-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.cal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
}

.cal-nav-btns { display: flex; gap: 8px; }

.cal-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--fg-muted);
  transition: all 0.15s;
}

.cal-btn:hover { background: var(--bg-alt); color: var(--charcoal); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  padding: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: all 0.12s;
  background: var(--bg);
}

.cal-day:hover { background: var(--bg-alt); }
.cal-day.other-month { opacity: 0.3; }
.cal-day.today { background: var(--sage); color: white; }
.cal-day.today .cal-day-num { color: white; }

.cal-day-num { font-weight: 600; font-size: 13px; color: var(--charcoal); }

.cal-event-pill {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* APPOINTMENTS LIST */
.appt-list { margin-top: 32px; }

.appt-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 24px 0 12px;
}

.appt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.15s;
}

.appt-card:hover { box-shadow: 0 4px 16px rgba(42,42,42,0.08); }

.appt-time-badge {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}

.appt-date {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.appt-month {
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.appt-time {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.appt-body { flex: 1; }

.appt-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  font-family: 'Fraunces', serif;
  margin-bottom: 4px;
}

.appt-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.appt-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.appt-doctor { background: rgba(107,143,113,0.1); color: var(--sage); }
.appt-location { background: rgba(200,151,62,0.1); color: var(--amber); }

.appt-notes {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.appt-reminder {
  font-size: 11px;
  color: var(--sage);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.appt-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: flex-start; }

.appt-edit, .appt-delete {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg-muted);
  transition: all 0.15s;
}

.appt-delete:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }

.appt-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--fg-muted);
}

.appt-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,42,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(42,42,42,0.15);
}

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

.modal-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: all 0.15s;
}

.modal-close:hover { background: var(--bg-alt); }

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--fg);
  transition: all 0.15s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107,143,113,0.12);
}

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

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

.form-hint { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

/* COLOR PICKER */
.color-picker { display: flex; gap: 8px; flex-wrap: wrap; }

.color-option {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.15s;
}

.color-option.selected { border-color: var(--charcoal); transform: scale(1.15); }

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--charcoal);
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  display: none;
  animation: toastIn 0.25s ease;
}

.toast.show { display: block; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LOGIN PAGE */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg);
}

.login-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 16px 48px rgba(42,42,42,0.1);
  border: 1px solid var(--border);
}

.login-logo {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.login-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.login-form-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.demo-link {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(107,143,113,0.08);
  border: 1px solid rgba(107,143,113,0.2);
  border-radius: 12px;
  font-size: 12px;
  color: var(--sage);
  word-break: break-all;
}

/* MOBILE */
@media (max-width: 768px) {
  .app-nav { padding: 0 20px; }
  .app-main { padding: 24px 20px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .broadcast-bar { flex-direction: column; gap: 12px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cal-wrapper { padding: 20px; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .appt-card { flex-direction: column; }
}

/* Slide-in panel for add/edit */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,42,42,0.35);
  z-index: 250;
  backdrop-filter: blur(3px);
}

.panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: 24px 0 0 24px;
  padding: 32px;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(42,42,42,0.12);
  animation: slideIn 0.3s ease;
}

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

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

.panel-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
}

/* Confirm dialog */
.confirm-modal {
  max-width: 380px;
}

.confirm-message {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 16px 0 24px;
  line-height: 1.6;
}

.confirm-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ── APP LAYOUT WITH SIDEBAR ────────────────────────────────────────── */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── DESKTOP SIDEBAR ─────────────────────────────────────────────────── */

.app-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  background: var(--sage);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.sidebar-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}

.sidebar-link:hover {
  background: var(--bg);
  color: var(--charcoal);
}

.sidebar-link.active {
  background: rgba(107,143,113,0.1);
  color: var(--sage);
  font-weight: 600;
}

.sidebar-link.active .sidebar-icon { color: var(--sage); }

.sidebar-icon { color: var(--fg-muted); flex-shrink: 0; transition: color 0.15s; }
.sidebar-label { flex: 1; }

/* Sidebar bottom section */
.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-signout {
  font-size: 11px;
  color: var(--fg-muted);
  text-decoration: none;
}

.sidebar-user-signout:hover { color: var(--charcoal); }

/* ── APP CONTENT AREA ─────────────────────────────────────────────────── */

.app-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── MOBILE BOTTOM TAB BAR ─────────────────────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding: 6px 0;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(42,42,42,0.06);
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 10px;
  font-weight: 500;
  transition: color 0.15s;
}

.mobile-tab:hover { color: var(--charcoal); }

.mobile-tab.active {
  color: var(--sage);
}

.mobile-tab.active svg { stroke: var(--sage); }

/* ── RESPONSIVE: MOBILE (< 768px) HIDE SIDEBAR, SHOW BOTTOM NAV ──────── */

@media (max-width: 767px) {
  .app-sidebar { display: none; }

  .mobile-nav { display: flex; }

  .app-content { padding-bottom: 72px; }

  /* Adjust all app pages for mobile layout */
  .app-main {
    padding: 20px 16px 80px;
  }

  .broadcast-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .broadcast-btn { width: 100%; justify-content: center; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title { font-size: 26px; }

  /* Snapshot tabs scroll horizontally */
  .snapshot-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .snapshot-tabs::-webkit-scrollbar { display: none; }
  .snapshot-tab { white-space: nowrap; }

  /* Doctor visit layout */
  .dv-page { padding: 0 16px 80px; }
  .dv-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dv-title { font-size: 20px; }

  /* Emergency page */
  .er-page { padding: 0 16px 80px; }
  .er-nav { padding: 16px 0 20px; }

  /* Members grid */
  .members-grid { grid-template-columns: 1fr; }
}

/* ── MEMBER CARD FOOTER + INVITE UI ───────────────────────────────── */

.member-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Invite badge */
.invite-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.invite-badge.invite-pending {
  background: rgba(200, 151, 62, 0.12);
  color: var(--amber);
}

.invite-badge.invite-active {
  background: rgba(107, 143, 113, 0.12);
  color: var(--sage);
}

/* Invite / Send button */
.invite-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--amber);
  background: transparent;
  color: var(--amber);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}

.invite-btn:hover {
  background: var(--amber);
  color: white;
}

/* Desktop: show sidebar, hide mobile nav */
@media (min-width: 768px) {
  .mobile-nav { display: none; }
}

/* ── ONBOARDING CHECKLIST ─────────────────────────────────────── */

.onboarding-banner {
  background: linear-gradient(135deg, #f0f7f1 0%, #fff8ec 100%);
  border: 1.5px solid #c8e6c9;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.onboarding-header { margin-bottom: 16px; }

.onboarding-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.onboarding-subtitle {
  font-size: 13px;
  color: var(--fg-muted);
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboarding-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.onboarding-step-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onboarding-step-body { flex: 1; min-width: 0; }

.onboarding-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.onboarding-step-desc {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.onboarding-step-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 0;
}

.onboarding-step-btn:hover { color: var(--sage-dark); }

.onboarding-footer {
  margin-top: 14px;
  text-align: center;
}

.onboarding-dismiss {
  font-size: 12px;
  color: var(--fg-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

.onboarding-dismiss:hover { color: var(--charcoal); }