:root {
  --background: 154 40% 97%;
  --foreground: 158 32% 10%;
  --primary: 158 82% 32%;
  --primary-foreground: 0 0% 100%;
  --secondary: 164 40% 88%;
  --secondary-foreground: 158 32% 12%;
  --muted: 155 20% 91%;
  --muted-foreground: 158 12% 38%;
  --destructive: 0 76% 55%;
  --destructive-foreground: 0 0% 100%;
  --border: 154 18% 84%;
  --card: 0 0% 100%;
  --accent: 42 92% 56%;
  --success: 150 80% 34%;
  --warning: 35 96% 52%;
  --shadow-sm: 0 8px 22px rgba(11, 53, 36, .08);
  --shadow-md: 0 18px 45px rgba(11, 53, 36, .12);
  --shadow-lg: 0 28px 75px rgba(11, 53, 36, .18);
  --transition-fast: 160ms ease;
  --transition-smooth: 260ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}
.dark {
  --background: 158 34% 6%;
  --foreground: 154 32% 94%;
  --primary: 154 72% 48%;
  --primary-foreground: 158 42% 7%;
  --secondary: 158 24% 16%;
  --secondary-foreground: 154 32% 94%;
  --muted: 158 20% 14%;
  --muted-foreground: 154 12% 68%;
  --destructive: 0 72% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 158 18% 22%;
  --card: 158 30% 10%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, hsl(var(--secondary)), transparent 34rem), 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 { -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: max(16px, 1rem); }
button, .tap-target { min-height: 44px; min-width: 44px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 999px; }
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.glass {
  background: color-mix(in srgb, hsl(var(--card)) 82%, transparent);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, hsl(var(--border)) 80%, transparent);
}
.focus-ring:focus { outline: 3px solid color-mix(in srgb, hsl(var(--primary)) 35%, transparent); outline-offset: 2px; }
.safe-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .safe-bottom { padding-bottom: 32px; } }
.print-area { background: white; color: #111; }
@media print { .no-print { display: none !important; } body { background: white; } .print-area { box-shadow: none !important; border: 0 !important; } }