/*
 * SandboxAI — Custom CSS
 * Replaces Tailwind CDN with hand-crafted utility classes.
 * No build step required — link directly from the layout.
 */

/* ═══════════════════════════════════════════════════════════
   1. RESET & BOX MODEL
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea {
    font-family: inherit; font-size: 100%; font-weight: inherit;
    line-height: inherit; color: inherit; margin: 0; padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] {
    -webkit-appearance: button; background-color: transparent; background-image: none;
}
:-moz-focusring { outline: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role='button'] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════
   2. FONTS & BASE
═══════════════════════════════════════════════════════════ */
html { height: 100%; }
body {
    background: #0a0e14;
    color: #e5e7eb;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   3. DISPLAY
═══════════════════════════════════════════════════════════ */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.table { display: table; }
.contents { display: contents; }
[x-cloak] { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   4. FLEXBOX
═══════════════════════════════════════════════════════════ */
.flex-row         { flex-direction: row; }
.flex-col         { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap        { flex-wrap: wrap; }
.flex-nowrap      { flex-wrap: nowrap; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.items-center   { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch  { align-items: stretch; }
.justify-start   { justify-content: flex-start; }
.justify-end     { justify-content: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around  { justify-content: space-around; }
.justify-evenly  { justify-content: space-evenly; }
.self-start   { align-self: flex-start; }
.self-end     { align-self: flex-end; }
.self-center  { align-self: center; }
.self-stretch { align-self: stretch; }
.flex-1    { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.flex-shrink { flex-shrink: 1; }
.flex-grow, .grow { flex-grow: 1; }
.flex-grow-0 { flex-grow: 0; }
.basis-auto { flex-basis: auto; }

/* Gaps */
.gap-0   { gap: 0; }
.gap-0\.5{ gap: 0.125rem; }
.gap-1   { gap: 0.25rem; }
.gap-1\.5{ gap: 0.375rem; }
.gap-2   { gap: 0.5rem; }
.gap-2\.5{ gap: 0.625rem; }
.gap-3   { gap: 0.75rem; }
.gap-3\.5{ gap: 0.875rem; }
.gap-4   { gap: 1rem; }
.gap-5   { gap: 1.25rem; }
.gap-6   { gap: 1.5rem; }
.gap-7   { gap: 1.75rem; }
.gap-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }
.gap-16  { gap: 4rem; }
.gap-x-1 { column-gap: 0.25rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-1   { row-gap: 0.25rem; }
.gap-y-1\.5{ row-gap: 0.375rem; }
.gap-y-2   { row-gap: 0.5rem; }
.gap-y-3   { row-gap: 0.75rem; }
.gap-y-4   { row-gap: 1rem; }
.gap-y-6   { row-gap: 1.5rem; }

/* Space between */
.space-x-1   > * + * { margin-left: 0.25rem; }
.space-x-1\.5> * + * { margin-left: 0.375rem; }
.space-x-2   > * + * { margin-left: 0.5rem; }
.space-x-3   > * + * { margin-left: 0.75rem; }
.space-x-4   > * + * { margin-left: 1rem; }
.space-x-6   > * + * { margin-left: 1.5rem; }
.space-x-8   > * + * { margin-left: 2rem; }
.space-y-0   > * + * { margin-top: 0; }
.space-y-0\.5> * + * { margin-top: 0.125rem; }
.space-y-1   > * + * { margin-top: 0.25rem; }
.space-y-1\.5> * + * { margin-top: 0.375rem; }
.space-y-2   > * + * { margin-top: 0.5rem; }
.space-y-2\.5> * + * { margin-top: 0.625rem; }
.space-y-3   > * + * { margin-top: 0.75rem; }
.space-y-4   > * + * { margin-top: 1rem; }
.space-y-5   > * + * { margin-top: 1.25rem; }
.space-y-6   > * + * { margin-top: 1.5rem; }
.space-y-8   > * + * { margin-top: 2rem; }

/* Divide */
.divide-y           > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-x           > * + * { border-left-width: 1px; border-left-style: solid; }
.divide-gray-700    > * + * { border-color: rgba(255,255,255,0.06); }
.divide-gray-800    > * + * { border-color: rgba(255,255,255,0.03); }
.divide-gray-700\/50> * + * { border-color: rgba(255,255,255,0.04); }

/* ═══════════════════════════════════════════════════════════
   5. GRID
═══════════════════════════════════════════════════════════ */
.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-5  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6  { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-7  { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-cols-8  { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-1   { grid-column: span 1 / span 1; }
.col-span-2   { grid-column: span 2 / span 2; }
.col-span-3   { grid-column: span 3 / span 3; }
.col-span-4   { grid-column: span 4 / span 4; }
.col-span-5   { grid-column: span 5 / span 5; }
.col-span-6   { grid-column: span 6 / span 6; }
.col-span-7   { grid-column: span 7 / span 7; }
.col-span-8   { grid-column: span 8 / span 8; }
.col-span-12  { grid-column: span 12 / span 12; }
.col-span-full{ grid-column: 1 / -1; }
.row-span-1   { grid-row: span 1 / span 1; }
.row-span-2   { grid-row: span 2 / span 2; }
.row-span-3   { grid-row: span 3 / span 3; }
.auto-rows-fr { grid-auto-rows: minmax(0, 1fr); }

/* ═══════════════════════════════════════════════════════════
   6. POSITION
═══════════════════════════════════════════════════════════ */
.static   { position: static; }
.fixed    { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky   { position: sticky; }

.top-0    { top: 0; }
.top-0\.5 { top: 0.125rem; }
.top-1    { top: 0.25rem; }
.top-2    { top: 0.5rem; }
.top-3    { top: 0.75rem; }
.top-4    { top: 1rem; }
.top-6    { top: 1.5rem; }
.top-8    { top: 2rem; }
.top-1\/2 { top: 50%; }
.bottom-0 { bottom: 0; }
.bottom-1 { bottom: 0.25rem; }
.bottom-2 { bottom: 0.5rem; }
.bottom-4 { bottom: 1rem; }
.left-0   { left: 0; }
.left-0\.5{ left: 0.125rem; }
.left-1   { left: 0.25rem; }
.left-2   { left: 0.5rem; }
.left-3   { left: 0.75rem; }
.left-4   { left: 1rem; }
.right-0  { right: 0; }
.right-0\.5{ right: 0.125rem; }
.right-1  { right: 0.25rem; }
.right-2  { right: 0.5rem; }
.right-3  { right: 0.75rem; }
.right-4  { right: 1rem; }
.inset-0  { inset: 0; }
.inset-x-0{ left: 0; right: 0; }
.inset-y-0{ top: 0; bottom: 0; }
.-top-1   { top: -0.25rem; }
.-top-2   { top: -0.5rem; }
.-right-1 { right: -0.25rem; }
.-right-2 { right: -0.5rem; }
.-left-1  { left: -0.25rem; }
.-inset-1 { inset: -0.25rem; }

.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[60\]  { z-index: 60; }
.z-\[100\] { z-index: 100; }

/* ═══════════════════════════════════════════════════════════
   7. SIZING — WIDTH
═══════════════════════════════════════════════════════════ */
.w-auto   { width: auto; }
.w-full   { width: 100%; }
.w-screen { width: 100vw; }
.w-px     { width: 1px; }
.w-0      { width: 0; }
.w-0\.5   { width: 0.125rem; }
.w-1      { width: 0.25rem; }
.w-1\.5   { width: 0.375rem; }
.w-2      { width: 0.5rem; }
.w-2\.5   { width: 0.625rem; }
.w-3      { width: 0.75rem; }
.w-3\.5   { width: 0.875rem; }
.w-4      { width: 1rem; }
.w-5      { width: 1.25rem; }
.w-6      { width: 1.5rem; }
.w-7      { width: 1.75rem; }
.w-8      { width: 2rem; }
.w-9      { width: 2.25rem; }
.w-10     { width: 2.5rem; }
.w-11     { width: 2.75rem; }
.w-12     { width: 3rem; }
.w-14     { width: 3.5rem; }
.w-16     { width: 4rem; }
.w-20     { width: 5rem; }
.w-24     { width: 6rem; }
.w-28     { width: 7rem; }
.w-32     { width: 8rem; }
.w-36     { width: 9rem; }
.w-40     { width: 10rem; }
.w-48     { width: 12rem; }
.w-56     { width: 14rem; }
.w-64     { width: 16rem; }
.w-72     { width: 18rem; }
.w-80     { width: 20rem; }
.w-96     { width: 24rem; }
.w-1\/2   { width: 50%; }
.w-1\/3   { width: 33.333333%; }
.w-2\/3   { width: 66.666667%; }
.w-1\/4   { width: 25%; }
.w-3\/4   { width: 75%; }
.w-fit    { width: fit-content; }
.max-w-none { max-width: none; }
.max-w-xs   { max-width: 20rem; }
.max-w-sm   { max-width: 24rem; }
.max-w-md   { max-width: 28rem; }
.max-w-lg   { max-width: 32rem; }
.max-w-xl   { max-width: 36rem; }
.max-w-2xl  { max-width: 42rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-4xl  { max-width: 56rem; }
.max-w-5xl  { max-width: 64rem; }
.max-w-6xl  { max-width: 72rem; }
.max-w-7xl  { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-\[1600px\] { max-width: 1600px; }
.max-w-\[400px\]  { max-width: 400px; }
.max-w-\[320px\]  { max-width: 320px; }
.max-w-\[280px\]  { max-width: 280px; }
.max-w-\[200px\]  { max-width: 200px; }
.min-w-0    { min-width: 0; }
.min-w-full { min-width: 100%; }

/* ═══════════════════════════════════════════════════════════
   8. SIZING — HEIGHT
═══════════════════════════════════════════════════════════ */
.h-auto   { height: auto; }
.h-full   { height: 100%; }
.h-screen { height: 100vh; }
.h-px     { height: 1px; }
.h-0      { height: 0; }
.h-0\.5   { height: 0.125rem; }
.h-1      { height: 0.25rem; }
.h-1\.5   { height: 0.375rem; }
.h-2      { height: 0.5rem; }
.h-2\.5   { height: 0.625rem; }
.h-3      { height: 0.75rem; }
.h-3\.5   { height: 0.875rem; }
.h-4      { height: 1rem; }
.h-5      { height: 1.25rem; }
.h-6      { height: 1.5rem; }
.h-7      { height: 1.75rem; }
.h-8      { height: 2rem; }
.h-9      { height: 2.25rem; }
.h-10     { height: 2.5rem; }
.h-11     { height: 2.75rem; }
.h-12     { height: 3rem; }
.h-14     { height: 3.5rem; }
.h-16     { height: 4rem; }
.h-20     { height: 5rem; }
.h-24     { height: 6rem; }
.h-32     { height: 8rem; }
.h-40     { height: 10rem; }
.h-48     { height: 12rem; }
.h-56     { height: 14rem; }
.h-64     { height: 16rem; }
.h-72     { height: 18rem; }
.h-80     { height: 20rem; }
.h-96     { height: 24rem; }
.min-h-0        { min-height: 0; }
.min-h-full     { min-height: 100%; }
.min-h-screen   { min-height: 100vh; }
.max-h-32   { max-height: 8rem; }
.max-h-40   { max-height: 10rem; }
.max-h-48   { max-height: 12rem; }
.max-h-56   { max-height: 14rem; }
.max-h-64   { max-height: 16rem; }
.max-h-72   { max-height: 18rem; }
.max-h-80   { max-height: 20rem; }
.max-h-96   { max-height: 24rem; }
.max-h-\[40vh\] { max-height: 40vh; }
.max-h-\[50vh\] { max-height: 50vh; }
.max-h-\[60vh\] { max-height: 60vh; }
.max-h-\[70vh\] { max-height: 70vh; }

/* ═══════════════════════════════════════════════════════════
   9. PADDING
═══════════════════════════════════════════════════════════ */
.p-0   { padding: 0; }
.p-0\.5{ padding: 0.125rem; }
.p-1   { padding: 0.25rem; }
.p-1\.5{ padding: 0.375rem; }
.p-2   { padding: 0.5rem; }
.p-2\.5{ padding: 0.625rem; }
.p-3   { padding: 0.75rem; }
.p-3\.5{ padding: 0.875rem; }
.p-4   { padding: 1rem; }
.p-5   { padding: 1.25rem; }
.p-6   { padding: 1.5rem; }
.p-7   { padding: 1.75rem; }
.p-8   { padding: 2rem; }
.p-10  { padding: 2.5rem; }
.p-12  { padding: 3rem; }
.p-16  { padding: 4rem; }
.px-0  { padding-left: 0; padding-right: 0; }
.px-0\.5{ padding-left: 0.125rem; padding-right: 0.125rem; }
.px-1  { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5{ padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2  { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5{ padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3  { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5{ padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4  { padding-left: 1rem; padding-right: 1rem; }
.px-5  { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7  { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8  { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-0  { padding-top: 0; padding-bottom: 0; }
.py-0\.5{ padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1  { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5{ padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5{ padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3  { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5{ padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4  { padding-top: 1rem; padding-bottom: 1rem; }
.py-5  { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6  { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8  { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-0  { padding-top: 0; }
.pt-1  { padding-top: 0.25rem; }
.pt-2  { padding-top: 0.5rem; }
.pt-3  { padding-top: 0.75rem; }
.pt-4  { padding-top: 1rem; }
.pt-5  { padding-top: 1.25rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pb-0  { padding-bottom: 0; }
.pb-1  { padding-bottom: 0.25rem; }
.pb-2  { padding-bottom: 0.5rem; }
.pb-3  { padding-bottom: 0.75rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-5  { padding-bottom: 1.25rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-0  { padding-left: 0; }
.pl-1  { padding-left: 0.25rem; }
.pl-2  { padding-left: 0.5rem; }
.pl-3  { padding-left: 0.75rem; }
.pl-4  { padding-left: 1rem; }
.pl-5  { padding-left: 1.25rem; }
.pl-6  { padding-left: 1.5rem; }
.pl-8  { padding-left: 2rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-12 { padding-left: 3rem; }
.pr-0  { padding-right: 0; }
.pr-1  { padding-right: 0.25rem; }
.pr-2  { padding-right: 0.5rem; }
.pr-3  { padding-right: 0.75rem; }
.pr-4  { padding-right: 1rem; }
.pr-5  { padding-right: 1.25rem; }
.pr-6  { padding-right: 1.5rem; }
.pr-8  { padding-right: 2rem; }
.pr-10 { padding-right: 2.5rem; }
.pr-12 { padding-right: 3rem; }

/* ═══════════════════════════════════════════════════════════
   10. MARGIN
═══════════════════════════════════════════════════════════ */
.m-0  { margin: 0; }
.m-1  { margin: 0.25rem; }
.m-2  { margin: 0.5rem; }
.m-4  { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-0  { margin-top: 0; }
.mt-0\.5{ margin-top: 0.125rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-1\.5{ margin-top: 0.375rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-0  { margin-bottom: 0; }
.mb-0\.5{ margin-bottom: 0.125rem; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-1\.5{ margin-bottom: 0.375rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-0  { margin-left: 0; }
.ml-0\.5{ margin-left: 0.125rem; }
.ml-1  { margin-left: 0.25rem; }
.ml-1\.5{ margin-left: 0.375rem; }
.ml-2  { margin-left: 0.5rem; }
.ml-3  { margin-left: 0.75rem; }
.ml-4  { margin-left: 1rem; }
.ml-6  { margin-left: 1.5rem; }
.ml-8  { margin-left: 2rem; }
.ml-10 { margin-left: 2.5rem; }
.ml-auto{ margin-left: auto; }
.mr-0  { margin-right: 0; }
.mr-0\.5{ margin-right: 0.125rem; }
.mr-1  { margin-right: 0.25rem; }
.mr-1\.5{ margin-right: 0.375rem; }
.mr-2  { margin-right: 0.5rem; }
.mr-3  { margin-right: 0.75rem; }
.mr-4  { margin-right: 1rem; }
.mr-auto{ margin-right: auto; }
.-mt-1  { margin-top: -0.25rem; }
.-mt-2  { margin-top: -0.5rem; }
.-ml-1  { margin-left: -0.25rem; }
.-ml-px { margin-left: -1px; }

/* ═══════════════════════════════════════════════════════════
   11. TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
.font-sans      { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.font-mono      { font-family: 'JetBrains Mono', 'Fira Code', monospace; }
.font-thin      { font-weight: 100; }
.font-extralight{ font-weight: 200; }
.font-light     { font-weight: 300; }
.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; }

.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }
.text-7xl  { font-size: 4.5rem;   line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }

.italic    { font-style: italic; }
.not-italic{ font-style: normal; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize{ text-transform: capitalize; }
.normal-case{ text-transform: none; }
.underline  { text-decoration-line: underline; }
.no-underline{ text-decoration-line: none; }
.line-through{ text-decoration-line: line-through; }

.tracking-tighter{ letter-spacing: -0.05em; }
.tracking-tight  { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide   { letter-spacing: 0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none   { line-height: 1; }
.leading-tight  { line-height: 1.25; }
.leading-snug   { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed{ line-height: 1.625; }
.leading-loose  { line-height: 2; }
.leading-3 { line-height: 0.75rem; }
.leading-4 { line-height: 1rem; }
.leading-5 { line-height: 1.25rem; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap  { white-space: nowrap; }
.whitespace-pre     { white-space: pre; }
.whitespace-pre-wrap{ white-space: pre-wrap; }
.whitespace-normal  { white-space: normal; }
.break-all   { word-break: break-all; }
.break-words { overflow-wrap: break-word; }
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all  { user-select: all; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ═══════════════════════════════════════════════════════════
   12. TEXT COLORS
═══════════════════════════════════════════════════════════ */
.text-white       { color: #ffffff; }
.text-black       { color: #000000; }
.text-current     { color: currentColor; }
.text-transparent { color: transparent; }
/* Gray */
.text-gray-50  { color: #f9fafb; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
/* Indigo */
.text-indigo-50  { color: #eef2ff; }
.text-indigo-100 { color: #e0e7ff; }
.text-indigo-200 { color: #c7d2fe; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-500 { color: #6366f1; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }
/* Red */
.text-red-200 { color: #fecaca; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
/* Green */
.text-green-300 { color: #86efac; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
/* Yellow */
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }
.text-yellow-500 { color: #eab308; }
/* Blue */
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
/* Cyan */
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-cyan-500 { color: #06b6d4; }
/* Purple */
.text-purple-300 { color: #d8b4fe; }
.text-purple-400 { color: #c084fc; }
.text-purple-500 { color: #a855f7; }
/* Pink */
.text-pink-300 { color: #f9a8d4; }
.text-pink-400 { color: #f472b6; }
.text-pink-500 { color: #ec4899; }
/* Orange */
.text-orange-300 { color: #fdba74; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
/* Teal */
.text-teal-300 { color: #5eead4; }
.text-teal-400 { color: #2dd4bf; }
.text-teal-500 { color: #14b8a6; }
/* Violet */
.text-violet-300 { color: #c4b5fd; }
.text-violet-400 { color: #a78bfa; }
.text-violet-500 { color: #8b5cf6; }
/* Emerald */
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
/* Amber */
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
/* Rose */
.text-rose-400 { color: #fb7185; }
.text-rose-500 { color: #f43f5e; }

/* ═══════════════════════════════════════════════════════════
   13. BACKGROUND COLORS
═══════════════════════════════════════════════════════════ */
.bg-transparent { background-color: transparent; }
.bg-white       { background-color: #ffffff; }
.bg-black       { background-color: #000000; }
.bg-white\/5    { background-color: rgba(255,255,255,0.05); }
.bg-white\/10   { background-color: rgba(255,255,255,0.10); }
.bg-white\/20   { background-color: rgba(255,255,255,0.20); }
.bg-black\/30   { background-color: rgba(0,0,0,0.30); }
.bg-black\/40   { background-color: rgba(0,0,0,0.40); }
.bg-black\/50   { background-color: rgba(0,0,0,0.50); }
.bg-black\/60   { background-color: rgba(0,0,0,0.60); }
.bg-black\/80   { background-color: rgba(0,0,0,0.80); }
/* Gray */
.bg-gray-50   { background-color: #f9fafb; }
.bg-gray-100  { background-color: #f3f4f6; }
.bg-gray-700  { background-color: rgba(255,255,255,0.08); }
.bg-gray-800  { background-color: rgba(255,255,255,0.04); }
.bg-gray-900  { background-color: rgba(10,14,20,0.9); }
.bg-gray-950  { background-color: #030712; }
.bg-gray-700\/50 { background-color: rgba(255,255,255,0.05); }
.bg-gray-800\/50 { background-color: rgba(255,255,255,0.03); }
.bg-gray-900\/50 { background-color: rgba(17,24,39,0.5); }
.bg-gray-900\/80 { background-color: rgba(17,24,39,0.8); }
/* Indigo */
.bg-indigo-500 { background-color: #6366f1; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-700 { background-color: #4338ca; }
.bg-indigo-500\/5  { background-color: rgba(99,102,241,0.05); }
.bg-indigo-500\/10 { background-color: rgba(99,102,241,0.10); }
.bg-indigo-500\/20 { background-color: rgba(99,102,241,0.20); }
.bg-indigo-600\/10 { background-color: rgba(79,70,229,0.10); }
.bg-indigo-600\/20 { background-color: rgba(79,70,229,0.20); }
.bg-indigo-600\/80 { background-color: rgba(79,70,229,0.80); }
/* Red */
.bg-red-500    { background-color: #ef4444; }
.bg-red-600    { background-color: #dc2626; }
.bg-red-500\/10  { background-color: rgba(239,68,68,0.10); }
.bg-red-500\/20  { background-color: rgba(239,68,68,0.20); }
.bg-red-900\/20  { background-color: rgba(127,29,29,0.20); }
/* Green */
.bg-green-500  { background-color: #22c55e; }
.bg-green-500\/10 { background-color: rgba(34,197,94,0.10); }
.bg-green-500\/20 { background-color: rgba(34,197,94,0.20); }
.bg-green-900\/20 { background-color: rgba(20,83,45,0.20); }
/* Yellow */
.bg-yellow-500 { background-color: #eab308; }
.bg-yellow-500\/10 { background-color: rgba(234,179,8,0.10); }
.bg-yellow-500\/20 { background-color: rgba(234,179,8,0.20); }
/* Blue */
.bg-blue-500   { background-color: #3b82f6; }
.bg-blue-600   { background-color: #2563eb; }
.bg-blue-500\/10 { background-color: rgba(59,130,246,0.10); }
.bg-blue-500\/20 { background-color: rgba(59,130,246,0.20); }
/* Cyan */
.bg-cyan-500\/10 { background-color: rgba(6,182,212,0.10); }
/* Purple */
.bg-purple-500\/10 { background-color: rgba(168,85,247,0.10); }
.bg-purple-500\/20 { background-color: rgba(168,85,247,0.20); }
/* Orange */
.bg-orange-500\/10 { background-color: rgba(249,115,22,0.10); }
.bg-orange-500\/20 { background-color: rgba(249,115,22,0.20); }
/* Teal */
.bg-teal-500\/10 { background-color: rgba(20,184,166,0.10); }
/* Emerald */
.bg-emerald-500\/10 { background-color: rgba(16,185,129,0.10); }
.bg-emerald-500\/20 { background-color: rgba(16,185,129,0.20); }
/* Violet */
.bg-violet-500\/10 { background-color: rgba(139,92,246,0.10); }
/* Pink */
.bg-pink-500\/10 { background-color: rgba(236,72,153,0.10); }
/* Dark custom */
.bg-dark-950 { background-color: #0d1117; }
.bg-dark-900 { background-color: #212529; }
.bg-dark-800 { background-color: #343a40; }

/* ═══════════════════════════════════════════════════════════
   14. BORDER COLORS
═══════════════════════════════════════════════════════════ */
.border-transparent { border-color: transparent; }
.border-white       { border-color: #ffffff; }
.border-white\/10   { border-color: rgba(255,255,255,0.10); }
.border-white\/20   { border-color: rgba(255,255,255,0.20); }
.border-gray-600    { border-color: rgba(255,255,255,0.1); }
.border-gray-700    { border-color: rgba(255,255,255,0.08); }
.border-gray-800    { border-color: rgba(255,255,255,0.04); }
.border-gray-900    { border-color: #111827; }
.border-gray-700\/50 { border-color: rgba(255,255,255,0.05); }
.border-gray-800\/50 { border-color: rgba(255,255,255,0.03); }
.border-gray-800\/30 { border-color: rgba(255,255,255,0.02); }
.border-indigo-500   { border-color: #6366f1; }
.border-indigo-600   { border-color: #4f46e5; }
.border-indigo-500\/30 { border-color: rgba(99,102,241,0.3); }
.border-indigo-500\/50 { border-color: rgba(99,102,241,0.5); }
.border-red-500      { border-color: #ef4444; }
.border-red-500\/30  { border-color: rgba(239,68,68,0.3); }
.border-red-500\/50  { border-color: rgba(239,68,68,0.5); }
.border-green-500    { border-color: #22c55e; }
.border-green-500\/50{ border-color: rgba(34,197,94,0.5); }
.border-yellow-500\/50{ border-color: rgba(234,179,8,0.5); }
.border-blue-500     { border-color: #3b82f6; }
.border-blue-500\/50 { border-color: rgba(59,130,246,0.5); }
.border-emerald-500\/50{ border-color: rgba(16,185,129,0.5); }
.border-cyan-500\/50 { border-color: rgba(6,182,212,0.5); }
.border-purple-500\/50{ border-color: rgba(168,85,247,0.5); }
.border-orange-500\/50{ border-color: rgba(249,115,22,0.5); }
.border-teal-500\/50 { border-color: rgba(20,184,166,0.5); }

/* ═══════════════════════════════════════════════════════════
   15. BORDERS
═══════════════════════════════════════════════════════════ */
.border-0 { border-width: 0; }
.border   { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-l-2{ border-left-width: 2px; border-left-style: solid; }
.border-l-4{ border-left-width: 4px; border-left-style: solid; }
.border-t-0{ border-top-width: 0; }
.border-dashed{ border-style: dashed; }

.rounded-none { border-radius: 0; }
.rounded-sm   { border-radius: 0.125rem; }
.rounded      { border-radius: 0.25rem; }
.rounded-md   { border-radius: 0.375rem; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-b-xl { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-t-2xl{ border-top-left-radius: 1rem; border-top-right-radius: 1rem; }

/* ═══════════════════════════════════════════════════════════
   16. SHADOWS & EFFECTS
═══════════════════════════════════════════════════════════ */
.shadow-none { box-shadow: none; }
.shadow-sm   { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow      { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl   { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl  { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-indigo-600\/20 { box-shadow: 0 4px 14px rgba(79,70,229,0.2); }
.shadow-indigo-500\/30 { box-shadow: 0 4px 14px rgba(99,102,241,0.3); }
.shadow-white\/5       { box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }

.opacity-0   { opacity: 0; }
.opacity-10  { opacity: 0.1; }
.opacity-20  { opacity: 0.2; }
.opacity-25  { opacity: 0.25; }
.opacity-40  { opacity: 0.4; }
.opacity-50  { opacity: 0.5; }
.opacity-60  { opacity: 0.6; }
.opacity-70  { opacity: 0.7; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.8; }
.opacity-90  { opacity: 0.9; }
.opacity-100 { opacity: 1; }

.blur-sm { filter: blur(4px); }
.blur    { filter: blur(8px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }

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

/* ═══════════════════════════════════════════════════════════
   18. TRANSITIONS
═══════════════════════════════════════════════════════════ */
.transition {
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.transition-colors {
    transition-property: color,background-color,border-color,fill,stroke;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
.duration-75  { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.ease-in     { transition-timing-function: cubic-bezier(0.4,0,1,1); }
.ease-out    { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ═══════════════════════════════════════════════════════════
   19. TRANSFORMS
═══════════════════════════════════════════════════════════ */
.scale-75   { transform: scale(0.75); }
.scale-90   { transform: scale(0.9); }
.scale-95   { transform: scale(0.95); }
.scale-100  { transform: scale(1); }
.scale-105  { transform: scale(1.05); }
.scale-110  { transform: scale(1.1); }
.rotate-45  { transform: rotate(45deg); }
.rotate-90  { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.translate-x-4         { transform: translateX(1rem); }
.-translate-x-full     { transform: translateX(-100%); }
.-translate-y-1\/2     { transform: translateY(-50%); }
.translate-y-0         { transform: translateY(0); }
.translate-y-2         { transform: translateY(0.5rem); }
.-translate-y-2        { transform: translateY(-0.5rem); }

/* ═══════════════════════════════════════════════════════════
   20. ANIMATIONS
═══════════════════════════════════════════════════════════ */
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes ping     { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse    { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes bounce   { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } }
@keyframes gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes slideUp  { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideIn  { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow     { from { box-shadow: 0 0 5px rgba(99,102,241,0.2), 0 0 20px rgba(99,102,241,0.1); } to { box-shadow: 0 0 10px rgba(99,102,241,0.4), 0 0 40px rgba(99,102,241,0.2); } }
@keyframes scanLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }

.animate-spin       { animation: spin 1s linear infinite; }
.animate-ping       { animation: ping 1s cubic-bezier(0,0,0.2,1) infinite; }
.animate-pulse      { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-pulse-slow { animation: pulse 3s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-bounce     { animation: bounce 1s infinite; }
.animate-gradient   { animation: gradient 8s ease infinite; }
.animate-slide-up   { animation: slideUp 0.5s ease-out; }
.animate-slide-in   { animation: slideIn 0.3s ease-out; }
.animate-fade-in    { animation: fadeIn 0.5s ease-out; }
.animate-glow       { animation: glow 2s ease-in-out infinite alternate; }
.animate-scan-line  { animation: scanLine 2s linear infinite; }
.animation-delay-200{ animation-delay: 200ms; }
.animation-delay-500{ animation-delay: 500ms; }

/* ═══════════════════════════════════════════════════════════
   21. INTERACTIVITY
═══════════════════════════════════════════════════════════ */
.cursor-auto        { cursor: auto; }
.cursor-default     { cursor: default; }
.cursor-pointer     { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-move        { cursor: move; }
.cursor-text        { cursor: text; }
.pointer-events-none{ pointer-events: none; }
.pointer-events-auto{ pointer-events: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border-width: 0;
}

/* ═══════════════════════════════════════════════════════════
   22. MISC UTILITIES
═══════════════════════════════════════════════════════════ */
.list-none    { list-style-type: none; }
.list-disc    { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside  { list-style-position: inside; }
.appearance-none{ appearance: none; }
.outline-none   { outline: 2px solid transparent; outline-offset: 2px; }
.outline        { outline-style: solid; }
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.aspect-square  { aspect-ratio: 1 / 1; }
.aspect-video   { aspect-ratio: 16 / 9; }
.resize-none    { resize: none; }
.resize         { resize: both; }
.resize-y       { resize: vertical; }
.border-collapse{ border-collapse: collapse; }
.table-auto     { table-layout: auto; }
.table-fixed    { table-layout: fixed; }
.isolate        { isolation: isolate; }
.mix-blend-hard-light { mix-blend-mode: hard-light; }
.bg-clip-text   { -webkit-background-clip: text; background-clip: text; }

/* ═══════════════════════════════════════════════════════════
   23. COMPONENT CLASSES
═══════════════════════════════════════════════════════════ */
.glass-card {
    background: rgba(17, 21, 28, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}
.glass-card-light {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease;
}
.glass-card-light:hover {
    border-color: rgba(255, 255, 255, 0.08);
}
.gradient-border { position: relative; }
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(76,110,245,0.4), rgba(124,58,237,0.3), rgba(236,72,153,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.score-ring { transition: stroke-dashoffset 1.5s ease-in-out; }
.waterfall-line { position: relative; }
.waterfall-line::before {
    content: '';
    position: absolute;
    left: 24px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, rgba(99,102,241,0.3), rgba(99,102,241,0.05));
}
.nav-glow {
    background: rgba(13,17,23,0.95);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.threat-gauge-bg {
    background: conic-gradient(
        #2dd4bf 0deg 72deg, #fbbf24 72deg 144deg,
        #f97316 144deg 216deg, #ef4444 216deg 288deg, #a855f7 288deg 360deg
    );
}
.mitre-cell { transition: all 0.2s ease; }
.mitre-cell:hover { transform: scale(1.05); z-index: 10; }
.tag-glow { box-shadow: 0 0 10px rgba(99,102,241,0.3); }
.kbd {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 22px; padding: 0 6px;
    border-radius: 4px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #adb5bd;
}
#theme-toggle-btn { transition: transform 0.3s ease; }
#theme-toggle-btn:active { transform: scale(0.85); }

/* ═══ Premium UI Enhancements ═══ */

/* Ambient page glow */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 400px;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.06), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Elevated card variant for KPI / stats */
.glass-card-elevated {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(48, 54, 61, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card-elevated:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.05);
}

/* Gradient accent line for section headers */
.accent-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(99,102,241,0.5), rgba(139,92,246,0.3), transparent);
    border-radius: 1px;
}

/* Polished button styles */
.btn-gradient {
    background: linear-gradient(135deg, #4c6ef5, #7c3aed);
    color: white;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(76, 110, 245, 0.3), 0 2px 8px rgba(124, 58, 237, 0.2);
}
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient:active { transform: translateY(0); }

/* Subtle shimmer effect for loading states */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

/* Smooth glow pulse for status indicators */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 4px currentColor, 0 0 8px currentColor; }
    50% { box-shadow: 0 0 8px currentColor, 0 0 16px currentColor; }
}
.glow-pulse { animation: glowPulse 2s ease-in-out infinite; }

/* Enhanced form inputs */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
textarea,
select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):focus,
textarea:focus,
select:focus {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1), 0 0 20px rgba(99,102,241,0.05);
    background-color: rgba(22,27,34,0.95);
}

/* Table row hover effects */
tr { transition: background-color 0.15s ease; }
tbody tr:hover {
    background-color: rgba(99,102,241,0.03);
}

/* Smooth page transitions */
main {
    animation: fadeIn 0.3s ease-out;
}

/* Notification badge pulse */
#notif-badge:not(.hidden) {
    animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

/* Dropdown menu entry animation */
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
[id$="-dropdown"]:not(.hidden),
#scan-dropdown:not(.hidden),
#detect-dropdown:not(.hidden),
#intel-dropdown:not(.hidden) {
    animation: dropdownIn 0.15s ease-out;
}

/* Badge/pill hover lift */
[class*="rounded-full"][class*="px-"] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Score ring animation */
@keyframes scoreReveal {
    from { stroke-dashoffset: 283; }
}
.score-ring-animated {
    animation: scoreReveal 1.5s ease-out forwards;
}

/* Subtle horizontal line divider with gradient */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(48,54,61,0.8), transparent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════════════════════
   24. HOVER VARIANTS
═══════════════════════════════════════════════════════════ */
.hover\:text-white:hover       { color: #ffffff; }
.hover\:text-gray-100:hover    { color: #f3f4f6; }
.hover\:text-gray-200:hover    { color: #e5e7eb; }
.hover\:text-gray-300:hover    { color: #d1d5db; }
.hover\:text-gray-400:hover    { color: #9ca3af; }
.hover\:text-indigo-300:hover  { color: #a5b4fc; }
.hover\:text-indigo-400:hover  { color: #818cf8; }
.hover\:text-blue-300:hover    { color: #93c5fd; }
.hover\:text-blue-400:hover    { color: #60a5fa; }
.hover\:text-red-300:hover     { color: #fca5a5; }
.hover\:text-red-400:hover     { color: #f87171; }
.hover\:text-green-300:hover   { color: #86efac; }
.hover\:text-green-400:hover   { color: #4ade80; }
.hover\:text-cyan-300:hover    { color: #67e8f9; }
.hover\:text-cyan-400:hover    { color: #22d3ee; }
.hover\:text-purple-400:hover  { color: #c084fc; }
.hover\:text-emerald-400:hover { color: #34d399; }
.hover\:text-yellow-400:hover  { color: #facc15; }
.hover\:text-teal-400:hover    { color: #2dd4bf; }

.hover\:bg-white\/5:hover            { background-color: rgba(255,255,255,0.05); }
.hover\:bg-white\/10:hover           { background-color: rgba(255,255,255,0.10); }
.hover\:bg-white\/\[0\.02\]:hover    { background-color: rgba(255,255,255,0.02); }
.hover\:bg-white\/\[0\.04\]:hover    { background-color: rgba(255,255,255,0.04); }
.hover\:bg-gray-700:hover            { background-color: rgba(255,255,255,0.08); }
.hover\:bg-gray-700\/50:hover        { background-color: rgba(255,255,255,0.05); }
.hover\:bg-gray-800:hover            { background-color: rgba(255,255,255,0.04); }
.hover\:bg-gray-800\/50:hover        { background-color: rgba(255,255,255,0.03); }
.hover\:bg-indigo-500:hover          { background-color: #6366f1; }
.hover\:bg-indigo-600:hover          { background-color: #4f46e5; }
.hover\:bg-indigo-500\/10:hover      { background-color: rgba(99,102,241,0.10); }
.hover\:bg-indigo-500\/20:hover      { background-color: rgba(99,102,241,0.20); }
.hover\:bg-red-500\/10:hover          { background-color: rgba(239,68,68,0.10); }
.hover\:bg-red-500\/15:hover          { background-color: rgba(239,68,68,0.15); }
.hover\:bg-red-500\/20:hover          { background-color: rgba(239,68,68,0.20); }
.hover\:bg-red-500\/30:hover          { background-color: rgba(239,68,68,0.30); }
.hover\:bg-red-600\/30:hover          { background-color: rgba(220,38,38,0.30); }
.hover\:bg-green-500\/10:hover        { background-color: rgba(34,197,94,0.10); }
.hover\:bg-green-500\/20:hover        { background-color: rgba(34,197,94,0.20); }
.hover\:bg-green-600\/30:hover        { background-color: rgba(22,163,74,0.30); }
.hover\:bg-blue-500\/10:hover         { background-color: rgba(59,130,246,0.10); }
.hover\:bg-blue-500\/20:hover         { background-color: rgba(59,130,246,0.20); }
.hover\:bg-blue-500\/30:hover         { background-color: rgba(59,130,246,0.30); }
.hover\:bg-blue-600\/30:hover         { background-color: rgba(37,99,235,0.30); }
.hover\:bg-indigo-500\/5:hover        { background-color: rgba(99,102,241,0.05); }
.hover\:bg-indigo-500\/30:hover       { background-color: rgba(99,102,241,0.30); }
.hover\:bg-indigo-600\/30:hover       { background-color: rgba(79,70,229,0.30); }
.hover\:bg-amber-500\/10:hover        { background-color: rgba(245,158,11,0.10); }
.hover\:bg-amber-500\/20:hover        { background-color: rgba(245,158,11,0.20); }
.hover\:bg-cyan-500\/20:hover         { background-color: rgba(6,182,212,0.20); }
.hover\:bg-emerald-500\/10:hover      { background-color: rgba(16,185,129,0.10); }
.hover\:bg-emerald-500\/30:hover      { background-color: rgba(16,185,129,0.30); }
.hover\:bg-emerald-600\/30:hover      { background-color: rgba(5,150,105,0.30); }
.hover\:bg-emerald-600\/40:hover      { background-color: rgba(5,150,105,0.40); }
.hover\:bg-gray-500\/20:hover         { background-color: rgba(107,114,128,0.20); }
.hover\:bg-orange-600\/30:hover       { background-color: rgba(234,88,12,0.30); }
.hover\:bg-violet-500\/20:hover       { background-color: rgba(139,92,246,0.20); }
.hover\:bg-violet-500\/30:hover       { background-color: rgba(139,92,246,0.30); }
.hover\:bg-purple-500:hover           { background-color: #a855f7; }
.hover\:bg-yellow-500\/10:hover       { background-color: rgba(234,179,8,0.10); }
.hover\:bg-white\/\[0\.01\]:hover     { background-color: rgba(255,255,255,0.01); }
.hover\:bg-white\/\[0\.05\]:hover     { background-color: rgba(255,255,255,0.05); }

.hover\:border-indigo-500:hover      { border-color: #6366f1; }
.hover\:border-indigo-500\/50:hover  { border-color: rgba(99,102,241,0.5); }
.hover\:border-blue-500\/50:hover    { border-color: rgba(59,130,246,0.5); }
.hover\:border-gray-600:hover        { border-color: rgba(255,255,255,0.12); }
.hover\:border-gray-700:hover        { border-color: rgba(255,255,255,0.1); }

.hover\:opacity-100:hover { opacity: 1; }
.hover\:opacity-80:hover  { opacity: 0.8; }
.hover\:scale-105:hover   { transform: scale(1.05); }
.hover\:shadow-lg:hover   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:underline:hover   { text-decoration-line: underline; }
.hover\:no-underline:hover{ text-decoration-line: none; }

/* ═══════════════════════════════════════════════════════════
   25. FOCUS VARIANTS
═══════════════════════════════════════════════════════════ */
.focus\:outline-none:focus     { outline: 2px solid transparent; outline-offset: 2px; }
/* focus:ring width — applies ring using --tw-ring-color custom property */
.focus\:ring-1:focus           { box-shadow: 0 0 0 1px var(--tw-ring-color, rgba(99,102,241,0.5)); }
.focus\:ring-2:focus           { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(99,102,241,0.5)); }
/* focus:ring color — sets the color, ring width class applies the shadow */
.focus\:ring-blue-500:focus    { --tw-ring-color: rgba(59,130,246,1); box-shadow: 0 0 0 2px rgba(59,130,246,1); }
.focus\:ring-blue-500\/20:focus { --tw-ring-color: rgba(59,130,246,0.2); box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }
.focus\:ring-blue-500\/30:focus { --tw-ring-color: rgba(59,130,246,0.3); box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }
.focus\:ring-blue-500\/50:focus { --tw-ring-color: rgba(59,130,246,0.5); box-shadow: 0 0 0 2px rgba(59,130,246,0.5); }
.focus\:ring-indigo-500:focus  { --tw-ring-color: rgba(99,102,241,1); box-shadow: 0 0 0 2px rgba(99,102,241,1); }
.focus\:ring-indigo-500\/50:focus { --tw-ring-color: rgba(99,102,241,0.5); box-shadow: 0 0 0 2px rgba(99,102,241,0.5); }
/* focus:ring-offset — adds background gap between element and ring */
.focus\:ring-offset-0:focus    { box-shadow: none; }
.focus\:ring-offset-2:focus    { box-shadow: 0 0 0 2px #0d1117, 0 0 0 4px var(--tw-ring-color, rgba(99,102,241,0.5)); }
.focus\:ring-offset-gray-900:focus { box-shadow: 0 0 0 2px #111827, 0 0 0 4px var(--tw-ring-color, rgba(99,102,241,0.5)); }
.focus\:border-indigo-500:focus{ border-color: #6366f1; }
.focus\:border-blue-500:focus  { border-color: #3b82f6; }

/* hover:ring color variants */
.hover\:ring-blue-500\/40:hover   { --tw-ring-color: rgba(59,130,246,0.4); box-shadow: 0 0 0 1px rgba(59,130,246,0.4); }
.hover\:ring-indigo-500\/40:hover { --tw-ring-color: rgba(99,102,241,0.4); box-shadow: 0 0 0 1px rgba(99,102,241,0.4); }
.hover\:ring-indigo-500\/50:hover { --tw-ring-color: rgba(99,102,241,0.5); box-shadow: 0 0 0 1px rgba(99,102,241,0.5); }
.hover\:ring-violet-500\/30:hover { --tw-ring-color: rgba(139,92,246,0.3); box-shadow: 0 0 0 1px rgba(139,92,246,0.3); }
.hover\:ring-white\/20:hover      { --tw-ring-color: rgba(255,255,255,0.2); box-shadow: 0 0 0 1px rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════════════
   26. DISABLED / PEER VARIANTS
═══════════════════════════════════════════════════════════ */
.disabled\:opacity-50:disabled      { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Peer checkbox toggle */
.peer:checked ~ .peer-checked\:bg-indigo-600   { background-color: #4f46e5; }
.peer:checked ~ .peer-checked\:bg-green-600    { background-color: #16a34a; }
.peer:checked ~ .peer-checked\:translate-x-4   { transform: translateX(1rem); }

/* ═══════════════════════════════════════════════════════════
   27. GROUP HOVER
═══════════════════════════════════════════════════════════ */
.group:hover .group-hover\:text-white         { color: #ffffff; }
.group:hover .group-hover\:text-gray-200      { color: #e5e7eb; }
.group:hover .group-hover\:bg-indigo-500\/20  { background-color: rgba(99,102,241,0.2); }
.group:hover .group-hover\:bg-blue-500\/30    { background-color: rgba(59,130,246,0.3); }
.group:hover .group-hover\:opacity-100        { opacity: 1; }
.group:hover .group-hover\:scale-105          { transform: scale(1.05); }
.group:hover .group-hover\:border-indigo-500\/50 { border-color: rgba(99,102,241,0.5); }

/* ═══════════════════════════════════════════════════════════
   28. LIGHT THEME OVERRIDES
═══════════════════════════════════════════════════════════ */
html[data-theme="light"] body { background: #f8f9fa; color: #1a1a2e; }
html[data-theme="light"] .glass-card { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
html[data-theme="light"] .glass-card-light { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.05); }
html[data-theme="light"] .nav-glow { background: rgba(255,255,255,0.98); border-bottom-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
html[data-theme="light"] .text-white   { color: #1a1a2e; }
html[data-theme="light"] .text-gray-200{ color: #374151; }
html[data-theme="light"] .text-gray-300{ color: #4b5563; }
html[data-theme="light"] .text-gray-400{ color: #6b7280; }
html[data-theme="light"] .text-gray-500{ color: #6b7280; }
html[data-theme="light"] .text-gray-600{ color: #9ca3af; }
html[data-theme="light"] .bg-black\/30, html[data-theme="light"] .bg-black\/40 { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .bg-dark-950  { background: #f8f9fa; }
html[data-theme="light"] .bg-dark-900  { background: #f1f3f5; }
html[data-theme="light"] .bg-dark-800  { background: #e9ecef; }
html[data-theme="light"] .bg-white\/5  { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .bg-white\/10 { background: rgba(0,0,0,0.06); }
html[data-theme="light"] .hover\:bg-white\/5:hover  { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .hover\:bg-white\/10:hover { background: rgba(0,0,0,0.07); }
html[data-theme="light"] .hover\:bg-white\/\[0\.02\]:hover { background: rgba(0,0,0,0.02); }
html[data-theme="light"] .hover\:bg-white\/\[0\.04\]:hover { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .border-gray-700\/50,
html[data-theme="light"] .border-gray-800\/50 { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .border-gray-700 { border-color: #dee2e6; }
html[data-theme="light"] .border-gray-800 { border-color: #e9ecef; }
html[data-theme="light"] .border-gray-800\/30 { border-color: rgba(0,0,0,0.04); }
html[data-theme="light"] .divide-gray-800 > * + * { border-color: #e9ecef; }
html[data-theme="light"] .bg-gray-700 { background: #dee2e6; }
html[data-theme="light"] .bg-gray-800 { background: #e9ecef; }
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
html[data-theme="light"] textarea,
html[data-theme="light"] select { background: #ffffff; border-color: #dee2e6; color: #1a1a2e; }
html[data-theme="light"] input::placeholder, html[data-theme="light"] textarea::placeholder { color: #9ca3af; }
html[data-theme="light"] input:focus, html[data-theme="light"] textarea:focus, html[data-theme="light"] select:focus {
    border-color: #4c6ef5; box-shadow: 0 0 0 2px rgba(76,110,245,0.15);
}
html[data-theme="light"] code, html[data-theme="light"] pre { background: #f1f3f5; color: #374151; }
html[data-theme="light"] .shadow-lg  { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
html[data-theme="light"] .shadow-2xl { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
html[data-theme="light"] ::-webkit-scrollbar-track { background: #f1f3f5; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #ced4da; }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #adb5bd; }
html[data-theme="light"] footer { border-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .tag-glow    { box-shadow: 0 0 6px rgba(76,110,245,0.15); }
html[data-theme="light"] .animate-glow{ animation: none; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
html[data-theme="light"] .border-emerald-500\/50 { border-color: rgba(16,185,129,0.3); }
html[data-theme="light"] .border-red-500\/50     { border-color: rgba(239,68,68,0.3); }
html[data-theme="light"] .border-yellow-500\/50  { border-color: rgba(245,158,11,0.3); }
html[data-theme="light"] .border-blue-500\/50    { border-color: rgba(59,130,246,0.3); }
html[data-theme="light"] .kbd { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.12); color: #495057; }
html[data-theme="light"] .glass-card:hover { border-color: rgba(99,102,241,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
html[data-theme="light"] .glass-card-light:hover { border-color: rgba(99,102,241,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
html[data-theme="light"] .glass-card-elevated { background: rgba(255,255,255,0.95); border-color: rgba(0,0,0,0.08); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
html[data-theme="light"] .glass-card-elevated:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: rgba(99,102,241,0.2); }
html[data-theme="light"] body::before { background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.04), transparent 70%); }
html[data-theme="light"] .divider-gradient { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent); }
html[data-theme="light"] .accent-line { background: linear-gradient(90deg, rgba(99,102,241,0.3), rgba(139,92,246,0.15), transparent); }
html[data-theme="light"] tbody tr:hover { background-color: rgba(99,102,241,0.04); }
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus { border-color: #4c6ef5; box-shadow: 0 0 0 3px rgba(76,110,245,0.1); background-color: #ffffff; }
html[data-theme="light"] .bg-gray-900   { background: #f1f3f5; }
html[data-theme="light"] .bg-gray-900\/50 { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .bg-gray-900\/80 { background: rgba(0,0,0,0.06); }
html[data-theme="light"] .tab-btn { color: #4b5563; }
html[data-theme="light"] .tab-btn:hover { color: #1a1a2e; background: rgba(0,0,0,0.05); }
html[data-theme="light"] .tab-btn.active { color: #1a1a2e; background: rgba(99,102,241,0.12); box-shadow: 0 0 0 1px rgba(99,102,241,0.25); }
html[data-theme="light"] .tab-panel { color: #1a1a2e; }
html[data-theme="light"] .btn-gradient { background: linear-gradient(135deg, #4c6ef5, #7c3aed); color: #ffffff; box-shadow: 0 2px 8px rgba(76,110,245,0.25); }
html[data-theme="light"] .btn-gradient:hover { box-shadow: 0 4px 16px rgba(76,110,245,0.35), 0 2px 6px rgba(124,58,237,0.2); }
html[data-theme="light"] .divide-gray-800\/30 > * + * { border-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .divide-gray-800\/40 > * + * { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .bg-black\/20 { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .ring-white\/10 { --tw-ring-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .ring-white\/20 { --tw-ring-color: rgba(0,0,0,0.1); }
html[data-theme="light"] .ring-white\/\[0\.04\] { --tw-ring-color: rgba(0,0,0,0.04); box-shadow: 0 0 0 1px rgba(0,0,0,0.04); }
html[data-theme="light"] .ring-white\/\[0\.08\] { --tw-ring-color: rgba(0,0,0,0.06); box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
html[data-theme="light"] .text-gray-100 { color: #1a1a2e; }
html[data-theme="light"] .border-gray-700\/40 { border-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .bg-red-500\/5 { background: rgba(239,68,68,0.06); }
html[data-theme="light"] .hover\:bg-white\/\[0\.02\]:hover { background: rgba(0,0,0,0.02); }

/* ═══════════════════════════════════════════════════════════
   29. RESPONSIVE — SM (≥640px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .sm\:block        { display: block !important; }
    .sm\:flex         { display: flex !important; }
    .sm\:hidden       { display: none !important; }
    .sm\:inline-block { display: inline-block !important; }
    .sm\:inline-flex  { display: inline-flex !important; }
    .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\:flex-row     { flex-direction: row; }
    .sm\:flex-col     { flex-direction: column; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:gap-4        { gap: 1rem; }
    .sm\:gap-6        { gap: 1.5rem; }
    .sm\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-8         { padding-left: 2rem; padding-right: 2rem; }
    .sm\:py-6         { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .sm\:text-sm      { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:text-lg      { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-xl      { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:w-auto       { width: auto; }
    .sm\:max-w-sm     { max-width: 24rem; }
    .sm\:max-w-md     { max-width: 28rem; }
    .sm\:max-w-lg     { max-width: 32rem; }
    .sm\:col-span-2   { grid-column: span 2 / span 2; }
}

/* ═══════════════════════════════════════════════════════════
   30. RESPONSIVE — MD (≥768px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .md\:block        { display: block !important; }
    .md\:flex         { display: flex !important; }
    .md\:hidden       { display: none !important; }
    .md\:inline-flex  { display: inline-flex !important; }
    .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .md\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .md\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .md\:flex-row     { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:gap-6        { gap: 1.5rem; }
    .md\:gap-8        { gap: 2rem; }
    .md\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:px-8         { padding-left: 2rem; padding-right: 2rem; }
    .md\:text-xl      { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl     { font-size: 1.5rem; line-height: 2rem; }
    .md\:w-auto       { width: auto; }
    .md\:col-span-2   { grid-column: span 2 / span 2; }
}

/* ═══════════════════════════════════════════════════════════
   31. RESPONSIVE — LG (≥1024px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .lg\:block        { display: block !important; }
    .lg\:flex         { display: flex !important; }
    .lg\:hidden       { display: none !important; }
    .lg\:inline-flex  { display: inline-flex !important; }
    .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .lg\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .lg\:grid-cols-6  { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .lg\:col-span-1   { grid-column: span 1 / span 1; }
    .lg\:col-span-2   { grid-column: span 2 / span 2; }
    .lg\:col-span-3   { grid-column: span 3 / span 3; }
    .lg\:col-span-4   { grid-column: span 4 / span 4; }
    .lg\:col-span-5   { grid-column: span 5 / span 5; }
    .lg\:col-span-6   { grid-column: span 6 / span 6; }
    .lg\:col-span-7   { grid-column: span 7 / span 7; }
    .lg\:col-span-8   { grid-column: span 8 / span 8; }
    .lg\:col-span-9   { grid-column: span 9 / span 9; }
    .lg\:col-span-10  { grid-column: span 10 / span 10; }
    .lg\:col-span-11  { grid-column: span 11 / span 11; }
    .lg\:col-span-12  { grid-column: span 12 / span 12; }
    .lg\:flex-row     { flex-direction: row; }
    .lg\:flex-col     { flex-direction: column; }
    .lg\:items-center { align-items: center; }
    .lg\:items-start  { align-items: flex-start; }
    .lg\:justify-between { justify-content: space-between; }
    .lg\:gap-6        { gap: 1.5rem; }
    .lg\:gap-8        { gap: 2rem; }
    .lg\:gap-12       { gap: 3rem; }
    .lg\:space-x-2 > * + * { margin-left: 0.5rem; }
    .lg\:space-x-4 > * + * { margin-left: 1rem; }
    .lg\:px-8         { padding-left: 2rem; padding-right: 2rem; }
    .lg\:px-12        { padding-left: 3rem; padding-right: 3rem; }
    .lg\:py-8         { padding-top: 2rem; padding-bottom: 2rem; }
    .lg\:py-12        { padding-top: 3rem; padding-bottom: 3rem; }
    .lg\:p-8          { padding: 2rem; }
    .lg\:p-10         { padding: 2.5rem; }
    .lg\:text-lg      { font-size: 1.125rem; line-height: 1.75rem; }
    .lg\:text-xl      { font-size: 1.25rem; line-height: 1.75rem; }
    .lg\:text-2xl     { font-size: 1.5rem; line-height: 2rem; }
    .lg\:text-3xl     { font-size: 1.875rem; line-height: 2.25rem; }
    .lg\:text-4xl     { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:w-auto       { width: auto; }
    .lg\:w-48         { width: 12rem; }
    .lg\:w-64         { width: 16rem; }
    .lg\:max-w-xl     { max-width: 36rem; }
    .lg\:max-w-2xl    { max-width: 42rem; }
    .lg\:max-w-4xl    { max-width: 56rem; }
    .lg\:max-w-5xl    { max-width: 64rem; }
    .lg\:mt-0         { margin-top: 0; }
    .lg\:mb-0         { margin-bottom: 0; }
    .lg\:ml-6         { margin-left: 1.5rem; }
    .lg\:ml-8         { margin-left: 2rem; }
    .lg\:ml-10        { margin-left: 2.5rem; }
    .lg\:min-h-screen { min-height: 100vh; }
    .lg\:sticky       { position: sticky; }
    .lg\:top-0        { top: 0; }
}

/* ═══════════════════════════════════════════════════════════
   32. RESPONSIVE — XL (≥1280px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .xl\:block        { display: block; }
    .xl\:flex         { display: flex; }
    .xl\:hidden       { display: none !important; }
    .xl\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .xl\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .xl\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .xl\:col-span-2   { grid-column: span 2 / span 2; }
    .xl\:col-span-3   { grid-column: span 3 / span 3; }
    .xl\:col-span-4   { grid-column: span 4 / span 4; }
    .xl\:gap-8        { gap: 2rem; }
    .xl\:px-8         { padding-left: 2rem; padding-right: 2rem; }
}

/* ═══════════════════════════════════════════════════════════
   Analysis Tab System
═══════════════════════════════════════════════════════════ */
.tab-btn { color: #6b7280; cursor: pointer; transition: all 0.2s ease; }
.tab-btn:hover { color: #e5e7eb; background: rgba(255,255,255,0.05); }
.tab-btn.active { color: #fff; background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.15)); box-shadow: 0 0 0 1px rgba(99,102,241,0.25); }
/* Sidebar active tab: left accent border */
#analysis-tabs .tab-btn.active { border-left: 2px solid rgba(99,102,241,0.7); padding-left: 10px; }
#analysis-tabs .tab-btn { border-left: 2px solid transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-content {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99,102,241,0.3) transparent;
}
.tab-panel-content::-webkit-scrollbar { width: 6px; }
.tab-panel-content::-webkit-scrollbar-track { background: transparent; }
.tab-panel-content::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 3px; }
.ss-speed-btn { color: #6b7280; }
.ss-speed-btn.active { color: #a5b4fc; background: rgba(99,102,241,0.2); }

/* ═══════════════════════════════════════════════════════════
   Arbitrary Value Classes (Tailwind JIT equivalents)
═══════════════════════════════════════════════════════════ */
/* Text sizes */
.text-\[7px\]  { font-size: 7px; line-height: 1; }
.text-\[8px\]  { font-size: 8px; line-height: 1; }
.text-\[9px\]  { font-size: 9px; line-height: 1.25; }
.text-\[10px\] { font-size: 10px; line-height: 1.25; }
.text-\[11px\] { font-size: 11px; line-height: 1.5; }
.text-\[13px\] { font-size: 13px; line-height: 1.5; }

/* Widths */
.w-\[42px\]   { width: 42px; }
.w-\[60px\]   { width: 60px; }
.w-\[80px\]   { width: 80px; }
.w-\[100px\]  { width: 100px; }
.w-\[120px\]  { width: 120px; }
.w-\[140px\]  { width: 140px; }
.w-\[180px\]  { width: 180px; }
.w-\[200px\]  { width: 200px; }
.w-\[250px\]  { width: 250px; }
.w-\[300px\]  { width: 300px; }
.w-\[335px\]  { width: 335px; }
.w-\[350px\]  { width: 350px; }
.w-\[438px\]  { width: 438px; }
.w-\[448px\]  { width: 448px; }
.w-\[1600px\] { width: 1600px; }

/* Heights */
.h-\[350px\]  { height: 350px; }
.h-\[400px\]  { height: 400px; }
.h-\[60vh\]   { height: 60vh; }
.h-\[70vh\]   { height: 70vh; }

/* Max heights */
.max-h-\[350px\] { max-height: 350px; }
.max-h-\[70vh\]  { max-height: 70vh; }

/* Max widths (arbitrary) */
.max-w-\[80px\]   { max-width: 80px; }
.max-w-\[100px\]  { max-width: 100px; }
.max-w-\[120px\]  { max-width: 120px; }
.max-w-\[140px\]  { max-width: 140px; }
.max-w-\[180px\]  { max-width: 180px; }
.max-w-\[200px\]  { max-width: 200px; }
.max-w-\[250px\]  { max-width: 250px; }
.max-w-\[300px\]  { max-width: 300px; }
.max-w-\[335px\]  { max-width: 335px; }
.max-w-\[350px\]  { max-width: 350px; }
.max-w-\[1600px\] { max-width: 1600px; }

/* Min widths (arbitrary) */
.min-w-\[42px\]   { min-width: 42px; }
.min-w-\[60px\]   { min-width: 60px; }
.min-w-\[200px\]  { min-width: 200px; }
.min-w-\[250px\]  { min-width: 250px; }

/* Positions */
.left-\[9px\]  { left: 9px; }
.left-\[13px\] { left: 13px; }
.left-\[15px\] { left: 15px; }
.left-\[18px\] { left: 18px; }
.top-\[10px\]  { top: 10px; }

/* ═══════════════════════════════════════════════════════════
   Ring / Focus Ring System
═══════════════════════════════════════════════════════════ */
/* Ring widths — box-shadow ring using CSS custom property */
.ring-1 { box-shadow: 0 0 0 1px var(--tw-ring-color, rgba(99,102,241,0.5)); }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(99,102,241,0.5)); }
.ring-4 { box-shadow: 0 0 0 4px var(--tw-ring-color, rgba(99,102,241,0.5)); }

/* Ring offset (used with focus:ring) */
.ring-offset-0 { --tw-ring-offset-width: 0px; }
.ring-offset-1 { --tw-ring-offset-width: 1px; }
.ring-offset-2 { --tw-ring-offset-width: 2px; }

/* Ring colors with opacity — sets --tw-ring-color custom property */
.ring-white\/10  { --tw-ring-color: rgba(255,255,255,0.1); }
.ring-white\/20  { --tw-ring-color: rgba(255,255,255,0.2); }
/* Gray */
.ring-gray-500\/20  { --tw-ring-color: rgba(107,114,128,0.2); }
.ring-gray-500\/30  { --tw-ring-color: rgba(107,114,128,0.3); }
.ring-gray-700\/30  { --tw-ring-color: rgba(255,255,255,0.04); }
.ring-gray-700\/50  { --tw-ring-color: rgba(255,255,255,0.06); }
/* Blue */
.ring-blue-400\/30  { --tw-ring-color: rgba(96,165,250,0.3); }
.ring-blue-500\/20  { --tw-ring-color: rgba(59,130,246,0.2); }
.ring-blue-500\/30  { --tw-ring-color: rgba(59,130,246,0.3); }
.ring-blue-500\/40  { --tw-ring-color: rgba(59,130,246,0.4); }
.ring-blue-500\/50  { --tw-ring-color: rgba(59,130,246,0.5); }
/* Indigo */
.ring-indigo-500\/10 { --tw-ring-color: rgba(99,102,241,0.1); }
.ring-indigo-500\/20 { --tw-ring-color: rgba(99,102,241,0.2); }
.ring-indigo-500\/30 { --tw-ring-color: rgba(99,102,241,0.3); }
.ring-indigo-500\/40 { --tw-ring-color: rgba(99,102,241,0.4); }
.ring-indigo-500\/50 { --tw-ring-color: rgba(99,102,241,0.5); }
/* Violet */
.ring-violet-500\/20 { --tw-ring-color: rgba(139,92,246,0.2); }
.ring-violet-500\/30 { --tw-ring-color: rgba(139,92,246,0.3); }
/* Purple */
.ring-purple-400\/30 { --tw-ring-color: rgba(192,132,252,0.3); }
.ring-purple-500\/20 { --tw-ring-color: rgba(168,85,247,0.2); }
.ring-purple-500\/30 { --tw-ring-color: rgba(168,85,247,0.3); }
.ring-purple-500\/40 { --tw-ring-color: rgba(168,85,247,0.4); }
/* Pink */
.ring-pink-500\/10  { --tw-ring-color: rgba(236,72,153,0.1); }
.ring-pink-500\/30  { --tw-ring-color: rgba(236,72,153,0.3); }
/* Cyan */
.ring-cyan-500\/20  { --tw-ring-color: rgba(6,182,212,0.2); }
.ring-cyan-500\/30  { --tw-ring-color: rgba(6,182,212,0.3); }
/* Emerald */
.ring-emerald-400\/30 { --tw-ring-color: rgba(52,211,153,0.3); }
.ring-emerald-500\/20 { --tw-ring-color: rgba(16,185,129,0.2); }
.ring-emerald-500\/30 { --tw-ring-color: rgba(16,185,129,0.3); }
.ring-emerald-500\/40 { --tw-ring-color: rgba(16,185,129,0.4); }
/* Green */
.ring-green-500\/20 { --tw-ring-color: rgba(34,197,94,0.2); }
.ring-green-500\/30 { --tw-ring-color: rgba(34,197,94,0.3); }
/* Yellow */
.ring-yellow-400\/30 { --tw-ring-color: rgba(250,204,21,0.3); }
.ring-yellow-500\/20 { --tw-ring-color: rgba(234,179,8,0.2); }
.ring-yellow-500\/30 { --tw-ring-color: rgba(234,179,8,0.3); }
.ring-yellow-500\/40 { --tw-ring-color: rgba(234,179,8,0.4); }
/* Amber */
.ring-amber-500\/15 { --tw-ring-color: rgba(245,158,11,0.15); }
.ring-amber-500\/20 { --tw-ring-color: rgba(245,158,11,0.2); }
.ring-amber-500\/30 { --tw-ring-color: rgba(245,158,11,0.3); }
/* Orange */
.ring-orange-400\/30 { --tw-ring-color: rgba(251,146,60,0.3); }
.ring-orange-500\/15 { --tw-ring-color: rgba(249,115,22,0.15); }
.ring-orange-500\/20 { --tw-ring-color: rgba(249,115,22,0.2); }
.ring-orange-500\/25 { --tw-ring-color: rgba(249,115,22,0.25); }
.ring-orange-500\/30 { --tw-ring-color: rgba(249,115,22,0.3); }
.ring-orange-500\/40 { --tw-ring-color: rgba(249,115,22,0.4); }
/* Red */
.ring-red-400\/30  { --tw-ring-color: rgba(248,113,113,0.3); }
.ring-red-500\/15  { --tw-ring-color: rgba(239,68,68,0.15); }
.ring-red-500\/20  { --tw-ring-color: rgba(239,68,68,0.2); }
.ring-red-500\/30  { --tw-ring-color: rgba(239,68,68,0.3); }
.ring-red-500\/40  { --tw-ring-color: rgba(239,68,68,0.4); }
.ring-red-700\/50  { --tw-ring-color: rgba(185,28,28,0.5); }
/* Rose */
.ring-rose-500\/15 { --tw-ring-color: rgba(244,63,94,0.15); }
.ring-rose-500\/30 { --tw-ring-color: rgba(244,63,94,0.3); }

/* ═══════════════════════════════════════════════════════════
   group-open Variants (details[open] accordion expand/collapse)
═══════════════════════════════════════════════════════════ */
/* When a <details> parent is open, rotate child elements with group-open:rotate-* classes */
details[open] [class*="group-open"][class*="rotate-90"]  { transform: rotate(90deg); }
details[open] [class*="group-open"][class*="rotate-180"] { transform: rotate(180deg); }
/* Transition for smooth rotation */
[class*="group-open"] { transition: transform 0.15s ease; }

/* ═══════════════════════════════════════════════════════════
   Missing Utility Classes (audit additions)
═══════════════════════════════════════════════════════════ */

/* Background opacity bracket notation */
.bg-white\/\[0\.01\] { background-color: rgba(255,255,255,0.01); }
.bg-white\/\[0\.03\] { background-color: rgba(255,255,255,0.03); }
.bg-white\/\[0\.05\] { background-color: rgba(255,255,255,0.05); }
.hover\:bg-white\/\[0\.01\]:hover { background-color: rgba(255,255,255,0.01); }
.hover\:bg-white\/\[0\.05\]:hover { background-color: rgba(255,255,255,0.05); }

/* Ring opacity bracket notation */
.ring-white\/\[0\.04\] { --tw-ring-color: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px rgba(255,255,255,0.04); }
.ring-white\/\[0\.08\] { --tw-ring-color: rgba(255,255,255,0.08); box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.hover\:ring-white\/\[0\.08\]:hover { --tw-ring-color: rgba(255,255,255,0.08); box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }

/* md:grid-cols-5 and other missing responsive grids */
@media (min-width: 768px) {
    .md\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .md\:divide-y-0 > * + * { border-top-width: 0; }
    .md\:divide-y-0   { --divide-y-reverse: 0; }
}
@media (min-width: 640px) {
    .sm\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .sm\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .sm\:grid-cols-6  { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-7  { grid-template-columns: repeat(7, minmax(0,1fr)); }
    .lg\:grid-cols-8  { grid-template-columns: repeat(8, minmax(0,1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
}
@media (min-width: 1280px) {
    .xl\:grid-cols-7  { grid-template-columns: repeat(7, minmax(0,1fr)); }
}

/* Divide responsive reset */
.divide-y-0 > * + * { border-top-width: 0; }

/* Transform / Translate classes */
.translate-x-0\.5  { transform: translateX(0.125rem); }
.translate-x-4\.5  { transform: translateX(1.125rem); }
.translate-x-5     { transform: translateX(1.25rem); }
.translate-y-4     { transform: translateY(1rem); }
.translate-y-6     { transform: translateY(1.5rem); }
.-translate-y-0\.5 { transform: translateY(-0.125rem); }

/* Line clamp */
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* ═══════════════════════════════════════════════════════════
   Border opacity variants (missing)
═══════════════════════════════════════════════════════════ */
.border-cyan-500\/30    { border-color: rgba(6,182,212,0.3); }
.border-emerald-500\/30 { border-color: rgba(16,185,129,0.3); }
.border-emerald-500\/40 { border-color: rgba(16,185,129,0.4); }
.border-gray-500\/30    { border-color: rgba(255,255,255,0.06); }
.border-gray-600\/80    { border-color: rgba(255,255,255,0.1); }
.border-gray-700\/40    { border-color: rgba(255,255,255,0.04); }
.border-gray-700\/60    { border-color: rgba(255,255,255,0.05); }
.border-gray-800\/40    { border-color: rgba(255,255,255,0.03); }
.border-orange-500\/15  { border-color: rgba(249,115,22,0.15); }
.border-orange-500\/40  { border-color: rgba(249,115,22,0.4); }
.border-purple-500\/25  { border-color: rgba(168,85,247,0.25); }
.border-purple-500\/40  { border-color: rgba(168,85,247,0.4); }
.border-red-500\/40     { border-color: rgba(239,68,68,0.4); }
.border-yellow-500\/30  { border-color: rgba(234,179,8,0.3); }
.border-yellow-500\/40  { border-color: rgba(234,179,8,0.4); }

/* ═══════════════════════════════════════════════════════════
   Text opacity variants (missing)
═══════════════════════════════════════════════════════════ */
.text-amber-400\/70  { color: rgba(251,191,36,0.7); }
.text-amber-500\/70  { color: rgba(245,158,11,0.7); }
.text-indigo-400\/70 { color: rgba(129,140,248,0.7); }
.text-purple-400\/50 { color: rgba(192,132,252,0.5); }
.text-red-300\/70    { color: rgba(252,165,165,0.7); }
.text-red-400\/60    { color: rgba(248,113,113,0.6); }
.text-red-400\/70    { color: rgba(248,113,113,0.7); }
.text-red-400\/80    { color: rgba(248,113,113,0.8); }

/* ═══════════════════════════════════════════════════════════
   Rose & Teal color families (missing)
═══════════════════════════════════════════════════════════ */
.bg-rose-500\/5  { background-color: rgba(244,63,94,0.05); }
.bg-rose-500\/20 { background-color: rgba(244,63,94,0.2); }
.text-rose-300   { color: #fda4af; }
.text-rose-400   { color: #fb7185; }
.text-teal-300   { color: #5eead4; }
.text-teal-400   { color: #2dd4bf; }
.bg-teal-500\/10 { background-color: rgba(20,184,166,0.1); }
.bg-teal-500\/20 { background-color: rgba(20,184,166,0.2); }
.border-teal-500\/30 { border-color: rgba(20,184,166,0.3); }
.ring-teal-500\/20   { --tw-ring-color: rgba(20,184,166,0.2); }

/* ═══════════════════════════════════════════════════════════
   Gradient utilities (from-*/to-*/via-*)
═══════════════════════════════════════════════════════════ */
/* Base gradient direction (bg-gradient-to-*) */
.bg-gradient-to-r  { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.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-t  { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-bl { background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.bg-gradient-to-tl { background-image: linear-gradient(to top left, var(--tw-gradient-stops)); }

/* Gradient stops using CSS custom properties */
[class*="from-"] { --tw-gradient-stops: var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent); }

/* from-* color stops */
.from-blue-500\/5   { --tw-gradient-from: rgba(59,130,246,0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59,130,246,0)); }
.from-blue-500\/20  { --tw-gradient-from: rgba(59,130,246,0.2);  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59,130,246,0)); }
.from-indigo-600    { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79,70,229,0)); }
.from-indigo-500    { --tw-gradient-from: #6366f1; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99,102,241,0)); }
.from-blue-600      { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37,99,235,0)); }
.from-purple-600    { --tw-gradient-from: #9333ea; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147,51,234,0)); }
.from-emerald-700\/50 { --tw-gradient-from: rgba(4,120,87,0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(4,120,87,0)); }
.from-red-700\/50   { --tw-gradient-from: rgba(185,28,28,0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(185,28,28,0)); }
.from-gray-900      { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17,24,39,0)); }
.from-transparent   { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,0,0,0)); }

/* to-* color stops */
.to-blue-600        { --tw-gradient-to: #2563eb; }
.to-blue-500        { --tw-gradient-to: #3b82f6; }
.to-indigo-600      { --tw-gradient-to: #4f46e5; }
.to-purple-600      { --tw-gradient-to: #9333ea; }
.to-violet-500\/5   { --tw-gradient-to: rgba(139,92,246,0.05); }
.to-violet-500\/20  { --tw-gradient-to: rgba(139,92,246,0.2); }
.to-purple-500\/20  { --tw-gradient-to: rgba(168,85,247,0.2); }
.to-red-400         { --tw-gradient-to: #f87171; }
.to-gray-700\/20    { --tw-gradient-to: rgba(55,65,81,0.2); }
.to-transparent     { --tw-gradient-to: transparent; }

/* via-* color stops */
.via-gray-700\/50   { --tw-gradient-stops: var(--tw-gradient-from, transparent), rgba(55,65,81,0.5), var(--tw-gradient-to, transparent); }
