/* Minimal fallback utilities when Tailwind CDN is blocked in mobile webviews */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, Segoe UI, Arial, sans-serif; background: #f9fafb; color: #111827; }

.hidden { display: none !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }

.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }

.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-10 { margin-top: 2.5rem; }

.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }

.bg-white { background: #ffffff; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }
.bg-slate-900 { background: #0f172a; }
.bg-green-500 { background: #22c55e; }

.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-slate-900 { color: #0f172a; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-amber-600 { color: #d97706; }

.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.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-4xl { font-size: 2.25rem; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

.shadow { box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.shadow-lg { box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.space-y-4 > * + * { margin-top: 1rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:w-64 { width: 16rem; }
  .md\:fixed { position: fixed; }
  .md\:inset-y-0 { top: 0; bottom: 0; }
  .md\:ml-64 { margin-left: 16rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:p-12 { padding: 3rem; }
}
