:root {
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;
  --primary: 158 64% 38%;
  --primary-foreground: 0 0% 100%;
  --secondary: 222 47% 15%;
  --secondary-foreground: 0 0% 100%;
  --muted: 215 20% 92%;
  --muted-foreground: 215 16% 42%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 22% 88%;
  --card: 0 0% 100%;
  --warning: 38 92% 50%;
  --radius-sm: 0.55rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 6px 18px hsl(222 47% 11% / 0.06);
  --shadow-md: 0 18px 45px hsl(222 47% 11% / 0.10);
  --shadow-lg: 0 28px 70px hsl(222 47% 11% / 0.16);
  --transition-fast: 150ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
}
.dark {
  --background: 222 47% 8%;
  --foreground: 210 40% 96%;
  --primary: 158 68% 46%;
  --primary-foreground: 222 47% 8%;
  --secondary: 217 33% 17%;
  --secondary-foreground: 210 40% 96%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 74%;
  --destructive: 0 72% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 217 25% 24%;
  --card: 222 40% 12%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, hsl(var(--primary) / 0.09), transparent 32rem), hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: max(16px, 1rem); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes grow { from { transform: scaleY(.25); opacity: .25; } to { transform: scaleY(1); opacity: 1; } }
.animate-rise { animation: rise .45s var(--transition-smooth) both; }
.cash-bar { transform-origin: bottom; animation: grow .75s var(--transition-smooth) both; }
.print-sheet { background: linear-gradient(135deg, hsl(var(--secondary)), hsl(222 47% 24%)); }
@media print {
  .no-print { display: none !important; }
  body { background: white; }
  .print-card { box-shadow: none !important; border: 0 !important; }
}