/* FotoTrag — design tokens & utilities (1:1 with React verzijom) */

:root {
  --radius: 0.875rem;
  --background: oklch(0.97 0.008 240);
  --foreground: oklch(0.17 0.03 255);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.17 0.03 255);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.17 0.03 255);
  --primary: oklch(0.61 0.17 189);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.94 0.015 240);
  --secondary-foreground: oklch(0.22 0.04 250);
  --muted: oklch(0.93 0.01 240);
  --muted-foreground: oklch(0.50 0.02 250);
  --accent: oklch(0.77 0.20 175);
  --accent-foreground: oklch(0.17 0.03 255);
  --destructive: oklch(0.60 0.22 25);
  --destructive-foreground: oklch(0.99 0 0);
  --success: oklch(0.65 0.17 155);
  --success-foreground: oklch(0.99 0 0);
  --warning: oklch(0.78 0.15 75);
  --warning-foreground: oklch(0.20 0.03 60);
  --border: oklch(0.90 0.015 240);
  --input: oklch(0.90 0.015 240);
  --ring: oklch(0.61 0.17 189);

  --shadow-glow: 0 10px 40px -10px color-mix(in oklab, var(--primary) 35%, transparent);
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px -4px rgba(0,0,0,0.06);
  --shadow-premium: 0 25px 50px -12px color-mix(in oklab, var(--primary) 20%, transparent),
                    0 0 0 1px color-mix(in oklab, var(--border) 50%, transparent);
  --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-mesh:
    radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--primary) 15%, transparent), transparent 55%),
    radial-gradient(circle at 85% 30%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 55%),
    radial-gradient(circle at 50% 100%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 60%);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { border-color: var(--border); box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(color-mix(in oklab, var(--foreground) 3.5%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
table { border-collapse: collapse; }
::selection { background: color-mix(in oklab, var(--primary) 35%, transparent); color: inherit; }

/* Utilities (Tailwind-compatible class names used in components) */
.bg-mesh { background-image: var(--gradient-mesh); }
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-premium { box-shadow: var(--shadow-premium); }
.glass {
  background: color-mix(in oklab, var(--card) 75%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-ring { animation: pulse-ring 2.4s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-fade-in { animation: fade-in 0.55s cubic-bezier(0.22,1,0.36,1) both; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-ping { animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 45%, transparent); }
  70% { box-shadow: 0 0 0 24px color-mix(in oklab, var(--primary) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 0%, transparent); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }
@keyframes pulse { 50% { opacity: 0.5; } }

/* === Mini-Tailwind shim: only the classes our markup uses === */

/* Display & layout */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.inline-grid { display: inline-grid; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.align-top { vertical-align: top; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.place-items-center { place-items: center; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.left-2\.5 { left: 0.625rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Spacing — gap/padding/margin scale (in rem) */
.gap-0\.5 { gap: 0.125rem; } .gap-1 { gap: 0.25rem; } .gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; } .gap-2\.5 { gap: 0.625rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; }
.gap-x-1 { column-gap: 0.25rem; } .gap-x-2 { column-gap: 0.5rem; } .gap-x-6 { column-gap: 1.5rem; }
.gap-y-1 { row-gap: 0.25rem; } .gap-y-1\.5 { row-gap: 0.375rem; } .gap-y-3 { row-gap: 0.75rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.divide-y > * + * { border-top: 1px solid var(--border); }

.p-0 { padding: 0; } .p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; } .p-12 { padding: 3rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-0 { padding-top: 0; } .pt-4 { padding-top: 1rem; } .pt-5 { padding-top: 1.25rem; }
.pt-16 { padding-top: 4rem; }
.pb-2\.5 { padding-bottom: 0.625rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pl-8 { padding-left: 2rem; }
.ml-0\.5 { margin-left: 0.125rem; } .ml-1\.5 { margin-left: 0.375rem; }
.ml-2 { margin-left: 0.5rem; } .ml-12 { margin-left: 3rem; } .ml-auto { margin-left: auto; }
.mx-1\.5 { margin-left: 0.375rem; margin-right: 0.375rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.-mt-0\.5 { margin-top: -0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; }

/* Sizing */
.h-2 { height: 0.5rem; } .h-3 { height: 0.75rem; } .h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; } .h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; } .h-8 { height: 2rem; } .h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; } .h-11 { height: 2.75rem; } .h-12 { height: 3rem; }
.h-14 { height: 3.5rem; } .h-16 { height: 4rem; } .h-40 { height: 10rem; }
.h-48 { height: 12rem; } .h-64 { height: 16rem; } .h-80 { height: 20rem; }
.h-screen { height: 100vh; } .h-full { height: 100%; }
.h-\[28rem\] { height: 28rem; } .h-\[24rem\] { height: 24rem; }
.min-h-screen { min-height: 100vh; }
.w-2 { width: 0.5rem; } .w-3 { width: 0.75rem; } .w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; } .w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; } .w-8 { width: 2rem; } .w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; } .w-12 { width: 3rem; } .w-14 { width: 3.5rem; }
.w-16 { width: 4rem; } .w-32 { width: 8rem; } .w-40 { width: 10rem; }
.w-48 { width: 12rem; } .w-64 { width: 16rem; } .w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.shrink-0 { flex-shrink: 0; }
.object-contain { object-fit: contain; }

/* Typography */
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 15px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.underline { text-decoration: underline; }

/* Colors */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-muted { background-color: var(--muted); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-destructive { background-color: var(--destructive); }
.bg-success { background-color: var(--success); }
.bg-warning { background-color: var(--warning); }
.bg-muted\/20 { background-color: color-mix(in oklab, var(--muted) 20%, transparent); }
.bg-muted\/30 { background-color: color-mix(in oklab, var(--muted) 30%, transparent); }
.bg-muted\/40 { background-color: color-mix(in oklab, var(--muted) 40%, transparent); }
.bg-muted\/50 { background-color: color-mix(in oklab, var(--muted) 50%, transparent); }
.bg-primary\/5 { background-color: color-mix(in oklab, var(--primary) 5%, transparent); }
.bg-primary\/10 { background-color: color-mix(in oklab, var(--primary) 10%, transparent); }
.bg-primary\/15 { background-color: color-mix(in oklab, var(--primary) 15%, transparent); }
.bg-accent\/5 { background-color: color-mix(in oklab, var(--accent) 5%, transparent); }
.bg-accent\/10 { background-color: color-mix(in oklab, var(--accent) 10%, transparent); }
.bg-warning\/15 { background-color: color-mix(in oklab, var(--warning) 15%, transparent); }
.bg-success\/15 { background-color: color-mix(in oklab, var(--success) 15%, transparent); }
.bg-destructive\/5 { background-color: color-mix(in oklab, var(--destructive) 5%, transparent); }
.bg-card\/80 { background-color: color-mix(in oklab, var(--card) 80%, transparent); }
.bg-background\/60 { background-color: color-mix(in oklab, var(--background) 60%, transparent); }
.bg-background\/70 { background-color: color-mix(in oklab, var(--background) 70%, transparent); }

.text-foreground { color: var(--foreground); }
.text-card-foreground { color: var(--card-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-accent { color: var(--accent); }
.text-destructive { color: var(--destructive); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-warning-foreground { color: var(--warning-foreground); }
.text-muted-foreground\/60 { color: color-mix(in oklab, var(--muted-foreground) 60%, transparent); }

.border { border-width: 1px; border-style: solid; border-color: var(--border); }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-dashed { border-style: dashed; }
.border-primary { border-color: var(--primary); }
.border-primary\/20 { border-color: color-mix(in oklab, var(--primary) 20%, transparent); }
.border-primary\/30 { border-color: color-mix(in oklab, var(--primary) 30%, transparent); }
.border-primary\/50 { border-color: color-mix(in oklab, var(--primary) 50%, transparent); }
.border-primary\/80 { border-color: color-mix(in oklab, var(--primary) 80%, transparent); }
.border-destructive\/30 { border-color: color-mix(in oklab, var(--destructive) 30%, transparent); }
.border-warning\/30 { border-color: color-mix(in oklab, var(--warning) 30%, transparent); }
.border-success\/30 { border-color: color-mix(in oklab, var(--success) 30%, transparent); }
.border-border\/70 { border-color: color-mix(in oklab, var(--border) 70%, transparent); }
.last\:border-0:last-child { border-width: 0; }

/* Rounded */
.rounded-none { border-radius: 0; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[1\.25rem\] { border-radius: 1.25rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }

/* Gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-primary { --tw-gradient-stops: var(--primary), var(--tw-gradient-to, transparent); }
.from-primary\/5 { --tw-gradient-stops: color-mix(in oklab, var(--primary) 5%, transparent), var(--tw-gradient-to, transparent); }
.from-primary\/10 { --tw-gradient-stops: color-mix(in oklab, var(--primary) 10%, transparent), var(--tw-gradient-to, transparent); }
.from-primary\/12 { --tw-gradient-stops: color-mix(in oklab, var(--primary) 12%, transparent), var(--tw-gradient-to, transparent); }
.to-accent { --tw-gradient-to: var(--accent); --tw-gradient-stops: var(--tw-gradient-from, var(--primary)), var(--accent); }
.to-accent\/5 { --tw-gradient-to: color-mix(in oklab, var(--accent) 5%, transparent); --tw-gradient-stops: var(--tw-gradient-from, color-mix(in oklab, var(--primary) 5%, transparent)), color-mix(in oklab, var(--accent) 5%, transparent); }
.to-transparent { --tw-gradient-to: transparent; --tw-gradient-stops: var(--tw-gradient-from, transparent), transparent; }

/* Blur / backdrop */
.blur-3xl { filter: blur(64px); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* Transitions / transforms */
.transition { transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s, box-shadow 0.2s, transform 0.2s; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-opacity { transition: opacity 0.3s; }
.transition-transform { transition: transform 0.3s; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
.scale-\[1\.01\] { transform: scale(1.01); }
.scale-110 { transform: scale(1.10); }
.scale-105 { transform: scale(1.05); }
.-translate-y-0\.5 { transform: translateY(-2px); }

/* Hover */
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:bg-muted\/30:hover { background-color: color-mix(in oklab, var(--muted) 30%, transparent); }
.hover\:bg-muted\/40:hover { background-color: color-mix(in oklab, var(--muted) 40%, transparent); }
.hover\:bg-muted\/50:hover { background-color: color-mix(in oklab, var(--muted) 50%, transparent); }
.hover\:bg-muted\/15:hover { background-color: color-mix(in oklab, var(--muted) 15%, transparent); }
.hover\:bg-muted\/70:hover { background-color: color-mix(in oklab, var(--muted) 70%, transparent); }
.hover\:bg-primary\/90:hover { background-color: color-mix(in oklab, var(--primary) 90%, transparent); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-destructive:hover { color: var(--destructive); }
.hover\:text-accent-foreground:hover { color: var(--accent-foreground); }
.hover\:border-primary\/50:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); }
.hover\:shadow-glow:hover { box-shadow: var(--shadow-glow); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.10); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-\[220px_1fr\] { grid-template-columns: 220px 1fr; }
.col-span-2 { grid-column: span 2 / span 2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.375rem; padding: 0.5rem 1rem; height: 2.25rem;
  font-weight: 500; font-size: 0.875rem;
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: background-color 0.2s, opacity 0.2s, transform 0.2s;
  white-space: nowrap; cursor: pointer; border: 0;
}
.btn:hover { background: color-mix(in oklab, var(--primary) 90%, black); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-outline { background: var(--background); color: var(--foreground); border: 1px solid var(--input); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.75rem; border-radius: 0.375rem; }
.btn-xs { height: 1.75rem; padding: 0 0.5rem; font-size: 0.75rem; border-radius: 0.375rem; }
.btn-icon { width: 2.25rem; padding: 0; }

/* Input */
.input {
  height: 2.25rem; width: 100%; border-radius: 0.375rem;
  border: 1px solid var(--input); background: var(--background);
  padding: 0.25rem 0.75rem; font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 1px var(--ring); }

/* Leaflet GPS marker overrides */
.gps-marker { background: transparent !important; border: 0 !important; }
.gps-arrow, .gps-pin { display: grid; place-items: center; }

/* Toast */
.toast-container {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--card); color: var(--foreground);
  border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 0.625rem 1rem; box-shadow: var(--shadow-premium);
  font-size: 0.875rem; font-weight: 500; min-width: 200px;
  animation: fade-in 0.3s ease-out;
}
.toast.toast-success { border-color: color-mix(in oklab, var(--success) 40%, transparent); color: var(--success); }
.toast.toast-error { border-color: color-mix(in oklab, var(--destructive) 40%, transparent); color: var(--destructive); }
.toast.toast-info { border-color: color-mix(in oklab, var(--primary) 40%, transparent); color: var(--primary); }

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; text-align: left; font-weight: 500; font-family: var(--font-display);
  transition: color 0.2s; gap: 1rem;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger svg.chev { width: 1rem; height: 1rem; transition: transform 0.2s; flex-shrink: 0; }
.accordion-item[data-open="true"] .accordion-trigger svg.chev { transform: rotate(180deg); }
.accordion-content {
  padding: 0 1.25rem 1rem 1.25rem; color: var(--muted-foreground); line-height: 1.625; display: none;
}
.accordion-item[data-open="true"] .accordion-content { display: block; animation: fade-in 0.3s ease-out; }

/* Misc */
.scroll-mt-24 { scroll-margin-top: 6rem; }
.no-underline { text-decoration: none; }

/* Responsive breakpoints */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:p-14 { padding: 3.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:pt-24 { padding-top: 6rem; }
  .sm\:h-80 { height: 20rem; }
  .sm\:w-44 { width: 11rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:w-\[30\%\] { width: 30%; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-\[220px_1fr\] { grid-template-columns: 220px 1fr; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Mobile defaults */
.w-\[40\%\] { width: 40%; }

/* Additional static utilities used by shared-hosting HTML */
.-top-16 { top: -4rem; }
.-top-20 { top: -5rem; }
.-top-40 { top: -10rem; }
.-right-16 { right: -4rem; }
.-right-20 { right: -5rem; }
.-bottom-10 { bottom: -2.5rem; }
.-bottom-20 { bottom: -5rem; }
.-left-10 { left: -2.5rem; }
.h-96 { height: 24rem; }
.w-3\/5 { width: 60%; }
.p-0\.5 { padding: 0.125rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.list-none { list-style-type: none; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-\[1\.1\] { line-height: 1.1; }
.hover\:shadow-soft:hover { box-shadow: var(--shadow-soft); }
details[open] .group-open\:rotate-180 { transform: rotate(180deg); }
@media (min-width: 640px) {
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
}
