/*
 * Généré par RDP_Tool.Themes (ThemeCatalog) : ne pas modifier à la main.
 *
 * Thèmes du portail : ceux de la console (RDP_Tool.Themes), choisis dans « Mon compte ». Jetons en variables
 * --th-* ; app.css les reprend dans ses propres noms. <html data-theme="…" data-mode="system|light|dark">.
 */

/* ---------------------------------------------------------------- Classic */

html[data-theme="classic"] {
    color-scheme: light;
    --th-page: #F3F3F3;
    --th-surface: #FFFFFF;
    --th-surface-2: #F5F5F5;
    --th-surface-3: #EBEBEB;
    --th-field: #FFFFFF;
    --th-line: #E5E5E5;
    --th-line-strong: #CFCFCF;
    --th-text: #1B1B1B;
    --th-text-2: #3D3D3D;
    --th-muted-text: #616161;
    --th-primary: #005FB8;
    --th-primary-hover: #1975C5;
    --th-primary-pressed: #004C93;
    --th-primary-soft: #EBF3FC;
    --th-primary-disabled: #005FB88C;
    --th-on-primary: #FFFFFF;
    --th-selection: #EBF3FC;
    --th-danger: #C42B1C;
    --th-danger-soft: #FDE7E9;
    --th-danger-line: #C42B1C66;
    --th-side: #F3F3F3;
    --th-side-text: #1B1B1B;
    --th-side-muted: #616161;
    --th-side-hover: #EAEAEA;
    --th-side-active: #E3E3E3;
    --th-side-active-text: #1B1B1B;
    --th-side-accent: #005FB8;
    --th-side-line: #E0E0E0;
    --th-status-bar: #F3F3F3;
    --th-status-bar-text: #3B3B3B;
    --th-button: #FFFFFF;
    --th-button-hover: #F6F6F6;
    --th-button-pressed: #F0F0F0;
    --th-button-text: #1B1B1B;
    --th-button-border: #D1D1D1;
    --th-tool-tip: #F9F9F9;
    --th-tool-tip-text: #1B1B1B;
    --th-tool-tip-border: #D1D1D1;
    --th-top-rule: #E5E5E5;
    --th-font: "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 4px;
    --th-border-width: 1px;
    --th-logo-on-dark: none;
    --th-logo-on-light: inline-block;
    --th-side-logo-on-dark: none;
    --th-side-logo-on-light: inline-block;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="classic"]:not([data-mode="light"]) {
        color-scheme: dark;
        --th-page: #202020;
        --th-surface: #272727;
        --th-surface-2: #2D2D2D;
        --th-surface-3: #333333;
        --th-field: #2D2D2D;
        --th-line: #363636;
        --th-line-strong: #4A4A4A;
        --th-text: #F2F2F2;
        --th-text-2: #D0D0D0;
        --th-muted-text: #A8A8A8;
        --th-primary: #4CC2FF;
        --th-primary-hover: #47B1E8;
        --th-primary-pressed: #42A1D2;
        --th-primary-soft: #1F3341;
        --th-primary-disabled: #4CC2FF80;
        --th-on-primary: #000000;
        --th-selection: #2C3642;
        --th-danger: #FF99A4;
        --th-danger-soft: #442726;
        --th-danger-line: #FF99A466;
        --th-side: #202020;
        --th-side-text: #F2F2F2;
        --th-side-muted: #9E9E9E;
        --th-side-hover: #2A2A2A;
        --th-side-active: #2D2D2D;
        --th-side-active-text: #FFFFFF;
        --th-side-accent: #4CC2FF;
        --th-side-line: #2B2B2B;
        --th-status-bar: #202020;
        --th-status-bar-text: #C8C8C8;
        --th-button: #2D2D2D;
        --th-button-hover: #323232;
        --th-button-pressed: #282828;
        --th-button-text: #FFFFFF;
        --th-button-border: #3D3D3D;
        --th-tool-tip: #2B2B2B;
        --th-tool-tip-text: #F2F2F2;
        --th-tool-tip-border: #3D3D3D;
        --th-top-rule: #2B2B2B;
        --th-font: "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
        --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
        --th-radius: 4px;
        --th-border-width: 1px;
        --th-logo-on-dark: inline-block;
        --th-logo-on-light: none;
        --th-side-logo-on-dark: inline-block;
        --th-side-logo-on-light: none;
    }
}

