/* 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; }
.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%; }

/* === FotoTrag responsive hardening: header, footer, viewer, tables === */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
main, section, #viewer-root, [data-header], [data-footer] { min-width: 0; }

.ft-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 86%, transparent);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}
.ft-header-inner {
  width: min(100%, 80rem);
  min-height: 4rem;
  margin-inline: auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ft-brand, .ft-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  max-width: 100%;
}
.ft-brand-logo, .ft-footer-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  flex: 0 0 auto;
  box-shadow: var(--shadow-glow);
}
.ft-brand-text, .ft-footer-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.ft-brand-name, .ft-footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-brand-tag, .ft-footer-brand-tag {
  margin-top: 0.1rem;
  color: var(--muted-foreground);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}
.ft-desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.ft-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.ft-nav-link:hover, .ft-nav-link.is-active { color: var(--foreground); }
.ft-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  padding: 0.15rem;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}
.ft-lang-icon {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-inline: 0.25rem;
  color: var(--muted-foreground);
}
.ft-lang-btn {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.ft-lang-btn.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}
.ft-mobile-nav {
  display: flex;
  gap: 0.35rem;
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 0.65rem;
  scrollbar-width: none;
}
.ft-mobile-nav::-webkit-scrollbar { display: none; }
.ft-mobile-nav .ft-nav-link {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 72%, transparent);
  font-size: 0.8125rem;
}
.ft-mobile-nav .ft-nav-link.is-active {
  border-color: color-mix(in oklab, var(--primary) 35%, var(--border));
  background: color-mix(in oklab, var(--primary) 10%, var(--card));
  color: var(--primary);
}

