/* ============================================
   Nebula/Attena design tokens
   Generated from /DESIGN.md — do not hand-edit values here;
   edit DESIGN.md and regenerate this file instead.
   ============================================ */

:root {
  /* Color — neutral ramp */
  --neutral-50: #FFFFFF;
  --neutral-100: #F0F0FF;
  --neutral-200: #E8E4E0;
  --neutral-300: #D1D1D1;
  --neutral-700: #8A8A8A;
  --neutral-800: #4A4A4A;
  --neutral-900: #1A1A1A;

  /* Color — brand */
  --color-brand-burgundy: #262262;
  --color-brand-pink: #8B8BF7;
  --color-brand-peach: #B1B3FD;
  --color-brand-magenta: #6161F5;
  --brand-blue-from: #3B98E8;
  --brand-blue-to: #1668B8;

  /* Color — action */
  --action-primary: #928def;
  --action-primary-hover: #7C78CB;

  /* Color — surface */
  --surface-primary: #FFFFFF;
  --surface-secondary: #FFFFFF;
  --surface-tertiary: var(--neutral-100);
  --surface-inverse: #1A1A1A;

  /* Color — sidebar */
  --sidebar-bg: #FFFFFF;
  --hover-subtle: rgba(38, 34, 98, 0.06);
  --sidebar-bg-hover: var(--hover-subtle);
  --sidebar-bg-active: transparent;
  --sidebar-text: var(--neutral-800);
  --sidebar-text-active: var(--neutral-900);
  --sidebar-divider: rgba(0,0,0,0.06);
  --sidebar-active-border: var(--color-brand-burgundy);

  /* Color — text */
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #8A8A8A;
  --text-on-accent: #FFFFFF;

  /* Color — accent */
  --accent: #262262;
  --accent-hover: #6161f5;
  --accent-subtle: #F2F2FF;
  --accent-subtle-hover: #E7E7FF;

  /* Color — status */
  --success: #34A853;
  --success-subtle: #E8F5EB;
  --warning: #E8A23E;
  --warning-subtle: #FDF3E0;
  --error: #D42B6B;
  --error-subtle: #FCECF0;
  --info: #262262;
  --info-subtle: #F2F2FF;
  --status-fire: #FF6B35;

  /* Color — unread / attention */
  --unread-badge: var(--color-brand-pink);
  --unread-dot: var(--color-brand-pink);
  --attention-bg: rgba(139, 139, 247, 0.06);

  /* Color — tags */
  --tag-needs-reply: #F0E6E9;
  --tag-deadline: #F5EDE0;
  --tag-label: #E8E4F0;

  /* Color — CTA */
  --cta-dark: #262262;
  --cta-dark-hover: #6161f5;
  --cta-dark-active: #1E1B4E;
  --reply-btn-bg: #F2F2FF;
  --reply-btn-text: #262262;

  /* Color — borders */
  --border-light: var(--neutral-200);
  --border-default: var(--neutral-300);
  --border-focus: #8b8bf7;
  --divider: var(--neutral-100);

  /* Color — misc */
  --scrim: 240 240 255;
  --font-display-color: #262262;
  --pane-bg: var(--neutral-50);

  /* Color — settings modal (Paper-only, unconfirmed in app CSS) */
  --settings-hover: #F0F0FF;
  --settings-cta-hover: #8B8BF0;

  /* Color — daily brief (scoped) */
  --db-bg: #FFFFFF;
  --db-surface: #FFFFFF;
  --db-ink-1: #1C201E;
  --db-ink-2: #50554F;
  --db-ink-3: #6E706B;
  --db-line-strong: #C6C9C0;
  --db-line: #E1E2DD;
  --db-line-soft: #EAEBE6;
  --db-accent: #0F6E63;
  --db-accent-soft: #E5F0ED;
  --db-warn-bg: #F3EFE3;
  --db-warn-dot: #B8860B;
  --db-shadow: 0 1px 2px rgba(20,25,18,0.05), 0 10px 30px -16px rgba(20,25,18,0.18);

  /* Gradient */
  --gradient-nebula: linear-gradient(135deg, #E8B4D4 0%, #D4A0C0 25%, #E8A87C 50%, #F0C878 75%, #F5DEB3 100%);

  /* Typography — font family */
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-display: 'Quicksand', system-ui, sans-serif;
  --db-font-body: 'Inter', system-ui, sans-serif;
  --db-font-num: 'Inter', system-ui, sans-serif;

  /* Typography — font weight (Paper-only) */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --db-radius: 12px;

  /* Opacity (Paper-only) */
  --opacity-hover: 6%;
  --opacity-chip-resting: 72%;
  --opacity-card-resting: 78%;
  --opacity-chip-hover: 95%;

  /* Layout */
  --sidebar-w-collapsed: 52px;
  --sidebar-w-expanded: 196px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-focus: 0 0 0 3px rgba(139,139,247,0.2);

  /* Transition */
  --transition-fast: 120ms ease;
  --transition-default: 150ms ease;
  --transition-slow: 280ms ease;

  /* Typography — scale (Paper-only, size values) */
  --text-small: 11px;
  --text-caption: 12px;
  --text-label: 13px;
  --text-body: 14px;
  --text-h2: 17px;
  --text-h1: 21px;
  --text-display: 44px;
  --text-hero: 60px;
}
