/* ═══════════════════════════════════════════════════════════════
   FORGED Family v3 — The Seen Build
   Design: Jony Ive bar.
   Every spacing, every color, every animation has earned its place.
   ═══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #1A1A1A;
  color: #F5F5F0;
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  background: #1A1A1A;
  background-image: radial-gradient(ellipse at top, #1F1F1F 0%, #1A1A1A 100%);
  background-attachment: fixed;
}

button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(255, 107, 53, 0.3); color: #fff; }

::-webkit-scrollbar { width: 0; }

/* ───────────────────────────────────────────────────────────────
   APP SHELL
   ─────────────────────────────────────────────────────────────── */

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.app-main {
  flex: 1;
  width: 100%;
  padding: 32px 20px calc(140px + env(safe-area-inset-bottom)) 20px;
  overflow-y: auto;
}

.app-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  z-index: 50;
}

/* ───────────────────────────────────────────────────────────────
   CRISIS STRIP — persistent, every screen
   Quiet but reliable. Always there. Never in the way.
   ─────────────────────────────────────────────────────────────── */

.crisis-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #E63946;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  min-height: 48px;
  width: 100%;
}

.crisis-strip:active { background: #D32F3D; }

/* ───────────────────────────────────────────────────────────────
   BOTTOM NAV
   ─────────────────────────────────────────────────────────────── */

.bottom-nav {
  background: #1A1A1A;
  border-top: 1px solid #2A2A2A;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 72px;
  padding: 0 8px env(safe-area-inset-bottom) 8px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  min-width: 48px;
  min-height: 48px;
  transition: color 200ms ease;
}

.nav-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ───────────────────────────────────────────────────────────────
   PAGE STRUCTURE
   ─────────────────────────────────────────────────────────────── */

.page {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-header-with-action {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.page-title {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 56px;
  letter-spacing: 0.02em;
  line-height: 0.95;
  font-weight: 400;
  margin: 0;
  color: #F5F5F0;
}

.page-title-crisis {
  color: #E63946;
}

.page-sub {
  color: #9B9B9B;
  font-size: 16px;
  margin: 4px 0 0 0;
  font-weight: 500;
}

.page-sub-quiet {
  color: #6B6B6B;
  font-size: 14px;
  margin: 4px 0 0 0;
  font-style: italic;
  letter-spacing: 0.005em;
}

/* ───────────────────────────────────────────────────────────────
   TODAY — FIRST PAINT
   This is the seven seconds that matter.
   ─────────────────────────────────────────────────────────────── */

.today-first-paint {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.date-label {
  color: #6B6B6B;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 0;
}

.primary-question {
  font-family: 'Barlow', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #F5F5F0;
  margin: 0;
}

/* ───────────────────────────────────────────────────────────────
   MOOD BUTTONS
   The list is the entire question. Each row earns its place.
   ─────────────────────────────────────────────────────────────── */

.mood-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mood-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #242424;
  border: 1px solid #2E2E2E;
  border-radius: 14px;
  padding: 18px 20px;
  min-height: 60px;
  text-align: left;
  transition: all 180ms ease;
  color: #F5F5F0;
}

.mood-button:active {
  background: #2A2A2A;
  transform: scale(0.985);
}

.mood-button:hover {
  border-color: #404040;
}

.mood-selected {
  border-color: #FF6B35;
  background: #2A2018;
}

.mood-label {
  font-size: 17px;
  font-weight: 500;
}

.mood-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ───────────────────────────────────────────────────────────────
   STATE SECTION (below fold, after first check-in)
   The breathing orb earns its place by appearing only after engagement.
   ─────────────────────────────────────────────────────────────── */

.state-section {
  margin-top: 8px;
}

.state-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 24px;
}

.state-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.state-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0;
}

.state-line {
  font-size: 15px;
  color: #9B9B9B;
  margin: 0;
  line-height: 1.4;
}

/* ───────────────────────────────────────────────────────────────
   BREATHING ORB
   4-7-8 cycle. Slow. Calm. The app breathing with the person.
   ─────────────────────────────────────────────────────────────── */

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  opacity: 0.3;
}

