/*
 * UI.CONSISTENCY.7 authoritative selectable-theme contract.
 *
 * Every profile owns the same core palette. The shared contract derives the
 * complete constitutional role system from that palette. The --app-* aliases
 * are a one-way compatibility bridge for modules awaiting later remediation;
 * canonical --ui-* tokens never depend on them.
 */

.App.theme-dark[class*="theme-profile-"] {
  /* Constitutional neutral surface roles. */
  --theme-surface-canvas: var(--theme-page-background, var(--theme-canvas));
  --theme-surface-navigation: var(--theme-navigation-surface, var(--theme-module-surface));
  --theme-surface-module-shell: var(--theme-module-shell-surface, var(--theme-module-surface));
  --theme-surface-module-body: var(--theme-module-body-surface, var(--theme-module-surface));
  --theme-surface-panel: var(--theme-panel-default-surface, var(--theme-panel-surface));
  --theme-surface-panel-strong: var(--theme-panel-strong-surface, var(--theme-panel-surface));
  --theme-surface-panel-soft: var(--theme-panel-soft-surface, var(--theme-panel-surface));
  --theme-surface-panel-subtle: var(--theme-panel-subtle-surface, var(--theme-panel-surface));
  --theme-surface-panel-muted: var(--theme-panel-muted-surface, var(--theme-panel-surface));
  --theme-surface-panel-spotlight: var(--theme-panel-spotlight-surface, var(--theme-panel-surface));
  --theme-surface-panel-spotlight-soft: var(--theme-panel-spotlight-soft-surface, var(--theme-panel-surface));
  --theme-surface-card: var(--theme-card-default-surface, var(--theme-card-surface));
  --theme-surface-card-accent: var(--theme-card-accent-surface, var(--theme-card-surface));
  --theme-surface-card-info: var(--theme-card-info-surface, var(--theme-card-surface));
  --theme-surface-card-success: var(--theme-card-success-surface, var(--theme-card-surface));
  --theme-surface-card-warning: var(--theme-card-warning-surface, var(--theme-card-surface));
  --theme-surface-card-violet: var(--theme-card-violet-surface, var(--theme-card-surface));
  --theme-surface-control: var(--theme-control-surface);
  --theme-surface-table-header: var(--theme-table-header-surface);
  --theme-surface-table-cell: var(--theme-card-surface);
  --theme-surface-overlay: var(--theme-canvas);
  --theme-surface-popover: var(--theme-card-surface);
  --theme-surface-tooltip: var(--theme-card-surface);

  /* Complete neutral-role presentation ownership. */
  --theme-role-canvas-surface: var(--theme-surface-canvas);
  --theme-role-canvas-text: var(--theme-text-primary);
  --theme-role-canvas-border: var(--theme-border-default);
  --theme-role-canvas-shadow: none;
  --theme-role-navigation-surface: var(--theme-surface-navigation);
  --theme-role-navigation-text: var(--theme-text-primary);
  --theme-role-navigation-border: var(--theme-border-strong);
  --theme-role-navigation-shadow: var(--theme-shadow-soft);
  --theme-role-module-shell-surface: var(--theme-surface-module-shell);
  --theme-role-module-shell-text: var(--theme-text-primary);
  --theme-role-module-shell-border: var(--theme-border-strong);
  --theme-role-module-shell-shadow: var(--theme-shadow-soft);
  --theme-role-module-body-surface: var(--theme-surface-module-body);
  --theme-role-module-body-text: var(--theme-text-primary);
  --theme-role-module-body-border: var(--theme-border-default);
  --theme-role-module-body-shadow: none;
  --theme-role-panel-surface: var(--theme-surface-panel);
  --theme-role-panel-text: var(--theme-text-primary);
  --theme-role-panel-border: var(--theme-border-default);
  --theme-role-panel-shadow: var(--theme-shadow-soft);
  --theme-role-card-surface: var(--theme-surface-card);
  --theme-role-card-text: var(--theme-text-primary);
  --theme-role-card-border: var(--theme-border-default);
  --theme-role-card-shadow: none;
  --theme-role-control-surface: var(--theme-surface-control);
  --theme-role-control-text: var(--theme-text-primary);
  --theme-role-control-border: var(--theme-border-default);
  --theme-role-control-shadow: none;
  --theme-role-table-header-surface: var(--theme-surface-table-header);
  --theme-role-table-header-text: var(--theme-table-header-text);
  --theme-role-table-header-border: var(--theme-border-default);
  --theme-role-table-header-shadow: none;
  --theme-role-table-cell-surface: var(--theme-surface-table-cell);
  --theme-role-table-cell-text: var(--theme-text-primary);
  --theme-role-table-cell-border: var(--theme-border-default);
  --theme-role-table-cell-shadow: none;
  --theme-role-overlay-surface: var(--theme-surface-overlay);
  --theme-role-overlay-text: var(--theme-text-primary);
  --theme-role-overlay-border: var(--theme-border-strong);
  --theme-role-overlay-shadow: var(--theme-shadow-raised);
  --theme-role-popover-surface: var(--theme-surface-popover);
  --theme-role-popover-text: var(--theme-text-primary);
  --theme-role-popover-border: var(--theme-border-strong);
  --theme-role-popover-shadow: var(--theme-shadow-raised);
  --theme-role-tooltip-surface: var(--theme-surface-tooltip);
  --theme-role-tooltip-text: var(--theme-text-primary);
  --theme-role-tooltip-border: var(--theme-border-strong);
  --theme-role-tooltip-shadow: var(--theme-shadow-raised);

  /* Theme-owned navigation and module-frame presentation. */
  --theme-navigation-title-surface: var(--theme-surface-navigation);
  --theme-navigation-title-border: var(--theme-border-default);
  --theme-navigation-tile-surface: var(--theme-control-surface);
  --theme-navigation-tile-hover-surface: var(--theme-action-hover);
  --theme-navigation-tile-active-surface: var(--theme-focus);
  --theme-navigation-tile-border: var(--theme-border-default);
  --theme-navigation-tile-hover-border: var(--theme-border-strong);
  --theme-navigation-tile-open-border: var(--theme-border-strong);
  --theme-navigation-tile-active-border: var(--theme-focus);
  --theme-navigation-glyph-surface: var(--theme-control-surface);
  --theme-navigation-glyph-border: var(--theme-border-default);
  --theme-navigation-glyph-text: var(--theme-text-primary);
  --theme-navigation-tile-text-shadow: none;
  --theme-navigation-command-surface: var(--theme-surface-navigation);
  --theme-navigation-command-border: var(--theme-border-strong);
  --theme-navigation-scope-surface: var(--theme-control-surface);
  --theme-navigation-scope-border: var(--theme-border-strong);
  --theme-module-header-surface: var(--theme-surface-navigation);
  --theme-module-divider-surface: var(--theme-border-strong);
  --theme-workspace-panel-surface: var(--theme-surface-panel);
  --theme-workspace-panel-border: var(--theme-border-default);
  --theme-metric-card-surface: var(--theme-surface-card);
  --theme-metric-card-border: var(--theme-border-default);

  /* Theme-owned category palettes. Meanings remain stable between profiles. */
  --theme-workflow-node-surface: var(--theme-control-surface);
  --theme-workflow-node-text: var(--theme-text-primary);
  --theme-workflow-node-secondary-text: var(--theme-text-secondary);
  --theme-workflow-connector: var(--theme-border-strong);
  --theme-workflow-arrow: var(--theme-text-secondary);
  --theme-workflow-blue-border: var(--theme-semantic-info-border);
  --theme-workflow-blue-fill: var(--theme-semantic-info-surface);
  --theme-workflow-blue-text: var(--theme-semantic-info-text);
  --theme-workflow-red-border: var(--theme-semantic-error-border);
  --theme-workflow-red-fill: var(--theme-semantic-error-surface);
  --theme-workflow-red-text: var(--theme-semantic-error-text);
  --theme-workflow-violet-border: var(--theme-semantic-drift-border);
  --theme-workflow-violet-fill: var(--theme-semantic-drift-surface);
  --theme-workflow-violet-text: var(--theme-semantic-drift-text);
  --theme-workflow-amber-border: var(--theme-semantic-warning-border);
  --theme-workflow-amber-fill: var(--theme-semantic-warning-surface);
  --theme-workflow-amber-text: var(--theme-semantic-warning-text);
  --theme-workflow-green-border: var(--theme-semantic-success-border);
  --theme-workflow-green-fill: var(--theme-semantic-success-surface);
  --theme-workflow-green-text: var(--theme-semantic-success-text);
  --theme-series-blue: var(--theme-semantic-info-border);
  --theme-series-purple: var(--theme-semantic-drift-border);
  --theme-series-teal: var(--theme-semantic-stable-border);
  --theme-series-green: var(--theme-semantic-success-border);
  --theme-series-red: var(--theme-semantic-error-border);
  --theme-series-edge: var(--theme-border-strong);
  --theme-series-label: var(--theme-text-primary);

  /* Structure projections are semantic information objects, not neutral cards. */
  --theme-structure-card-ink: #102033;
  --theme-structure-card-muted: #334862;
  --theme-structure-card-soft-surface: rgba(255, 255, 255, 0.58);
  --theme-structure-card-soft-border: rgba(59, 81, 118, 0.18);
  --theme-structure-card-chip-surface: rgba(16, 32, 51, 0.10);
  --theme-structure-card-chip-border: rgba(16, 32, 51, 0.12);
  --theme-structure-card-shadow: 0 18px 42px rgba(0, 8, 31, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  --theme-structure-tone-slate-surface: linear-gradient(180deg, #d8e6f7 0%, #bcd1ed 100%);
  --theme-structure-tone-slate-border: rgba(73, 103, 151, 0.36);
  --theme-structure-tone-butter-surface: linear-gradient(180deg, #fff3bd 0%, #eadf9b 100%);
  --theme-structure-tone-butter-border: rgba(151, 133, 35, 0.32);
  --theme-structure-tone-mint-surface: linear-gradient(180deg, #dff4ec 0%, #bfe6d5 100%);
  --theme-structure-tone-mint-border: rgba(77, 144, 116, 0.34);
  --theme-structure-tone-sky-surface: linear-gradient(180deg, #ddf2ff 0%, #bdddf8 100%);
  --theme-structure-tone-sky-border: rgba(70, 121, 172, 0.34);
  --theme-structure-tone-rose-surface: linear-gradient(180deg, #fae1e8 0%, #efbccb 100%);
  --theme-structure-tone-rose-border: rgba(171, 84, 113, 0.32);
  --theme-structure-tone-lilac-surface: linear-gradient(180deg, #e9e4ff 0%, #d3c9fb 100%);
  --theme-structure-tone-lilac-border: rgba(117, 93, 185, 0.32);
  --theme-structure-tone-peach-surface: linear-gradient(180deg, #fbe7da 0%, #efc9ae 100%);
  --theme-structure-tone-peach-border: rgba(165, 104, 60, 0.30);
  --theme-structure-tone-sand-surface: linear-gradient(180deg, #f3ead7 0%, #dbcaa9 100%);
  --theme-structure-tone-sand-border: rgba(129, 105, 64, 0.30);

  /* Progress and assessment states retain meaning independently of neutral cards. */
  --theme-progress-track-surface: rgba(148, 163, 184, 0.14);
  --theme-progress-fill-surface: linear-gradient(90deg, var(--theme-focus), var(--theme-semantic-info-border));
  --theme-assessment-consistent-surface: var(--theme-semantic-success-surface);
  --theme-assessment-consistent-text: var(--theme-semantic-success-text);
  --theme-assessment-consistent-border: var(--theme-semantic-success-border);
  --theme-assessment-contextual-surface: var(--theme-semantic-warning-surface);
  --theme-assessment-contextual-text: var(--theme-semantic-warning-text);
  --theme-assessment-contextual-border: var(--theme-semantic-warning-border);
  --theme-assessment-drift-surface: var(--theme-semantic-drift-surface);
  --theme-assessment-drift-text: var(--theme-semantic-drift-text);
  --theme-assessment-drift-border: var(--theme-semantic-drift-border);
  --theme-assessment-contradiction-surface: var(--theme-semantic-contradiction-surface);
  --theme-assessment-contradiction-text: var(--theme-semantic-contradiction-text);
  --theme-assessment-contradiction-border: var(--theme-semantic-contradiction-border);

  /* Constitutional state roles. */
  --theme-state-action-surface: var(--theme-action);
  --theme-state-action-hover-surface: var(--theme-action-hover);
  --theme-state-selected-surface: var(--theme-focus);
  --theme-state-selected-start: var(--theme-focus);
  --theme-state-selected-end: var(--theme-focus);
  --theme-state-selected-text: var(--theme-text-inverse);
  --theme-state-selected-border: var(--theme-focus);
  --theme-state-focus-ring: var(--theme-focus);
  --theme-state-disabled-surface: var(--theme-control-surface);
  --theme-state-disabled-text: var(--theme-text-muted);
  --theme-state-disabled-border: var(--theme-border-default);

  /* Native and custom scrollbar colours are theme roles, never module roles. */
  --theme-scrollbar-thumb: var(--theme-text-muted);
  --theme-scrollbar-thumb-hover: var(--theme-focus);
  --theme-scrollbar-track: var(--theme-action-hover);

  /* Semantic meanings are invariant; profiles may not repurpose them. */
  --theme-semantic-info-surface: #0c4a6e;
  --theme-semantic-info-text: #e0f2fe;
  --theme-semantic-info-border: #38bdf8;
  --theme-semantic-success-surface: #14532d;
  --theme-semantic-success-text: #dcfce7;
  --theme-semantic-success-border: #4ade80;
  --theme-semantic-warning-surface: #713f12;
  --theme-semantic-warning-text: #fef3c7;
  --theme-semantic-warning-border: #f59e0b;
  --theme-semantic-error-surface: #7f1d1d;
  --theme-semantic-error-text: #fee2e2;
  --theme-semantic-error-border: #f87171;
  --theme-semantic-stable-surface: #115e59;
  --theme-semantic-stable-text: #ccfbf1;
  --theme-semantic-stable-border: #2dd4bf;
  --theme-semantic-conditional-surface: #164e63;
  --theme-semantic-conditional-text: #cffafe;
  --theme-semantic-conditional-border: #22d3ee;
  --theme-semantic-tension-surface: #713f12;
  --theme-semantic-tension-text: #fef3c7;
  --theme-semantic-tension-border: #eab308;
  --theme-semantic-drift-surface: #581c87;
  --theme-semantic-drift-text: #f3e8ff;
  --theme-semantic-drift-border: #c084fc;
  --theme-semantic-contradiction-surface: #7f1d1d;
  --theme-semantic-contradiction-text: #fee2e2;
  --theme-semantic-contradiction-border: #ef4444;
  --theme-semantic-no-data-surface: #334155;
  --theme-semantic-no-data-text: #e2e8f0;
  --theme-semantic-no-data-border: #64748b;

  /* Legacy compatibility bridge. */
  --app-font-family: var(--ui-font-family, 'Outfit', sans-serif);
  --app-font-scale: 1;
  --bg: var(--theme-canvas);
  --surface: var(--theme-module-surface);
  --surface2: var(--theme-panel-surface);
  --surface3: var(--theme-card-surface);
  --text: var(--theme-text-primary);
  --muted: var(--theme-text-muted);
  --accent: var(--theme-focus);
  --app-bg: var(--theme-canvas);
  --app-text: var(--theme-text-primary);
  --app-soft-text: var(--theme-text-secondary);
  --app-muted: var(--theme-text-muted);
  --app-inverse-text: var(--theme-text-inverse);
  --app-page-bg: var(--theme-page-background, var(--theme-canvas));
  --app-page-glow: none;
  --app-nav-window-bg: var(--theme-surface-navigation);
  --app-nav-title-bg: var(--theme-navigation-title-surface);
  --app-nav-title-border: var(--theme-navigation-title-border);
  --app-nav-title-text: var(--theme-text-primary);
  --app-nav-title-subtext: var(--theme-text-muted);
  --app-nav-tile-bg: var(--theme-navigation-tile-surface);
  --app-nav-tile-hover-bg: var(--theme-navigation-tile-hover-surface);
  --app-nav-tile-border: var(--theme-navigation-tile-border);
  --app-nav-tile-hover-border: var(--theme-navigation-tile-hover-border);
  --app-nav-tile-open-border: var(--theme-navigation-tile-open-border);
  --app-nav-glyph-bg: var(--theme-navigation-glyph-surface);
  --app-nav-glyph-border: var(--theme-navigation-glyph-border);
  --app-nav-glyph-text: var(--theme-navigation-glyph-text);
  --app-nav-tile-text: var(--theme-text-primary);
  --app-nav-tile-text-shadow: var(--theme-navigation-tile-text-shadow);
  --app-nav-command-bg: var(--theme-navigation-command-surface);
  --app-nav-command-border: var(--theme-navigation-command-border);
  --app-nav-scope-bg: var(--theme-navigation-scope-surface);
  --app-nav-scope-border: var(--theme-navigation-scope-border);
  --app-divider-bg: var(--theme-module-divider-surface);
  --app-module-shell-bg: var(--theme-surface-module-shell);
  --app-module-shell-border: var(--theme-border-default);
  --app-shell-header-bg: var(--theme-module-header-surface);
  --app-module-body-bg: var(--theme-surface-module-body);
  --app-panel-bg-strong: var(--theme-surface-panel-strong);
  --app-panel-bg: var(--theme-surface-panel);
  --app-panel-bg-soft: var(--theme-surface-panel-soft);
  --app-panel-bg-subtle: var(--theme-surface-panel-subtle);
  --app-panel-bg-muted: var(--theme-surface-panel-muted);
  --app-panel-bg-spotlight: var(--theme-surface-panel-spotlight);
  --app-panel-bg-spotlight-soft: var(--theme-surface-panel-spotlight-soft);
  --app-card-surface: var(--theme-surface-card);
  --app-card-glow-accent: var(--theme-surface-card-accent);
  --app-card-glow-info: var(--theme-surface-card-info);
  --app-card-glow-success: var(--theme-surface-card-success);
  --app-card-glow-warning: var(--theme-surface-card-warning);
  --app-card-glow-violet: var(--theme-surface-card-violet);
  --app-input-bg: var(--theme-control-surface);
  --app-table-head-bg: var(--theme-table-header-surface);
  --app-table-head-text: var(--theme-table-header-text);
  --app-card-border: var(--theme-border-default);
  --app-panel-border-strong: var(--theme-border-strong);
  --app-accent: var(--theme-focus);
  --app-action-bg: var(--theme-action);
  --app-action-hover-bg: var(--theme-action-hover);
  --app-action-active-bg: var(--theme-focus);
  --app-action-active-text: var(--theme-text-inverse);
  --app-soft-shadow: var(--theme-shadow-soft);
  --app-shadow: var(--theme-shadow-raised);
}

.App.theme-dark.theme-profile-default {
  --theme-canvas: #081526;
  --theme-page-background:
    radial-gradient(1200px 800px at 18% 12%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(900px 700px at 72% 6%, rgba(6, 182, 212, 0.10), transparent 58%),
    linear-gradient(180deg, #081526, #0a1728);
  --theme-module-surface: #0d1b2d;
  --theme-navigation-surface: #0d1b2d;
  --theme-module-shell-surface: #0d1b2d;
  --theme-module-body-surface: #081526;
  --theme-panel-surface: #0d1b2d;
  --theme-panel-default-surface: #0d1b2d;
  --theme-panel-strong-surface: #0f1f38;
  --theme-panel-soft-surface: #14263c;
  --theme-panel-subtle-surface: rgba(15, 31, 56, 0.72);
  --theme-panel-muted-surface: #0a1728;
  --theme-panel-spotlight-surface: #0f1f38;
  --theme-panel-spotlight-soft-surface: #14263c;
  --theme-card-surface: #0f1f38;
  --theme-card-default-surface: #0f1f38;
  --theme-card-accent-surface: #0f1f38;
  --theme-card-info-surface: #0f1f38;
  --theme-card-success-surface: #0f1f38;
  --theme-card-warning-surface: #0f1f38;
  --theme-card-violet-surface: #0f1f38;
  --theme-control-surface: #0a1728;
  --theme-table-header-surface: #14263c;
  --theme-text-primary: #f7f0df;
  --theme-text-secondary: #d6cdbb;
  --theme-text-muted: #a9b8ca;
  --theme-text-inverse: #041224;
  --theme-table-header-text: #c5d2df;
  --theme-border-default: #2a4059;
  --theme-border-strong: #3b5875;
  --theme-focus: #4fd1ff;
  --theme-action: #0d1b2d;
  --theme-action-hover: #14263c;
  --theme-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.24);
  --theme-shadow-raised: 0 18px 44px rgba(0, 0, 0, 0.34);
  --theme-navigation-title-surface: #0d1b2d;
  --theme-navigation-title-border: #2a4059;
  --theme-navigation-tile-surface: #0a1728;
  --theme-navigation-tile-hover-surface: #14263c;
  --theme-navigation-tile-active-surface: #4fd1ff;
  --theme-navigation-tile-border: #2a4059;
  --theme-navigation-tile-hover-border: #3b5875;
  --theme-navigation-tile-open-border: #3b5875;
  --theme-navigation-tile-active-border: #4fd1ff;
  --theme-navigation-glyph-surface: #0f1f38;
  --theme-navigation-glyph-border: #2a4059;
  --theme-navigation-glyph-text: #f7f0df;
  --theme-navigation-tile-text-shadow: none;
  --theme-state-selected-surface: #4fd1ff;
  --theme-state-selected-start: #4fd1ff;
  --theme-state-selected-end: #4fd1ff;
  --theme-state-selected-text: #041224;
  --theme-state-selected-border: #4fd1ff;
  --theme-navigation-command-surface: #0d1b2d;
  --theme-navigation-command-border: #3b5875;
  --theme-navigation-scope-surface: #0a1728;
  --theme-navigation-scope-border: #3b5875;
  --theme-module-header-surface: #0d1b2d;
  --theme-module-divider-surface: #2a4059;
  --theme-workflow-node-surface: #0f1f38;
  --theme-workflow-node-text: #f7f0df;
  --theme-workflow-node-secondary-text: #a9b8ca;
  --theme-workflow-connector: rgba(155, 211, 255, 0.72);
  --theme-workflow-arrow: rgba(155, 211, 255, 0.90);
  --theme-workflow-blue-border: #3b82f6;
  --theme-workflow-blue-fill: #1d4ed8;
  --theme-workflow-blue-text: #b9d4f3;
  --theme-workflow-red-border: #ef4444;
  --theme-workflow-red-fill: #dc2626;
  --theme-workflow-red-text: #fecaca;
  --theme-workflow-violet-border: #8b5cf6;
  --theme-workflow-violet-fill: #7c3aed;
  --theme-workflow-violet-text: #ddd6fe;
  --theme-workflow-amber-border: #d97706;
  --theme-workflow-amber-fill: #b45309;
  --theme-workflow-amber-text: #fde68a;
  --theme-workflow-green-border: #16a34a;
  --theme-workflow-green-fill: #15803d;
  --theme-workflow-green-text: #bbf7d0;
  --theme-series-blue: #44c1ff;
  --theme-series-purple: #b36cff;
  --theme-series-teal: #3bd1c8;
  --theme-series-green: #2ad46f;
  --theme-series-red: #ff4c51;
  --theme-series-edge: rgba(160, 203, 255, 0.72);
  --theme-series-label: #f7f0df;
  --theme-structure-card-ink: #102033;
  --theme-structure-card-muted: #334862;
  --theme-structure-card-soft-surface: rgba(255, 255, 255, 0.58);
  --theme-structure-card-soft-border: rgba(59, 81, 118, 0.18);
  --theme-structure-card-chip-surface: rgba(16, 32, 51, 0.10);
  --theme-structure-card-chip-border: rgba(16, 32, 51, 0.12);
  --theme-structure-card-shadow: 0 18px 42px rgba(0, 8, 31, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  --theme-structure-tone-slate-surface: linear-gradient(180deg, #d8e6f7 0%, #bcd1ed 100%);
  --theme-structure-tone-slate-border: rgba(73, 103, 151, 0.36);
  --theme-structure-tone-butter-surface: linear-gradient(180deg, #fff3bd 0%, #eadf9b 100%);
  --theme-structure-tone-butter-border: rgba(151, 133, 35, 0.32);
  --theme-structure-tone-mint-surface: linear-gradient(180deg, #dff4ec 0%, #bfe6d5 100%);
  --theme-structure-tone-mint-border: rgba(77, 144, 116, 0.34);
  --theme-structure-tone-sky-surface: linear-gradient(180deg, #ddf2ff 0%, #bdddf8 100%);
  --theme-structure-tone-sky-border: rgba(70, 121, 172, 0.34);
  --theme-structure-tone-rose-surface: linear-gradient(180deg, #fae1e8 0%, #efbccb 100%);
  --theme-structure-tone-rose-border: rgba(171, 84, 113, 0.32);
  --theme-structure-tone-lilac-surface: linear-gradient(180deg, #e9e4ff 0%, #d3c9fb 100%);
  --theme-structure-tone-lilac-border: rgba(117, 93, 185, 0.32);
  --theme-structure-tone-peach-surface: linear-gradient(180deg, #fbe7da 0%, #efc9ae 100%);
  --theme-structure-tone-peach-border: rgba(165, 104, 60, 0.30);
  --theme-structure-tone-sand-surface: linear-gradient(180deg, #f3ead7 0%, #dbcaa9 100%);
  --theme-structure-tone-sand-border: rgba(129, 105, 64, 0.30);
  --theme-progress-track-surface: rgba(148, 163, 184, 0.14);
  --theme-progress-fill-surface: #4fd1ff;
  --theme-assessment-consistent-surface: rgba(16, 185, 129, 0.16);
  --theme-assessment-consistent-text: rgba(209, 250, 229, 0.98);
  --theme-assessment-consistent-border: rgba(52, 211, 153, 0.28);
  --theme-assessment-contextual-surface: rgba(245, 158, 11, 0.18);
  --theme-assessment-contextual-text: rgba(254, 243, 199, 0.98);
  --theme-assessment-contextual-border: rgba(250, 204, 21, 0.32);
  --theme-assessment-drift-surface: rgba(124, 58, 237, 0.18);
  --theme-assessment-drift-text: rgba(237, 233, 254, 0.98);
  --theme-assessment-drift-border: rgba(167, 139, 250, 0.34);
  --theme-assessment-contradiction-surface: rgba(239, 68, 68, 0.18);
  --theme-assessment-contradiction-text: rgba(254, 226, 226, 0.98);
  --theme-assessment-contradiction-border: rgba(248, 113, 113, 0.34);
  --theme-workspace-panel-surface: #0d1b2d;
  --theme-workspace-panel-border: #2a4059;
  --theme-metric-card-surface: #0f1f38;
  --theme-metric-card-border: #2a4059;
}

.App.theme-dark.theme-profile-profile-2 {
  --theme-canvas: #0b1016;
  --theme-module-surface: #10161f;
  --theme-panel-surface: #18212b;
  --theme-card-surface: #222d39;
  --theme-control-surface: #141d27;
  --theme-table-header-surface: #2f3b49;
  --theme-text-primary: #edf2f8;
  --theme-text-secondary: #d8e5f2;
  --theme-text-muted: #9eabbd;
  --theme-text-inverse: #18212b;
  --theme-table-header-text: #e7f3ff;
  --theme-border-default: #455c72;
  --theme-border-strong: #b65d20;
  --theme-focus: #ff7a1a;
  --theme-action: #141d27;
  --theme-action-hover: #202c38;
  --theme-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.26);
  --theme-shadow-raised: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.App.theme-dark.theme-profile-profile-5 {
  --theme-canvas: #ffffff;
  --theme-module-surface: #ffffff;
  --theme-panel-surface: #ffffff;
  --theme-card-surface: #ffffff;
  --theme-control-surface: #ffffff;
  --theme-table-header-surface: #f8fafc;
  --theme-text-primary: #303133;
  --theme-text-secondary: #606266;
  --theme-text-muted: #606266;
  --theme-text-inverse: #ffffff;
  --theme-table-header-text: #606266;
  --theme-border-default: #dcdfe6;
  --theme-border-strong: #a8abb2;
  --theme-divider: #e4e7ed;
  --theme-focus: #694af6;
  --theme-action: #f8fafc;
  --theme-action-hover: #f3f0fe;
  --theme-ui-table-header: #f8fafc;
  --theme-ui-primary-hover: #543bc5;
  --theme-ui-selected-mix: 8%;
  --theme-shadow-soft: 0 8px 22px rgba(48, 49, 51, 0.10);
  --theme-shadow-raised: 0 16px 36px rgba(48, 49, 51, 0.16);
}

.App.theme-dark.theme-profile-profile-13 {
  --theme-canvas: #121522;
  --theme-module-surface: #181c2b;
  --theme-panel-surface: #21283d;
  --theme-card-surface: #332d48;
  --theme-control-surface: #191d2c;
  --theme-table-header-surface: #3d4667;
  --theme-text-primary: #f7f5ff;
  --theme-text-secondary: #e9e4fb;
  --theme-text-muted: #d5cde8;
  --theme-text-inverse: #181c2b;
  --theme-table-header-text: #ffffff;
  --theme-border-default: #665f85;
  --theme-border-strong: #8580ae;
  --theme-focus: #adc6ff;
  --theme-action: #191d2c;
  --theme-action-hover: #302d44;
  --theme-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.26);
  --theme-shadow-raised: 0 18px 44px rgba(0, 0, 0, 0.36);
}
