/* Forced LIGHT token remap — pages with local :root / leftover dark hardcodes */
:root {
  --primary: #0891b2 !important;
  --primary-dark: #0e7490 !important;
  --primary-light: rgba(8, 145, 178, 0.10) !important;
  --bg: #f8fafc !important;
  --bg-elevated: #ffffff !important;
  --card: #ffffff !important;
  --card-bg: #ffffff !important;
  --card-hover: #f1f5f9 !important;
  --text: #0f172a !important;
  --text-secondary: #475569 !important;
  --text-tertiary: #64748b !important;
  --text2: #475569 !important;
  --muted: #64748b !important;
  --border: rgba(15, 23, 42, 0.10) !important;
  --font: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif !important;
  --font-display: 'Syne', 'Space Grotesk', sans-serif !important;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace !important;
  --gradient: linear-gradient(135deg, #0891b2 0%, #6366f1 55%, #7c3aed 100%) !important;
  --accent: #0891b2 !important;
  --forum-accent: #0891b2 !important;
  --forum-accent-strong: #0e7490 !important;
  --forum-surface: #ffffff !important;
  --forum-surface-raised: #f8fafc !important;
  --forum-surface-inset: #f1f5f9 !important;
  --forum-border: rgba(15, 23, 42, 0.10) !important;
  --forum-border-strong: rgba(8, 145, 178, 0.28) !important;
  --forum-text: #0f172a !important;
  --forum-muted: #475569 !important;
  --forum-soft: #64748b !important;
  --forum-focus: #0891b2 !important;
}

.hamburger-btn { display: none !important; }
@media (max-width: 768px) {
  .hamburger-btn { display: flex !important; }
}

.forum-page { background: #f8fafc !important; color: #0f172a !important; }
.forum-state-panel,
.forum-gate {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
}
.forum-state-panel h1,
.forum-state-panel h2 { color: #0f172a !important; }
.forum-state-panel p { color: #475569 !important; }

/* Presence / typing / reply toast — light */
.presence-dot, .typing-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
  vertical-align: middle; margin-inline-end: 6px;
}
.typing-cue, .reply-toast {
  direction: rtl; font-size: 13px; color: #475569;
  background: #ffffff; border: 1px solid rgba(15,23,42,0.10);
  border-radius: 10px; padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
.reply-toast {
  position: fixed; bottom: 24px; inset-inline-start: 50%;
  transform: translateX(-50%); z-index: 9999;
  max-width: min(420px, 92vw);
}


/* Memory chip — subtle "זוכר" when agent used memory */
.memory-chip {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; color: #64748b; background: #f1f5f9;
  border: 1px solid rgba(15,23,42,0.08); border-radius: 999px;
  padding: 1px 8px; margin-inline-start: 6px; vertical-align: middle;
  opacity: 0.9;
}

/* ten-finish light safety */
body { background: #f8fafc !important; color: #0f172a !important; }
