/* ============================================================
   963 Labs Portal — Shared Theme
   Design tokens used across all portal pages.

   Two aesthetics live in this system:
     - Light (portal shell + Talyn):     Apple/corporate
     - Dark  (Daisy + internal tools):   Operational, matches Daisy Desktop

   This file defines both palettes as CSS variables so pages can
   opt in to either. Page-specific stylesheets do the layout.
   ============================================================ */

:root {
  /* ---------- Fonts ---------- */
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
          'Segoe UI', Inter, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ---------- Light palette (portal shell) ---------- */
  --light-white: #ffffff;
  --light-grey-bg: #f5f5f7;
  --light-text-primary: #1d1d1f;
  --light-text-secondary: #6e6e73;
  --light-accent-blue: #0071e3;
  --light-accent-blue-hover: #0077ed;
  --light-green: #34c759;
  --light-amber: #ff9f0a;
  --light-blue: #007aff;
  --light-grey-badge: #8e8e93;
  --light-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --light-card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* ---------- Dark palette (Daisy + operational) ---------- */
  --dark-bg: #191919;
  --dark-bg-elev: #1d1d1b;
  --dark-panel: #262624;
  --dark-panel-fill: rgba(0, 0, 0, 0.32);
  --dark-edge: rgba(255, 255, 255, 0.10);
  --dark-edge-soft: rgba(255, 255, 255, 0.06);
  --dark-ink: #ffffff;
  --dark-muted: rgba(255, 255, 255, 0.65);
  --dark-dim: rgba(255, 255, 255, 0.40);
  --dark-faint: rgba(255, 255, 255, 0.18);
  --dark-accent: #E8532E;
  --dark-accent-soft: rgba(232, 83, 46, 0.14);
  --dark-accent-glow: rgba(232, 83, 46, 0.45);
  --dark-amber: #EF9F27;
  --dark-ok: #5DCAA5;
  --dark-err: #E24B4A;

  /* ---------- Layout ---------- */
  --nav-height: 52px;
}

/* ---------- Global reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Utility ---------- */
.hidden {
  display: none !important;
}
