/* Вдохновение: OpenRouter. Собственная тема панели, не официальный пакет.
   Радиусы: элементы 8px, поверхности 12px, метки 5px.
   Слои: действия 10, шапка 20, меню 30, подсказка 40. */
:root {
  color-scheme: light;
  --font-ui: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  --canvas: #fafafa; --surface: #ffffff; --surface-soft: #f5f5f5;
  --surface-hover: #eeeeee; --ink: #191919; --muted: #636363;
  --line: #e4e4e4; --line-strong: #c7c7c7;
  --accent: #16715f; --accent-dark: #105647; --accent-soft: #f0f4f2;
  --on-accent: #f7fffc; --positive: #16715f; --positive-soft: #f0f4f2;
  --negative: #b13e49; --negative-soft: #fbeef0;
  --warning: #865818; --warning-soft: #fbf3e3;
  --shadow: 0 10px 32px rgb(0 0 0 / 8%); --focus: #18806b;
  --radius-control: 8px; --radius-panel: 12px; --radius-label: 5px;
  --layer-sticky: 10; --layer-header: 20; --layer-menu: 30; --layer-tooltip: 40;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #090909; --surface: #111111; --surface-soft: #191919;
  --surface-hover: #222222; --ink: #ededed; --muted: #a3a3a3;
  --line: #292929; --line-strong: #454545; --accent: #7dd8b6;
  --accent-dark: #9de6ca; --accent-soft: #202020; --on-accent: #102c21;
  --positive: #7dd8b6; --positive-soft: #202020;
  --negative: #f0a6ae; --negative-soft: #3a2328;
  --warning: #e3bf7e; --warning-soft: #352e20;
  --shadow: 0 10px 32px rgb(0 0 0 / 28%); --focus: #7dd8b6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #090909; --surface: #111111; --surface-soft: #191919;
    --surface-hover: #222222; --ink: #ededed; --muted: #a3a3a3;
    --line: #292929; --line-strong: #454545; --accent: #7dd8b6;
    --accent-dark: #9de6ca; --accent-soft: #202020; --on-accent: #102c21;
    --positive: #7dd8b6; --positive-soft: #202020;
    --negative: #f0a6ae; --negative-soft: #3a2328;
    --warning: #e3bf7e; --warning-soft: #352e20;
    --shadow: 0 10px 32px rgb(0 0 0 / 28%); --focus: #7dd8b6;
  }
}
