/**
 * AcademyOS portal utility classes (replaces runtime Tailwind CDN).
 * Scoped under .ao-shell-wrap and .ao-fe where possible.
 */
:root {
	--ao-surface: #fcf8fa;
	--ao-primary: #1a1a2e;
	--ao-on-surface: #1c1b1d;
	--ao-outline: #e5e1e3;
}
.ao-shell-wrap, .ao-fe { font-family: 'Public Sans', system-ui, -apple-system, sans-serif; color: var(--ao-on-surface); }
.bg-surface { background-color: var(--ao-surface) !important; }
.bg-background { background-color: var(--ao-surface) !important; }
.bg-white { background-color: #fff !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-primary { background-color: var(--ao-primary) !important; }
.bg-primary-container { background-color: #1a1a2e !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.bg-green-100 { background-color: #dcfce7 !important; }
.bg-blue-100 { background-color: #dbeafe !important; }
.bg-amber-100 { background-color: #fef3c7 !important; }
.bg-orange-100 { background-color: #ffedd5 !important; }
.bg-red-100 { background-color: #fee2e2 !important; }
.text-white { color: #fff !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }
.text-primary { color: var(--ao-primary) !important; }
.text-emerald-700 { color: #047857 !important; }
.text-amber-700 { color: #b45309 !important; }
.text-red-600 { color: #dc2626 !important; }
.text-red-700 { color: #b91c1c !important; }
.text-green-700 { color: #15803d !important; }
.text-blue-700 { color: #1d4ed8 !important; }
.border { border: 1px solid var(--ao-outline) !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-emerald-200 { border-color: #a7f3d0 !important; }
.border-amber-200 { border-color: #fde68a !important; }
.border-red-200 { border-color: #fecaca !important; }
.border-green-200 { border-color: #bbf7d0 !important; }
.border-blue-200 { border-color: #bfdbfe !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-full { border-radius: 9999px !important; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05) !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.pt-16 { padding-top: 4rem !important; }
.min-h-screen { min-height: 100vh !important; }
.w-full { width: 100% !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-screen-xl { max-width: 1280px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.uppercase { text-transform: uppercase !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; }
.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; }
@media (min-width: 640px) {
	.sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
	.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
	.lg\:ml-64 { margin-left: 16rem !important; }
	.lg\:hidden { display: none !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; }
}
@media (max-width: 1023px) {
	.lg\:hidden { display: block !important; }
}

/* Extended layout utilities used by portal dashboards */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.inset-0 { inset: 0 !important; }
.top-0 { top: 0 !important; }
.left-0 { left: 0 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }
.shrink-0 { flex-shrink: 0 !important; }
.min-w-0 { min-width: 0 !important; }
.min-w-max { min-width: max-content !important; }
.min-w-\[88px\] { min-width: 88px !important; }
.min-w-\[140px\] { min-width: 140px !important; }
.max-w-5xl { max-width: 64rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-20 { width: 5rem !important; }
.h-20 { height: 5rem !important; }
.w-64 { width: 16rem !important; }
.h-screen { height: 100vh !important; }
.list-none { list-style: none !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.whitespace-pre-wrap { white-space: pre-wrap !important; }
.capitalize { text-transform: capitalize !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.leading-none { line-height: 1 !important; }
.font-medium { font-weight: 500 !important; }
.font-black { font-weight: 900 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-60 { opacity: 0.6 !important; }
.cursor-pointer { cursor: pointer !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.no-underline { text-decoration: none !important; }
.outline-none { outline: none !important; }
.scroll-mt-24 { scroll-margin-top: 6rem !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1) !important; }
.transition-shadow { transition: box-shadow 0.15s ease !important; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1) !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.border-b-2 { border-bottom-width: 2px !important; border-bottom-style: solid !important; }
.border-l-2 { border-left-width: 2px !important; border-left-style: solid !important; }
.border-l-4 { border-left-width: 4px !important; border-left-style: solid !important; }
.border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px !important; border-top-style: solid !important; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-8 { padding: 2rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pb-3 { padding-bottom: 0.75rem !important; }
.pl-4 { padding-left: 1rem !important; }
.pl-8 { padding-left: 2rem !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.text-\[11px\] { font-size: 11px !important; }
.text-\[12px\] { font-size: 12px !important; }
.text-\[20px\] { font-size: 20px !important; }
.text-\[40px\] { font-size: 40px !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.text-amber-800 { color: #92400e !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-emerald-800 { color: #065f46 !important; }
.-translate-x-full { transform: translateX(-100%) !important; }
.transition-transform { transition: transform 0.2s ease !important; }
.duration-200 { transition-duration: 200ms !important; }
.ease-out { transition-timing-function: ease-out !important; }
@media (min-width: 640px) {
	.sm\:p-6 { padding: 1.5rem !important; }
}
@media (min-width: 768px) {
	.md\:flex-row { flex-direction: row !important; }
	.md\:items-center { align-items: center !important; }
	.md\:pl-11 { padding-left: 2.75rem !important; }
}
@media (min-width: 1024px) {
	.lg\:flex { display: flex !important; }
	.lg\:translate-x-0 { transform: translateX(0) !important; }
	.lg\:block { display: block !important; }
	.lg\:left-64 { left: 16rem !important; }
}
@media (min-width: 1280px) {
	.xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.xl\:flex { display: flex !important; }
	.xl\:hidden { display: none !important; }
}
@media (min-width: 768px) {
	.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; }
}
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.hover\:underline:hover { text-decoration: underline !important; }
.min-w-\[160px\] { min-width: 160px !important; }
.min-w-\[180px\] { min-width: 180px !important; }
.top-1\/2 { top: 50% !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }
.left-3 { left: 0.75rem !important; }
.pl-9 { padding-left: 2.25rem !important; }
.pr-3 { padding-right: 0.75rem !important; }
.focus\:border-blue-400:focus { border-color: #60a5fa !important; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important; }
.focus\:ring-blue-100:focus { box-shadow: 0 0 0 3px #dbeafe !important; }
.object-cover { object-fit: cover !important; }
.leading-tight { line-height: 1.25 !important; }
.text-blue-700 { color: #1d4ed8 !important; }
.text-amber-900 { color: #78350f !important; }
.border-amber-300 { border-color: #fcd34d !important; }
.bg-tertiary-container { background-color: #b9aa83 !important; }
.text-on-tertiary-container { color: #493f20 !important; }
.bg-error-container { background-color: #ffdad6 !important; }
.text-on-error-container { color: #93000a !important; }
.text-on-secondary-container { color: #57657b !important; }
.text-\[16px\] { font-size: 16px !important; }
.text-\[18px\] { font-size: 18px !important; }
.text-\[22px\] { font-size: 22px !important; }
.w-px { width: 1px !important; }
.h-6.w-px { height: 1.5rem !important; }
.-mr-1 { margin-right: -0.25rem !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }

/* Additional utilities used by portal views */
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.rounded { border-radius: 0.375rem !important; }
.rounded-md { border-radius: 0.375rem !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.overflow-y-auto { overflow-y: auto !important; }
.transition-all { transition: all 0.15s ease !important; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important; }
.transition-opacity { transition: opacity 0.15s ease !important; }
.self-start { align-self: flex-start !important; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px !important; border-top-style: solid !important; border-color: #f1f5f9 !important; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.border-slate-800\/50 { border-color: rgba(30, 41, 59, 0.5) !important; }
.hover\:bg-slate-800\/50:hover { background-color: rgba(30, 41, 59, 0.5) !important; }
.hover\:bg-surface-container:hover { background-color: #f1edef !important; }
.hover\:bg-opacity-90:hover { opacity: 0.9 !important; }
.hover\:opacity-90:hover { opacity: 0.9 !important; }
.items-center.gap-1 { gap: 0.25rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.h-full { height: 100% !important; }
.flex-grow { flex-grow: 1 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-8 { gap: 2rem !important; }
.ml-3 { margin-left: 0.75rem !important; }
.ml-6 { margin-left: 1.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mt-auto { margin-top: auto !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-16 { padding-top: 4rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.text-on-background { color: #1c1b1d !important; }
.text-on-surface { color: #1c1b1d !important; }
.text-on-surface-variant { color: #47464c !important; }
.text-primary-container { color: #6366f1 !important; }
.border-outline-variant { border-color: #c8c5cd !important; }
.bg-surface-container-lowest { background-color: #ffffff !important; }
.bg-surface-container { background-color: #f1edef !important; }
.bg-secondary-container { background-color: #d5e3fd !important; }
.border-primary-container { border-color: #1a1a2e !important; }
.border-secondary-container { border-color: #d5e3fd !important; }
.text-on-secondary-container { color: #57657b !important; }
.-rotate-90 { transform: rotate(-90deg) !important; }
.transform { transform: var(--ao-tw-transform, none) !important; }
@media (min-width: 1024px) {
	.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
