/* Reference values: late Atlas v0.11.37 neutral layer. See README for provenance. */
:root {
  color-scheme: light;
  --tr-bg: #ffffff;
  --tr-sidebar: #f9f9f9;
  --tr-surface: #ffffff;
  --tr-subtle: #f7f7f8;
  --tr-border: #e5e5e5;
  --tr-field: #ffffff;
  --tr-field-border: #d9d9d9;
  --tr-text: #171717;
  --tr-muted: #747474;
  --tr-label: #525252;
  --tr-accent: #171717;
  --tr-accent-hover: #171717;
  --tr-on-accent: #ffffff;
  --tr-success: #15805f;
  --tr-danger: #bf4141;
  --tr-info: var(--tr-label);
  --tr-control: #ffffff;
  --tr-hover: #f1f1f1;
  --tr-control-text: #353535;
  --tr-selected: #ececec;
  --tr-scrim: rgb(0 0 0 / 35%);
  --tr-focus: #888888;
  --tr-shadow: 0 16px 44px rgb(0 0 0 / 13%);
  --tr-radius: 14px;
  --tr-radius-sm: 10px;
  --tr-radius-control: 8px;
  --tr-radius-footer: 11px;
  --tr-radius-toast: 12px;
  --tr-radius-pill: 999px;
  --tr-toolbar-height: 55px;
  --tr-control-height: 33px;
  --tr-footer-control-height: 42px;
  --tr-sidebar-width: 258px;
  --tr-modal-narrow: 480px;
  --tr-modal-narrow-center: 460px;
  --tr-modal-medium: 760px;
  --tr-modal-wide: 1160px;
  --tr-toast-width: 620px;
  /* Missing Atlas Vela Sans: explicit system fallback; no font binaries available. */
  --tr-font: 'Atlas Vela Sans', 'Vela Sans', Arial, sans-serif;
  --tr-font-step: 0px;
  --tr-font-control: calc(13px + var(--tr-font-step));
  --tr-font-title: calc(27px + var(--tr-font-step));
  --tr-soft: #f7f7f8;
  --tr-switch-shadow: 0 1px 3px rgb(0 0 0 / 19%);
  --tr-switch-on: #248c68;
  --tr-switch-thumb: #ffffff;
  --tr-center-shadow: 0 22px 70px rgb(0 0 0 / 22%);
  --tr-drawer-shadow: -12px 0 42px rgb(0 0 0 / 11%);
  --tr-popup-shadow: 0 15px 42px rgb(0 0 0 / 22%);
  --tr-row-height: 46px;
  --tr-row-pad: 10px;
  --tr-motion-drawer: 190ms;
  --tr-motion-center: 160ms;
  --tr-motion-tabs: 220ms;
  --tr-motion-toast: 230ms;
  --tr-toast-depth: 0;
  --tr-toast-bg: #252525;
  --tr-toast-fg: #ffffff;
  --tr-font-sm: calc(12px + var(--tr-font-step));
  --tr-font-md: calc(14px + var(--tr-font-step));
  --tr-font-lg: calc(19px + var(--tr-font-step));
  --tr-line-height: 1.48;
  --tr-space-0: 0px;
  --tr-space-1: 4px;
  --tr-space-2: 8px;
  --tr-space-3: 12px;
  --tr-space-4: 16px;
  --tr-space-5: 20px;
  --tr-space-6: 24px;
  --tr-space-8: 32px;
  --tr-space-10: 40px;
  --tr-space-12: 48px;
  --tr-motion-fast: 120ms;
  --tr-motion: 180ms;
  --tr-disabled: .5;
  --tr-layer-toolbar: 10;
  --tr-layer-toast: 30;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --tr-bg: #212121;
  --tr-sidebar: #171717;
  --tr-surface: #262626;
  --tr-subtle: #303030;
  --tr-soft: #2b2b2b;
  --tr-border: #3a3a3a;
  --tr-field: #2a2a2a;
  --tr-field-border: #525252;
  --tr-text: #f3f3f3;
  --tr-muted: #a2a2a2;
  --tr-label: #c3c3c3;
  --tr-accent: #f4f4f4;
  --tr-accent-hover: #f4f4f4;
  --tr-on-accent: #212121;
  --tr-success: #55cea3;
  --tr-danger: #f18a86;
  --tr-control: #303030;
  --tr-hover: #373737;
  --tr-control-text: #f1f1f1;
  --tr-selected: #333333;
  --tr-scrim: rgb(0 0 0 / 60%);
  --tr-focus: #aaaaaa;
  --tr-shadow: 0 16px 44px rgb(0 0 0 / 40%);
}
@media (prefers-reduced-motion: reduce) {
  :root { --tr-motion-fast: 0ms; --tr-motion: 0ms; }
}

:root[data-density='compact'] { --tr-row-height:36px; --tr-row-pad:5px; }
:root[data-density='spacious'] { --tr-row-height:58px; --tr-row-pad:16px; }
:root[data-motion='off'] { --tr-motion:0ms; --tr-motion-fast:0ms; --tr-motion-drawer:0ms; --tr-motion-center:0ms; --tr-motion-tabs:0ms; --tr-motion-toast:0ms; }
@media(prefers-reduced-motion:reduce) { :root { --tr-motion-drawer:0ms; --tr-motion-center:0ms; --tr-motion-tabs:0ms; --tr-motion-toast:0ms; } }
