/* Minimal layout utilities — replaces CDN Tailwind for wcat */

.hidden { display: none !important; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-2 { top: 0.5rem; }
.top-20 { top: 5rem; }
.right-3 { right: 0.75rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-\[90\%\] { width: 90%; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.max-w-md { max-width: 28rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-0\.5 { padding-top: 0.125rem; }

.m-0 { margin: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-1 { margin-right: 0.25rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-sans { font-family: var(--wc-font); }
.break-words { overflow-wrap: anywhere; word-break: break-word; }

.text-white { color: #fff; }
.text-gray-600 { color: var(--wc-muted); }
.text-gray-900 { color: var(--wc-ink); }
.text-red-700 { color: #b91c1c; }
.text-\[color\:var\(--wc-muted\)\] { color: var(--wc-muted); }
.text-\[color\:var\(--wc-ink-soft\)\] { color: var(--wc-ink-soft); }

.bg-white { background: #fff; }
.bg-black\/20 { background: rgba(0, 0, 0, 0.2); }
.bg-black\/50 { background: rgba(0, 0, 0, 0.5); }
.bg-red-50 { background: #fef2f2; }
.bg-\[\#0077FF\] { background: #0077ff; }
.bg-\[color\:var\(--wc-accent-soft\)\] { background: var(--wc-accent-soft); }

.border { border-width: 1px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-red-200 { border-color: #fecaca; }
.border-\[color\:var\(--wc-line\)\] { border-color: var(--wc-line); }
.border-t-\[color\:var\(--wc-accent\)\] { border-top-color: var(--wc-accent); }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.animate-spin { animation: wc-spin 0.8s linear infinite; }
@keyframes wc-spin { to { transform: rotate(360deg); } }

.hover\:text-\[color\:var\(--wc-accent\)\]:hover { color: var(--wc-accent); }
.hover\:bg-\[color\:var\(--wc-accent-soft\)\]:hover { background: var(--wc-accent-soft); }

.min-h-screen { min-height: 100vh; }

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:block { display: block !important; }
  .md\:hidden { display: none !important; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none !important; }
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:gap-6 { gap: 1.5rem; }
}