html[data-theme="classic"][data-mode="dark"] {
    color-scheme: dark;
    --th-page: #202020;
    --th-surface: #272727;
    --th-surface-2: #2D2D2D;
    --th-surface-3: #333333;
    --th-field: #2D2D2D;
    --th-line: #363636;
    --th-line-strong: #4A4A4A;
    --th-text: #F2F2F2;
    --th-text-2: #D0D0D0;
    --th-muted-text: #A8A8A8;
    --th-primary: #4CC2FF;
    --th-primary-hover: #47B1E8;
    --th-primary-pressed: #42A1D2;
    --th-primary-soft: #1F3341;
    --th-primary-disabled: #4CC2FF80;
    --th-on-primary: #000000;
    --th-selection: #2C3642;
    --th-danger: #FF99A4;
    --th-danger-soft: #442726;
    --th-danger-line: #FF99A466;
    --th-side: #202020;
    --th-side-text: #F2F2F2;
    --th-side-muted: #9E9E9E;
    --th-side-hover: #2A2A2A;
    --th-side-active: #2D2D2D;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #4CC2FF;
    --th-side-line: #2B2B2B;
    --th-status-bar: #202020;
    --th-status-bar-text: #C8C8C8;
    --th-button: #2D2D2D;
    --th-button-hover: #323232;
    --th-button-pressed: #282828;
    --th-button-text: #FFFFFF;
    --th-button-border: #3D3D3D;
    --th-tool-tip: #2B2B2B;
    --th-tool-tip-text: #F2F2F2;
    --th-tool-tip-border: #3D3D3D;
    --th-top-rule: #2B2B2B;
    --th-font: "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 4px;
    --th-border-width: 1px;
    --th-logo-on-dark: inline-block;
    --th-logo-on-light: none;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}

/* ---------------------------------------------------------------- WynLink */

html:not([data-theme]), html[data-theme="wynlink"] {
    color-scheme: light;
    --th-page: #FFFFFF;
    --th-surface: #FFFFFF;
    --th-surface-2: #F4F6F9;
    --th-surface-3: #E9EDF3;
    --th-field: #FFFFFF;
    --th-line: #E6EAF0;
    --th-line-strong: #C9D1DD;
    --th-text: #0B1220;
    --th-text-2: #374151;
    --th-muted-text: #536072;
    --th-primary: #0066FF;
    --th-primary-hover: #0057DB;
    --th-primary-pressed: #0047B3;
    --th-primary-soft: #EEF4FF;
    --th-primary-disabled: #0066FF8C;
    --th-on-primary: #FFFFFF;
    --th-selection: #EEF4FF;
    --th-danger: #C42B1C;
    --th-danger-soft: #FDECEA;
    --th-danger-line: #C42B1C40;
    --th-side: #060B15;
    --th-side-text: #C3CCDA;
    --th-side-muted: #6F7B90;
    --th-side-hover: #0E1628;
    --th-side-active: #13203A;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #00D6F2;
    --th-side-line: #141E31;
    --th-status-bar: #F4F6F9;
    --th-status-bar-text: #354052;
    --th-button: #FFFFFF;
    --th-button-hover: #F4F6F9;
    --th-button-pressed: #E9EDF3;
    --th-button-text: #0B1220;
    --th-button-border: #C9D1DD;
    --th-tool-tip: #0B1220;
    --th-tool-tip-text: #E8EDF5;
    --th-tool-tip-border: #1B2A40;
    --th-top-rule: linear-gradient(90deg, #00D6F2 0%, #0066FF 55%, #7C3AED 100%);
    --th-font: Inter, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 5px;
    --th-border-width: 1px;
    --th-logo-on-dark: none;
    --th-logo-on-light: inline-block;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]), html[data-theme="wynlink"]:not([data-mode="light"]) {
        color-scheme: dark;
        --th-page: #0B1220;
        --th-surface: #0B1220;
        --th-surface-2: #111B2E;
        --th-surface-3: #17233A;
        --th-field: #0F1829;
        --th-line: #1A2539;
        --th-line-strong: #2A3852;
        --th-text: #E7ECF4;
        --th-text-2: #C3CCDA;
        --th-muted-text: #8D99AD;
        --th-primary: #3D8BFF;
        --th-primary-hover: #5A9EFF;
        --th-primary-pressed: #2F7AEB;
        --th-primary-soft: #12213D;
        --th-primary-disabled: #3D8BFF80;
        --th-on-primary: #0B1220;
        --th-selection: #12213D;
        --th-danger: #FF7B72;
        --th-danger-soft: #3B1414;
        --th-danger-line: #FF7B7240;
        --th-side: #060B15;
        --th-side-text: #C3CCDA;
        --th-side-muted: #6F7B90;
        --th-side-hover: #0E1628;
        --th-side-active: #13203A;
        --th-side-active-text: #FFFFFF;
        --th-side-accent: #00D6F2;
        --th-side-line: #141E31;
        --th-status-bar: #060B15;
        --th-status-bar-text: #A9B4C6;
        --th-button: #111B2E;
        --th-button-hover: #17233A;
        --th-button-pressed: #0E1628;
        --th-button-text: #E7ECF4;
        --th-button-border: #2A3852;
        --th-tool-tip: #1A2539;
        --th-tool-tip-text: #E7ECF4;
        --th-tool-tip-border: #2A3852;
        --th-top-rule: linear-gradient(90deg, #00D6F2 0%, #0066FF 55%, #7C3AED 100%);
        --th-font: Inter, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
        --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
        --th-radius: 5px;
        --th-border-width: 1px;
        --th-logo-on-dark: inline-block;
        --th-logo-on-light: none;
        --th-side-logo-on-dark: inline-block;
        --th-side-logo-on-light: none;
    }
}

