:root {
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --hover-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --surface-color: #ffffff;
    --background-color: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
}

[x-cloak] {
    display: none !important;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    /* Base line height */
}

p,
li {
    line-height: 1.8;
    /* Increased text line height */
}

/* Specific override for article content to be even more readable */
/* Targeting .prose class to ensure we override Tailwind defaults */
article.prose p,
article.prose li,
.prose p,
.prose li {
    line-height: 2 !important;
}

/* Premium Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.875rem 2.5rem;
    /* Larger touch target */
    border-radius: 9999px;
    /* Pill shape for modern feel */
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    /* Soft colored shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Premium Card */
.card-container {
    background: var(--surface-color);
    border-radius: 1.5rem;
    /* 24px */
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.08),
        0 0 20px -5px rgba(0, 0, 0, 0.04);
    /* Deep, soft shadow */
    padding: 3.5rem;
    margin-bottom: 3rem;
    width: calc(100% - 2rem);
    max-width: 52rem;
    /* Slightly wider */
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* Subtle border for definition */
}

@media (max-width: 640px) {
    .card-container {
        padding: 1.5rem;
    }
}

/* Utility / Helpers */
.ad-slot {
    /* Reserved space, invisible by default */
    min-height: 1px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    /* Tighten headlines */
}

/* Input Fields Upgrade (targeting Tailwind classes mostly, but adding global helpers) */
input[type="number"],
input[type="text"] {
    transition: all 0.2s ease-in-out;
}

