:root {
  color-scheme: dark;
  --color-background: #061224;
  --color-background-end: #122f57;
  --color-surface: rgba(14, 31, 56, 0.92);
  --color-surface-strong: #0e1f38;
  --color-surface-soft: rgba(14, 31, 56, 0.78);
  --color-surface-hover: rgba(189, 232, 245, 0.14);
  --color-border: rgba(134, 178, 236, 0.34);
  --color-border-strong: rgba(182, 216, 255, 0.55);
  --color-text: #dceaff;
  --color-text-muted: #a8bdd8;
  --color-primary: #9bc6ff;
  --color-primary-end: #4988c4;
  --color-on-primary: #061224;
  --color-focus: #bde8f5;
  --color-danger: #ff7b86;
  --color-danger-soft: rgba(239, 68, 68, 0.14);
  --color-warning: #ffc15a;
  --color-warning-soft: rgba(245, 158, 11, 0.16);
  --color-success: #65dc91;
  --color-success-soft: rgba(34, 197, 94, 0.13);
  --app-background: linear-gradient(90deg, var(--color-background), var(--color-background-end));
  --radius-small: 10px;
  --radius-medium: 12px;
  --radius-large: 18px;
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.24);
  --shadow-panel: 0 24px 52px rgba(0, 0, 0, 0.42);
  --shell-header-background: color-mix(in srgb, var(--color-background) 72%, transparent);
  --sidebar-width: 286px;
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  color: var(--color-text);
  background: var(--app-background);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
