:root {
  color: #3d2c1e;
  background: #faf8f5;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Microsoft JhengHei", "WenQuanYi Micro Hei",
    "Noto Sans SC", sans-serif;
  --font-heading:
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei",
    "WenQuanYi Micro Hei", sans-serif;
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --orange: #f97316;
  --orange-deep: #f97316;
  --orange-soft: #fb923c;
  --button-gradient: linear-gradient(
    135deg,
    #f59e0b 0%,
    #ea580c 55%,
    #fbbf24 100%
  );
  --cream: #fffaf4;
  --canvas: #faf8f5;
  --ink: #3d2c1e;
  --secondary: #6b5c4f;
  --muted: #8b7b6b;
  --card-border: #f3dcc0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.4);
  outline-offset: 3px;
}

[data-agent-workspace] {
  overflow-anchor: none;
}

@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;
  }
}
