/* Preset 0 — présentation historique SMF. Valeurs complètes, sans import. */
:root {
    --site-header-height: 64px;
    /* Palette générale */
    --color-text-primary: #1f2937;
    --color-text-secondary: #4b5563;
    --color-text-muted: #6b7280;
    --color-text-subtle: #777777;
    --color-text-on-dark: #ffffff;
    --color-text-navigation: #d1d5db;
    --color-text-code: #e5e7eb;
    --color-text-console: #4ade80;
    --color-text-success: #166534;
    --color-text-error: #b91c1c;
    --color-action-primary: #2563eb;
    --color-action-current: #0033a2;
    --color-surface-page: #f8fafc;
    --color-surface-default: #ffffff;
    --color-surface-subtle: #f3f4f6;
    --color-surface-dark: #111827;
    --color-surface-console: #020617;
    --color-surface-error: #fef2f2;
    --color-surface-success: #b0f1a3;
    --color-border-default: #d1d5db;
    --color-border-subtle: #e5e7eb;
    --color-border-strong: #4b5563;
    --color-border-input: #9ca3af;
    --color-border-success: #166534;
    --color-border-error: #fecaca;
    /* États métier du workflow */
    --workflow-node-state-border-locked: #d1d5db;
    --workflow-node-state-surface-locked: #f5f5f5;
    --workflow-node-state-border-disabled: #9ca3af;
    --workflow-node-state-surface-disabled: #f3f4f6;
    --workflow-node-state-border-ready: #2563eb;
    --workflow-node-state-surface-ready: #eff6ff;
    --workflow-node-state-fieldset-ready: #e0efff;
    --workflow-node-state-border-active: #7c3aed;
    --workflow-node-state-surface-active: #f5f3ff;
    --workflow-node-state-border-awaiting-validation: #d97706;
    --workflow-node-state-surface-awaiting-validation: #fffbeb;
    --workflow-node-state-border-validated: #d1d5db;
    --workflow-node-state-surface-validated: #ffffff;
    --workflow-node-state-border-error: #b91c1c;
    --workflow-node-state-surface-error: #fef2f2;
    --workflow-node-state-border-cancelled: #4b5563;
    --workflow-node-state-surface-cancelled: #f3f4f6;
    /* Dimensions et typographie */
    --sidebar-width: 400px;
    --border-radius: 6px;
    --font-family-body: Arial, sans-serif;
    --font-family-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-size-body: 1rem;
    --line-height-body: normal;
    --font-size-workflow: .9rem;
    --font-size-worker: .75rem;
    --font-size-technical: .7rem;
    --font-size-status: .85rem;
    --font-size-resource: .85rem;
    --font-size-edition-status: .7rem;
    --font-size-news-meta: .7em;
    /* Disposition, densité et contrôles */
    --page-padding: 40px;
    --header-padding: 0 32px;
    --header-columns: 1fr auto 1fr;
    --navigation-gap: 24px;
    --header-title-size: 1.25rem;
    --panel-border-width: 1px;
    --workflow-border-width: 2px;
    --dashboard-card-padding: 20px;
    --dashboard-list-gap: 18px;
    --dashboard-list-margin: 24px;
    --workflow-node-padding: .5rem;
    --workflow-grid-gap: .5rem;
    --workflow-group-padding: .8rem;
    --form-display: grid;
    --form-gap: 16px;
    --form-control-padding: 10px 12px;
    --form-control-background: Field;
    --form-control-scheme: normal;
    --button-padding: 10px 16px;
    --button-background: ButtonFace;
    --button-text: ButtonText;
    --button-hover-filter: none;
    --focus-color: #e49b19;
    /* Surfaces, ombres et retours */
    --surface-header: var(--color-surface-dark);
    --surface-sidebar: var(--color-surface-default);
    --header-shadow: none;
    --panel-shadow: none;
    --workflow-shadow: 2px 2px 5px 0px #dcdcdc;
    --workflow-hover-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    --progress-current-shadow: 0 0 0 4px rgb(37 99 235 / 18%);
    --color-progress: #2364aa;
    --color-progress-subtle: #e8f1fb;
    --news-grouping-border: #527db5;
    --comfyui-table-border: #ccc;
    --color-export-success: #f0fdf4;
    --workflow-filter-border: #a8bac8;
    --workflow-filter-surface: #fff;
    --workflow-filter-text: #253c4d;
    --workflow-filter-active: #155d88;
    --workflow-filter-radius: .4rem;
    --error-page-padding: 40px;
    --three-candidate-border: #ccc;
    --three-official-border: #ccc;
    /* Paramètres du documentaire et du catalogue 3D */
    --docs-panel-radius: 16px;
    --docs-panel-shadow: 0 8px 30px rgba(29, 50, 75, .05);
    --docs-node-filter: drop-shadow(0 3px 5px rgba(34, 62, 88, .12));
    --docs-dag-background: radial-gradient(circle at 50% 45%, #f7fbff 0, #edf5fb 100%);
    --docs-code-background: #17283a;
    --docs-code-text: #eaf2f8;
    --docs-title-size: clamp(2rem, 3vw, 3rem);
    --three-panel-radius: 18px;
    --three-panel-shadow: 0 12px 36px rgba(30, 55, 80, .06);
    --three-viewer-background: radial-gradient(circle at 50% 42%, #fff 0%, #eff6fb 70%, #e2ecf5 100%);
    --three-status-shadow: 0 6px 20px rgba(28, 47, 64, .1);
    --three-choice-radius: 10px;
    --three-code-background: #17283a;
    --three-code-text: #d8f1ff;
    /* Palette du documentaire */
    --docs-text: #1e2c3e;
    --docs-description: #64748b;
    --docs-accent: #2869a4;
    --docs-tabs-border: #dce4ed;
    --docs-muted: #62748a;
    --docs-tab-active-text: #135e98;
    --docs-tab-active-border: #1787c1;
    --docs-tab-count: #869ab0;
    --docs-surface: #fff;
    --docs-border: #dce5ed;
    --docs-index-heading: #667991;
    --docs-index-text: #33475e;
    --docs-index-active-surface: #e8f4fb;
    --docs-index-active-text: #075f98;
    --docs-eyebrow: #1687ad;
    --docs-link: #0870a9;
    --docs-controls-text: #74869a;
    --docs-control-border: #cfdae6;
    --docs-control-text: #255a7f;
    --docs-edge: #9bb3c6;
    --docs-scope-formation-border: #b8d3e7;
    --docs-scope-matiere-border: #c8b9e8;
    --docs-scope-chapitre-border: #a5d6bc;
    --docs-scope-illustration-border: #e8c19f;
    --docs-scope-formation-text: #3684ae;
    --docs-scope-matiere-text: #8365a9;
    --docs-scope-chapitre-text: #398465;
    --docs-scope-illustration-text: #ad7845;
    --docs-node-text: #1e3045;
    --docs-node-id: #8090a1;
    --docs-legend: #60748a;
    --docs-note: #798a9d;
    --docs-error: #a43737;
    --docs-scope-cadrage: #635baf;
    /* Palette du catalogue 3D */
    --three-text: #1e2c3e;
    --three-link: #17638f;
    --three-eyebrow: #147a9c;
    --three-description: #587087;
    --three-surface: #fff;
    --three-border: #dce5ed;
    --three-list-heading: #6b7d8f;
    --three-choice-border: #d8e2ec;
    --three-choice-surface: #f8fafc;
    --three-choice-text: #20364b;
    --three-choice-hover-border: #6eb1cf;
    --three-choice-hover-surface: #eff8fb;
    --three-choice-active-border: #1384ae;
    --three-choice-active-surface: #e9f6fb;
    --three-choice-code: #7a8d9e;
    --three-detail-eyebrow: #1788aa;
    --three-detail-description: #63778a;
    --three-status-text: #7f3030;
    --three-controls-border: #e7edf2;
    --three-controls-text: #798b9e;
    --three-control-border: #c9d9e5;
    --three-control-text: #20648c;
    --three-code-label: #73879a;
    --three-note: #718598;
    --three-status-surface: rgba(255, 255, 255, .94);
    /* Contrastes des actions et contrôles natifs */
    --button-primary-background: var(--color-action-primary);
    --button-primary-text: var(--color-text-on-dark);
    --fieldset-border-width: 2px;
    --fieldset-border-color: #c0c0c0;
    --fieldset-radius: 0;
    --color-control-text: FieldText;
    --workflow-filter-inverse: #fff;
    --color-success-inverse: #fff;
    --button-danger-background: var(--color-text-error);
    --button-danger-text: var(--color-text-on-dark);
    --color-progress-contrast: var(--color-text-on-dark);
    --color-current-contrast: var(--color-text-on-dark);
    --control-border-width: 1px;
}
