/* Shared SynComNet theme contract. Only this file contains color values. */
:root,
:root[data-theme="B"], .theme-swatch[data-theme="B"] {
  color-scheme: light;
  --primary: #174D4B;
  --accent: #C87552;
  --background: #F7F3EC;
  --text: #303030;
  --white: #FFFFFF;
  --transparent: transparent;
}
:root[data-theme="A"], .theme-swatch[data-theme="A"] {
  --primary: #003566;
  --accent: #00A79D;
  --background: #F5F7F8;
  --text: #303030;
}
:root[data-theme="C"], .theme-swatch[data-theme="C"] {
  --primary: #244638;
  --accent: #D3AD68;
  --background: #FAF7F0;
  --text: #303030;
}
:root {
  --primary-hover: color-mix(in srgb, var(--primary) 84%, var(--text));
  --accent-text: color-mix(in srgb, var(--accent) 40%, var(--text));
  --surface: color-mix(in srgb, var(--background) 25%, var(--white));
  --surface-subtle: color-mix(in srgb, var(--primary) 7%, var(--background));
  --text-muted: color-mix(in srgb, var(--text) 76%, var(--background));
  --border: color-mix(in srgb, var(--primary) 22%, var(--background));
  --overlay: color-mix(in srgb, var(--primary) 55%, var(--transparent));
  --focus: var(--accent-text);
  --shadow: color-mix(in srgb, var(--primary) 12%, var(--transparent));
  --shadow-soft: color-mix(in srgb, var(--primary) 7%, var(--transparent));
  --image-fallback: var(--surface-subtle);
  --inverse-text: var(--white);
  --inverse-muted: color-mix(in srgb, var(--white) 85%, var(--primary));
  --inverse-accent: color-mix(in srgb, var(--accent) 55%, var(--white));
  --inverse-border: color-mix(in srgb, var(--white) 35%, var(--primary));
  --button: var(--primary);
  --button-hover: var(--primary-hover);
  --button-text: var(--inverse-text);
  --button-light: var(--background);
  --button-light-hover: var(--surface);
  --navigation: color-mix(in srgb, var(--background) 96%, var(--transparent));
  --navigation-text: var(--primary);
  --navigation-border: var(--border);
  --form-surface: var(--surface);
  --form-input: var(--surface);
  --form-text: var(--text);
  --form-placeholder: var(--text-muted);
  --form-border: color-mix(in srgb, var(--primary) 60%, var(--background));
  --form-control: var(--primary);
  --form-success: var(--surface-subtle);
  --calculator-surface: var(--surface);
  --calculator-result: var(--surface-subtle);
  --calculator-input: var(--background);
  --calculator-text: var(--primary);
  --calculator-border: var(--border);
  --video-background: var(--primary-hover);
  /* Compatibility aliases for the existing layout. New components use semantic tokens. */
  --navy: var(--primary);
  --teal: var(--accent);
  --teal-text: var(--accent-text);
  --paper: var(--background);
  --ink: var(--text);
  --muted: var(--text-muted);
  --line: var(--border);
}