html[data-theme="wynlink"][data-mode="dark"] {
    color-scheme: dark;
    --th-page: #0B1220;
    --th-surface: #0B1220;
    --th-surface-2: #111B2E;
    --th-surface-3: #17233A;
    --th-field: #0F1829;
    --th-line: #1A2539;
    --th-line-strong: #2A3852;
    --th-text: #E7ECF4;
    --th-text-2: #C3CCDA;
    --th-muted-text: #8D99AD;
    --th-primary: #3D8BFF;
    --th-primary-hover: #5A9EFF;
    --th-primary-pressed: #2F7AEB;
    --th-primary-soft: #12213D;
    --th-primary-disabled: #3D8BFF80;
    --th-on-primary: #0B1220;
    --th-selection: #12213D;
    --th-danger: #FF7B72;
    --th-danger-soft: #3B1414;
    --th-danger-line: #FF7B7240;
    --th-side: #060B15;
    --th-side-text: #C3CCDA;
    --th-side-muted: #6F7B90;
    --th-side-hover: #0E1628;
    --th-side-active: #13203A;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #00D6F2;
    --th-side-line: #141E31;
    --th-status-bar: #060B15;
    --th-status-bar-text: #A9B4C6;
    --th-button: #111B2E;
    --th-button-hover: #17233A;
    --th-button-pressed: #0E1628;
    --th-button-text: #E7ECF4;
    --th-button-border: #2A3852;
    --th-tool-tip: #1A2539;
    --th-tool-tip-text: #E7ECF4;
    --th-tool-tip-border: #2A3852;
    --th-top-rule: linear-gradient(90deg, #00D6F2 0%, #0066FF 55%, #7C3AED 100%);
    --th-font: Inter, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 5px;
    --th-border-width: 1px;
    --th-logo-on-dark: inline-block;
    --th-logo-on-light: none;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}

/* ---------------------------------------------------------------- Signal */

html[data-theme="signal"] {
    color-scheme: light;
    --th-page: #FFFFFF;
    --th-surface: #FFFFFF;
    --th-surface-2: #F4F4F4;
    --th-surface-3: #E8E8E8;
    --th-field: #FFFFFF;
    --th-line: #E2E2E2;
    --th-line-strong: #111111;
    --th-text: #111111;
    --th-text-2: #333333;
    --th-muted-text: #6B6B6B;
    --th-primary: #111111;
    --th-primary-hover: #333333;
    --th-primary-pressed: #000000;
    --th-primary-soft: #F2F2F2;
    --th-primary-disabled: #11111180;
    --th-on-primary: #FFFFFF;
    --th-selection: #F2F2F2;
    --th-danger: #E1251B;
    --th-danger-soft: #FDE9E8;
    --th-danger-line: #E1251B;
    --th-side: #FFFFFF;
    --th-side-text: #111111;
    --th-side-muted: #6B6B6B;
    --th-side-hover: #F2F2F2;
    --th-side-active: #111111;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #FFFFFF;
    --th-side-line: #111111;
    --th-status-bar: #FFFFFF;
    --th-status-bar-text: #111111;
    --th-button: #FFFFFF;
    --th-button-hover: #F2F2F2;
    --th-button-pressed: #E6E6E6;
    --th-button-text: #111111;
    --th-button-border: #111111;
    --th-tool-tip: #111111;
    --th-tool-tip-text: #FFFFFF;
    --th-tool-tip-border: #111111;
    --th-top-rule: #111111;
    --th-font: Archivo, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 0px;
    --th-border-width: 1px;
    --th-logo-on-dark: none;
    --th-logo-on-light: inline-block;
    --th-side-logo-on-dark: none;
    --th-side-logo-on-light: inline-block;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="signal"]:not([data-mode="light"]) {
        color-scheme: dark;
        --th-page: #0E0E0E;
        --th-surface: #0E0E0E;
        --th-surface-2: #1A1A1A;
        --th-surface-3: #242424;
        --th-field: #0E0E0E;
        --th-line: #272727;
        --th-line-strong: #F2F2F2;
        --th-text: #F2F2F2;
        --th-text-2: #D0D0D0;
        --th-muted-text: #8F8F8F;
        --th-primary: #F2F2F2;
        --th-primary-hover: #FFFFFF;
        --th-primary-pressed: #D9D9D9;
        --th-primary-soft: #1C1C1C;
        --th-primary-disabled: #F2F2F280;
        --th-on-primary: #0E0E0E;
        --th-selection: #1C1C1C;
        --th-danger: #FF4A3D;
        --th-danger-soft: #2E1210;
        --th-danger-line: #FF4A3D;
        --th-side: #0E0E0E;
        --th-side-text: #F2F2F2;
        --th-side-muted: #8F8F8F;
        --th-side-hover: #1C1C1C;
        --th-side-active: #F2F2F2;
        --th-side-active-text: #0E0E0E;
        --th-side-accent: #0E0E0E;
        --th-side-line: #F2F2F2;
        --th-status-bar: #0E0E0E;
        --th-status-bar-text: #F2F2F2;
        --th-button: #0E0E0E;
        --th-button-hover: #1C1C1C;
        --th-button-pressed: #262626;
        --th-button-text: #F2F2F2;
        --th-button-border: #F2F2F2;
        --th-tool-tip: #F2F2F2;
        --th-tool-tip-text: #0E0E0E;
        --th-tool-tip-border: #F2F2F2;
        --th-top-rule: #F2F2F2;
        --th-font: Archivo, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
        --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
        --th-radius: 0px;
        --th-border-width: 1px;
        --th-logo-on-dark: inline-block;
        --th-logo-on-light: none;
        --th-side-logo-on-dark: inline-block;
        --th-side-logo-on-light: none;
    }
}

