/* ============================================================
   ApkAlloy hand-rolled utility CSS (Tailwind-style, no build step)
   Organized: reset/tokens -> layout -> spacing -> sizing ->
   typography -> color -> border/shadow -> effects -> responsive ->
   state variants (hover/focus/group) -> dark mode -> one-offs
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html, body { margin: 0; width: 100%; height: 100%; }
body { background: var(--background); color: var(--foreground); font-family: system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; }

/* ---------- Design tokens ---------- */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #f8fafc;
  --card-foreground: #0f172a;
  --primary: #00E055;
  --primary-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #0f172a;
  --border: #e2e8f0;
}
.dark {
  --background: #000000;
  --foreground: #f8fafc;
  --card: #161725;
  --card-foreground: #f8fafc;
  --primary: #1ade3b;
  --primary-foreground: #ffffff;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #1e293b;
  --accent-foreground: #f8fafc;
  --border: #334155;
}
:root { color-scheme: light dark; }

/* ---------- Display ---------- */
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }

/* ---------- Flex / Grid ---------- */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.lg\:shrink { flex-shrink: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:col-span-2 { grid-column: span 2 / span 2; }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md\:grid-cols-\[1fr_350px\] { grid-template-columns: 1fr 350px; }
.md\:grid-cols-\[300px_1fr\] { grid-template-columns: 300px 1fr; }
.group { position: relative; }

/* ---------- Spacing scale ---------- */
/* padding */
.p-0 { padding: 0; } .p-1 { padding: 0.25rem; } .p-1\.5 { padding: 0.375rem; } .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-12 { padding: 3rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.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; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-0 { padding-top: 0; } .pt-2 { padding-top: 0.5rem; } .pt-4 { padding-top: 1rem; } .pt-16 { padding-top: 4rem; }
.pb-0 { padding-bottom: 0; } .pb-1 { padding-bottom: 0.25rem; } .pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; } .pb-12 { padding-bottom: 3rem; }
.pl-6 { padding-left: 1.5rem; } .pr-6 { padding-right: 1.5rem; }
/* margin */
.m-0 { margin: 0; }
.mt-1\.5 { margin-top: 0.375rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.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; }
.ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; } .mr-2 { margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; } .my-8 { margin-top: 2rem; margin-bottom: 2rem; } .my-12 { margin-top: 3rem; margin-bottom: 3rem; }
/* gap */
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.gap-x-6 { column-gap: 1.5rem; } .gap-y-3 { row-gap: 0.75rem; }
/* space-between children */
.space-x-1 > * + * { margin-left: 0.25rem; } .space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; } .space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; } .space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; } .space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; } .space-y-8 > * + * { margin-top: 2rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-gray-200 > * + * { border-color: #e5e7eb; }
.dark .dark\:divide-white\/10 > * + * { border-color: rgba(255,255,255,0.1); }
.last\:border-0:last-child { border-width: 0; }

/* ---------- Sizing ---------- */
.w-full { width: 100%; } .w-screen { width: 100vw; } .w-1\/3 { width: 33.3333%; }
.w-1 { width: 0.25rem; } .w-2\.5 { width: 0.625rem; } .w-3 { width: 0.75rem; } .w-4 { width: 1rem; }
.w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; } .w-8 { width: 2rem; } .w-12 { width: 3rem; }
.w-16 { width: 4rem; } .w-20 { width: 5rem; } .w-24 { width: 6rem; }
.min-w-0 { min-width: 0; } .min-w-full { min-width: 100%; }
.h-full { height: 100%; } .h-px { height: 1px; } .min-h-screen { min-height: 100vh; }
.h-1 { height: 0.25rem; } .h-2\.5 { height: 0.625rem; } .h-3 { height: 0.75rem; } .h-4 { height: 1rem; }
.h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; } .h-8 { height: 2rem; } .h-12 { height: 3rem; }
.h-16 { height: 4rem; } .h-20 { height: 5rem; } .h-48 { height: 12rem; }
.max-w-none { max-width: none; } .max-w-sm { max-width: 24rem; } .max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; } .max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; } .max-w-7xl { max-width: 80rem; }
.aspect-square { aspect-ratio: 1 / 1; } .aspect-video { aspect-ratio: 16 / 9; }
.aspect-4\/3 { aspect-ratio: 4 / 3; } .aspect-9\/16 { aspect-ratio: 9 / 16; }