.orb-ring-outer {
  width: 100%;
  height: 100%;
  animation: orb-breathe-outer 11s ease-in-out infinite;
}

.orb-ring-inner {
  width: 70%;
  height: 70%;
  animation: orb-breathe-inner 11s ease-in-out infinite;
  opacity: 0.5;
}

.orb-core {
  width: 24%;
  height: 24%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: orb-glow 11s ease-in-out infinite;
  box-shadow: 0 0 24px currentColor;
}

@keyframes orb-breathe-outer {
  0%   { transform: scale(0.85); opacity: 0.18; }
  36%  { transform: scale(1.0);  opacity: 0.4; }   /* 4s inhale */
  64%  { transform: scale(1.02); opacity: 0.45; }  /* 7s hold */
  100% { transform: scale(0.85); opacity: 0.18; }  /* 8s exhale */
}

@keyframes orb-breathe-inner {
  0%   { transform: scale(0.78); opacity: 0.25; }
  36%  { transform: scale(0.95); opacity: 0.55; }
  64%  { transform: scale(0.97); opacity: 0.6; }
  100% { transform: scale(0.78); opacity: 0.25; }
}

@keyframes orb-glow {
  0%   { transform: scale(0.85); opacity: 0.65; }
  36%  { transform: scale(1.0);  opacity: 1.0; }
  64%  { transform: scale(1.02); opacity: 1.0; }
  100% { transform: scale(0.85); opacity: 0.65; }
}

/* ───────────────────────────────────────────────────────────────
   FORGE CTA — only when struggling
   ─────────────────────────────────────────────────────────────── */

.forge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #2A2018 0%, #1F1F1F 100%);
  border: 1px solid #FF6B35;
  border-radius: 16px;
  padding: 20px;
  color: #F5F5F0;
  transition: transform 180ms ease;
}

.forge-cta:active { transform: scale(0.985); }

.forge-cta-headline {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.forge-cta-sub {
  font-size: 14px;
  color: #9B9B9B;
  margin: 0;
}

/* ───────────────────────────────────────────────────────────────
   LINKED CLIENT CARD
   ─────────────────────────────────────────────────────────────── */

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #6B6B6B;
  margin: 0;
}

