/* ==========================================================================
   OMNI COLOR — UTILITIES STYLESHEET
   File: assets/css/utilities.css
   Purpose: Single-purpose helper classes used across pages
   Author: Omni Color
   Version: 1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SPACING — MARGIN
   -------------------------------------------------------------------------- */
.m-0 { margin: 0 !important; }
.m-1 { margin: var(--space-1) !important; }
.m-2 { margin: var(--space-2) !important; }
.m-3 { margin: var(--space-3) !important; }
.m-4 { margin: var(--space-4) !important; }
.m-5 { margin: var(--space-5) !important; }
.m-6 { margin: var(--space-6) !important; }
.m-8 { margin: var(--space-8) !important; }
.m-auto { margin: auto !important; }

.mx-0 { margin-inline: 0 !important; }
.mx-1 { margin-inline: var(--space-1) !important; }
.mx-2 { margin-inline: var(--space-2) !important; }
.mx-3 { margin-inline: var(--space-3) !important; }
.mx-4 { margin-inline: var(--space-4) !important; }
.mx-6 { margin-inline: var(--space-6) !important; }
.mx-8 { margin-inline: var(--space-8) !important; }
.mx-auto { margin-inline: auto !important; }

.my-0 { margin-block: 0 !important; }
.my-1 { margin-block: var(--space-1) !important; }
.my-2 { margin-block: var(--space-2) !important; }
.my-3 { margin-block: var(--space-3) !important; }
.my-4 { margin-block: var(--space-4) !important; }
.my-6 { margin-block: var(--space-6) !important; }
.my-8 { margin-block: var(--space-8) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-10 { margin-top: var(--space-10) !important; }
.mt-auto { margin-top: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-10 { margin-bottom: var(--space-10) !important; }

.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }

/* --------------------------------------------------------------------------
   2. SPACING — PADDING
   -------------------------------------------------------------------------- */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-1) !important; }
.p-2 { padding: var(--space-2) !important; }
.p-3 { padding: var(--space-3) !important; }
.p-4 { padding: var(--space-4) !important; }
.p-5 { padding: var(--space-5) !important; }
.p-6 { padding: var(--space-6) !important; }
.p-8 { padding: var(--space-8) !important; }

.px-0 { padding-inline: 0 !important; }
.px-1 { padding-inline: var(--space-1) !important; }
.px-2 { padding-inline: var(--space-2) !important; }
.px-3 { padding-inline: var(--space-3) !important; }
.px-4 { padding-inline: var(--space-4) !important; }
.px-6 { padding-inline: var(--space-6) !important; }
.px-8 { padding-inline: var(--space-8) !important; }

.py-0 { padding-block: 0 !important; }
.py-1 { padding-block: var(--space-1) !important; }
.py-2 { padding-block: var(--space-2) !important; }
.py-3 { padding-block: var(--space-3) !important; }
.py-4 { padding-block: var(--space-4) !important; }
.py-6 { padding-block: var(--space-6) !important; }
.py-8 { padding-block: var(--space-8) !important; }

.pt-0 { padding-top: 0 !important; }
.pt-2 { padding-top: var(--space-2) !important; }
.pt-4 { padding-top: var(--space-4) !important; }
.pt-6 { padding-top: var(--space-6) !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: var(--space-2) !important; }
.pb-4 { padding-bottom: var(--space-4) !important; }
.pb-6 { padding-bottom: var(--space-6) !important; }

/* --------------------------------------------------------------------------
   3. DISPLAY
   -------------------------------------------------------------------------- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }
.d-contents { display: contents !important; }

/* --------------------------------------------------------------------------
   4. FLEXBOX
   -------------------------------------------------------------------------- */
