/* Workspace palette. Shared and page-specific styles consume these semantic color tokens. */
html[data-ui-theme="dark"] {
    color-scheme: dark;

    /* Canvas, component surfaces, and separators */
    --ui-page-bg: #141a21;
    --ui-surface: #1d2630;
    --ui-surface-tinted: #21303d;
    --ui-surface-raised: #263340;
    --ui-surface-hover: #2d3d4d;
    --ui-border: #4c6174;
    --ui-divider-subtle: #394b5c;

    /* Foreground, accents, and keyboard focus */
    --ui-text: #e9eef4;
    --ui-text-muted: #b5c2d0;
    --ui-accent: #8ec5ed;
    --ui-focus: #a5d6ff;
    --ui-link: #a0d3fb;

    /* Status foregrounds and their matching surfaces */
    --ui-success: #9bd5aa;
    --ui-success-surface: #20382d;
    --ui-warning: #f0c38b;
    --ui-warning-surface: #3b3021;
    --ui-danger: #ffacaa;
    --ui-danger-surface: #43282d;

    /* Overlays and elevated components */
    --ui-shadow: 0 4px 16px rgb(0 0 0 / 46%);
    --ui-overlay: rgb(12 17 23 / 94%);

    /* Navigation */
    --ui-nav-bg: #111921;
    --ui-nav-text: #d2dce7;

    /* Primary actions */
    --ui-primary-bg: #246342;
    --ui-primary-hover: #2a7350;
    --ui-primary-text: #f0fff5;

    /* Keep the original dark logo artwork visible on a light surface. */
    --ui-brand-backdrop: #dce6ef;
}