html[data-theme="signal"][data-mode="dark"] {
    color-scheme: dark;
    --th-page: #0E0E0E;
    --th-surface: #0E0E0E;
    --th-surface-2: #1A1A1A;
    --th-surface-3: #242424;
    --th-field: #0E0E0E;
    --th-line: #272727;
    --th-line-strong: #F2F2F2;
    --th-text: #F2F2F2;
    --th-text-2: #D0D0D0;
    --th-muted-text: #8F8F8F;
    --th-primary: #F2F2F2;
    --th-primary-hover: #FFFFFF;
    --th-primary-pressed: #D9D9D9;
    --th-primary-soft: #1C1C1C;
    --th-primary-disabled: #F2F2F280;
    --th-on-primary: #0E0E0E;
    --th-selection: #1C1C1C;
    --th-danger: #FF4A3D;
    --th-danger-soft: #2E1210;
    --th-danger-line: #FF4A3D;
    --th-side: #0E0E0E;
    --th-side-text: #F2F2F2;
    --th-side-muted: #8F8F8F;
    --th-side-hover: #1C1C1C;
    --th-side-active: #F2F2F2;
    --th-side-active-text: #0E0E0E;
    --th-side-accent: #0E0E0E;
    --th-side-line: #F2F2F2;
    --th-status-bar: #0E0E0E;
    --th-status-bar-text: #F2F2F2;
    --th-button: #0E0E0E;
    --th-button-hover: #1C1C1C;
    --th-button-pressed: #262626;
    --th-button-text: #F2F2F2;
    --th-button-border: #F2F2F2;
    --th-tool-tip: #F2F2F2;
    --th-tool-tip-text: #0E0E0E;
    --th-tool-tip-border: #F2F2F2;
    --th-top-rule: #F2F2F2;
    --th-font: Archivo, "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 0px;
    --th-border-width: 1px;
    --th-logo-on-dark: inline-block;
    --th-logo-on-light: none;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}

