/*
  Minimal utility fallback used when third-party CDNs are blocked
  (e.g. WhatsApp in-app browser/data saver). This is NOT a full Tailwind build,
  but keeps the legacy UI usable instead of rendering as plain text.
*/
html, body { margin: 0; padding: 0; min-height: 100%; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
* { box-sizing: border-box; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: .5rem; }
.gap-4 { gap: 1rem; }
.min-w-0 { min-width: 0; }
.w-full { width: 100%; }
.h-screen { height: 100vh; }
.h-16 { height: 4rem; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.fixed { position: fixed; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.p-2 { padding: .5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.border-b { border-bottom: 1px solid rgba(148,163,184,.25); }
.border-t { border-top: 1px solid rgba(148,163,184,.25); }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.text-white { color: #fff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-blue-600 { color: #2563eb; }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-slate-900 { background: #0f172a; }
.font-bold { font-weight: 700; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.leading-none { line-height: 1; }
.transition-colors { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

/* Coarse mobile defaults when Tailwind classes are missing */
body { background: #f8fafc; color: #0f172a; }
main { min-height: 100vh; }
.sidebar-desk { width: 280px; max-width: 80vw; }
.mobile-nav { display: none; }

@media (max-width: 1024px) {
  body { flex-direction: column !important; }
  .sidebar-desk { display: none !important; }
  .mobile-nav { display: flex !important; }
  main { padding-bottom: 4rem; }
}
