:root, :root[data-three-scheme="light"] {
  --background: #f7f8fa; --foreground: #1b263b; --card: #ffffff;
  --primary: #2456c5; --primary-foreground: #ffffff; --accent: #edf2fc;
  --three-bg: var(--background); --three-surface: var(--card); --three-ink: var(--foreground);
  --three-muted: #59677c; --three-blue: var(--primary); --three-action: var(--primary);
  --three-line: #dce3ef; --three-input-border: #becadd; --three-selected: var(--accent);
  --three-subtle: #eef1f6; --three-disabled-bg: #edf0f5; --three-disabled-ink: #59677c; --three-focus: #c0d0f2;
}
:root[data-three-scheme="dark"] {
  --background: #15191f; --foreground: #edf0f5; --card: #1e242d;
  --primary: #c8d6ef; --primary-foreground: #17243b; --accent: #2b3648;
  --three-bg: var(--background); --three-surface: var(--card); --three-ink: var(--foreground);
  --three-muted: #adb7c6; --three-blue: var(--primary); --three-action: var(--primary);
  --three-line: #343c49; --three-input-border: #556177; --three-selected: var(--accent);
  --three-subtle: #1d232c; --three-disabled-bg: #272e39; --three-disabled-ink: #adb7c6; --three-focus: #b0c8f5;
}
:root {
  --pf-v5-global--primary-color--100: var(--primary);
  --pf-v5-global--link--Color: var(--primary);
  --pf-v5-global--BackgroundColor--100: var(--three-surface);
  --pf-v5-global--BackgroundColor--200: var(--three-bg);
  --pf-v5-global--Color--100: var(--three-ink);
  --pf-v5-global--Color--200: var(--three-muted);
  --pf-v5-global--BorderColor--100: var(--three-line);
}
html body .pf-v5-c-button.pf-m-primary:not(:disabled),
html[data-three-scheme="dark"] body .pf-v5-c-button.pf-m-primary:not(:disabled),
body[data-page-id="account"] .pf-v5-c-button.pf-m-primary:not(:disabled) {
  background: var(--primary); color: var(--primary-foreground);
}
html body .pf-v5-c-button.pf-m-primary:not(:disabled):hover { background: var(--primary); filter: brightness(.94); }
html body .pf-v5-c-tabs { --pf-v5-c-tabs__link--after--BorderColor: var(--primary); }
html body :is(.pf-v5-c-page,.pf-v5-c-page__main,.pf-v5-c-login) { background: var(--three-bg); }