.linked-card {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.linked-card-active {
  border-color: rgba(78, 205, 196, 0.25);
  background: linear-gradient(135deg, #1F2926 0%, #1F1F1F 100%);
}

.linked-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.linked-disconnect {
  background: transparent;
  border: none;
  color: #6B6B6B;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.linked-disconnect:active { color: #9B9B9B; }

.linked-pitch {
  color: #B5B5B0;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.linked-pending {
  color: #9B9B9B;
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

.linked-code-display {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 14px;
  color: #4ECDC4;
  letter-spacing: 0.1em;
  margin: 0;
}

.linked-input-row {
  display: flex;
  gap: 10px;
}

.text-input-code {
  font-family: 'SF Mono', 'Menlo', monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  font-size: 18px;
}

/* ───────────────────────────────────────────────────────────────
   INPUTS + BUTTONS
   ─────────────────────────────────────────────────────────────── */

.text-input {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 16px 18px;
  color: #F5F5F0;
  font-size: 17px;
  outline: none;
  transition: border-color 180ms ease;
  width: 100%;
  min-height: 52px;
}

.text-input:focus {
  border-color: #FF6B35;
}

.text-input::placeholder { color: #555555; }

.btn-primary {
  background: #FF6B35;
  color: #1A1A1A;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.005em;
  min-height: 52px;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary:active:not(:disabled) {
  background: #E55A28;
  transform: scale(0.985);
}

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

.btn-compact { padding: 12px 18px; min-height: 48px; }

.btn-secondary {
  background: transparent;
  color: #F5F5F0;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  transition: all 180ms ease;
}

.btn-secondary:active {
  background: #242424;
  border-color: #555555;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF6B35;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}

.circle-btn:active { transform: scale(0.92); }

.text-btn-danger {
  background: transparent;
  border: none;
  color: #6B6B6B;
  padding: 12px;
  min-height: 44px;
  min-width: 44px;
}

.text-btn-danger:active { color: #E63946; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9B9B9B;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 4px 10px 0;
  min-height: 44px;
}

.back-link:active { color: #F5F5F0; }

.link {
  color: #FF6B35;
  text-decoration: underline;
}

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

.onboarding-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: #1A1A1A;
}

.onboarding-content {
  width: 100%;
  max-width: 480px;
}

.ob-screen {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ob-headline {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 56px;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #F5F5F0;
  margin: 0;
}

.ob-headline-sm {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #F5F5F0;
  margin: 0;
}

.ob-sub {
  color: #9B9B9B;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #242424;
  border: 1px solid #333333;
  color: #F5F5F0;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  transition: all 180ms ease;
}

.chip:active { transform: scale(0.96); }

.chip-active {
  background: #2A2018;
  border-color: #FF6B35;
  color: #FF6B35;
}

/* ───────────────────────────────────────────────────────────────
   CHECK-IN HISTORY
   ─────────────────────────────────────────────────────────────── */

.checkin-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
}

.checkin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #2A2A2A;
}

.checkin-row:last-child { border-bottom: none; }

.checkin-date {
  color: #9B9B9B;
  font-size: 14px;
  font-weight: 600;
}

.checkin-mood {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

/* ───────────────────────────────────────────────────────────────
   SUPPORT — CONVERSATION LIST
   ─────────────────────────────────────────────────────────────── */

.conversation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.conversation-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 180ms ease;
}

.conversation-row:active { border-color: #404040; }

.conversation-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conversation-meta {
  flex: 1;
  min-width: 0;
}

.conversation-title {
  font-size: 16px;
  font-weight: 600;
  color: #F5F5F0;
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-date {
  font-size: 13px;
  color: #6B6B6B;
  margin: 0;
}

.conversation-delete {
  background: transparent;
  border: none;
  color: #555555;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation-delete:active { color: #E63946; }

/* ───────────────────────────────────────────────────────────────
   CHAT SESSION
   ─────────────────────────────────────────────────────────────── */

.chat-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
  border-bottom: 1px solid #2A2A2A;
  background: #1A1A1A;
  flex-shrink: 0;
}

.chat-title {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #F5F5F0;
  margin: 0;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  display: flex;
  flex-direction: column;
}

.msg-user { align-items: flex-end; }
.msg-assistant { align-items: flex-start; }

.msg-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
}

.msg-user .msg-bubble {
  background: #2A2A2A;
  color: #F5F5F0;
  border: 1px solid #333333;
  border-bottom-right-radius: 6px;
}

.msg-assistant .msg-bubble {
  background: rgba(78, 205, 196, 0.1);
  color: #F5F5F0;
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-bottom-left-radius: 6px;
}

.typing-indicator {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 20px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ECDC4;
  animation: typing-pulse 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 16px;
  background: #1A1A1A;
  border-top: 1px solid #2A2A2A;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: #242424;
  border: 1px solid #333333;
  border-radius: 14px;
  padding: 14px 18px;
  color: #F5F5F0;
  font-size: 16px;
  outline: none;
  min-height: 48px;
  transition: border-color 180ms ease;
}

.chat-input:focus { border-color: #4ECDC4; }
.chat-input::placeholder { color: #555555; }
.chat-input:disabled { opacity: 0.6; }

.chat-send {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FF6B35;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.chat-send:active:not(:disabled) { transform: scale(0.92); }
.chat-send:disabled { opacity: 0.4; }

/* ───────────────────────────────────────────────────────────────
   JOURNAL
   ─────────────────────────────────────────────────────────────── */

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journal-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 180ms ease;
}

.journal-row:active { border-color: #404040; }

.journal-date {
  font-size: 12px;
  color: #6B6B6B;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
}

.journal-date-large {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journal-preview {
  font-size: 15px;
  color: #B5B5B0;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-prompt {
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #F5F5F0;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin: 0;
}

.journal-textarea {
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 20px;
  color: #F5F5F0;
  font-size: 16px;
  line-height: 1.55;
  resize: none;
  min-height: 280px;
  outline: none;
  font-family: inherit;
  transition: border-color 180ms ease;
}

.journal-textarea:focus { border-color: #404040; }
.journal-textarea::placeholder { color: #555555; }

.journal-actions {
  display: flex;
  justify-content: flex-end;
}

.journal-content {
  font-size: 17px;
  line-height: 1.65;
  color: #F5F5F0;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}

/* ───────────────────────────────────────────────────────────────
   RESOURCES + CRISIS
   ─────────────────────────────────────────────────────────────── */

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  padding: 18px 20px;
  min-height: 72px;
  transition: border-color 180ms ease;
}

.resource-row:active { border-color: #404040; }

.resource-primary {
  background: #E63946;
  border-color: #E63946;
}

.resource-primary .resource-title { color: #fff; }
.resource-primary .resource-detail { color: rgba(255,255,255,0.85); }

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-primary .resource-icon { background: rgba(255,255,255,0.15); }

.resource-meta { flex: 1; min-width: 0; }

.resource-title {
  font-size: 16px;
  font-weight: 700;
  color: #F5F5F0;
  margin: 0 0 2px 0;
}

.resource-detail {
  font-size: 14px;
  color: #9B9B9B;
  margin: 0;
}

/* CRISIS PAGE */

.crisis-intro {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #F5F5F0;
  margin: 8px 0 0 0;
}

.crisis-intro-quiet { color: #9B9B9B; }

.crisis-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crisis-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 22px;
  min-height: 88px;
  transition: border-color 180ms ease;
}

.crisis-row:active { border-color: #404040; }

.crisis-row-primary {
  background: #E63946;
  border-color: #E63946;
}

.crisis-title {
  font-size: 18px;
  font-weight: 700;
  color: #F5F5F0;
  margin: 0 0 4px 0;
}

.crisis-row-primary .crisis-title { color: #fff; }

.crisis-detail {
  font-size: 14px;
  color: #9B9B9B;
  margin: 0;
}

.crisis-row-primary .crisis-detail { color: rgba(255,255,255,0.85); }

/* ───────────────────────────────────────────────────────────────
   EMPTY STATES
   ─────────────────────────────────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1F1F1F;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 48px 24px;
  gap: 12px;
  min-height: 240px;
}

.empty-state p { margin: 0; }

.empty-state p:first-of-type {
  font-size: 18px;
  font-weight: 600;
  color: #F5F5F0;
}

.empty-sub {
  color: #9B9B9B;
  font-size: 15px;
  line-height: 1.5;
  max-width: 280px;
}

.empty-state .btn-primary {
  margin-top: 12px;
}

/* ───────────────────────────────────────────────────────────────
   MOTION — fade in on first paint
   ─────────────────────────────────────────────────────────────── */

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

.page > * {
  animation: fadeUp 280ms ease both;
}

.page > *:nth-child(1) { animation-delay: 0ms; }
.page > *:nth-child(2) { animation-delay: 60ms; }
.page > *:nth-child(3) { animation-delay: 120ms; }
.page > *:nth-child(4) { animation-delay: 180ms; }
.page > *:nth-child(5) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .orb-ring-outer, .orb-ring-inner, .orb-core {
    animation: none !important;
  }
}