/* ---------------------------------------------------------------- Workshop */

html[data-theme="workshop"] {
    color-scheme: light;
    --th-page: #E9E6E0;
    --th-surface: #F7F5F1;
    --th-surface-2: #EFECE6;
    --th-surface-3: #E4E0D8;
    --th-field: #FFFFFF;
    --th-line: #DCD7CE;
    --th-line-strong: #B5AEA2;
    --th-text: #23211E;
    --th-text-2: #45413B;
    --th-muted-text: #6B655B;
    --th-primary: #BF4A1A;
    --th-primary-hover: #A93F15;
    --th-primary-pressed: #933612;
    --th-primary-soft: #F6E5D8;
    --th-primary-disabled: #BF4A1A80;
    --th-on-primary: #FFFFFF;
    --th-selection: #F3E4D7;
    --th-danger: #B3261E;
    --th-danger-soft: #F8E1DE;
    --th-danger-line: #B3261E66;
    --th-side: #E4E1DA;
    --th-side-text: #2A2723;
    --th-side-muted: #5F594F;
    --th-side-hover: #DAD6CE;
    --th-side-active: #D2CDC2;
    --th-side-active-text: #1E1C19;
    --th-side-accent: #BF4A1A;
    --th-side-line: #CFC9BE;
    --th-status-bar: #D9D5CC;
    --th-status-bar-text: #3E3A34;
    --th-button: #F3F1EC;
    --th-button-hover: #FAF9F6;
    --th-button-pressed: #E4E0D8;
    --th-button-text: #23211E;
    --th-button-border: #B3AC9F;
    --th-tool-tip: #2A2723;
    --th-tool-tip-text: #F3EFE6;
    --th-tool-tip-border: #2A2723;
    --th-top-rule: #BDB6AA;
    --th-font: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 3px;
    --th-border-width: 1px;
    --th-logo-on-dark: none;
    --th-logo-on-light: inline-block;
    --th-side-logo-on-dark: none;
    --th-side-logo-on-light: inline-block;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="workshop"]:not([data-mode="light"]) {
        color-scheme: dark;
        --th-page: #211E1A;
        --th-surface: #26231F;
        --th-surface-2: #2C2924;
        --th-surface-3: #34302A;
        --th-field: #1C1A17;
        --th-line: #35312B;
        --th-line-strong: #4B453C;
        --th-text: #ECE6DA;
        --th-text-2: #D2CABC;
        --th-muted-text: #A29A8B;
        --th-primary: #EE7A3C;
        --th-primary-hover: #F38E57;
        --th-primary-pressed: #D96A2F;
        --th-primary-soft: #3A2B21;
        --th-primary-disabled: #EE7A3C80;
        --th-on-primary: #1A1714;
        --th-selection: #3A2B21;
        --th-danger: #FF8A7A;
        --th-danger-soft: #3A1D18;
        --th-danger-line: #FF8A7A66;
        --th-side: #1C1A17;
        --th-side-text: #DDD5C7;
        --th-side-muted: #8E8678;
        --th-side-hover: #26231F;
        --th-side-active: #2E2A24;
        --th-side-active-text: #FFFFFF;
        --th-side-accent: #EE7A3C;
        --th-side-line: #3A352E;
        --th-status-bar: #151310;
        --th-status-bar-text: #BDB4A5;
        --th-button: #322E28;
        --th-button-hover: #3A352E;
        --th-button-pressed: #2B2823;
        --th-button-text: #ECE6DA;
        --th-button-border: #4B453C;
        --th-tool-tip: #ECE6DA;
        --th-tool-tip-text: #1C1A17;
        --th-tool-tip-border: #ECE6DA;
        --th-top-rule: #3A352E;
        --th-font: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
        --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
        --th-radius: 3px;
        --th-border-width: 1px;
        --th-logo-on-dark: inline-block;
        --th-logo-on-light: none;
        --th-side-logo-on-dark: inline-block;
        --th-side-logo-on-light: none;
    }
}

