:root[data-theme="carbon-dark"] {
    color-scheme: dark;
    --palette-primary-50: #e8fff1;
    --palette-primary-100: #c8f9d8;
    --palette-primary-200: #9af0b5;
    --palette-primary-300: #64dd17;
    --palette-primary-400: #00e676;
    --palette-primary-500: #00c853;
    --palette-primary-600: #00a344;
    --palette-primary-700: #007f35;
    --palette-primary-800: #005f27;
    --palette-primary-900: #003f1a;
    --theme-background: #121212;
    --theme-primary: #00c853;
    --theme-primary-hover: #00e676;
    --theme-primary-active: #00a344;
    --theme-primary-strong: #64dd17;
    --theme-primary-soft: rgba(0, 200, 83, 0.14);
    --theme-primary-soft-strong: rgba(100, 221, 23, 0.22);
    --theme-secondary: #64dd17;
    --theme-secondary-hover: #76ff03;
    --theme-secondary-active: #4caf00;
    --theme-secondary-soft: rgba(100, 221, 23, 0.12);
    --theme-secondary-soft-strong: rgba(100, 221, 23, 0.22);
    --theme-accent: #64dd17;
    --theme-accent-hover: #76ff03;
    --theme-accent-active: #4caf00;
    --theme-accent-soft: rgba(100, 221, 23, 0.12);
    --theme-accent-soft-strong: rgba(100, 221, 23, 0.22);
    --theme-text-primary: #ffffff;
    --theme-text-secondary: #e4e9e4;
    --theme-text-tertiary: #c7d1c7;
    --theme-text-strong: #ffffff;
    --theme-text-muted: #a7b5a7;
    --theme-text-muted-strong: #c7d1c7;
    --theme-text-subtle: #6f7c6f;
    --theme-surface-primary: #1e1e1e;
    --theme-surface-secondary: #121212;
    --theme-surface-raised: #242824;
    --theme-surface-tint: rgba(0, 200, 83, 0.12);
    --theme-surface-hover: #263027;
    --theme-surface-muted: #171717;
    --theme-surface-subtle: #101010;
    --theme-border-primary: rgba(228, 233, 228, 0.16);
    --theme-border-light: rgba(228, 233, 228, 0.1);
    --theme-border-muted: rgba(228, 233, 228, 0.22);
    --theme-border-strong: rgba(100, 221, 23, 0.48);
    --theme-success: #00c853;
    --theme-success-accent: #64dd17;
    --theme-success-soft: rgba(0, 200, 83, 0.14);
    --theme-warning: #ffca28;
    --theme-warning-accent: #ffd95a;
    --theme-warning-soft: rgba(255, 202, 40, 0.14);
    --theme-danger: #ff6b6b;
    --theme-danger-accent: #ff8787;
    --theme-danger-soft: rgba(255, 107, 107, 0.14);
    --theme-info: #42a5f5;
    --theme-info-hover: #64b5f6;
    --theme-info-active: #1e88e5;
    --theme-info-soft: rgba(66, 165, 245, 0.14);
    --theme-info-soft-strong: rgba(66, 165, 245, 0.24);
    --theme-info-ring: rgba(66, 165, 245, 0.38);
    --theme-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.46);
    --theme-shadow-sm: 0 18px 44px rgba(0, 0, 0, 0.42);
    --theme-shadow-md: 0 0 0 1px rgba(100, 221, 23, 0.12), 0 24px 62px rgba(0, 200, 83, 0.18);
    --theme-card-radius: 12px;
    --theme-card-bg: #1e1e1e;
    --theme-card-header-bg: #171717;
    --theme-card-border: rgba(228, 233, 228, 0.16);
    --theme-card-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
    --theme-card-hover-shadow: 0 0 0 1px rgba(100, 221, 23, 0.16), 0 24px 62px rgba(0, 200, 83, 0.18);
    --theme-button-radius: 10px;
    --theme-button-transform: translateY(-1px);
    --theme-button-primary-bg: #00c853;
    --theme-button-primary-hover-bg: #00e676;
    --theme-button-primary-border: #00c853;
    --theme-button-primary-border-hover: #64dd17;
    --theme-button-primary-shadow: 0 0 0 1px rgba(100, 221, 23, 0.18), 0 14px 28px rgba(0, 200, 83, 0.28);
    --theme-button-primary-text: #07120a;
    --theme-button-base-bg: #1e1e1e;
    --theme-button-base-hover-bg: #263027;
    --theme-input-radius: 10px;
    --theme-input-bg: #171717;
    --theme-input-border: rgba(228, 233, 228, 0.22);
    --theme-input-focus-border: #64dd17;
    --theme-focus-ring-color: rgba(100, 221, 23, 0.22);
    --theme-table-radius: 10px;
    --theme-table-header-bg: #171717;
    --theme-table-row-hover-bg: rgba(0, 200, 83, 0.08);
    --theme-table-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --theme-nav-bg: #0b0f0c;
    --theme-nav-bg-raised: #121712;
    --theme-nav-surface: rgba(30, 30, 30, 0.72);
    --theme-nav-surface-strong: rgba(0, 200, 83, 0.16);
    --theme-nav-border: rgba(228, 233, 228, 0.12);
    --theme-nav-border-strong: rgba(100, 221, 23, 0.38);
    --theme-nav-text: #ffffff;
    --theme-nav-text-muted: #c7d1c7;
    --theme-nav-text-subtle: #a7b5a7;
    --theme-nav-stage: #64dd17;
    --theme-nav-stage-soft: rgba(100, 221, 23, 0.14);
    --theme-nav-active-bar: #00c853;
    --theme-sidebar-shadow: 8px 0 28px rgba(0, 0, 0, 0.34);
    --theme-sidebar-block-radius: 12px;
    --theme-nav-item-radius: 10px;
    --theme-nav-hover-transform: translateX(2px);
    --theme-nav-block-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --theme-gradient-hero: linear-gradient(135deg, #0b0f0c 0%, #121212 58%, #003f1a 100%);
    --theme-gradient-hero-surface: #121212;
    --theme-chart-1: #00c853;
    --theme-chart-2: #64dd17;
    --theme-chart-3: #42a5f5;
    --theme-chart-4: #c8a165;
    --theme-chart-5: #90caf9;
    --theme-chart-6: #ffffff;
    --theme-chart-text: #e4e9e4;
    --theme-chart-grid: rgba(228, 233, 228, 0.12);
}

html[data-theme="carbon-dark"] .trace-page-frame {
    background: #121212;
}

html[data-theme="carbon-dark"] .promo-pane {
    background: #121712;
}

html[data-theme="carbon-dark"] .vvb-kpi {
    background: #1e1e1e;
    border-color: rgba(100, 221, 23, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
    color: #fff;
}

html[data-theme="carbon-dark"] .vvb-kpi-label,
html[data-theme="carbon-dark"] .vvb-kpi-units,
html[data-theme="carbon-dark"] .vvb-kpi-subtitle {
    color: #c7d1c7;
}

html[data-theme="carbon-dark"] .vvb-kpi-value,
html[data-theme="carbon-dark"] .vvb-kpi-value.is-success,
html[data-theme="carbon-dark"] .vvb-kpi-value.is-warning,
html[data-theme="carbon-dark"] .vvb-kpi-value.is-danger {
    color: #fff;
    text-shadow: 0 0 18px rgba(100, 221, 23, 0.2);
}

