/* fenix-tailwind-shim.css
 * TAILWIND-SHIM sub-plan — Tailwind 3.4 vocab, version-locked.
 *
 * Implements the bounded utility set Fenix renderers may emit (TAILWIND-VOCAB rule):
 *   spacing / layout / grid / typography-size / object-fit / border-radius (~40 utilities)
 *
 * For themes that don't bundle Tailwind themselves. Theme adapters declaring
 * IsTailwindNative=false get this auto-injected by the public render pipeline.
 *
 * ALLOWED utilities (renderers may emit these):
 *   m-{0..16}, mx-auto, my-{0..16}, mt-{0..16}, mb-{0..16}, ml-{0..8}, mr-{0..8}
 *   p-{0..16}, px-{0..8}, py-{0..16}
 *   max-w-{sm,md,lg,xl,2xl,3xl,4xl,5xl,6xl,full}, w-full, h-full
 *   flex, inline-flex, grid, items-{start,center,end,baseline}
 *   justify-{start,center,end,between,around}, gap-{0..16}, flex-{col,row,wrap}
 *   block, inline-block, hidden, md:{block,grid,flex,hidden,grid-cols-1..4}
 *   text-{xs,sm,base,lg,xl,2xl,3xl,4xl,5xl,6xl}, text-{left,center,right}
 *   font-{normal,medium,semibold,bold,extrabold}, italic
 *   leading-{none,tight,snug,normal,relaxed,loose}, tracking-{tight,normal,wide,wider}
 *   object-{cover,contain}, aspect-{square,video}
 *   rounded-{none,sm,md,lg,xl,2xl,3xl,full}, border, border-{0,1,2,4}
 *
 * FORBIDDEN (renderers must NOT emit these):
 *   colour utilities (text-slate-*, bg-pink-*) — use CSS vars
 *   shadow / gradient / hover / transition / ring utilities — use BEM hooks
 */

/* ── Margin ─────────────────────────────────────────── */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; } .m-2 { margin: 0.5rem; } .m-3 { margin: 0.75rem; } .m-4 { margin: 1rem; }
.m-6 { margin: 1.5rem; } .m-8 { margin: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; } .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-0 { margin-top: 0; margin-bottom: 0; } .my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; } .my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; } .my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; } .my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.25rem; } .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-2 { margin-left: 0.5rem; } .ml-3 { margin-left: 0.75rem; } .ml-4 { margin-left: 1rem; }
.mr-2 { margin-right: 0.5rem; } .mr-4 { margin-right: 1rem; }

/* ── Padding ────────────────────────────────────────── */
.p-0 { padding: 0; } .p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.px-0 { padding-left: 0; padding-right: 0; } .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-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0 { padding-top: 0; padding-bottom: 0; } .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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; } .py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* ── Width / Height ─────────────────────────────────── */
.w-full { width: 100%; } .w-auto { width: auto; }
.h-full { height: 100%; } .h-auto { height: auto; }
.max-w-sm { max-width: 24rem; } .max-w-md { max-width: 28rem; } .max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; } .max-w-5xl { max-width: 64rem; } .max-w-6xl { max-width: 72rem; }
.max-w-full { max-width: 100%; }

/* ── Flex / Grid ────────────────────────────────────── */
.flex { display: flex; } .inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-row { flex-direction: row; } .flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; } .items-center { align-items: center; }
.items-end { align-items: flex-end; } .items-baseline { align-items: baseline; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; } .justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-0 { gap: 0; } .gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Display ────────────────────────────────────────── */
.block { display: block; } .inline-block { display: inline-block; } .hidden { display: none; }

/* ── Typography (size only, no colour) ──────────────── */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; }
.font-normal { font-weight: 400; } .font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-extrabold { font-weight: 800; }
.italic { font-style: italic; }
.leading-none { line-height: 1; } .leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; } .leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; } .leading-loose { line-height: 2; }
.tracking-tight { letter-spacing: -0.025em; } .tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; } .tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; } .lowercase { text-transform: lowercase; }

/* ── Object-fit / aspect ────────────────────────────── */
.object-cover { object-fit: cover; } .object-contain { object-fit: contain; }
.aspect-square { aspect-ratio: 1 / 1; } .aspect-video { aspect-ratio: 16 / 9; }

/* ── Border-radius / Border ─────────────────────────── */
.rounded-none { border-radius: 0; } .rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; } .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; }
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; } .border-2 { border-width: 2px; } .border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }

/* ── Position ───────────────────────────────────────── */
.relative { position: relative; } .absolute { position: absolute; }
.fixed { position: fixed; } .sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; }

/* ── Overflow ───────────────────────────────────────── */
.overflow-hidden { overflow: hidden; } .overflow-auto { overflow: auto; }

/* ── Responsive (md = 768px+) ───────────────────────── */
@media (min-width: 768px) {
    .md\:block { display: block; } .md\:flex { display: flex; }
    .md\:grid { display: grid; } .md\:hidden { display: none; }
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
