/* ============================================
   LPO PLATFORM — Design Tokens
   ============================================
   Central design system for Life Personal Optimizer.
   All platform pages import this file for consistent styling.
   ============================================ */

:root {
  /* — Brand Colors — */
  --lpo-primary: #283655;
  --lpo-primary-hover: #1e2a43;
  --lpo-primary-light: #ebeef3;
  --lpo-secondary: #DFA774;
  --lpo-secondary-hover: #d4955f;
  --lpo-secondary-light: #fdf5ed;
  --lpo-accent: #DFA774;
  --lpo-accent-hover: #d4955f;
  --lpo-accent-light: #fdf5ed;

  /* — Module Colors — */
  --lpo-foodup: #283655;
  --lpo-foodup-light: #ebeef3;
  --lpo-handycook: #DFA774;
  --lpo-handycook-light: #fdf5ed;
  --lpo-lazyhands: #3d4f73;
  --lpo-lazyhands-light: #ebeef3;

  /* — Neutrals — */
  --lpo-bg: #f8f9fb;
  --lpo-bg-alt: #ebeef3;
  --lpo-surface: #ffffff;
  --lpo-text: #283655;
  --lpo-text-secondary: #4a5568;
  --lpo-text-muted: #718096;
  --lpo-border: #d2d6dc;
  --lpo-divider: #e2e8f0;

  /* — Status — */
  --lpo-success: #059669;
  --lpo-warning: #d97706;
  --lpo-error: #dc2626;
  --lpo-info: #283655;

  /* — Shadows — */
  --lpo-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --lpo-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --lpo-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --lpo-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* — Border Radius — */
  --lpo-radius-sm: 6px;
  --lpo-radius: 8px;
  --lpo-radius-md: 12px;
  --lpo-radius-lg: 16px;
  --lpo-radius-xl: 24px;
  --lpo-radius-full: 9999px;

  /* — Spacing — */
  --lpo-space-xs: 4px;
  --lpo-space-sm: 8px;
  --lpo-space-md: 16px;
  --lpo-space-lg: 24px;
  --lpo-space-xl: 32px;
  --lpo-space-2xl: 48px;
  --lpo-space-3xl: 64px;
  --lpo-space-4xl: 96px;

  /* — Typography — */
  --lpo-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lpo-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --lpo-text-xs: 0.75rem;
  --lpo-text-sm: 0.875rem;
  --lpo-text-base: 1rem;
  --lpo-text-lg: 1.125rem;
  --lpo-text-xl: 1.25rem;
  --lpo-text-2xl: 1.5rem;
  --lpo-text-3xl: 1.875rem;
  --lpo-text-4xl: 2.25rem;
  --lpo-text-5xl: 3rem;

  --lpo-leading-tight: 1.25;
  --lpo-leading-normal: 1.5;
  --lpo-leading-relaxed: 1.75;

  --lpo-font-normal: 400;
  --lpo-font-medium: 500;
  --lpo-font-semibold: 600;
  --lpo-font-bold: 700;

  /* — Layout — */
  --lpo-max-width: 1200px;
  --lpo-navbar-height: 114px;

  /* — Transitions — */
  --lpo-transition-fast: 150ms ease;
  --lpo-transition: 200ms ease;
  --lpo-transition-slow: 300ms ease;
}

/* ── Hide legacy FoodApp nav & footer when LPO platform is active ── */
#app > nav[role="navigation"] {
  display: none !important;
}

#app > .app-footer {
  display: none !important;
}


/* Hide old keyboard shortcuts overlay trigger */
#shortcuts-help {
  display: none !important;
}
