
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
}
button {
  background-color: transparent;
  background-image: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
table {
  border-collapse: collapse;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.min-h-screen { min-height: 100vh; }
.max-h-\[75vh\] { max-height: 75vh; }
.max-h-\[750px\] { max-height: 750px; }
.max-h-\[600px\] { max-height: 600px; }
.max-h-80 { max-height: 20rem; }
.max-h-96 { max-height: 24rem; }
.max-h-72 { max-height: 18rem; }
.max-h-48 { max-height: 12rem; }
.max-h-40 { max-height: 10rem; }
.max-h-36 { max-height: 9rem; }
.max-h-28 { max-height: 7rem; }
.min-w-\[200px\] { min-width: 200px; }
.min-w-\[240px\] { min-width: 240px; }
.max-w-\[88vw\] { max-width: 88vw; }
.h-\[68px\] { height: 68px; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.min-w-max { min-width: max-content; }
.min-w-0 { min-width: 0px; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-2\.5 { margin-left: 0.625rem; margin-right: 0.625rem; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-5 { margin-right: 1.25rem; }
.top-0 { top: 0px; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-16 { top: 4rem; }
.top-\[68px\] { top: 68px; }
.top-36 { top: 9rem; }
.top-2\.5 { top: 0.625rem; }
.bottom-0 { bottom: 0px; }
.bottom-2 { bottom: 0.5rem; }
.bottom-4 { bottom: 1rem; }
.bottom-20 { bottom: 5rem; }
.bottom-28 { bottom: 7rem; }
.left-0 { left: 0px; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.right-0 { right: 0px; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-2 { right: 0.5rem; }
.right-2\.5 { right: 0.625rem; }
.left-2\.5 { left: 0.625rem; }
.inset-0 { top: 0px; right: 0px; bottom: 0px; left: 0px; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.block { display: block; }
.hidden { display: none; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.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)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-full { max-width: 100%; }
.min-h-0 { min-height: 0px; }
.max-h-full { max-height: 100%; }
.max-h-64 { max-height: 16rem; }
.overscroll-contain { overscroll-behavior: contain; }
.z-\[60\] { z-index: 60; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }
.select-none { user-select: none; }
.select-text { user-select: text; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.cursor-pointer { cursor: pointer; }
.cursor-grab { cursor: grab; }
.cursor-grabbing { cursor: grabbing; }
.cursor-not-allowed { cursor: not-allowed; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.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; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-b-2xl { border-bottom-left-radius: 1rem; border-bottom-right-radius: 1rem; }
.rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-l-xl { border-top-left-radius: 0.75rem; border-bottom-left-radius: 0.75rem; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-r { border-right-width: 1px; }
.border-l { border-left-width: 1px; }
.border-dashed { border-style: dashed; }
.border-collapse { border-collapse: collapse; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1.1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.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; }
.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; }
.font-black { font-weight: 900; }
.font-sans { font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.underline { text-decoration: underline; }
.transition { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.8; }
.opacity-85 { opacity: 0.85; }
.shadow-2xs { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.04); }
.shadow-xs { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.06); }
.shadow-sm { box-shadow: 0 2px 6px -1px rgba(0,0,0,0.08), 0 1px 3px -1px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 12px -2px rgba(0,0,0,0.10), 0 2px 6px -2px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 20px -3px rgba(0,0,0,0.12), 0 4px 8px -4px rgba(0,0,0,0.08); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.08); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.28); }
.backdrop-blur-xs { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.transition-all { transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.duration-300 { transition-duration: 300ms; }
.accent-teal-700 { accent-color: #0f766e; }
.accent-rose-700 { accent-color: #be123c; }
.selection\:bg-teal-600 {  }
.selection\:text-white {  }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ring-2 { box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.28); }
.ring-4 { box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.24); }
.ring-emerald-400\/25 { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.36); }
.ring-emerald-500\/30 { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.42); }
.ring-rose-500\/20 { box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.28); }
.ring-teal-500\/20 { box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.28); }
.p-0 { padding: 0px; }
.py-0 { padding-top: 0px; padding-bottom: 0px; }
.pt-0 { padding-top: 0px; }
.mt-0 { margin-top: 0px; }
.mb-0 { margin-bottom: 0px; }
.gap-0 { gap: 0px; }
.w-0 { width: 0px; }
.h-0 { height: 0px; }
.space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0px; }
.py-0\.2 { padding-top: 1px; padding-bottom: 1px; }
.p-0\.5 { padding: 0.125rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.gap-0\.5 { gap: 0.125rem; }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem; }
.p-1 { padding: 0.25rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.pt-1 { padding-top: 0.25rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pr-1 { padding-right: 0.25rem; }
.mt-1 { margin-top: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.gap-1 { gap: 0.25rem; }
.w-1 { width: 0.25rem; }
.h-1 { height: 0.25rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.pb-1\.5 { padding-bottom: 0.375rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.gap-1\.5 { gap: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.p-2 { padding: 0.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.gap-2 { gap: 0.5rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.pt-2\.5 { padding-top: 0.625rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.gap-2\.5 { gap: 0.625rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.p-3 { padding: 0.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.pt-3 { padding-top: 0.75rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pr-3 { padding-right: 0.75rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-3 { margin-bottom: 0.75rem; }
.gap-3 { gap: 0.75rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.gap-3\.5 { gap: 0.875rem; }
.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-4 { padding-right: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-4 { gap: 1rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.p-5 { padding: 1.25rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.gap-5 { gap: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }
.gap-6 { gap: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.pr-7 { padding-right: 1.75rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.p-8 { padding: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-10 { padding-top: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-11 { height: 2.75rem; }
.pb-12 { padding-bottom: 3rem; }
.mt-12 { margin-top: 3rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.pt-14 { padding-top: 3.5rem; }
.p-16 { padding: 4rem; }
.pt-16 { padding-top: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.h-28 { height: 7rem; }
.w-32 { width: 8rem; }
.p-36 { padding: 9rem; }
.w-36 { width: 9rem; }
.h-36 { height: 9rem; }
.w-40 { width: 10rem; }
.h-40 { height: 10rem; }
.w-44 { width: 11rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.w-52 { width: 13rem; }
.h-52 { height: 13rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.w-80 { width: 20rem; }
.h-80 { height: 20rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-color: #e2e8f0; }
.divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #f1f5f9; }
.divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #e2e8f0; }
.divide-slate-200\/70 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(226, 232, 240, 0.7); }
.divide-amber-100 > :not([hidden]) ~ :not([hidden]) { border-color: #fef3c7; }
.divide-purple-100 > :not([hidden]) ~ :not([hidden]) { border-color: #f3e8ff; }
.bg-white { background-color: #ffffff; }
.text-white { color: #ffffff; }
.border-white { border-color: #ffffff; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:text-white:hover { color: #ffffff; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/15 { background-color: rgba(255, 255, 255, 0.15); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/25 { background-color: rgba(255, 255, 255, 0.25); }
.border-white\/25 { border-color: rgba(255, 255, 255, 0.25); }
.hover\:bg-white\/25:hover { background-color: rgba(255, 255, 255, 0.25); }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/85 { background-color: rgba(255, 255, 255, 0.85); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.border-black { border-color: #000000; }
.border-black\/10 { border-color: rgba(0, 0, 0, 0.1); }
.bg-slate-50 { background-color: #f8fafc; }
.text-slate-50 { color: #f8fafc; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.bg-slate-50\/60 { background-color: rgba(248, 250, 252, 0.6); }
.bg-slate-50\/70 { background-color: rgba(248, 250, 252, 0.7); }
.bg-slate-50\/80 { background-color: rgba(248, 250, 252, 0.8); }
.bg-slate-50\/90 { background-color: rgba(248, 250, 252, 0.9); }
.bg-slate-100 { background-color: #f1f5f9; }
.text-slate-100 { color: #f1f5f9; }
.border-slate-100 { border-color: #f1f5f9; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.text-slate-200 { color: #e2e8f0; }
.border-slate-200 { border-color: #e2e8f0; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0; }
.border-slate-200\/70 { border-color: rgba(226, 232, 240, 0.7); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-200\/90 { border-color: rgba(226, 232, 240, 0.9); }
.bg-slate-300 { background-color: #cbd5e1; }
.text-slate-300 { color: #cbd5e1; }
.border-slate-300 { border-color: #cbd5e1; }
.hover\:bg-slate-300:hover { background-color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.border-slate-600 { border-color: #475569; }
.bg-slate-700 { background-color: #334155; }
.text-slate-700 { color: #334155; }
.border-slate-700 { border-color: #334155; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.text-slate-800 { color: #1e293b; }
.border-slate-800 { border-color: #1e293b; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.text-slate-900 { color: #0f172a; }
.border-slate-900 { border-color: #0f172a; }
.hover\:text-slate-900:hover { color: #0f172a; }
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-slate-900 { --tw-gradient-to: #0f172a; }
.bg-slate-900\/50 { background-color: rgba(15, 23, 42, 0.5); }
.bg-slate-900\/65 { background-color: rgba(15, 23, 42, 0.65); }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
.bg-slate-950 { background-color: #020617; }
.text-slate-950 { color: #020617; }
.hover\:bg-slate-950:hover { background-color: #020617; }
.bg-teal-50 { background-color: #f0fdfa; }
.border-teal-50 { border-color: #f0fdfa; }
.hover\:bg-teal-50:hover { background-color: #f0fdfa; }
.hover\:border-teal-50:hover { border-color: #f0fdfa; }
.from-teal-50 { --tw-gradient-from: #f0fdfa; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-teal-50 { --tw-gradient-to: #f0fdfa; }
.bg-teal-50\/40 { background-color: rgba(240, 253, 250, 0.4); }
.bg-teal-50\/60 { background-color: rgba(240, 253, 250, 0.6); }
.bg-teal-50\/70 { background-color: rgba(240, 253, 250, 0.7); }
.hover\:bg-teal-50\/70:hover { background-color: rgba(240, 253, 250, 0.7); }
.to-teal-50\/70 { --tw-gradient-to: rgba(240, 253, 250, 0.7); }
.bg-teal-50\/80 { background-color: rgba(240, 253, 250, 0.8); }
.bg-teal-50\/90 { background-color: rgba(240, 253, 250, 0.9); }
.from-teal-50\/90 { --tw-gradient-from: rgba(240, 253, 250, 0.9); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-teal-100 { background-color: #ccfbf1; }
.text-teal-100 { color: #ccfbf1; }
.hover\:bg-teal-100:hover { background-color: #ccfbf1; }
.text-teal-200 { color: #99f6e4; }
.border-teal-200 { border-color: #99f6e4; }
.border-teal-200\/70 { border-color: rgba(153, 246, 228, 0.7); }
.border-teal-200\/90 { border-color: rgba(153, 246, 228, 0.9); }
.text-teal-300 { color: #5eead4; }
.border-teal-300 { border-color: #5eead4; }
.hover\:border-teal-300:hover { border-color: #5eead4; }
.border-teal-400 { border-color: #2dd4bf; }
.border-teal-400\/40 { border-color: rgba(45, 212, 191, 0.4); }
.border-teal-400\/50 { border-color: rgba(45, 212, 191, 0.5); }
.bg-teal-500 { background-color: #14b8a6; }
.border-teal-500 { border-color: #14b8a6; }
.hover\:bg-teal-500:hover { background-color: #14b8a6; }
.hover\:border-teal-500:hover { border-color: #14b8a6; }
.bg-teal-500\/20 { background-color: rgba(20, 184, 166, 0.2); }
.border-teal-500\/40 { border-color: rgba(20, 184, 166, 0.4); }
.border-teal-500\/70 { border-color: rgba(20, 184, 166, 0.7); }
.bg-teal-600 { background-color: #0d9488; }
.border-teal-600 { border-color: #0d9488; }
.focus\:border-teal-600:focus { border-color: #0d9488; }
.from-teal-600 { --tw-gradient-from: #0d9488; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-teal-600 { --tw-gradient-stops: var(--tw-gradient-from), #0d9488, var(--tw-gradient-to); }
.bg-teal-700 { background-color: #0f766e; }
.text-teal-700 { color: #0f766e; }
.border-teal-700 { border-color: #0f766e; }
.hover\:bg-teal-700:hover { background-color: #0f766e; }
.hover\:text-teal-700:hover { color: #0f766e; }
.from-teal-700 { --tw-gradient-from: #0f766e; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-teal-700 { --tw-gradient-stops: var(--tw-gradient-from), #0f766e, var(--tw-gradient-to); }
.hover\:from-teal-700:hover { --tw-gradient-from: #0f766e; }
.border-teal-700\/40 { border-color: rgba(15, 118, 110, 0.4); }
.bg-teal-800 { background-color: #115e59; }
.text-teal-800 { color: #115e59; }
.border-teal-800 { border-color: #115e59; }
.hover\:bg-teal-800:hover { background-color: #115e59; }
.from-teal-800 { --tw-gradient-from: #115e59; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-teal-900 { background-color: #134e4a; }
.text-teal-900 { color: #134e4a; }
.hover\:bg-teal-900:hover { background-color: #134e4a; }
.hover\:text-teal-900:hover { color: #134e4a; }
.via-teal-900 { --tw-gradient-stops: var(--tw-gradient-from), #134e4a, var(--tw-gradient-to); }
.text-teal-950 { color: #042f2e; }
.via-teal-950 { --tw-gradient-stops: var(--tw-gradient-from), #042f2e, var(--tw-gradient-to); }
.bg-sky-50 { background-color: #f0f9ff; }
.hover\:bg-sky-50:hover { background-color: #f0f9ff; }
.to-sky-50 { --tw-gradient-to: #f0f9ff; }
.bg-sky-50\/30 { background-color: rgba(240, 249, 255, 0.3); }
.bg-sky-50\/40 { background-color: rgba(240, 249, 255, 0.4); }
.bg-sky-50\/60 { background-color: rgba(240, 249, 255, 0.6); }
.bg-sky-50\/70 { background-color: rgba(240, 249, 255, 0.7); }
.to-sky-50\/70 { --tw-gradient-to: rgba(240, 249, 255, 0.7); }
.bg-sky-50\/80 { background-color: rgba(240, 249, 255, 0.8); }
.bg-sky-100 { background-color: #e0f2fe; }
.hover\:bg-sky-100:hover { background-color: #e0f2fe; }
.border-sky-200 { border-color: #bae6fd; }
.border-sky-200\/90 { border-color: rgba(186, 230, 253, 0.9); }
.text-sky-300 { color: #7dd3fc; }
.border-sky-300 { border-color: #7dd3fc; }
.border-sky-400 { border-color: #38bdf8; }
.border-sky-400\/30 { border-color: rgba(56, 189, 248, 0.3); }
.bg-sky-700 { background-color: #0369a1; }
.text-sky-700 { color: #0369a1; }
.to-sky-700 { --tw-gradient-to: #0369a1; }
.bg-sky-800 { background-color: #075985; }
.text-sky-800 { color: #075985; }
.hover\:bg-sky-800:hover { background-color: #075985; }
.to-sky-800 { --tw-gradient-to: #075985; }
.text-sky-900 { color: #0c4a6e; }
.to-sky-900 { --tw-gradient-to: #0c4a6e; }
.text-sky-950 { color: #082f49; }
.to-sky-950 { --tw-gradient-to: #082f49; }
.bg-amber-50 { background-color: #fffbeb; }
.border-amber-50 { border-color: #fffbeb; }
.hover\:bg-amber-50:hover { background-color: #fffbeb; }
.hover\:border-amber-50:hover { border-color: #fffbeb; }
.from-amber-50 { --tw-gradient-from: #fffbeb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-amber-50 { --tw-gradient-to: #fffbeb; }
.hover\:to-amber-50:hover { --tw-gradient-to: #fffbeb; }
.bg-amber-50\/20 { background-color: rgba(255, 251, 235, 0.2); }
.bg-amber-50\/25 { background-color: rgba(255, 251, 235, 0.25); }
.bg-amber-50\/50 { background-color: rgba(255, 251, 235, 0.5); }
.bg-amber-50\/60 { background-color: rgba(255, 251, 235, 0.6); }
.bg-amber-50\/70 { background-color: rgba(255, 251, 235, 0.7); }
.bg-amber-50\/75 { background-color: rgba(255, 251, 235, 0.75); }
.bg-amber-50\/80 { background-color: rgba(255, 251, 235, 0.8); }
.bg-amber-50\/90 { background-color: rgba(255, 251, 235, 0.9); }
.from-amber-50\/90 { --tw-gradient-from: rgba(255, 251, 235, 0.9); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-amber-100 { background-color: #fef3c7; }
.hover\:bg-amber-100:hover { background-color: #fef3c7; }
.bg-amber-100\/70 { background-color: rgba(254, 243, 199, 0.7); }
.bg-amber-100\/80 { background-color: rgba(254, 243, 199, 0.8); }
.bg-amber-200 { background-color: #fde68a; }
.text-amber-200 { color: #fde68a; }
.border-amber-200 { border-color: #fde68a; }
.hover\:bg-amber-200:hover { background-color: #fde68a; }
.bg-amber-200\/70 { background-color: rgba(253, 230, 138, 0.7); }
.hover\:bg-amber-200\/70:hover { background-color: rgba(253, 230, 138, 0.7); }
.border-amber-200\/80 { border-color: rgba(253, 230, 138, 0.8); }
.text-amber-300 { color: #fcd34d; }
.border-amber-300 { border-color: #fcd34d; }
.border-amber-300\/40 { border-color: rgba(252, 211, 77, 0.4); }
.bg-amber-400 { background-color: #fbbf24; }
.border-amber-400 { border-color: #fbbf24; }
.hover\:bg-amber-400:hover { background-color: #fbbf24; }
.focus\:border-amber-400:focus { border-color: #fbbf24; }
.to-amber-400 { --tw-gradient-to: #fbbf24; }
.bg-amber-400\/20 { background-color: rgba(251, 191, 36, 0.2); }
.border-amber-400\/30 { border-color: rgba(251, 191, 36, 0.3); }
.border-amber-400\/50 { border-color: rgba(251, 191, 36, 0.5); }
.bg-amber-500 { background-color: #f59e0b; }
.border-amber-500 { border-color: #f59e0b; }
.hover\:border-amber-500:hover { border-color: #f59e0b; }
.from-amber-500 { --tw-gradient-from: #f59e0b; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-amber-500 { --tw-gradient-to: #f59e0b; }
.hover\:to-amber-500:hover { --tw-gradient-to: #f59e0b; }
.bg-amber-600 { background-color: #d97706; }
.border-amber-600 { border-color: #d97706; }
.hover\:bg-amber-600:hover { background-color: #d97706; }
.hover\:border-amber-600:hover { border-color: #d97706; }
.from-amber-600 { --tw-gradient-from: #d97706; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\:from-amber-600:hover { --tw-gradient-from: #d97706; }
.bg-amber-700 { background-color: #b45309; }
.text-amber-700 { color: #b45309; }
.hover\:bg-amber-700:hover { background-color: #b45309; }
.bg-amber-800 { background-color: #92400e; }
.text-amber-800 { color: #92400e; }
.hover\:bg-amber-800:hover { background-color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-amber-950 { color: #451a03; }
.bg-emerald-50 { background-color: #ecfdf5; }
.border-emerald-50 { border-color: #ecfdf5; }
.hover\:bg-emerald-50:hover { background-color: #ecfdf5; }
.focus\:border-emerald-50:focus { border-color: #ecfdf5; }
.bg-emerald-50\/30 { background-color: rgba(236, 253, 245, 0.3); }
.bg-emerald-50\/60 { background-color: rgba(236, 253, 245, 0.6); }
.bg-emerald-50\/70 { background-color: rgba(236, 253, 245, 0.7); }
.bg-emerald-50\/80 { background-color: rgba(236, 253, 245, 0.8); }
.bg-emerald-50\/90 { background-color: rgba(236, 253, 245, 0.9); }
.bg-emerald-100 { background-color: #d1fae5; }
.hover\:bg-emerald-100:hover { background-color: #d1fae5; }
.bg-emerald-100\/70 { background-color: rgba(209, 250, 229, 0.7); }
.bg-emerald-100\/80 { background-color: rgba(209, 250, 229, 0.8); }
.bg-emerald-200 { background-color: #a7f3d0; }
.border-emerald-200 { border-color: #a7f3d0; }
.hover\:bg-emerald-200:hover { background-color: #a7f3d0; }
.border-emerald-200\/60 { border-color: rgba(167, 243, 208, 0.6); }
.border-emerald-200\/80 { border-color: rgba(167, 243, 208, 0.8); }
.border-emerald-200\/90 { border-color: rgba(167, 243, 208, 0.9); }
.text-emerald-300 { color: #6ee7b7; }
.border-emerald-300 { border-color: #6ee7b7; }
.hover\:border-emerald-300:hover { border-color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.border-emerald-400 { border-color: #34d399; }
.border-emerald-400\/30 { border-color: rgba(52, 211, 153, 0.3); }
.bg-emerald-500 { background-color: #10b981; }
.border-emerald-500 { border-color: #10b981; }
.hover\:bg-emerald-500:hover { background-color: #10b981; }
.focus\:border-emerald-500:focus { border-color: #10b981; }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-emerald-600 { background-color: #059669; }
.text-emerald-600 { color: #059669; }
.border-emerald-600 { border-color: #059669; }
.to-emerald-600 { --tw-gradient-to: #059669; }
.bg-emerald-700 { background-color: #047857; }
.text-emerald-700 { color: #047857; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.to-emerald-700 { --tw-gradient-to: #047857; }
.hover\:to-emerald-700:hover { --tw-gradient-to: #047857; }
.bg-emerald-800 { background-color: #065f46; }
.text-emerald-800 { color: #065f46; }
.hover\:bg-emerald-800:hover { background-color: #065f46; }
.text-emerald-900 { color: #064e3b; }
.text-emerald-950 { color: #022c22; }
.bg-rose-50 { background-color: #fff1f2; }
.border-rose-50 { border-color: #fff1f2; }
.hover\:bg-rose-50:hover { background-color: #fff1f2; }
.hover\:border-rose-50:hover { border-color: #fff1f2; }
.bg-rose-50\/70 { background-color: rgba(255, 241, 242, 0.7); }
.bg-rose-100 { background-color: #ffe4e6; }
.text-rose-100 { color: #ffe4e6; }
.hover\:bg-rose-100:hover { background-color: #ffe4e6; }
.bg-rose-100\/70 { background-color: rgba(255, 228, 230, 0.7); }
.bg-rose-100\/80 { background-color: rgba(255, 228, 230, 0.8); }
.bg-rose-200 { background-color: #fecdd3; }
.text-rose-200 { color: #fecdd3; }
.border-rose-200 { border-color: #fecdd3; }
.hover\:bg-rose-200:hover { background-color: #fecdd3; }
.text-rose-300 { color: #fda4af; }
.border-rose-300 { border-color: #fda4af; }
.border-rose-400 { border-color: #fb7185; }
.bg-rose-500 { background-color: #f43f5e; }
.border-rose-500 { border-color: #f43f5e; }
.hover\:border-rose-500:hover { border-color: #f43f5e; }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }
.bg-rose-600 { background-color: #e11d48; }
.text-rose-600 { color: #e11d48; }
.border-rose-600 { border-color: #e11d48; }
.focus\:border-rose-600:focus { border-color: #e11d48; }
.bg-rose-700 { background-color: #be123c; }
.text-rose-700 { color: #be123c; }
.hover\:bg-rose-700:hover { background-color: #be123c; }
.from-rose-700 { --tw-gradient-from: #be123c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.bg-rose-800 { background-color: #9f1239; }
.text-rose-800 { color: #9f1239; }
.hover\:bg-rose-800:hover { background-color: #9f1239; }
.hover\:text-rose-800:hover { color: #9f1239; }
.to-rose-800 { --tw-gradient-to: #9f1239; }
.bg-rose-900 { background-color: #881337; }
.text-rose-900 { color: #881337; }
.hover\:text-rose-900:hover { color: #881337; }
.bg-rose-950 { background-color: #4c0519; }
.text-rose-950 { color: #4c0519; }
.hover\:bg-rose-950:hover { background-color: #4c0519; }
.via-rose-950 { --tw-gradient-stops: var(--tw-gradient-from), #4c0519, var(--tw-gradient-to); }
.bg-indigo-50 { background-color: #eef2ff; }
.border-indigo-50 { border-color: #eef2ff; }
.hover\:border-indigo-50:hover { border-color: #eef2ff; }
.bg-indigo-50\/60 { background-color: rgba(238, 242, 255, 0.6); }
.bg-indigo-100 { background-color: #e0e7ff; }
.hover\:bg-indigo-100:hover { background-color: #e0e7ff; }
.border-indigo-200 { border-color: #c7d2fe; }
.border-indigo-300 { border-color: #a5b4fc; }
.border-indigo-500 { border-color: #6366f1; }
.hover\:border-indigo-500:hover { border-color: #6366f1; }
.bg-indigo-700 { background-color: #4338ca; }
.text-indigo-700 { color: #4338ca; }
.text-indigo-800 { color: #3730a3; }
.text-indigo-900 { color: #312e81; }
.text-indigo-950 { color: #1e1b4b; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-50\/50 { background-color: rgba(250, 245, 255, 0.5); }
.bg-purple-50\/70 { background-color: rgba(250, 245, 255, 0.7); }
.bg-purple-100 { background-color: #f3e8ff; }
.hover\:bg-purple-100:hover { background-color: #f3e8ff; }
.bg-purple-100\/70 { background-color: rgba(243, 232, 255, 0.7); }
.border-purple-200 { border-color: #e9d5ff; }
.border-purple-300 { border-color: #d8b4fe; }
.text-purple-800 { color: #6b21a8; }
.text-purple-900 { color: #581c87; }
.text-purple-950 { color: #3b0764; }
.bg-fuchsia-100 { background-color: #fae8ff; }
.border-fuchsia-300 { border-color: #f0abfc; }
.text-fuchsia-900 { color: #701a75; }
.bg-yellow-100 { background-color: #fef9c3; }
.border-yellow-400 { border-color: #facc15; }
.text-yellow-900 { color: #713f12; }
.bg-cyan-100 { background-color: #cffafe; }
.border-cyan-400 { border-color: #22d3ee; }
.text-cyan-900 { color: #164e63; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-50\/50 { background-color: rgba(255, 247, 237, 0.5); }
.bg-orange-50\/80 { background-color: rgba(255, 247, 237, 0.8); }
.bg-orange-100 { background-color: #ffedd5; }
.border-orange-100 { border-color: #ffedd5; }
.border-orange-200 { border-color: #fed7aa; }
.border-orange-300 { border-color: #fdba74; }
.border-orange-400 { border-color: #fb923c; }
.bg-orange-600 { background-color: #ea580c; }
.bg-orange-700 { background-color: #c2410c; }
.hover\:bg-orange-700:hover { background-color: #c2410c; }
.bg-orange-800 { background-color: #9a3412; }
.text-orange-800 { color: #9a3412; }
.hover\:bg-orange-800:hover { background-color: #9a3412; }
.text-orange-900 { color: #7c2d12; }
.text-orange-950 { color: #431407; }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 12px -2px rgba(0,0,0,0.10), 0 2px 6px -2px rgba(0,0,0,0.06); }
.focus\:outline-none:focus { outline: none; }
.disabled\:opacity-40:disabled { opacity: 0.4; pointer-events: none; }

@media (min-width: 640px) {
.sm\:inline { display: inline; }
.sm\:flex-row { flex-direction: row; }
.sm\:flex-nowrap { flex-wrap: nowrap; }
.sm\:items-center { align-items: center; }
.sm\:w-auto { width: auto; }
.sm\:gap-2 { gap: 0.5rem; }
.sm\:gap-2\.5 { gap: 0.625rem; }
.sm\:gap-3 { gap: 0.75rem; }
.sm\:w-10 { width: 2.5rem; }
.sm\:h-10 { height: 2.5rem; }
.sm\:w-52 { width: 13rem; }
.sm\:w-80 { width: 20rem; }
.sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:p-5 { padding: 1.25rem; }
.sm\:p-6 { padding: 1.5rem; }
.sm\:p-8 { padding: 2rem; }
.sm\:bottom-5 { bottom: 1.25rem; }
.sm\:left-auto { left: auto; }
.sm\:left-6 { left: 1.5rem; }
.sm\:right-auto { right: auto; }
.sm\:rounded-3xl { border-radius: 1.5rem; }
.sm\:text-right { text-align: right; }
.sm\:text-left { text-align: left; }
.sm\:text-\[11px\] { font-size: 11px; }
.sm\:text-xs { font-size: 0.75rem; line-height: 1.1rem; }
.sm\:text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
.sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sm\:col-span-1 { grid-column: span 1 / span 1; }
.sm\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 768px) {
.md\:flex { display: flex; }
.md\:p-8 { padding: 2rem; }
.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)); }
}
@media (min-width: 1024px) {
.lg\:flex-row { flex-direction: row; }
.lg\:items-center { align-items: center; }
.lg\:justify-between { justify-content: space-between; }
.lg\:w-auto { width: auto; }
.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\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lg\:col-span-4 { grid-column: span 4 / span 4; }
.lg\:col-span-6 { grid-column: span 6 / span 6; }
.lg\:col-span-8 { grid-column: span 8 / span 8; }
}
@media (min-width: 1280px) {
.xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =========================================================================
   CENTRALIZED THEME VARIABLES & LIGHT / DARK THEME ENGINE (WCAG AA+ SOLID)
   ========================================================================= */
:root {
  --dxn-bg-page: #f1f5f9;
  --dxn-bg-card: #ffffff;
  --dxn-bg-card-glass: #ffffff;
  --dxn-bg-subtle: #f8fafc;
  --dxn-bg-elevated: #edf2f7;
  --dxn-bg-muted: #e2e8f0;
  --dxn-border: #cbd5e1;
  --dxn-border-strong: #94a3b8;
  --dxn-text-1: #0f172a;
  --dxn-text-2: #334155;
  --dxn-text-3: #475569;
  color-scheme: light;
}

body {
  background-color: var(--dxn-bg-page);
  color: var(--dxn-text-1);
}

/* Solidify card/bar white & slate overlays so background patterns/text NEVER bleed through */
.bg-white\/95,
.bg-white\/90,
.bg-white\/85,
.bg-white\/80,
.bg-white\/70 {
  background-color: var(--dxn-bg-card) !important;
}
.bg-slate-50\/90,
.bg-slate-50\/80,
.bg-slate-50\/70,
.bg-slate-50\/60 {
  background-color: var(--dxn-bg-subtle) !important;
}
.backdrop-blur-md {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Solidify pastel callout cards in Light Mode for crisp contrast */
.bg-amber-200\/70 { background-color: #fde68a !important; }
.bg-rose-50\/70 { background-color: #fff1f2 !important; }
.bg-indigo-50\/60 { background-color: #eef2ff !important; }
.bg-purple-100\/70 { background-color: #f3e8ff !important; }

/* Improve Light Mode input clarity, focus ring & placeholder readability */
input, select, textarea {
  border-color: #cbd5e1;
  max-width: 100%;
}
.dxn-store-sort-select {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-overflow: ellipsis;
}
.dxn-prod-img-frame {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
html[data-theme="dark"] .dxn-prod-img-frame {
  background-color: #0e1724 !important;
  border-bottom-color: #2e435c !important;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}
input::placeholder, textarea::placeholder {
  color: #64748b;
}

/* Strengthen faint muted grays on Light cards while preserving dark headers */
.text-slate-400 { color: #526075; }
.text-slate-500 { color: #475569; }
.bg-slate-900 .text-slate-400,
.bg-slate-800 .text-slate-400,
.from-slate-900 .text-slate-400,
.dxn-sv-strip .text-slate-400 { color: #cbd5e1 !important; }
.bg-slate-900 .text-slate-500,
.bg-slate-800 .text-slate-500,
.from-slate-900 .text-slate-500 { color: #94a3b8 !important; }

.dxn-network-canvas {
  background-color: #eef3f8;
}

/* =========================================================================
   DARK THEME — DEEP NAVY / SLATE PALETTE + SOLID NON-TRANSPARENT SURFACES
   ========================================================================= */
html[data-theme="dark"] {
  --dxn-bg-page: #0b131e;
  --dxn-bg-card: #131f2e;
  --dxn-bg-card-glass: #131f2e;
  --dxn-bg-subtle: #19283b;
  --dxn-bg-elevated: #203248;
  --dxn-bg-muted: #293f59;
  --dxn-border: #2e435c;
  --dxn-border-strong: #435e7e;
  --dxn-text-1: #f8fafc;
  --dxn-text-2: #dce6f2;
  --dxn-text-3: #a8bbd0;
  color-scheme: dark;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: var(--dxn-bg-page) !important;
  color: var(--dxn-text-1) !important;
}

html[data-theme="dark"] img {
  filter: none !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background-color: #0d1622 !important;
  color: #f8fafc !important;
  border-color: #435e7e !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  border-color: #2dd4bf !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #90a5bf !important;
}

html[data-theme="dark"] option {
  background-color: #131f2e;
  color: #f8fafc;
}

/* Solid Card & Elevated Neutral Surfaces */
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-white\/95,
html[data-theme="dark"] .bg-white\/90,
html[data-theme="dark"] .bg-white\/85,
html[data-theme="dark"] .bg-white\/80,
html[data-theme="dark"] .bg-white\/70 { background-color: var(--dxn-bg-card) !important; }
html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-slate-50\/90,
html[data-theme="dark"] .bg-slate-50\/80,
html[data-theme="dark"] .bg-slate-50\/70,
html[data-theme="dark"] .bg-slate-50\/60 { background-color: var(--dxn-bg-subtle) !important; }
html[data-theme="dark"] .bg-slate-100,
html[data-theme="dark"] .bg-slate-100\/80 { background-color: var(--dxn-bg-elevated) !important; }
html[data-theme="dark"] .bg-slate-200 { background-color: var(--dxn-bg-muted) !important; }

html[data-theme="dark"] .hover\:bg-white:hover { background-color: #1c2c40 !important; }
html[data-theme="dark"] .hover\:bg-slate-50:hover { background-color: #1f3146 !important; }
html[data-theme="dark"] .hover\:bg-slate-100:hover { background-color: #263b54 !important; }
html[data-theme="dark"] .hover\:bg-slate-200:hover { background-color: #2f4866 !important; }

/* Borders & Dividers */
html[data-theme="dark"] .border-slate-100,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-slate-200\/90,
html[data-theme="dark"] .border-slate-200\/80,
html[data-theme="dark"] .border-slate-200\/70,
html[data-theme="dark"] .border-slate-300,
html[data-theme="dark"] .border-black\/10 { border-color: var(--dxn-border) !important; }
html[data-theme="dark"] .divide-y > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-slate-200 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-slate-200\/70 > :not([hidden]) ~ :not([hidden]) { border-color: var(--dxn-border) !important; }
html[data-theme="dark"] .divide-amber-100 > :not([hidden]) ~ :not([hidden]) { border-color: #785513 !important; }
html[data-theme="dark"] .divide-purple-100 > :not([hidden]) ~ :not([hidden]) { border-color: #5b21b6 !important; }

/* High-Contrast Neutral Typography */
html[data-theme="dark"] .text-slate-950,
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800 { color: var(--dxn-text-1) !important; }
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-600 { color: var(--dxn-text-2) !important; }
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-400 { color: var(--dxn-text-3) !important; }
html[data-theme="dark"] .hover\:text-slate-900:hover { color: #ffffff !important; }

/* Preserve dark text on bright amber CTA buttons & badges */
html[data-theme="dark"] .bg-amber-400,
html[data-theme="dark"] .bg-amber-500,
html[data-theme="dark"] .bg-amber-500 .text-slate-950,
html[data-theme="dark"] .bg-amber-400 .text-slate-950 { color: #020617 !important; }
html[data-theme="dark"] .bg-amber-500.text-white { color: #ffffff !important; }

/* SOLID Semantic Surfaces in Dark Mode (ZERO washed-out RGBA bleed-through) */
html[data-theme="dark"] .bg-teal-50,
html[data-theme="dark"] .bg-teal-50\/90,
html[data-theme="dark"] .bg-teal-50\/80,
html[data-theme="dark"] .bg-teal-50\/70,
html[data-theme="dark"] .bg-teal-50\/60,
html[data-theme="dark"] .bg-teal-50\/40 { background-color: #102d30 !important; }
html[data-theme="dark"] .bg-teal-100 { background-color: #143b3e !important; }
html[data-theme="dark"] .border-teal-100,
html[data-theme="dark"] .border-teal-200,
html[data-theme="dark"] .border-teal-200\/70,
html[data-theme="dark"] .border-teal-200\/90,
html[data-theme="dark"] .border-teal-300 { border-color: #1f6e6e !important; }
html[data-theme="dark"] .text-teal-950,
html[data-theme="dark"] .text-teal-900,
html[data-theme="dark"] .text-teal-800,
html[data-theme="dark"] .text-teal-700 { color: #7ff0e2 !important; }

html[data-theme="dark"] .bg-emerald-50,
html[data-theme="dark"] .bg-emerald-50\/90,
html[data-theme="dark"] .bg-emerald-50\/80,
html[data-theme="dark"] .bg-emerald-50\/70,
html[data-theme="dark"] .bg-emerald-50\/60,
html[data-theme="dark"] .bg-emerald-50\/30 { background-color: #0f2d24 !important; }
html[data-theme="dark"] .bg-emerald-100,
html[data-theme="dark"] .bg-emerald-100\/80,
html[data-theme="dark"] .bg-emerald-100\/70,
html[data-theme="dark"] .bg-emerald-200 { background-color: #133c30 !important; }
html[data-theme="dark"] .border-emerald-200,
html[data-theme="dark"] .border-emerald-200\/60,
html[data-theme="dark"] .border-emerald-200\/80,
html[data-theme="dark"] .border-emerald-200\/90,
html[data-theme="dark"] .border-emerald-300,
html[data-theme="dark"] .border-emerald-400 { border-color: #1e7a5c !important; }
html[data-theme="dark"] .text-emerald-950,
html[data-theme="dark"] .text-emerald-900,
html[data-theme="dark"] .text-emerald-800,
html[data-theme="dark"] .text-emerald-700 { color: #86efac !important; }
html[data-theme="dark"] .text-emerald-600 { color: #6ee7b7 !important; }

html[data-theme="dark"] .bg-sky-50,
html[data-theme="dark"] .bg-sky-50\/80,
html[data-theme="dark"] .bg-sky-50\/70,
html[data-theme="dark"] .bg-sky-50\/60,
html[data-theme="dark"] .bg-sky-50\/40,
html[data-theme="dark"] .bg-sky-50\/30 { background-color: #10273f !important; }
html[data-theme="dark"] .bg-sky-100 { background-color: #143456 !important; }
html[data-theme="dark"] .border-sky-200,
html[data-theme="dark"] .border-sky-200\/90,
html[data-theme="dark"] .border-sky-300 { border-color: #27649b !important; }
html[data-theme="dark"] .text-sky-950,
html[data-theme="dark"] .text-sky-900,
html[data-theme="dark"] .text-sky-800,
html[data-theme="dark"] .text-sky-700 { color: #93c5fd !important; }

html[data-theme="dark"] .bg-amber-50,
html[data-theme="dark"] .bg-amber-50\/90,
html[data-theme="dark"] .bg-amber-50\/80,
html[data-theme="dark"] .bg-amber-50\/75,
html[data-theme="dark"] .bg-amber-50\/70,
html[data-theme="dark"] .bg-amber-50\/60,
html[data-theme="dark"] .bg-amber-50\/50,
html[data-theme="dark"] .bg-amber-50\/40,
html[data-theme="dark"] .bg-amber-50\/25,
html[data-theme="dark"] .bg-amber-50\/20 { background-color: #2d220d !important; }
html[data-theme="dark"] .bg-amber-100,
html[data-theme="dark"] .bg-amber-100\/80,
html[data-theme="dark"] .bg-amber-100\/70,
html[data-theme="dark"] .bg-amber-200,
html[data-theme="dark"] .bg-amber-200\/70 { background-color: #3b2c10 !important; }
html[data-theme="dark"] .border-amber-200,
html[data-theme="dark"] .border-amber-200\/80,
html[data-theme="dark"] .border-amber-300,
html[data-theme="dark"] .border-amber-400 { border-color: #b47812 !important; }
html[data-theme="dark"] .text-amber-950,
html[data-theme="dark"] .text-amber-900,
html[data-theme="dark"] .text-amber-800,
html[data-theme="dark"] .text-amber-700 { color: #fde68a !important; }

html[data-theme="dark"] .bg-rose-50,
html[data-theme="dark"] .bg-rose-50\/70 { background-color: #32141d !important; }
html[data-theme="dark"] .bg-rose-100,
html[data-theme="dark"] .bg-rose-100\/80,
html[data-theme="dark"] .bg-rose-100\/70 { background-color: #421926 !important; }
html[data-theme="dark"] .border-rose-200,
html[data-theme="dark"] .border-rose-300,
html[data-theme="dark"] .border-rose-400 { border-color: #be123c !important; }
html[data-theme="dark"] .text-rose-950,
html[data-theme="dark"] .text-rose-900,
html[data-theme="dark"] .text-rose-800,
html[data-theme="dark"] .text-rose-700,
html[data-theme="dark"] .text-rose-600 { color: #fecdd3 !important; }

html[data-theme="dark"] .bg-indigo-50,
html[data-theme="dark"] .bg-indigo-50\/60,
html[data-theme="dark"] .bg-indigo-50\/70,
html[data-theme="dark"] .bg-indigo-50\/80,
html[data-theme="dark"] .bg-indigo-50\/90,
html[data-theme="dark"] .bg-indigo-100,
html[data-theme="dark"] .bg-indigo-100\/70 { background-color: #1b2347 !important; }
html[data-theme="dark"] .border-indigo-200,
html[data-theme="dark"] .border-indigo-200\/70,
html[data-theme="dark"] .border-indigo-300 { border-color: #4758a8 !important; }
html[data-theme="dark"] .text-indigo-950,
html[data-theme="dark"] .text-indigo-900,
html[data-theme="dark"] .text-indigo-800,
html[data-theme="dark"] .text-indigo-700 { color: #c7d2fe !important; }

html[data-theme="dark"] .bg-purple-50,
html[data-theme="dark"] .bg-purple-50\/70,
html[data-theme="dark"] .bg-purple-50\/50,
html[data-theme="dark"] .bg-purple-100,
html[data-theme="dark"] .bg-purple-100\/70 { background-color: #25183c !important; }
html[data-theme="dark"] .border-purple-200,
html[data-theme="dark"] .border-purple-300 { border-color: #7c3aed !important; }
html[data-theme="dark"] .text-purple-950,
html[data-theme="dark"] .text-purple-900,
html[data-theme="dark"] .text-purple-800 { color: #e9d5ff !important; }

html[data-theme="dark"] .bg-orange-50,
html[data-theme="dark"] .bg-orange-50\/80,
html[data-theme="dark"] .bg-orange-50\/50,
html[data-theme="dark"] .bg-orange-100 { background-color: #2f1d10 !important; }
html[data-theme="dark"] .border-orange-100,
html[data-theme="dark"] .border-orange-200,
html[data-theme="dark"] .border-orange-300 { border-color: #b45309 !important; }
html[data-theme="dark"] .text-orange-950,
html[data-theme="dark"] .text-orange-900,
html[data-theme="dark"] .text-orange-800 { color: #fed7aa !important; }

html[data-theme="dark"] .bg-fuchsia-100 { background-color: #2e1638 !important; }
html[data-theme="dark"] .text-fuchsia-900 { color: #f5d0fe !important; }
html[data-theme="dark"] .bg-yellow-100 { background-color: #2b240c !important; }
html[data-theme="dark"] .text-yellow-900 { color: #fef08a !important; }
html[data-theme="dark"] .bg-cyan-100 { background-color: #0f2b38 !important; }
html[data-theme="dark"] .text-cyan-900 { color: #a5f3fc !important; }

/* Dark Mode Hover Enhancements on Tinted Buttons */
html[data-theme="dark"] .hover\:bg-teal-50:hover { background-color: #163d41 !important; }
html[data-theme="dark"] .hover\:bg-emerald-50:hover,
html[data-theme="dark"] .hover\:bg-emerald-100:hover { background-color: #164738 !important; }
html[data-theme="dark"] .hover\:bg-sky-50:hover,
html[data-theme="dark"] .hover\:bg-sky-100:hover { background-color: #183d63 !important; }
html[data-theme="dark"] .hover\:bg-amber-50:hover,
html[data-theme="dark"] .hover\:bg-amber-100:hover,
html[data-theme="dark"] .hover\:bg-amber-200:hover { background-color: #4a3713 !important; }
html[data-theme="dark"] .hover\:bg-indigo-100:hover { background-color: #253063 !important; }
html[data-theme="dark"] .hover\:bg-rose-100:hover { background-color: #541f2f !important; }

/* Soft Light-Gradient Overrides inside Dark Mode cards */
html[data-theme="dark"] .from-teal-50\/90,
html[data-theme="dark"] .from-teal-50\/80,
html[data-theme="dark"] .from-teal-50 {
  --tw-gradient-from: #102d30 !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html[data-theme="dark"] .from-amber-50\/90,
html[data-theme="dark"] .from-amber-50\/80,
html[data-theme="dark"] .from-amber-50 {
  --tw-gradient-from: #2d220d !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html[data-theme="dark"] .to-sky-50\/70 {
  --tw-gradient-to: #10273f !important;
}
html[data-theme="dark"] .to-teal-50\/70,
html[data-theme="dark"] .to-teal-50 {
  --tw-gradient-to: #102d30 !important;
}
html[data-theme="dark"] .to-white {
  --tw-gradient-to: #131f2e !important;
}

/* Preserve bright white text on dark/colored primary buttons & dark headers */
html[data-theme="dark"] .text-white { color: #ffffff !important; }
html[data-theme="dark"] .bg-slate-900 {
  background-color: #142234 !important;
  border-color: #354e6b !important;
}
html[data-theme="dark"] .bg-slate-800 {
  background-color: #192b40 !important;
}

/* Dark network canvas dot-grid harmony */
html[data-theme="dark"] .dxn-network-canvas {
  background-color: #0b131e !important;
  background-image: radial-gradient(#273b52 1px, transparent 1px) !important;
}

/* ============================================================================
   UNIFIED RESPONSIVE MOBILE + DESKTOP MODAL SHELL (100dvh + Safe Area + Touch)
   ============================================================================ */
.dxn-modal-backdrop {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: contain;
  touch-action: none;
}
.dxn-modal-shell {
  background-color: #ffffff;
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: pan-y;
}
.dxn-modal-header {
  flex-shrink: 0;
}
.dxn-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.dxn-modal-footer {
  flex-shrink: 0;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
}
html[data-theme="dark"] .dxn-modal-shell {
  background-color: #131f2e !important;
  border-color: #354d69 !important;
}
html[data-theme="dark"] .dxn-modal-footer {
  background-color: #0f1926 !important;
  border-color: #2e435c !important;
}

/* ============================================================================
   MODERN COMPACT MEMBER CARD (SOLID, HIGH-CONTRAST, ZERO TRANSPARENCY)
   ============================================================================ */
.dxn-node-card {
  width: 312px;
  max-width: calc(100vw - 2rem);
  opacity: 1 !important;
}
@media (min-width: 640px) {
.dxn-node-card {
    width: 332px;
  }
}
html[data-theme="dark"] .dxn-node-card {
  background-color: #13243c !important;
}
.dxn-sv-strip {
  background-color: #0f172a;
  color: #f8fafc;
}
html[data-theme="dark"] .dxn-sv-strip {
  background-color: #09111f !important;
  border: 1px solid #2e486b !important;
}
.dxn-comm-simp-box {
  background-color: #ecfdf5;
  border: 1.5px solid #16a34a;
  color: #065f46;
}
html[data-theme="dark"] .dxn-comm-simp-box {
  background-color: #0d3026 !important;
  border-color: #22c58b !important;
  color: #a7f3d0 !important;
}
.dxn-comm-asp-box {
  background-color: #fffbeb;
  border: 1.5px solid #d97706;
  color: #92400e;
}
html[data-theme="dark"] .dxn-comm-asp-box {
  background-color: #30220a !important;
  border-color: #f59e0b !important;
  color: #fde68a !important;
}
.dxn-card-reset-btn {
  background-color: #fff1f2;
  color: #9f1239;
  border: 1px solid #fda4af;
}
.dxn-card-reset-btn:hover {
  background-color: #ffe4e6;
}
html[data-theme="dark"] .dxn-card-reset-btn {
  background-color: #33121b !important;
  color: #fecdd3 !important;
  border-color: #f43f5e !important;
}
html[data-theme="dark"] .dxn-card-reset-btn:hover {
  background-color: #481825 !important;
}

/* ============================================================================
   PRODUCT STORE INDEPENDENT SPLIT-SCROLL ARCHITECTURE (Desktop + Mobile FAB)
   ============================================================================ */
.dxn-store-split-shell {
  display: block;
}
.dxn-store-products-pane {
  width: 100%;
}
.dxn-store-desktop-cart {
  display: none;
}
.dxn-store-mobile-fab {
  display: inline-flex;
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 44;
}
@media (min-width: 1024px) {
.dxn-store-split-shell {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    height: calc(100vh - 13.5rem);
    height: calc(100dvh - 13.5rem);
    min-height: 460px;
    max-height: calc(100dvh - 11.5rem);
    overflow: hidden;
  }
.dxn-store-products-pane {
    grid-column: span 8 / span 8;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: 0.35rem;
  }
.dxn-store-desktop-cart {
    grid-column: span 4 / span 4;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
.dxn-store-cart-items-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: 0.25rem;
  }
.dxn-store-cart-details-scroll {
    flex-shrink: 1;
    max-height: 46%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
.dxn-store-cart-confirm-bar {
    flex-shrink: 0;
  }
.dxn-store-mobile-fab {
    display: none !important;
  }
}
.dxn-home-shortcut-btn {
  min-width: 44px;
  min-height: 44px;
}

/* ============================================================================
   MEMBERSHIP COLOR IDENTITY (TURKEY RED vs OUTSIDE-TURKEY NAVY) + WCAG AA CONTRAST
   ============================================================================ */
/* 1. Turkey Card — Light Mode (Warm Crimson-Ivory, Unmistakable & Solid) */
  background-color: #FFF5F6 !important;
  border-color: #C81E3A !important;
}
.dxn-card-turkey .dxn-card-header {
  background-color: #FFE4E8 !important;
  border-color: #F4A3B1 !important;
  color: #7F1D1D !important;
}
.dxn-card-turkey .dxn-card-gen-pill {
  background-color: #FFFFFF !important;
  border-color: #E11D48 !important;
  color: #881337 !important;
}
.dxn-card-turkey .dxn-card-membership-pill {
  background-color: #B91C1C !important;
  border-color: #991B1B !important;
  color: #FFFFFF !important;
}
.dxn-card-turkey .dxn-card-member-name {
  color: #0F172A !important;
}
.dxn-card-turkey .dxn-card-meta-strip {
  background-color: #FFFFFF !important;
  border-color: #F4B8C1 !important;
  color: #334155 !important;
}
.dxn-card-turkey .dxn-card-pv-cell {
  background-color: #FFFFFF !important;
  border-color: #F4B8C1 !important;
}
.dxn-card-turkey .dxn-card-pv-label {
  color: #334155 !important;
}
.dxn-card-turkey .dxn-card-pv-value {
  color: #9F1239 !important;
}
.dxn-card-turkey .dxn-card-pv-sub {
  color: #475569 !important;
}
.dxn-card-turkey .dxn-sv-strip {
  background-color: #1E090E !important;
  border: 1px solid #991B1B !important;
}
.dxn-card-turkey .dxn-card-actions-bar {
  background-color: #FFEFF2 !important;
  border-color: #F5B8C2 !important;
}

/* 1B. Turkey Card — Dark Mode (Deep Rich Turkish Burgundy, 100% Solid, High Contrast) */
html[data-theme="dark"] .dxn-node-card.dxn-card-turkey {
  background-color: #351019 !important;
  border-color: #E11D48 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-header {
  background-color: #4D1624 !important;
  border-color: #9F1239 !important;
  color: #FFF1F2 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-gen-pill {
  background-color: #20090F !important;
  border-color: #FB7185 !important;
  color: #FFE4E6 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-membership-pill {
  background-color: #9F1239 !important;
  border-color: #FB7185 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-member-name {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-meta-strip {
  background-color: #250B12 !important;
  border-color: #9F1239 !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-pv-cell {
  background-color: #230A11 !important;
  border-color: #9F1239 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-pv-label {
  color: #F1D3D9 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-pv-value {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-pv-sub {
  color: #FDA4AF !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-sv-strip {
  background-color: #16060A !important;
  border: 1px solid #9F1239 !important;
}
html[data-theme="dark"] .dxn-card-turkey .dxn-card-actions-bar {
  background-color: #230A11 !important;
  border-color: #881337 !important;
}

/* 2. Outside-Turkey Card — Light Mode (Clean Ice-Navy, Distinct from Turkey Red, Solid) */
  background-color: #F1F7FE !important;
  border-color: #2563EB !important;
}
.dxn-card-outside .dxn-card-header {
  background-color: #DFECFD !important;
  border-color: #9EC0F2 !important;
  color: #0F294A !important;
}
.dxn-card-outside .dxn-card-gen-pill {
  background-color: #FFFFFF !important;
  border-color: #3B82F6 !important;
  color: #1E3A8A !important;
}
.dxn-card-outside .dxn-card-membership-pill {
  background-color: #1D4ED8 !important;
  border-color: #1E40AF !important;
  color: #FFFFFF !important;
}
.dxn-card-outside .dxn-card-member-name {
  color: #0F172A !important;
}
.dxn-card-outside .dxn-card-meta-strip {
  background-color: #FFFFFF !important;
  border-color: #BFDBFE !important;
  color: #334155 !important;
}
.dxn-card-outside .dxn-card-pv-cell {
  background-color: #FFFFFF !important;
  border-color: #BFDBFE !important;
}
.dxn-card-outside .dxn-card-pv-label {
  color: #334155 !important;
}
.dxn-card-outside .dxn-card-pv-value {
  color: #1E3A8A !important;
}
.dxn-card-outside .dxn-card-pv-sub {
  color: #475569 !important;
}
.dxn-card-outside .dxn-sv-strip {
  background-color: #0B1526 !important;
  border: 1px solid #1E40AF !important;
}
.dxn-card-outside .dxn-card-actions-bar {
  background-color: #E8F1FD !important;
  border-color: #BFD7F7 !important;
}

/* 2B. Outside-Turkey Card — Dark Mode (Deep Refined Sapphire-Navy, 100% Solid, Crisp) */
html[data-theme="dark"] .dxn-node-card.dxn-card-outside {
  background-color: #13243C !important;
  border-color: #4C86C6 !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-header {
  background-color: #1B3355 !important;
  border-color: #3B6499 !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-gen-pill {
  background-color: #0C1829 !important;
  border-color: #60A5FA !important;
  color: #DBEAFE !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-membership-pill {
  background-color: #1D4ED8 !important;
  border-color: #60A5FA !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-member-name {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-meta-strip {
  background-color: #0F1D32 !important;
  border-color: #2E5282 !important;
  color: #F1F5F9 !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-pv-cell {
  background-color: #0E1B2E !important;
  border-color: #2E5282 !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-pv-label {
  color: #D5E2F2 !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-pv-value {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-pv-sub {
  color: #93C5FD !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-sv-strip {
  background-color: #09111F !important;
  border: 1px solid #2B4B75 !important;
}
html[data-theme="dark"] .dxn-card-outside .dxn-card-actions-bar {
  background-color: #0E1A2D !important;
  border-color: #28456C !important;
}

/* Hierarchical Table Membership Dot Indicators (no full row tinting) */
.dxn-membership-dot-turkey {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: #DC2626;
  border: 1.5px solid #FCA5A5;
  flex-shrink: 0;
}
.dxn-membership-dot-outside {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: #5278A8;
  border: 1.5px solid #A9C8FF;
  flex-shrink: 0;
}

/* Smart Focus ring (non-intrusive highlight on focused card awaiting 2nd tap) */
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.36), 0 18px 34px -10px rgba(15, 23, 42, 0.22) !important;
}
html[data-theme="dark"] .dxn-node-card.dxn-card-focused {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.44), 0 18px 34px -10px rgba(0, 0, 0, 0.65) !important;
}
@media (prefers-reduced-motion: reduce) {
  .dxn-node-card,
.dxn-network-tree-wrapper {
    transition: none !important;
  }
}