:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f0f5ff;
  --text: #172033;
  --muted: #647086;
  --line: #dfe6f1;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f9f8f;
  --warning: #b45309;
  --danger: #dc2626;
  --success: #148a43;
  --focus: #111827;
  --shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
  --radius: 8px;
  font-family: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
  color: var(--text);
}

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

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

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

img {
  max-width: 100%;
}

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

:focus-visible {
  outline: 3px solid var(--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;
  }
}