.flex-row { flex-direction: row !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-col { flex-direction: column !important; }
.flex-col-reverse { flex-direction: column-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-wrap-reverse { flex-wrap: wrap-reverse !important; }

.flex-1 { flex: 1 1 0% !important; }
.flex-auto { flex: 1 1 auto !important; }
.flex-initial { flex: 0 1 auto !important; }
.flex-none { flex: none !important; }
.flex-grow { flex-grow: 1 !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.items-baseline { align-items: baseline !important; }
.items-stretch { align-items: stretch !important; }

.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-around { justify-content: space-around !important; }
.justify-evenly { justify-content: space-evenly !important; }

.content-start { align-content: flex-start !important; }
.content-center { align-content: center !important; }
.content-end { align-content: flex-end !important; }
.content-between { align-content: space-between !important; }

.self-start { align-self: flex-start !important; }
.self-center { align-self: center !important; }
.self-end { align-self: flex-end !important; }
.self-stretch { align-self: stretch !important; }
.self-auto { align-self: auto !important; }

/* --------------------------------------------------------------------------
   5. GAP
   -------------------------------------------------------------------------- */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: var(--space-1) !important; }
.gap-2 { gap: var(--space-2) !important; }
.gap-3 { gap: var(--space-3) !important; }
.gap-4 { gap: var(--space-4) !important; }
.gap-5 { gap: var(--space-5) !important; }
.gap-6 { gap: var(--space-6) !important; }
.gap-8 { gap: var(--space-8) !important; }

.gap-x-1 { column-gap: var(--space-1) !important; }
.gap-x-2 { column-gap: var(--space-2) !important; }
.gap-x-3 { column-gap: var(--space-3) !important; }
.gap-x-4 { column-gap: var(--space-4) !important; }
.gap-x-6 { column-gap: var(--space-6) !important; }

.gap-y-1 { row-gap: var(--space-1) !important; }
.gap-y-2 { row-gap: var(--space-2) !important; }
.gap-y-3 { row-gap: var(--space-3) !important; }
.gap-y-4 { row-gap: var(--space-4) !important; }
.gap-y-6 { row-gap: var(--space-6) !important; }

/* --------------------------------------------------------------------------
   6. GRID
   -------------------------------------------------------------------------- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }

.col-span-1 { grid-column: span 1 / span 1 !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-3 { grid-column: span 3 / span 3 !important; }
.col-span-4 { grid-column: span 4 / span 4 !important; }
.col-span-6 { grid-column: span 6 / span 6 !important; }
.col-span-full { grid-column: 1 / -1 !important; }

/* --------------------------------------------------------------------------
   7. WIDTH / HEIGHT
   -------------------------------------------------------------------------- */
.w-full { width: 100% !important; }
.w-screen { width: 100vw !important; }
.w-auto { width: auto !important; }
.w-fit { width: fit-content !important; }
.w-min { width: min-content !important; }
.w-max { width: max-content !important; }
.w-half { width: 50% !important; }

.h-full { height: 100% !important; }
.h-screen { height: 100vh !important; }
.h-screen-dvh { height: 100dvh !important; }
.h-auto { height: auto !important; }
.h-fit { height: fit-content !important; }

.min-w-0 { min-width: 0 !important; }
.min-w-full { min-width: 100% !important; }
.max-w-none { max-width: none !important; }
.max-w-full { max-width: 100% !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-w-7xl { max-width: 80rem !important; }

.min-h-0 { min-height: 0 !important; }
.min-h-full { min-height: 100% !important; }
.min-h-screen { min-height: 100vh !important; }

/* --------------------------------------------------------------------------
   8. POSITION
   -------------------------------------------------------------------------- */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }
.static { position: static !important; }

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.inset-0 { inset: 0 !important; }

.top-2 { top: var(--space-2) !important; }
.right-2 { right: var(--space-2) !important; }
.bottom-2 { bottom: var(--space-2) !important; }
.left-2 { left: var(--space-2) !important; }

/* --------------------------------------------------------------------------
   9. Z-INDEX
   -------------------------------------------------------------------------- */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

.z-dropdown { z-index: var(--z-dropdown) !important; }
.z-sticky { z-index: var(--z-sticky) !important; }
.z-modal { z-index: var(--z-modal) !important; }
.z-tooltip { z-index: var(--z-tooltip) !important; }

/* --------------------------------------------------------------------------
   10. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.text-xs { font-size: var(--fs-xs) !important; }
.text-sm { font-size: var(--fs-sm) !important; }
.text-base { font-size: var(--fs-base) !important; }
.text-md { font-size: var(--fs-md) !important; }
.text-lg { font-size: var(--fs-lg) !important; }
.text-xl { font-size: var(--fs-xl) !important; }
.text-2xl { font-size: var(--fs-2xl) !important; }
.text-3xl { font-size: var(--fs-3xl) !important; }
.text-4xl { font-size: var(--fs-4xl) !important; }
.text-5xl { font-size: var(--fs-5xl) !important; }

.font-sans { font-family: var(--font-sans) !important; }
.font-mono { font-family: var(--font-mono) !important; }

.fw-regular { font-weight: var(--fw-regular) !important; }
.fw-medium { font-weight: var(--fw-medium) !important; }
.fw-semibold { font-weight: var(--fw-semibold) !important; }
.fw-bold { font-weight: var(--fw-bold) !important; }
.fw-extrabold { font-weight: var(--fw-extrabold) !important; }

.italic { font-style: italic !important; }
.not-italic { font-style: normal !important; }

.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }
.normal-case { text-transform: none !important; }

.tracking-tighter { letter-spacing: var(--ls-tighter) !important; }
.tracking-tight { letter-spacing: var(--ls-tight) !important; }
.tracking-normal { letter-spacing: var(--ls-normal) !important; }
.tracking-wide { letter-spacing: var(--ls-wide) !important; }
.tracking-wider { letter-spacing: var(--ls-wider) !important; }
.tracking-widest { letter-spacing: var(--ls-widest) !important; }

.leading-none { line-height: var(--lh-none) !important; }
.leading-tight { line-height: var(--lh-tight) !important; }
.leading-snug { line-height: var(--lh-snug) !important; }
.leading-normal { line-height: var(--lh-normal) !important; }
.leading-relaxed { line-height: var(--lh-relaxed) !important; }
.leading-loose { line-height: var(--lh-loose) !important; }

.truncate {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.line-clamp-1 {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   11. TEXT ALIGN
   -------------------------------------------------------------------------- */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

/* --------------------------------------------------------------------------
   12. TEXT COLOR
   -------------------------------------------------------------------------- */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-tertiary { color: var(--text-tertiary) !important; }
.text-disabled { color: var(--text-disabled) !important; }
.text-inverse { color: var(--text-inverse) !important; }
.text-brand { color: var(--brand-primary) !important; }
.text-accent { color: var(--brand-accent) !important; }
.text-success { color: var(--success-600) !important; }
.text-warning { color: var(--warning-600) !important; }
.text-danger { color: var(--danger-600) !important; }
.text-info { color: var(--info-600) !important; }
.text-white { color: #ffffff !important; }
.text-black { color: #000000 !important; }

/* --------------------------------------------------------------------------
   13. BACKGROUND COLOR
   -------------------------------------------------------------------------- */
.bg-base { background-color: var(--surface-base) !important; }
.bg-raised { background-color: var(--surface-raised) !important; }
.bg-sunken { background-color: var(--surface-sunken) !important; }
.bg-muted { background-color: var(--surface-muted) !important; }
.bg-inverse { background-color: var(--surface-inverse) !important; }

.bg-brand { background-color: var(--brand-primary) !important; }
.bg-brand-soft { background-color: var(--brand-primary-soft) !important; }
.bg-accent { background-color: var(--brand-accent) !important; }

.bg-success { background-color: var(--success-500) !important; }
.bg-success-soft { background-color: var(--success-100) !important; }
.bg-warning { background-color: var(--warning-500) !important; }
.bg-warning-soft { background-color: var(--warning-100) !important; }
.bg-danger { background-color: var(--danger-500) !important; }
.bg-danger-soft { background-color: var(--danger-100) !important; }
.bg-info { background-color: var(--info-500) !important; }
.bg-info-soft { background-color: var(--info-100) !important; }

.bg-transparent { background-color: transparent !important; }
.bg-white { background-color: #ffffff !important; }
.bg-black { background-color: #000000 !important; }

.bg-gradient-brand { background-image: var(--gradient-brand) !important; }
.bg-gradient-rainbow { background-image: var(--gradient-rainbow) !important; }
.bg-gradient-soft { background-image: var(--gradient-brand-soft) !important; }

/* --------------------------------------------------------------------------
   14. BORDER
   -------------------------------------------------------------------------- */
.border { border: 1px solid var(--border-default) !important; }
.border-0 { border: none !important; }
.border-t { border-top: 1px solid var(--border-subtle) !important; }
.border-b { border-bottom: 1px solid var(--border-subtle) !important; }
.border-l { border-left: 1px solid var(--border-subtle) !important; }
.border-r { border-right: 1px solid var(--border-subtle) !important; }

.border-subtle { border-color: var(--border-subtle) !important; }
.border-default { border-color: var(--border-default) !important; }
.border-strong { border-color: var(--border-strong) !important; }
.border-brand { border-color: var(--brand-primary) !important; }
.border-transparent { border-color: transparent !important; }

.border-2 { border-width: 2px !important; }

/* --------------------------------------------------------------------------
   15. RADIUS
   -------------------------------------------------------------------------- */
.rounded-none { border-radius: 0 !important; }
.rounded-xs { border-radius: var(--radius-xs) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-3xl { border-radius: var(--radius-3xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* --------------------------------------------------------------------------
   16. SHADOW
   -------------------------------------------------------------------------- */
.shadow-none { box-shadow: none !important; }
.shadow-xs { box-shadow: var(--shadow-xs) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-2xl { box-shadow: var(--shadow-2xl) !important; }

/* --------------------------------------------------------------------------
   17. OVERFLOW
   -------------------------------------------------------------------------- */
.overflow-visible { overflow: visible !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-hidden { overflow-y: hidden !important; }

/* --------------------------------------------------------------------------
   18. OPACITY
   -------------------------------------------------------------------------- */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* --------------------------------------------------------------------------
   19. CURSOR
   -------------------------------------------------------------------------- */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.cursor-grab { cursor: grab !important; }
.cursor-grabbing { cursor: grabbing !important; }
.cursor-crosshair { cursor: crosshair !important; }
.cursor-text { cursor: text !important; }
.cursor-copy { cursor: copy !important; }

/* --------------------------------------------------------------------------
   20. POINTER EVENTS
   -------------------------------------------------------------------------- */
.pe-none { pointer-events: none !important; }
.pe-auto { pointer-events: auto !important; }
.pe-all { pointer-events: all !important; }

/* --------------------------------------------------------------------------
   21. USER SELECT
   -------------------------------------------------------------------------- */
.select-none { user-select: none !important; }
.select-text { user-select: text !important; }
.select-all { user-select: all !important; }
.select-auto { user-select: auto !important; }

/* --------------------------------------------------------------------------
   22. VISIBILITY
   -------------------------------------------------------------------------- */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* --------------------------------------------------------------------------
   23. TRANSFORMS
   -------------------------------------------------------------------------- */
.translate-y-0 { transform: translateY(0) !important; }
.translate-y-1 { transform: translateY(0.25rem) !important; }
.translate-y-2 { transform: translateY(0.5rem) !important; }
.-translate-y-1 { transform: translateY(-0.25rem) !important; }
.-translate-y-2 { transform: translateY(-0.5rem) !important; }

.scale-95 { transform: scale(0.95) !important; }
.scale-100 { transform: scale(1) !important; }
.scale-105 { transform: scale(1.05) !important; }
.scale-110 { transform: scale(1.1) !important; }

.rotate-45 { transform: rotate(45deg) !important; }
.rotate-90 { transform: rotate(90deg) !important; }
.rotate-180 { transform: rotate(180deg) !important; }
.rotate-270 { transform: rotate(270deg) !important; }

/* --------------------------------------------------------------------------
   24. TRANSITION
   -------------------------------------------------------------------------- */
.transition-none { transition: none !important; }
.transition-all {
  transition: all var(--duration-normal) var(--ease-out) !important;
}
.transition-colors {
  transition: color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out) !important;
}
.transition-transform {
  transition: transform var(--duration-fast) var(--ease-out) !important;
}
.transition-opacity {
  transition: opacity var(--duration-fast) var(--ease-out) !important;
}

/* --------------------------------------------------------------------------
   25. ASPECT RATIO
   -------------------------------------------------------------------------- */
.aspect-square { aspect-ratio: 1 / 1 !important; }
.aspect-video { aspect-ratio: 16 / 9 !important; }
.aspect-4-3 { aspect-ratio: 4 / 3 !important; }
.aspect-3-4 { aspect-ratio: 3 / 4 !important; }
.aspect-wide { aspect-ratio: 21 / 9 !important; }

/* --------------------------------------------------------------------------
   26. OBJECT FIT
   -------------------------------------------------------------------------- */
.object-contain { object-fit: contain !important; }
.object-cover { object-fit: cover !important; }
.object-fill { object-fit: fill !important; }
.object-none { object-fit: none !important; }

/* --------------------------------------------------------------------------
   27. RESPONSIVE — SM (≥ 40rem = 640px)
   -------------------------------------------------------------------------- */
@media (min-width: 40rem) {
  .sm\:d-none { display: none !important; }
  .sm\:d-block { display: block !important; }
  .sm\:d-flex { display: flex !important; }
  .sm\:d-grid { display: grid !important; }

  .sm\:flex-row { flex-direction: row !important; }
  .sm\:flex-col { flex-direction: column !important; }

  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

  .sm\:text-left { text-align: left !important; }
  .sm\:text-center { text-align: center !important; }

  .sm\:gap-4 { gap: var(--space-4) !important; }
  .sm\:gap-6 { gap: var(--space-6) !important; }

  .sm\:p-4 { padding: var(--space-4) !important; }
  .sm\:p-6 { padding: var(--space-6) !important; }
  .sm\:px-6 { padding-inline: var(--space-6) !important; }
}

/* --------------------------------------------------------------------------
   28. RESPONSIVE — MD (≥ 48rem = 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 48rem) {
  .md\:d-none { display: none !important; }
  .md\:d-block { display: block !important; }
  .md\:d-flex { display: flex !important; }
  .md\:d-grid { display: grid !important; }

  .md\:flex-row { flex-direction: row !important; }
  .md\:flex-col { flex-direction: column !important; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

  .md\:text-left { text-align: left !important; }
  .md\:text-center { text-align: center !important; }

  .md\:gap-6 { gap: var(--space-6) !important; }
  .md\:gap-8 { gap: var(--space-8) !important; }

  .md\:p-6 { padding: var(--space-6) !important; }
  .md\:p-8 { padding: var(--space-8) !important; }
}

/* --------------------------------------------------------------------------
   29. RESPONSIVE — LG (≥ 64rem = 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 64rem) {
  .lg\:d-none { display: none !important; }
  .lg\:d-block { display: block !important; }
  .lg\:d-flex { display: flex !important; }
  .lg\:d-grid { display: grid !important; }

  .lg\:flex-row { flex-direction: row !important; }
  .lg\:flex-col { flex-direction: column !important; }

  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

  .lg\:text-left { text-align: left !important; }
  .lg\:text-center { text-align: center !important; }
  .lg\:text-right { text-align: right !important; }

  .lg\:gap-8 { gap: var(--space-8) !important; }
  .lg\:gap-10 { gap: var(--space-10) !important; }

  .lg\:p-8 { padding: var(--space-8) !important; }
  .lg\:p-10 { padding: var(--space-10) !important; }
}

/* --------------------------------------------------------------------------
   30. RESPONSIVE — XL (≥ 80rem = 1280px)
   -------------------------------------------------------------------------- */
@media (min-width: 80rem) {
  .xl\:d-none { display: none !important; }
  .xl\:d-block { display: block !important; }
  .xl\:d-flex { display: flex !important; }
  .xl\:d-grid { display: grid !important; }

  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* --------------------------------------------------------------------------
   31. ACCESSIBILITY HELPERS
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.not-sr-only {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.focus-outline:focus-visible {
  outline: 2px solid var(--border-focus) !important;
  outline-offset: 2px !important;
}

/* Motion-safe / motion-reduce */
.motion-safe\:animate-none {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .motion-reduce\:animate-none {
    animation: none !important;
  }
  .motion-reduce\:transition-none {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   32. PRINT HELPERS
   -------------------------------------------------------------------------- */
@media print {
  .print\:d-none { display: none !important; }
  .print\:d-block { display: block !important; }
}

.no-print { }

@media print {
  .no-print { display: none !important; }
}

/* --------------------------------------------------------------------------
   33. THEME HELPERS
   -------------------------------------------------------------------------- */
.light-only { display: initial; }
.dark-only { display: none; }

[data-theme="dark"] .light-only { display: none !important; }
[data-theme="dark"] .dark-only { display: initial !important; }

/* --------------------------------------------------------------------------
   34. RTL SUPPORT
   -------------------------------------------------------------------------- */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   35. SCROLL SNAP
   -------------------------------------------------------------------------- */
.snap-x {
  scroll-snap-type: x mandatory;
}

.snap-y {
  scroll-snap-type: y mandatory;
}

.snap-start {
  scroll-snap-align: start;
}

.snap-center {
  scroll-snap-align: center;
}

/* --------------------------------------------------------------------------
   36. CONTAINER QUERY HELPERS
   -------------------------------------------------------------------------- */
@supports (container-type: inline-size) {
  .cq-2 {
    container-type: inline-size;
  }

  @container (min-width: 24rem) {
    .cq-grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-3);
    }
  }
}

/* --------------------------------------------------------------------------
   37. FOCUS TRAP
   -------------------------------------------------------------------------- */
.focus-trap {
  isolation: isolate;
}

/* --------------------------------------------------------------------------
   38. SAFE AREA
   -------------------------------------------------------------------------- */
.safe-top { padding-top: env(safe-area-inset-top); }
.safe-bottom { padding-bottom: env(safe-area-inset-bottom); }
.safe-left { padding-left: env(safe-area-inset-left); }
.safe-right { padding-right: env(safe-area-inset-right); }

/* --------------------------------------------------------------------------
   END OF FILE
   -------------------------------------------------------------------------- */