.ft-footer {
  margin-top: clamp(3rem, 7vw, 6rem) !important;
  border-top: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border)) !important;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in oklab, var(--primary) 10%, transparent), transparent 34rem),
    radial-gradient(circle at 88% 8%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 30rem),
    linear-gradient(180deg, color-mix(in oklab, var(--card) 92%, transparent), color-mix(in oklab, var(--muted) 58%, transparent)) !important;
  overflow: hidden !important;
}
.ft-footer * { box-sizing: border-box; }
.ft-footer a { text-decoration: none; }
.ft-footer ul, .ft-footer li { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.ft-footer-shell {
  width: min(100%, 76rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) 1rem 1rem;
}
.ft-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.ft-footer-about {
  min-width: 0;
  border: 1px solid color-mix(in oklab, var(--border) 78%, transparent);
  border-radius: 1.5rem;
  background: color-mix(in oklab, var(--card) 82%, transparent);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  box-shadow: var(--shadow-soft);
}
.ft-footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.ft-footer-logo {
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 0.95rem !important;
  flex: 0 0 auto !important;
  box-shadow: var(--shadow-glow) !important;
}
.ft-footer-brand-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.ft-footer-brand-name {
  font-family: var(--font-display) !important;
  font-size: 1.18rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--foreground) !important;
}
.ft-footer-brand-tag {
  margin-top: 0.22rem !important;
  color: var(--muted-foreground) !important;
  font-size: 0.68rem !important;
  line-height: 1 !important;
  letter-spacing: 0.105em !important;
  text-transform: uppercase !important;
}
.ft-footer-tagline {
  margin: 1rem 0 0 !important;
  max-width: 42rem !important;
  color: var(--muted-foreground) !important;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem) !important;
  line-height: 1.7 !important;
  overflow-wrap: anywhere !important;
}
.ft-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}
.ft-footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border));
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 6%, var(--card));
  color: var(--foreground);
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.48rem 0.72rem;
  white-space: nowrap;
}
.ft-footer-badges svg { width: 1rem; height: 1rem; color: var(--primary); flex: 0 0 auto; }
.ft-footer-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
}
.ft-footer-panel {
  min-width: 0;
  border: 1px solid color-mix(in oklab, var(--border) 78%, transparent);
  border-radius: 1.25rem;
  background: color-mix(in oklab, var(--card) 72%, transparent);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.ft-footer-panel h4 {
  margin: 0 0 0.7rem !important;
  color: var(--foreground) !important;
  font-family: var(--font-display) !important;
  font-size: 0.88rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}
.ft-footer-links {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}
.ft-footer-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.48rem !important;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  border-radius: 0.75rem;
  color: var(--muted-foreground) !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  padding: 0.32rem 0.45rem !important;
  margin-left: -0.45rem !important;
  overflow-wrap: anywhere !important;
  word-break: break-word;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.ft-footer-link:hover {
  color: var(--foreground) !important;
  background: color-mix(in oklab, var(--primary) 7%, transparent);
  transform: translateX(2px);
}
.ft-footer-link svg {
  width: 1rem !important;
  height: 1rem !important;
  color: var(--primary) !important;
  flex: 0 0 auto !important;
}
.ft-footer-static { pointer-events: none; }
.ft-footer-cta { color: var(--primary) !important; font-weight: 800 !important; }
.ft-footer-bottom {
  margin-top: 1rem;
  border: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  border-radius: 1.25rem;
  background: color-mix(in oklab, var(--background) 50%, transparent);
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  text-align: center;
}
.ft-footer-bottom p { margin: 0 !important; min-width: 0; overflow-wrap: anywhere; }
.ft-footer-bottom a { color: var(--primary) !important; font-weight: 800; }
.ft-footer-bottom a:hover { text-decoration: underline; }
.ft-footer-made {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.ft-footer-made svg { width: 0.95rem; height: 0.95rem; color: #ef4444; fill: currentColor; }
.ft-footer-powered { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; }

@media (min-width: 640px) {
  .ft-footer-shell { padding-left: 1.5rem; padding-right: 1.5rem; }
  .ft-footer-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-footer-bottom { grid-template-columns: minmax(0, 1fr) auto; text-align: left; align-items: center; }
  .ft-footer-made { justify-content: flex-end; }
  .ft-footer-powered { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .ft-footer-main { grid-template-columns: minmax(22rem, 1.05fr) minmax(28rem, 1.45fr); gap: 1rem; }
  .ft-footer-about { min-height: 100%; }
  .ft-footer-bottom { grid-template-columns: minmax(0, 1fr) auto auto; }
  .ft-footer-powered { grid-column: auto; justify-content: flex-end; }
}
@media (max-width: 480px) {
  .ft-footer-shell { padding-left: 0.85rem; padding-right: 0.85rem; }
  .ft-footer-about, .ft-footer-panel { border-radius: 1.05rem; }
  .ft-footer-logo { width: 2.65rem !important; height: 2.65rem !important; }
  .ft-footer-badges span { width: 100%; justify-content: center; }
  .ft-footer-link { width: 100% !important; margin-left: 0 !important; padding-left: 0 !important; }
}

#viewer-root { overflow-wrap: anywhere; }
#viewer-root .rounded-\[1\.25rem\], #viewer-root .rounded-2xl, #viewer-root .rounded-3xl { max-width: 100%; }
#viewer-root .overflow-hidden:has(table), #viewer-root .overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#viewer-root table { width: 100%; min-width: 42rem; }
#viewer-root td { vertical-align: top; }
#viewer-root [data-tab] { white-space: nowrap; }
#ft-map { min-height: 16rem; }

@media (max-width: 639px) {
  .ft-header-inner { padding-inline: 0.875rem; }
  .ft-brand { max-width: calc(100vw - 8rem); }
  .ft-brand-logo { width: 2rem; height: 2rem; }
  .ft-brand-name { font-size: 0.95rem; }
  .ft-brand-tag { max-width: 8.5rem; }
  .ft-lang-icon { display: none; }
  .ft-footer { margin-top: 3rem; }
  .ft-footer-inner { padding-block: 1.75rem; }
  .ft-footer-col {
    padding-top: 1.1rem;
    border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  }
  .ft-footer-contact a { display: flex; width: 100%; }
  .btn {
    min-height: 2.5rem;
    height: auto;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
  .btn-icon {
    width: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    white-space: nowrap;
  }
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-6 { grid-template-columns: minmax(0, 1fr); }
  .aspect-square { max-height: 68vw; }
  .text-4xl { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.08; }
  .text-3xl { font-size: clamp(1.65rem, 8vw, 2rem); line-height: 1.14; }
  .p-8, .p-10, .p-12 { padding: 1.25rem; }
  .px-12 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .py-10 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .toast-container { width: calc(100vw - 1.5rem); top: 0.75rem; }
  .toast { min-width: 0; width: 100%; }
}
@media (min-width: 640px) {
  .ft-header-inner, .ft-mobile-nav, .ft-footer-inner, .ft-footer-bottom-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .ft-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-footer-brand-col { grid-column: 1 / -1; }
  .ft-footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
@media (min-width: 768px) {
  .ft-desktop-nav { display: flex; }
  .ft-mobile-nav { display: none; }
}
@media (min-width: 1024px) {
  .ft-footer-inner { grid-template-columns: minmax(18rem, 1.55fr) repeat(3, minmax(10rem, 1fr)); gap: 2.5rem; }
  .ft-footer-brand-col { grid-column: auto; }
}

/* === Source-like footer reset: clean original layout, no cards/boxes === */
.ft-source-footer {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 34%, transparent);
  color: var(--foreground);
  overflow-x: clip;
}
.ft-source-footer * { box-sizing: border-box; }
.ft-source-footer a { text-decoration: none; }
.ft-source-footer-main {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.ft-source-footer-brand-col,
.ft-source-footer-col { min-width: 0; }
.ft-source-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: var(--foreground);
}
.ft-source-footer-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-glow);
  flex: 0 0 auto;
}
.ft-source-footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.ft-source-footer-brand-name {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  color: var(--foreground);
}
.ft-source-footer-brand-tag {
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.67rem;
  color: var(--muted-foreground);
}
.ft-source-footer-tagline {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ft-source-footer-made {
  margin: 0.75rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted-foreground);
  font-size: 0.83rem;
}
.ft-source-footer-made svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #ef4444;
  fill: currentColor;
  flex: 0 0 auto;
}
.ft-source-footer-col h4 {
  margin: 0 0 0.75rem;
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}
.ft-source-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: 0.55rem;
}
.ft-source-footer-col li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}
.ft-source-footer-link,
.ft-source-footer-static {
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ft-source-footer-link:hover {
  color: var(--foreground);
}
.ft-source-footer-primary {
  color: var(--primary) !important;
  font-weight: 650;
}
.ft-source-footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}
.ft-source-footer-icon-link svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--primary);
  flex: 0 0 auto;
}
.ft-source-footer-bottom {
  border-top: 1px solid var(--border);
  width: 100%;
  padding: 1rem;
  color: var(--muted-foreground);
  font-size: 0.79rem;
  text-align: center;
  display: grid;
  gap: 0.35rem;
}
.ft-source-footer-bottom p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ft-source-footer-bottom a {
  color: var(--primary);
  font-weight: 650;
}
.ft-source-footer-bottom a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .ft-source-footer-main {
    padding-inline: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
  .ft-source-footer-brand-col { grid-column: 1 / -1; }
  .ft-source-footer-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    text-align: left;
  }
  .ft-source-footer-bottom p:last-child { text-align: right; }
}
@media (min-width: 1024px) {
  .ft-source-footer-main {
    grid-template-columns: minmax(18rem, 1.55fr) repeat(3, minmax(9.5rem, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .ft-source-footer-brand-col { grid-column: auto; }
}
@media (max-width: 520px) {
  .ft-source-footer-main {
    padding-inline: 1rem;
    gap: 1.6rem;
  }
  .ft-source-footer-brand {
    align-items: flex-start;
  }
  .ft-source-footer-logo {
    width: 2.55rem;
    height: 2.55rem;
  }
  .ft-source-footer-col h4 { margin-bottom: 0.55rem; }
  .ft-source-footer-icon-link { width: 100%; }
}