html[data-theme="workshop"][data-mode="dark"] {
    color-scheme: dark;
    --th-page: #211E1A;
    --th-surface: #26231F;
    --th-surface-2: #2C2924;
    --th-surface-3: #34302A;
    --th-field: #1C1A17;
    --th-line: #35312B;
    --th-line-strong: #4B453C;
    --th-text: #ECE6DA;
    --th-text-2: #D2CABC;
    --th-muted-text: #A29A8B;
    --th-primary: #EE7A3C;
    --th-primary-hover: #F38E57;
    --th-primary-pressed: #D96A2F;
    --th-primary-soft: #3A2B21;
    --th-primary-disabled: #EE7A3C80;
    --th-on-primary: #1A1714;
    --th-selection: #3A2B21;
    --th-danger: #FF8A7A;
    --th-danger-soft: #3A1D18;
    --th-danger-line: #FF8A7A66;
    --th-side: #1C1A17;
    --th-side-text: #DDD5C7;
    --th-side-muted: #8E8678;
    --th-side-hover: #26231F;
    --th-side-active: #2E2A24;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #EE7A3C;
    --th-side-line: #3A352E;
    --th-status-bar: #151310;
    --th-status-bar-text: #BDB4A5;
    --th-button: #322E28;
    --th-button-hover: #3A352E;
    --th-button-pressed: #2B2823;
    --th-button-text: #ECE6DA;
    --th-button-border: #4B453C;
    --th-tool-tip: #ECE6DA;
    --th-tool-tip-text: #1C1A17;
    --th-tool-tip-border: #ECE6DA;
    --th-top-rule: #3A352E;
    --th-font: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 3px;
    --th-border-width: 1px;
    --th-logo-on-dark: inline-block;
    --th-logo-on-light: none;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}

/* ---------------------------------------------------------------- Contrast */

