/* Shared visual language. Loaded after the legacy styles while the UI is migrated. */
:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #fff;
  --surface-soft: #f4f6f8;
  --ink: #202127;
  --muted: #6c707b;
  --line: #e9ebf0;
  --primary: #685a9e;
  --primary-dark: #504382;
  --primary-soft: #f0edfa;
  --cyan: #a7e8f2;
  --lilac: #d7c7ff;
  --gradient: linear-gradient(125deg, #b7eef4 3%, #e1e0ff 52%, #cbbdff 100%);
  --shadow: 0 12px 36px rgb(39 42 68 / 5%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ui-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html { font-family: var(--ui-font); }
body { background: var(--bg); color: var(--ink); font-family: var(--ui-font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid #7466ab; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .48; }
::selection { background: #ded7f5; color: #242331; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
