*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --bg-surface: rgba(255, 255, 255, 0.92);
  --text-primary: #38394b;
  --text-secondary: #3f4652;
  --text-muted: #6a7280;
  --border: #cfd5dd;
  --border-strong: #1b1b1b;
  --accent: #111111;
  --accent-hover: #2a2a2a;
  --accent-press: #050505;
  --danger: #b8472f;
  --danger-hover: #d05a3f;
  --danger-press: #8f3522;
  --warning: #c0891f;
  --warning-hover: #d79a2f;
  --warning-press: #8a640f;
  --success: #1d8f62;
  --success-hover: #26a772;
  --success-press: #0f6a45;
  --info: #2f5aa3;
  --info-hover: #3d6fbe;
  --info-press: #22457d;
  --shadow: 0 22px 40px rgba(17, 17, 17, 0.12);
  --radius: 0px;
  --focus-ring: rgba(17, 17, 17, 0.08);
  --tooltip-bg: #292933;
  --tooltip-text: rgba(255, 255, 255, 0.92);
  --tooltip-border: rgba(255, 255, 255, 0.08);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23cfd5dd' stroke-width='1' stroke-opacity='0.8'%3E%3Cpath d='M0 0H64V64H0Z'/%3E%3Cpath d='M32 0V64M0 32H64'/%3E%3Cpath d='M0 0L32 32M32 0L64 32M0 32L32 64M32 32L64 64'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  opacity: 0.45;
}

body::after {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 0, 0, 0.05), transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(0, 0, 0, 0.04), transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), transparent 60%);
  opacity: 0.6;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
}

img {
  max-width: 100%;
  display: block;
}
