:root {
  color-scheme: light;
  --color-navy: #263f6a;
  --color-navy-deep: #1d3155;
  --color-yellow: #f4bd08;
  --color-yellow-soft: #fff5cf;
  --color-surface: #ffffff;
  --color-background: #f4f6fa;
  --color-text: #26344a;
  --color-muted: #68778c;
  --color-border: #e3e8f0;
  --color-danger: #a93636;
  --color-danger-soft: #fff1f0;
  --color-success: #236747;
  --color-success-soft: #eaf6ef;
  --color-info: #285784;
  --color-info-soft: #edf5fc;
  --shadow-panel: 0 8px 26px rgb(34 53 82 / 5%);
  --radius-card: 12px;
  --radius-control: 8px;
  --sidebar-width: 264px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--color-background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--color-background);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
}

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

a {
  color: var(--color-navy);
}

::selection {
  color: var(--color-navy-deep);
  background: var(--color-yellow);
}

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

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