/* MPM AI Platform — Design Tokens
   Single source of truth for all colors, spacing, typography, shadows.
   Included on every page. */

:root {
    /* Brand Colors */
    --primary: #EA5C11;
    --primary-dark: #d35210;
    --primary-light: rgba(234, 92, 17, 0.08);
    --primary-lighter: rgba(234, 92, 17, 0.04);

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #15779b;

    /* Text */
    --text-primary: #36424e;
    --text-secondary: #757575;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;

    /* Backgrounds */
    --bg-page: #f7f3eb;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-input: #ffffff;
    --bg-hover: rgba(234, 92, 17, 0.06);
    --bg-active: rgba(234, 92, 17, 0.1);

    /* Borders */
    --border: #e5e7eb;
    --border-light: #f0ece4;
    --border-focus: #EA5C11;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 12px rgba(234, 92, 17, 0.25);

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

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

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed: 0px;
    --header-height: 0px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    --text-xs: 0.7rem;
    --text-sm: 0.8rem;
    --text-base: 0.9rem;
    --text-lg: 1rem;
    --text-xl: 1.15rem;
    --text-2xl: 1.35rem;
    --text-3xl: 1.6rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Z-index layers */
    --z-sidebar: 40;
    --z-overlay: 50;
    --z-modal: 60;
    --z-toast: 70;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