/* ---------- Typography ---------- */
.text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; } .text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; } .text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; } .font-extrabold { font-weight: 800; } .font-black { font-weight: 900; }
.leading-tight { line-height: 1.25; } .leading-snug { line-height: 1.375; } .leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; } .tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; } .tracking-widest { letter-spacing: 0.1em; }
.text-left { text-align: left; } .text-center { text-align: center; }
.uppercase { text-transform: uppercase; } .capitalize { text-transform: capitalize; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Color: backgrounds ---------- */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #fff; } .bg-black\/50 { background-color: rgba(0,0,0,0.5); } .bg-black\/60 { background-color: rgba(0,0,0,0.6); }
.bg-background { background-color: var(--background); } .bg-background\/80 { background-color: color-mix(in srgb, var(--background) 80%, transparent); }
.bg-muted { background-color: var(--muted); } .bg-primary { background-color: var(--primary); }
.bg-primary\/5 { background-color: color-mix(in srgb, var(--primary) 5%, transparent); }
.bg-primary\/40 { background-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.bg-gray-50 { background-color: #f9fafb; } .bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; } .bg-gray-300 { background-color: #d1d5db; } .bg-gray-400 { background-color: #9ca3af; }
.bg-green-500 { background-color: #22c55e; } .bg-red-500 { background-color: #ef4444; }
.text-green-500 { color: #22c55e; }
.bg-linear-to-t { background-image: linear-gradient(to top, var(--tw-from, transparent), var(--tw-to, transparent)); }
.bg-linear-to-r { background-image: linear-gradient(to right, var(--tw-from, transparent), var(--tw-to, transparent)); }
.from-black\/90 { --tw-from: rgba(0,0,0,0.9); } .from-black\/95 { --tw-from: rgba(0,0,0,0.95); }
.via-black\/40 { } .to-transparent { --tw-to: transparent; }

/* ---------- Color: text ---------- */
.text-foreground { color: var(--foreground); } .text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); } .text-black { color: #000; } .text-white { color: #fff; } .text-white\/80 { color: rgba(255,255,255,0.8); }
.text-gray-300 { color: #d1d5db; } .text-gray-400 { color: #9ca3af; } .text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; } .text-gray-700 { color: #374151; } .text-gray-900 { color: #111827; }
.text-red-500 { color: #ef4444; } .text-red-600 { color: #dc2626; } .text-yellow-400 { color: #facc15; }
.placeholder-gray-400::placeholder { color: #9ca3af; }
.fill-current { fill: currentColor; }

/* ---------- Border / radius / shadow ---------- */
.border { border-width: 1px; } .border-2 { border-width: 2px; } .border-l-4 { border-left-width: 4px; }
.border-primary { border-color: var(--primary); }
.border-t { border-top-width: 1px; } .border-b { border-bottom-width: 1px; } .border-l { border-left-width: 1px; }
.border-border { border-color: var(--border); }
.border-gray-100 { border-color: #f3f4f6; } .border-gray-200 { border-color: #e5e7eb; }
.border-primary\/20 { border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
.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-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-primary\/20 { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--primary) 20%, transparent); }

/* ---------- Effects / interactivity ---------- */
.opacity-0 { opacity: 0; } .opacity-20 { opacity: 0.2; } .opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; } .opacity-80 { opacity: 0.8; } .opacity-90 { opacity: 0.9; }
.overflow-hidden { overflow: hidden; } .overflow-x-auto { overflow-x: auto; } .overflow-x-hidden { overflow-x: hidden; } .overflow-y-auto { overflow-y: auto; }
.pointer-events-none { pointer-events: none; } .select-none { user-select: none; } .cursor-pointer { cursor: pointer; }
.transform { } .rotate-180 { transform: rotate(180deg); }
.translate-x-full { transform: translateX(100%); }
.-translate-x-\[50\%\] { transform: translateX(-50%); }
.transition { transition-property: all; } .transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.transition-opacity { transition-property: opacity; } .transition-transform { transition-property: transform; }
.duration-300 { transition-duration: 300ms; } .duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; } .duration-1000 { transition-duration: 1000ms; }
.ease-linear { transition-timing-function: linear; }
.animate-spin { animation: spin 1s linear infinite; } .animate-pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.5; } }
.backdrop-blur-sm { backdrop-filter: blur(4px); } .backdrop-blur-xl { backdrop-filter: blur(24px); }
.blur { filter: blur(8px); }
.z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-40 { z-index: 40; } .z-50 { z-index: 50; }
.top-0 { top: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; } .right-0 { right: 0; } .left-3 { left: 0.75rem; } .top-3 { top: 0.75rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.left-\[50\%\] { left: 50%; }
.snap-x { scroll-snap-type: x mandatory; } .snap-mandatory { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; } .snap-center { scroll-snap-align: center; }
.object-cover { object-fit: cover; } .object-contain { object-fit: contain; } .object-top { object-position: top; }

/* ---------- Forms ---------- */
.focus\:outline-none:focus, .focus\:outline-hidden:focus { outline: none; }
.focus\:border-primary:focus { border-color: var(--primary); }
.resize-none { resize: none; }

/* ---------- Hover / group-hover ---------- */
.hover\:bg-gray-50:hover { background-color: #f9fafb; } .hover\:bg-gray-100:hover { background-color: #f3f4f6; } .hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-primary\/90:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:border-gray-300:hover { border-color: #d1d5db; }
.hover\:text-primary:hover { color: var(--primary); } .hover\:text-primary\/80:hover { color: color-mix(in srgb, var(--primary) 80%, transparent); }
.hover\:text-white:hover { color: #fff; } .hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); } .hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.group:hover .group-hover\:opacity-30 { opacity: 0.3; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:text-gray-700 { color: #374151; }
.group:hover .group-hover\:translate-x-0\.5 { transform: translateX(0.125rem); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:space-x-4 > * + * { margin-left: 1rem; }
.group[open] .group-open\:-rotate-180 { transform: rotate(-180deg); }

/* ---------- Dark mode (mirrors light-mode classes above where they differ) ---------- */
.dark .dark\:hidden { display: none; }
.dark .dark\:block { display: block; }
.dark .dark\:bg-transparent { background-color: transparent; }
.dark .dark\:bg-primary\/10 { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
.dark .dark\:bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.dark .dark\:bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.dark .dark\:border-white\/5 { border-color: rgba(255,255,255,0.05); }
.dark .dark\:border-white\/10 { border-color: rgba(255,255,255,0.1); }
.dark .dark\:text-white { color: #fff; }
.dark .dark\:text-gray-300 { color: #d1d5db; } .dark .dark\:text-gray-400 { color: #9ca3af; }
.dark .dark\:text-gray-500 { color: #6b7280; } .dark .dark\:text-gray-600 { color: #4b5563; } .dark .dark\:text-gray-700 { color: #374151; }
.dark .dark\:text-red-400 { color: #f87171; }
.dark .dark\:hover\:bg-white\/5:hover { background-color: rgba(255,255,255,0.05); }
.dark .dark\:hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.dark .dark\:hover\:border-white\/20:hover { border-color: rgba(255,255,255,0.2); }
.dark .group:hover .dark\:group-hover\:text-gray-300 { color: #d1d5db; }

/* ---------- Responsive (mobile-first; matches Tailwind default breakpoints) ---------- */
@media (min-width: 640px) {
  .sm\:block { display: block; } .sm\:hidden { display: none; } .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:items-start { align-items: flex-start; } .sm\:text-left { text-align: left; }
  .sm\:gap-12 { gap: 3rem; } .sm\:mx-0 { margin-left: 0; margin-right: 0; }
  .sm\:p-8 { padding: 2rem; } .sm\:p-10 { padding: 2.5rem; } .sm\:px-0 { padding-left: 0; padding-right: 0; }
  .sm\:space-x-3 > * + * { margin-left: 0.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; } .sm\:text-4xl { font-size: 2.25rem; } .sm\:text-base { font-size: 1rem; } .sm\:text-lg { font-size: 1.125rem; }
  .sm\:aspect-21\/9 { aspect-ratio: 21 / 9; } .sm\:max-w-md { max-width: 28rem; }
}
@media (min-width: 768px) {
  .md\:block { display: block; } .md\:hidden { display: none; } .md\:flex { display: flex; }
  .md\:gap-8 { gap: 2rem; } .md\:text-4xl { font-size: 2.25rem; } .md\:text-5xl { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; } .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:min-w-0 { min-width: 0; } .lg\:shrink { flex-shrink: 1; }
}

/* ---------- One-offs / named components (replace Tailwind arbitrary-value syntax) ---------- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.glass { background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); }
.dark .glass { background: rgba(0,0,0,0.2); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); }
.prose a { color: #2563eb !important; text-decoration: underline; }
.prose a * { color: inherit !important; }
.dark .prose a { color: #3b82f6 !important; }
.h-card, .vcard { } /* h-card microformat markers, no visual styling */

/* Card sizes used for app/blog cards (replace bracketed widths/heights) */
.card-w-140 { width: 140px; } .card-w-144 { width: 144px; } .card-w-160 { width: 160px; }
.card-h-153 { height: 153px; } .card-h-200 { height: 200px; } .card-h-400 { height: 400px; }
.icon-bg-primary { background-color: var(--primary); }

/* ---------- Arbitrary-value classes (ported 1:1 from the old Tailwind markup) ---------- */
.bg-\[\#00E055\] { background-color: #00E055; }
.dark .dark\:bg-\[\#00E055\]\/20 { background-color: rgba(0,224,85,0.2); }
.bg-\[\#d9d9d9\] { background-color: #d9d9d9; }
.bg-\[\#e5e5e5\] { background-color: #e5e5e5; }
.dark .dark\:bg-\[\#1b1b1b\] { background-color: #1b1b1b; }
.dark .dark\:bg-\[\#1b1b1b\]\/95 { background-color: rgba(27,27,27,0.95); }
.dark .dark\:bg-\[\#262626\] { background-color: #262626; }
.hover\:bg-\[\#00C048\]:hover { background-color: #00C048; }
.hover\:bg-\[\#c9c9c9\]:hover { background-color: #c9c9c9; }
.text-\[\#00E055\] { color: #00E055; }
.text-\[10px\] { font-size: 10px; }
.text-\[15px\] { font-size: 15px; }
.rounded-\[10px\] { border-radius: 10px; }
.p-\[10px\] { padding: 10px; }
.shadow-\[\#00E055\]\/20 { box-shadow: 0 10px 15px -3px rgba(0,224,85,0.2); }
.from-\[\#00E055\] { --tw-from: #00E055; }
.to-\[\#00C048\] { --tw-to: #00C048; }
.min-w-\[200px\] { min-width: 200px; }
.min-w-\[220px\] { min-width: 220px; }
.w-\[280px\] { width: 280px; }
.w-\[140px\] { width: 140px; }
.w-\[144px\] { width: 144px; }
.h-\[153px\] { height: 153px; }
.h-\[200px\] { height: 200px; }
.h-\[400px\] { height: 400px; }
.max-h-\[250px\] { max-height: 250px; }
.max-h-\[60vh\] { max-height: 60vh; }
.-inset-0\.5 { top: -0.125rem; right: -0.125rem; bottom: -0.125rem; left: -0.125rem; }
@media (min-width: 640px) {
  .sm\:w-\[160px\] { width: 160px; }
  .sm\:max-h-\[260px\] { max-height: 260px; }
  .sm\:min-w-\[260px\] { min-width: 260px; }
}
.border-\[\#e0e0e0\] { border-color: #e0e0e0; }
.hover\:border-\[\#c0c0c0\]:hover { border-color: #c0c0c0; }
.bg-black { background-color: #000; }
.dark .dark\:bg-black { background-color: #000; }
.w-\[128px\] { width: 128px; }
.h-\[172px\] { height: 172px; }
.dark .dark\:bg-white { background-color: #fff; }
.text-white { color: #fff; }
.dark .dark\:text-black { color: #000; }
.bg-\[\#f2f2f2\] { background-color: #f2f2f2; }
.border-\[\#d0d0d0\] { border-color: #d0d0d0; }
.hover\:border-\[\#b0b0b0\]:hover { border-color: #b0b0b0; }
.bg-\[\#4a4a4a\] { background-color: #4a4a4a; }
.dark .dark\:bg-black\/10 { background-color: rgba(0,0,0,0.1); }
.text-black\/60 { color: rgba(0,0,0,0.6); }
.dark .dark\:text-white\/60 { color: rgba(255,255,255,0.6); }
.shadow-black\/10 { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.dark .dark\:shadow-white\/5 { box-shadow: 0 10px 15px -3px rgba(255,255,255,0.05); }

/* ---------- Rich content (app/blog body HTML from the CMS) ---------- */
.rich-content, .rich-content *:not(a):not(a *) { color: #000000 !important; }
.rich-content h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.rich-content h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; margin-top: 1.5rem; }
.rich-content h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1.25rem; }
.rich-content h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1rem; }
.rich-content p { margin-bottom: 1rem; line-height: 1.75; }
.rich-content ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.rich-content ol { list-style-type: decimal; margin-left: 1.5rem; margin-bottom: 1rem; }
.rich-content li { margin-bottom: 0.25rem; line-height: 1.75; }
.rich-content a, .rich-content a * { color: #2563eb !important; text-decoration: underline; }
.rich-content strong { font-weight: 600; }
.rich-content em { font-style: italic; }
.dark .rich-content, .dark .rich-content *:not(a):not(a *) { color: #d1d5db !important; }
.dark .rich-content h1, .dark .rich-content h2, .dark .rich-content h3, .dark .rich-content h4 { color: #f9fafb !important; }
.dark .rich-content a, .dark .rich-content a * { color: #60a5fa !important; }

/* ---------- Gaps found auditing real generated pages against the original markup ---------- */
.list-disc { list-style-type: disc; } .list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; } .list-none { list-style: none; }
.underline { text-decoration: underline; }
.whitespace-nowrap { white-space: nowrap; }
.pl-4 { padding-left: 1rem; }
.z-\[100\] { z-index: 100; }
.hover\:scale-\[1\.05\]:hover { transform: scale(1.05); }
.hover\:text-black:hover { color: #000; }
.dark .dark\:hover\:text-white:hover { color: #fff; }
.text-blue-500 { color: #3b82f6; }
.bg-white\/90 { background-color: rgba(255,255,255,0.9); }
.border-gray-200\/50 { border-color: rgba(229,231,235,0.5); }
.border-gray-100\/50 { border-color: rgba(243,244,246,0.5); }
.hover\:bg-gray-50\/50:hover { background-color: rgba(249,250,251,0.5); }
.bg-\[\#00E055\]\/10 { background-color: rgba(0,224,85,0.1); }
.dark .dark\:text-black\/60 { color: rgba(0,0,0,0.6); }
/* CMS rich-text editor sometimes embeds Tailwind !important-modifier classes directly in content */
.rich-content .\!text-blue-600 { color: #2563eb !important; }
.dark .rich-content .dark\:\!text-blue-400 { color: #60a5fa !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted-foreground) 20%, transparent); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--muted-foreground) 40%, transparent); }