html[data-theme="contrast"] {
    color-scheme: light;
    --th-page: #FFFFFF;
    --th-surface: #FFFFFF;
    --th-surface-2: #F0F0F0;
    --th-surface-3: #E0E0E0;
    --th-field: #FFFFFF;
    --th-line: #000000;
    --th-line-strong: #000000;
    --th-text: #000000;
    --th-text-2: #000000;
    --th-muted-text: #2B2B2B;
    --th-primary: #1A1AA6;
    --th-primary-hover: #0000C8;
    --th-primary-pressed: #000080;
    --th-primary-soft: #E4E4FF;
    --th-primary-disabled: #6E6E6E;
    --th-on-primary: #FFFFFF;
    --th-selection: #E4E4FF;
    --th-danger: #A80000;
    --th-danger-soft: #FFE5E5;
    --th-danger-line: #A80000;
    --th-side: #FFFFFF;
    --th-side-text: #000000;
    --th-side-muted: #000000;
    --th-side-hover: #E0E0E0;
    --th-side-active: #000000;
    --th-side-active-text: #FFFFFF;
    --th-side-accent: #FFFFFF;
    --th-side-line: #000000;
    --th-status-bar: #FFFFFF;
    --th-status-bar-text: #000000;
    --th-button: #FFFFFF;
    --th-button-hover: #E4E4FF;
    --th-button-pressed: #C8C8F0;
    --th-button-text: #000000;
    --th-button-border: #000000;
    --th-tool-tip: #000000;
    --th-tool-tip-text: #FFFFFF;
    --th-tool-tip-border: #000000;
    --th-top-rule: #000000;
    --th-font: "Atkinson Hyperlegible", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 3px;
    --th-border-width: 2px;
    --th-logo-on-dark: none;
    --th-logo-on-light: inline-block;
    --th-side-logo-on-dark: none;
    --th-side-logo-on-light: inline-block;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="contrast"]:not([data-mode="light"]) {
        color-scheme: dark;
        --th-page: #000000;
        --th-surface: #000000;
        --th-surface-2: #1A1A1A;
        --th-surface-3: #2A2A2A;
        --th-field: #000000;
        --th-line: #FFFFFF;
        --th-line-strong: #FFFFFF;
        --th-text: #FFFFFF;
        --th-text-2: #FFFFFF;
        --th-muted-text: #E0E0E0;
        --th-primary: #FFE500;
        --th-primary-hover: #FFF04D;
        --th-primary-pressed: #E6CE00;
        --th-primary-soft: #333000;
        --th-primary-disabled: #8C8C8C;
        --th-on-primary: #000000;
        --th-selection: #2A2A2A;
        --th-danger: #FF7070;
        --th-danger-soft: #330000;
        --th-danger-line: #FF7070;
        --th-side: #000000;
        --th-side-text: #FFFFFF;
        --th-side-muted: #FFFFFF;
        --th-side-hover: #1A1A1A;
        --th-side-active: #FFE500;
        --th-side-active-text: #000000;
        --th-side-accent: #000000;
        --th-side-line: #FFFFFF;
        --th-status-bar: #000000;
        --th-status-bar-text: #FFFFFF;
        --th-button: #000000;
        --th-button-hover: #1A1A1A;
        --th-button-pressed: #333333;
        --th-button-text: #FFFFFF;
        --th-button-border: #FFFFFF;
        --th-tool-tip: #FFFFFF;
        --th-tool-tip-text: #000000;
        --th-tool-tip-border: #FFFFFF;
        --th-top-rule: #FFFFFF;
        --th-font: "Atkinson Hyperlegible", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
        --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
        --th-radius: 3px;
        --th-border-width: 2px;
        --th-logo-on-dark: inline-block;
        --th-logo-on-light: none;
        --th-side-logo-on-dark: inline-block;
        --th-side-logo-on-light: none;
    }
}

html[data-theme="contrast"][data-mode="dark"] {
    color-scheme: dark;
    --th-page: #000000;
    --th-surface: #000000;
    --th-surface-2: #1A1A1A;
    --th-surface-3: #2A2A2A;
    --th-field: #000000;
    --th-line: #FFFFFF;
    --th-line-strong: #FFFFFF;
    --th-text: #FFFFFF;
    --th-text-2: #FFFFFF;
    --th-muted-text: #E0E0E0;
    --th-primary: #FFE500;
    --th-primary-hover: #FFF04D;
    --th-primary-pressed: #E6CE00;
    --th-primary-soft: #333000;
    --th-primary-disabled: #8C8C8C;
    --th-on-primary: #000000;
    --th-selection: #2A2A2A;
    --th-danger: #FF7070;
    --th-danger-soft: #330000;
    --th-danger-line: #FF7070;
    --th-side: #000000;
    --th-side-text: #FFFFFF;
    --th-side-muted: #FFFFFF;
    --th-side-hover: #1A1A1A;
    --th-side-active: #FFE500;
    --th-side-active-text: #000000;
    --th-side-accent: #000000;
    --th-side-line: #FFFFFF;
    --th-status-bar: #000000;
    --th-status-bar-text: #FFFFFF;
    --th-button: #000000;
    --th-button-hover: #1A1A1A;
    --th-button-pressed: #333333;
    --th-button-text: #FFFFFF;
    --th-button-border: #FFFFFF;
    --th-tool-tip: #FFFFFF;
    --th-tool-tip-text: #000000;
    --th-tool-tip-border: #FFFFFF;
    --th-top-rule: #FFFFFF;
    --th-font: "Atkinson Hyperlegible", "Segoe UI Variable Text", "Segoe UI", "SF Pro Text", Cantarell, Ubuntu, "Noto Sans", "DejaVu Sans", sans-serif;
    --th-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, "Ubuntu Mono", "DejaVu Sans Mono", monospace;
    --th-radius: 3px;
    --th-border-width: 2px;
    --th-logo-on-dark: inline-block;
    --th-logo-on-light: none;
    --th-side-logo-on-dark: inline-block;
    --th-side-logo-on-light: none;
}
