:root {
  --background: 80 31% 97%;
  --foreground: 130 24% 12%;
  --primary: 123 55% 24%;
  --primary-foreground: 0 0% 100%;
  --secondary: 122 46% 34%;
  --secondary-foreground: 0 0% 100%;
  --muted: 88 25% 91%;
  --muted-foreground: 125 13% 39%;
  --destructive: 0 72% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 92 20% 84%;
  --card: 0 0% 100%;
  --accent: 46 65% 52%;
  --accent-foreground: 130 24% 12%;
  --shadow-sm: 0 4px 14px rgba(27, 94, 32, 0.08);
  --shadow-md: 0 14px 36px rgba(27, 94, 32, 0.12);
  --shadow-lg: 0 24px 70px rgba(27, 94, 32, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}
.dark {
  --background: 132 24% 8%;
  --foreground: 88 25% 94%;
  --primary: 123 45% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 126 35% 26%;
  --secondary-foreground: 0 0% 100%;
  --muted: 130 18% 16%;
  --muted-foreground: 92 14% 70%;
  --destructive: 0 72% 52%;
  --destructive-foreground: 0 0% 100%;
  --border: 130 17% 24%;
  --card: 130 22% 11%;
  --accent: 46 65% 55%;
  --accent-foreground: 130 24% 10%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, a, input, select, textarea { transition: var(--transition-fast); }
input, select, textarea { font-size: max(16px, 1rem); }
button, .tap-target { min-height: 44px; min-width: 44px; }
.card-shadow { box-shadow: var(--shadow-sm); }
.card-shadow:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.glass {
  background: color-mix(in srgb, hsl(var(--card)) 88%, transparent);
  backdrop-filter: blur(18px);
}
.safe-bottom { padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
.safe-top { padding-top: env(safe-area-inset-top); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 999px; }
