/* Design tokens -- medical grading platform */
:root {
    /* Colors -- muted medical palette */
    --color-primary: #2563a0;
    --color-primary-light: #3b82c4;
    --color-primary-dark: #1a4a7a;
    --color-primary-bg: #eef4fa;

    --color-bg: #f5f7fa;
    --color-surface: #ffffff;
    --color-surface-alt: #f0f2f5;
    --color-border: #d4d9e1;
    --color-border-light: #e8ecf0;

    --color-text: #1a2332;
    --color-text-secondary: #5a6577;
    --color-text-muted: #8895a7;

    --color-success: #16864e;
    --color-success-bg: #e8f5ee;
    --color-warning: #b8860b;
    --color-warning-bg: #fef8e7;
    --color-error: #c0392b;
    --color-error-bg: #fde8e6;
    --color-info: #2563a0;
    --color-info-bg: #eef4fa;

    /* Status pills */
    --status-open-bg: #e8ecf0;
    --status-open-text: #5a6577;
    --status-draft-bg: #fef8e7;
    --status-draft-text: #8b6914;
    --status-submitted-bg: #e8f5ee;
    --status-submitted-text: #16864e;

    /* Likert scale colors */
    --likert-1: #c0392b;
    --likert-2: #e07040;
    --likert-3: #d4a843;
    --likert-4: #5fa85f;
    --likert-5: #16864e;
    --likert-na: #8895a7;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.9375rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.375rem;
    --font-size-2xl: 1.75rem;
    --line-height: 1.6;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Borders & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);

    /* Layout */
    --max-width: 960px;
    --header-height: 56px;
}
