:root {
  color-scheme: light;
  --color-shell: #123c33;
  --color-shell-strong: #0b2d27;
  --color-shell-border: #28564c;
  --color-surface: #ffffff;
  --color-canvas: #f3f6f5;
  --color-surface-muted: #edf2f0;
  --color-border: #d2ddd9;
  --color-border-strong: #a9bbb5;
  --color-text: #17231f;
  --color-text-muted: #5a6b65;
  --color-text-on-shell: #f7fbf9;
  --color-status: #087f72;
  --color-status-soft: #e2f4f0;
  --color-warning: #a86308;
  --color-warning-soft: #fff3d8;
  --color-danger: #b4232f;
  --color-danger-soft: #fdebec;
  --color-focus: #16a394;
  --shadow-dialog: 0 16px 40px rgb(10 31 25 / 20%);

  --font-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-lg: 18px;
  --text-xl: 24px;
  --line-compact: 1.35;
  --line-body: 1.55;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --topbar-height: 56px;
  --nav-width: 232px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-canvas);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--line-body);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-canvas);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