/* Multi-line Truncation Utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Modern Emerald & Slate Fallbacks for Tailwind CSS */
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-emerald-100 { background-color: #d1fae5 !important; }
.bg-emerald-200 { background-color: #a7f3d0 !important; }
.bg-emerald-500 { background-color: #10b981 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.bg-emerald-700 { background-color: #047857 !important; }
.bg-emerald-800 { background-color: #065f46 !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-emerald-800 { color: #065f46 !important; }
.text-emerald-900 { color: #064e3b !important; }
.text-emerald-950 { color: #022c22 !important; }
.border-emerald-200 { border-color: #a7f3d0 !important; }
.border-emerald-500 { border-color: #10b981 !important; }
.border-emerald-600 { border-color: #059669 !important; }
.border-emerald-700 { border-color: #047857 !important; }

.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-200 { background-color: #e2e8f0 !important; }
.bg-slate-300 { background-color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }
.text-slate-950 { color: #020617 !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-300 { border-color: #cbd5e1 !important; }
.border-slate-400 { border-color: #94a3b8 !important; }

/* Modern Rose, Amber & Indigo Fallbacks */
.bg-rose-50 { background-color: #fff1f2 !important; }
.bg-rose-100 { background-color: #ffe4e6 !important; }
.bg-rose-200 { background-color: #fecdd3 !important; }
.bg-rose-500 { background-color: #f43f5e !important; }
.bg-rose-600 { background-color: #e11d48 !important; }
.bg-rose-700 { background-color: #be123c !important; }
.text-rose-500 { color: #f43f5e !important; }
.text-rose-600 { color: #e11d48 !important; }
.text-rose-700 { color: #be123c !important; }
.text-rose-800 { color: #9f1239 !important; }
.text-rose-950 { color: #4c0519 !important; }
.border-rose-200 { border-color: #fecdd3 !important; }
.border-rose-400 { border-color: #fb7185 !important; }
.border-rose-500 { border-color: #f43f5e !important; }
.border-rose-600 { border-color: #e11d48 !important; }

.bg-amber-50 { background-color: #fffbeb !important; }
.bg-amber-100 { background-color: #fef3c7 !important; }
.bg-amber-200 { background-color: #fde68a !important; }
.bg-amber-400 { background-color: #fbbf24 !important; }
.bg-amber-500 { background-color: #f59e0b !important; }
.bg-amber-600 { background-color: #d97706 !important; }
.text-amber-700 { color: #b45309 !important; }
.text-amber-800 { color: #92400e !important; }
.text-amber-900 { color: #78350f !important; }
.text-amber-950 { color: #451a03 !important; }
.border-amber-200 { border-color: #fde68a !important; }
.border-amber-400 { border-color: #fbbf24 !important; }
.border-amber-500 { border-color: #f59e0b !important; }
.border-amber-600 { border-color: #d97706 !important; }

.bg-indigo-50 { background-color: #eef2ff !important; }
.bg-indigo-100 { background-color: #e0e7ff !important; }
.bg-indigo-600 { background-color: #4f46e5 !important; }
.bg-indigo-700 { background-color: #4338ca !important; }
.text-indigo-600 { color: #4f46e5 !important; }
.text-indigo-700 { color: #4338ca !important; }
.text-indigo-900 { color: #312e81 !important; }

/* Modern Centering & Translate Fallbacks */
.top-1\/2 { top: 50% !important; }
.bottom-1\/2 { bottom: 50% !important; }
.left-1\/2 { left: 50% !important; }
.right-1\/2 { right: 50% !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }
.-translate-x-1\/2 { transform: translateX(-50%) !important; }
.-translate-1\/2 { transform: translate(-50%, -50%) !important; }

.bg-gray-950 { background-color: #030712 !important; }
.bg-amber-950 { background-color: #2e1005 !important; }
.text-amber-100 { color: #fef3c7 !important; }
.text-amber-200 { color: #fde68a !important; }
.border-amber-100 { border-color: #fef3c7 !important; }
.border-amber-300 { border-color: #fcd34d !important; }

/* Emerald Color & Gradient Fallbacks */
.from-emerald-600 { --tw-gradient-from: #059669 !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)) !important; }
.to-emerald-700 { --tw-gradient-to: #047857 !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-emerald-100 { background-color: #d1fae5 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.bg-emerald-700 { background-color: #047857 !important; }
.text-emerald-100 { color: #d1fae5 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-emerald-800 { color: #065f46 !important; }
.border-emerald-100 { border-color: #d1fae5 !important; }
.border-emerald-200 { border-color: #a7f3d0 !important; }

/* Micro Typography Support for Tailwind v2 */
.text-\[9px\], .text-3xs { font-size: 9px !important; line-height: 1.25 !important; }
.text-\[10px\], .text-2xs { font-size: 10px !important; line-height: 1.35 !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 1.4 !important; }
.text-\[12px\] { font-size: 12px !important; line-height: 1.45 !important; }
.text-\[13px\] { font-size: 13px !important; line-height: 1.45 !important; }
.text-\[14px\] { font-size: 14px !important; line-height: 1.5 !important; }
.text-\[15px\] { font-size: 15px !important; line-height: 1.5 !important; }
.text-\[16px\] { font-size: 16px !important; line-height: 1.5 !important; }
.text-\[18px\] { font-size: 18px !important; line-height: 1.4 !important; }
.text-\[20px\] { font-size: 20px !important; line-height: 1.3 !important; }

@media (min-width: 640px) {
  .sm\:text-\[9px\] { font-size: 9px !important; }
  .sm\:text-\[10px\] { font-size: 10px !important; }
  .sm\:text-\[11px\] { font-size: 11px !important; }
  .sm\:text-\[12px\] { font-size: 12px !important; }
  .sm\:text-\[13px\] { font-size: 13px !important; }
  .sm\:text-\[14px\] { font-size: 14px !important; }
  .sm\:text-\[15px\] { font-size: 15px !important; }
  .sm\:text-\[16px\] { font-size: 16px !important; }
}

/* Off-screen rendering optimization: skips off-screen layout & paint */
.content-auto {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Responsive Table & Column Min-widths for mobile horizontal scrolling */
.min-w-\[480px\] { min-width: 480px !important; }
.min-w-\[500px\] { min-width: 500px !important; }
.min-w-\[560px\] { min-width: 560px !important; }
.min-w-\[580px\] { min-width: 580px !important; }
.min-w-\[600px\] { min-width: 600px !important; }
.min-w-\[640px\] { min-width: 640px !important; }
.min-w-\[650px\] { min-width: 650px !important; }
.min-w-\[660px\] { min-width: 660px !important; }
.min-w-\[680px\] { min-width: 680px !important; }
.min-w-\[700px\] { min-width: 700px !important; }
.min-w-\[720px\] { min-width: 720px !important; }
.min-w-\[760px\] { min-width: 760px !important; }
.min-w-\[850px\] { min-width: 850px !important; }

.min-w-\[48px\] { min-width: 48px !important; }
.min-w-\[54px\] { min-width: 54px !important; }
.min-w-\[90px\] { min-width: 90px !important; }
.min-w-\[100px\] { min-width: 100px !important; }
.min-w-\[110px\] { min-width: 110px !important; }
.min-w-\[120px\] { min-width: 120px !important; }
.min-w-\[130px\] { min-width: 130px !important; }
.min-w-\[140px\] { min-width: 140px !important; }
.min-w-\[150px\] { min-width: 150px !important; }
.min-w-\[160px\] { min-width: 160px !important; }
.min-w-\[180px\] { min-width: 180px !important; }
.min-w-\[200px\] { min-width: 200px !important; }
.min-w-\[260px\] { min-width: 260px !important; }

/* Scrollable Container Max Heights & Min Heights */
.max-h-\[460px\] { max-height: 460px !important; }
.max-h-\[480px\] { max-height: 480px !important; }
.min-h-\[300px\] { min-height: 300px !important; }
.max-w-\[200px\] { max-width: 200px !important; }

/* Tailwind v3 utility fallbacks for Tailwind v2 environment */
.shrink-0 { flex-shrink: 0 !important; }
.scroll-mt-24 { scroll-margin-top: 6rem !important; }
.touch-pan-x { touch-action: pan-x !important; }
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.cursor-crosshair { cursor: crosshair !important; }

/* Half spacing utilities */
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.p-0\.5 { padding: 0.125rem !important; }
.p-1\.5 { padding: 0.375rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.h-1\.5 { height: 0.375rem !important; }
.w-1\.5 { width: 0.375rem !important; }
.h-2\.5 { height: 0.625rem !important; }
.w-2\.5 { width: 0.625rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-3\.5 { width: 0.875rem !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.ml-0\.5 { margin-left: 0.125rem !important; }
.ml-1\.5 { margin-left: 0.375rem !important; }
.mr-1\.5 { margin-right: 0.375rem !important; }
.top-2\.5 { top: 0.625rem !important; }
.left-2\.5 { left: 0.625rem !important; }
.right-2\.5 { right: 0.625rem !important; }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem !important; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem !important; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem !important; }

/* Common Opacity-adjusted Backgrounds & Borders */
.bg-blue-50\/30 { background-color: rgba(239, 246, 255, 0.3) !important; }
.bg-blue-50\/40 { background-color: rgba(239, 246, 255, 0.4) !important; }
.bg-blue-50\/50 { background-color: rgba(239, 246, 255, 0.5) !important; }
.bg-blue-50\/60 { background-color: rgba(239, 246, 255, 0.6) !important; }
.bg-blue-50\/70 { background-color: rgba(239, 246, 255, 0.7) !important; }
.bg-blue-50\/80 { background-color: rgba(239, 246, 255, 0.8) !important; }
.bg-blue-50\/90 { background-color: rgba(239, 246, 255, 0.9) !important; }
.from-blue-50\/60 { --tw-gradient-from: rgba(239, 246, 255, 0.6) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)) !important; }
.from-blue-50\/70 { --tw-gradient-from: rgba(239, 246, 255, 0.7) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)) !important; }
.to-indigo-50\/40 { --tw-gradient-to: rgba(238, 242, 255, 0.4) !important; }
.to-indigo-50\/50 { --tw-gradient-to: rgba(238, 242, 255, 0.5) !important; }
.border-blue-200\/60 { border-color: rgba(191, 219, 254, 0.6) !important; }

.bg-emerald-50\/50 { background-color: rgba(236, 253, 245, 0.5) !important; }
.bg-emerald-50\/60 { background-color: rgba(236, 253, 245, 0.6) !important; }

.bg-amber-50\/20 { background-color: rgba(255, 251, 235, 0.2) !important; }
.bg-amber-50\/40 { background-color: rgba(255, 251, 235, 0.4) !important; }
.bg-amber-50\/50 { background-color: rgba(255, 251, 235, 0.5) !important; }
.bg-amber-50\/60 { background-color: rgba(255, 251, 235, 0.6) !important; }
.bg-amber-50\/70 { background-color: rgba(255, 251, 235, 0.7) !important; }
.bg-amber-100\/70 { background-color: rgba(254, 243, 199, 0.7) !important; }
.border-amber-200\/60 { border-color: rgba(253, 230, 138, 0.6) !important; }

.bg-purple-50\/40 { background-color: rgba(250, 245, 255, 0.4) !important; }
.bg-purple-50\/50 { background-color: rgba(250, 245, 255, 0.5) !important; }
.bg-indigo-50\/50 { background-color: rgba(238, 242, 255, 0.5) !important; }

.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5) !important; }
.bg-gray-50\/70 { background-color: rgba(249, 250, 251, 0.7) !important; }
.border-gray-200\/60 { border-color: rgba(229, 231, 235, 0.6) !important; }
.border-current\/10 { border-color: currentColor !important; opacity: 0.1; }
.bg-black\/10 { background-color: rgba(0, 0, 0, 0.1) !important; }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7) !important; }

/* Sticky column horizontal shadow fallback */
.shadow-\[1px_0_0_0_\#e5e7eb\] { box-shadow: 1px 0 0 0 #e5e7eb !important; }

/* Micro typography utilities */
.text-2xs { font-size: 0.6875rem !important; line-height: 1rem !important; }
.text-3xs { font-size: 0.625rem !important; line-height: 0.875rem !important; }

/* Scrollbar hiding helpers */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Rose, Amber, Teal Gradient Fallbacks */
.from-rose-500 { --tw-gradient-from: #f43f5e !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 63, 94, 0)) !important; }
.from-rose-600 { --tw-gradient-from: #e11d48 !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(225, 29, 72, 0)) !important; }
.via-rose-600 { --tw-gradient-stops: var(--tw-gradient-from), #e11d48, var(--tw-gradient-to, rgba(225, 29, 72, 0)) !important; }
.to-rose-600 { --tw-gradient-to: #e11d48 !important; }
.to-rose-700 { --tw-gradient-to: #be123c !important; }
.to-amber-600 { --tw-gradient-to: #d97706 !important; }
.from-amber-500 { --tw-gradient-from: #f59e0b !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(245, 158, 11, 0)) !important; }
.via-amber-500 { --tw-gradient-stops: var(--tw-gradient-from), #f59e0b, var(--tw-gradient-to, rgba(245, 158, 11, 0)) !important; }
.from-teal-600 { --tw-gradient-from: #0d9488 !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(13, 148, 136, 0)) !important; }
.to-teal-700 { --tw-gradient-to: #0f766e !important; }
.to-emerald-800 { --tw-gradient-to: #065f46 !important; }

/* Missing Hover Backgrounds */
.hover\:bg-blue-700:hover { background-color: #1d4ed8 !important; }
.hover\:bg-indigo-700:hover { background-color: #4338ca !important; }
.hover\:bg-teal-700:hover { background-color: #0f766e !important; }
.hover\:bg-rose-700:hover { background-color: #be123c !important; }
.hover\:bg-amber-700:hover { background-color: #b45309 !important; }

/* Spacing & Utilities */
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.p-1\.5 { padding: 0.375rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.scroll-mt-24 { scroll-margin-top: 6rem !important; }
.scroll-mt-20 { scroll-margin-top: 5rem !important; }



/* Teal Palette Fallbacks for Tailwind v2 */
.bg-teal-50 { background-color: #f0fdfa !important; }
.bg-teal-100 { background-color: #ccfbf1 !important; }
.bg-teal-200 { background-color: #99f6e4 !important; }
.bg-teal-500 { background-color: #14b8a6 !important; }
.bg-teal-600 { background-color: #0d9488 !important; }
.bg-teal-700 { background-color: #0f766e !important; }
.bg-teal-800 { background-color: #115e59 !important; }
.bg-teal-900 { background-color: #134e4a !important; }
.text-teal-600 { color: #0d9488 !important; }
.text-teal-700 { color: #0f766e !important; }
.text-teal-800 { color: #115e59 !important; }
.text-teal-900 { color: #134e4a !important; }
.text-teal-100 { color: #ccfbf1 !important; }
.text-teal-900\/80 { color: rgba(19, 78, 74, 0.8) !important; }
.border-teal-100 { border-color: #ccfbf1 !important; }
.border-teal-200 { border-color: #99f6e4 !important; }
.border-teal-500 { border-color: #14b8a6 !important; }
.border-teal-600 { border-color: #0d9488 !important; }
.border-teal-700 { border-color: #0f766e !important; }
.border-teal-800 { border-color: #115e59 !important; }
.border-l-teal-600 { border-left-color: #0d9488 !important; }
.hover\:bg-teal-700:hover { background-color: #0f766e !important; }
.hover\:bg-teal-800:hover { background-color: #115e59 !important; }

/* Amber Additional Fallbacks */
.bg-amber-700 { background-color: #b45309 !important; }
.bg-amber-800 { background-color: #92400e !important; }
.bg-amber-900 { background-color: #78350f !important; }
.border-amber-700 { border-color: #b45309 !important; }
.border-amber-800 { border-color: #92400e !important; }
.border-amber-900 { border-color: #78350f !important; }
.border-l-amber-500 { border-left-color: #f59e0b !important; }
.border-l-amber-600 { border-left-color: #d97706 !important; }
.hover\:bg-amber-700:hover { background-color: #b45309 !important; }
.hover\:bg-amber-800:hover { background-color: #92400e !important; }
.text-amber-900\/80 { color: rgba(120, 53, 15, 0.8) !important; }
.text-amber-900\/90 { color: rgba(120, 53, 15, 0.9) !important; }

/* Stone Palette Fallbacks */
.bg-stone-50 { background-color: #fafaf9 !important; }
.bg-stone-100 { background-color: #f5f5f4 !important; }
.bg-stone-200 { background-color: #e7e5e4 !important; }
.bg-stone-300 { background-color: #d6d3d1 !important; }
.bg-stone-100\/60 { background-color: rgba(245, 245, 244, 0.6) !important; }
.border-stone-200 { border-color: #e7e5e4 !important; }
.border-stone-300 { border-color: #d6d3d1 !important; }
.text-stone-500 { color: #78716c !important; }
.text-stone-600 { color: #57534e !important; }
.text-stone-700 { color: #44403c !important; }
.hover\:bg-stone-100:hover { background-color: #f5f5f4 !important; }
.hover\:bg-stone-200:hover { background-color: #e7e5e4 !important; }

/* Border Left & Misc Color Utilities */
.border-l-rose-600 { border-left-color: #e11d48 !important; }
.border-l-red-600 { border-left-color: #dc2626 !important; }
.border-l-blue-500 { border-left-color: #3b82f6 !important; }
.border-l-blue-600 { border-left-color: #2563eb !important; }
.border-l-emerald-600 { border-left-color: #059669 !important; }
.border-l-orange-600 { border-left-color: #ea580c !important; }

.text-rose-900\/80 { color: rgba(159, 18, 57, 0.8) !important; }
.text-red-900\/80 { color: rgba(153, 27, 27, 0.8) !important; }
.text-blue-900\/80 { color: rgba(30, 58, 138, 0.8) !important; }
.text-orange-900\/80 { color: rgba(154, 52, 18, 0.8) !important; }
.text-emerald-900\/80 { color: rgba(6, 78, 59, 0.8) !important; }

/* Custom Backgrounds & Gradients */
.bg-\[\#fdfbf7\] { background-color: #fdfbf7 !important; }
.bg-\[\#faf8f5\] { background-color: #faf8f5 !important; }
.border-amber-200\/70 { border-color: rgba(253, 230, 138, 0.7) !important; }
.border-amber-900\/10 { border-color: rgba(120, 53, 15, 0.1) !important; }
.bg-amber-100\/70 { background-color: rgba(254, 243, 199, 0.7) !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.25) !important; }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8) !important; }
.from-teal-50 { --tw-gradient-from: #f0fdfa !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 250, 0)) !important; }
.via-emerald-50\/50 { --tw-gradient-stops: var(--tw-gradient-from), rgba(236, 253, 245, 0.5), var(--tw-gradient-to, rgba(236, 253, 245, 0)) !important; }

/* Sticky Header & Nav Button Color Fallbacks */
header.sticky {
  background-color: #ffffff !important;
}
header nav button {
  color: #374151 !important;
}
header nav button:hover {
  color: #2563eb !important;
}

