/* Project utility layer replacing the old Tailwind snapshot. */

/* --- Core reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    appearance: button;
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

button,
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
}

img,
video {
    max-width: 100%;
    height: auto;
}

menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

[hidden]:where(:not([hidden="until-found"])) {
    display: none;
}

/* --- Display and layout --- */
.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.flex-1 {
    flex: 1 1 0%;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.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-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.auto-rows-fr {
    grid-auto-rows: minmax(0, 1fr);
}

.overflow-auto {
    overflow: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.resize-y {
    resize: vertical;
}

/* --- Positioning --- */
.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
}

.inset-0 {
    inset: 0;
}

.inset-y-1 {
    top: 0.25rem;
    bottom: 0.25rem;
}

.left-4 {
    left: 1rem;
}

.right-4 {
    right: 1rem;
}

.top-0 {
    top: 0;
}

.top-full {
    top: 100%;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

/* --- Size --- */
.h-2\.5 {
    height: 0.625rem;
}

.h-4 {
    height: 1rem;
}

.h-7 {
    height: 1.75rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.w-1\/3 {
    width: 33.333333%;
}

.w-6 {
    width: 1.5rem;
}

.w-7 {
    width: 1.75rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.w-64 {
    width: 16rem;
}

.w-72 {
    width: 18rem;
}

.w-full {
    width: 100%;
}

.min-h-0 {
    min-height: 0;
}

.min-h-\[400px\] {
    min-height: 400px;
}

.min-h-\[500px\] {
    min-height: 500px;
}

.max-h-64 {
    max-height: 16rem;
}

.max-h-\[420px\] {
    max-height: 420px;
}

.max-h-\[70vh\] {
    max-height: 70vh;
}

.max-h-\[80vh\] {
    max-height: 80vh;
}

.min-w-0 {
    min-width: 0;
}

.min-w-\[82px\] {
    min-width: 82px;
}

.min-w-\[92px\] {
    min-width: 92px;
}

.min-w-\[96px\] {
    min-width: 96px;
}

.min-w-\[105px\] {
    min-width: 105px;
}

.min-w-\[110px\] {
    min-width: 110px;
}

.min-w-\[135px\] {
    min-width: 135px;
}

.min-w-\[140px\] {
    min-width: 140px;
}

.min-w-\[150px\] {
    min-width: 150px;
}

.min-w-\[180px\] {
    min-width: 180px;
}

.min-w-\[220px\] {
    min-width: 220px;
}

.min-w-\[240px\] {
    min-width: 240px;
}

.min-w-\[260px\] {
    min-width: 260px;
}

.min-w-\[640px\] {
    min-width: 640px;
}

.min-w-full {
    min-width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-\[1600px\] {
    max-width: 1600px;
}

/* --- Spacing --- */
.m-4 {
    margin: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.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;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-auto {
    margin-right: auto;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.gap-px {
    gap: 1px;
}

.gap-1\.5 {
    gap: 0.375rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 1rem;
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.375rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.25rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem;
}

.p-0\.5 {
    padding: 0.125rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.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;
}

.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;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pr-1 {
    padding-right: 0.25rem;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

/* --- Typography --- */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.align-top {
    vertical-align: top;
}

.text-\[9px\] {
    font-size: 9px;
}

.text-\[11px\] {
    font-size: 11px;
}

.text-\[14px\] {
    font-size: 14px;
}

.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-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.uppercase {
    text-transform: uppercase;
}

.normal-case {
    text-transform: none;
}

.leading-5 {
    line-height: 1.25rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-\[0\.18em\] {
    letter-spacing: 0.18em;
}

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

.whitespace-nowrap {
    white-space: nowrap;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

.break-words {
    overflow-wrap: break-word;
}

/* --- Colors --- */
.bg-amber-100 {
    background-color: rgb(254 243 199);
}

.bg-amber-50 {
    background-color: rgb(255 251 235);
}

.bg-amber-500 {
    background-color: rgb(245 158 11);
}

.bg-emerald-50 {
    background-color: rgb(236 253 245);
}

.bg-emerald-100 {
    background-color: rgb(209 250 229);
}

.bg-emerald-600 {
    background-color: rgb(5 150 105);
}

.bg-gray-50 {
    background-color: rgb(249 250 251);
}

.bg-green-600 {
    background-color: rgb(22 163 74);
}

.bg-indigo-50 {
    background-color: rgb(238 242 255);
}

.bg-indigo-50\/70 {
    background-color: rgba(238, 242, 255, 0.7);
}

.bg-indigo-200 {
    background-color: rgb(199 210 254);
}

.bg-indigo-600 {
    background-color: rgb(79 70 229);
}

.bg-red-500 {
    background-color: rgb(239 68 68);
}

.bg-slate-50 {
    background-color: rgb(248 250 252);
}

.bg-slate-50\/50 {
    background-color: rgba(248, 250, 252, 0.5);
}

.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-100 {
    background-color: rgb(241 245 249);
}

.bg-white {
    background-color: rgb(255 255 255);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.border-transparent {
    border-color: transparent;
}

.border-amber-200 {
    border-color: rgb(253 230 138);
}

.border-emerald-100 {
    border-color: rgb(209 250 229);
}

.border-emerald-200 {
    border-color: rgb(167 243 208);
}

.border-gray-100 {
    border-color: rgb(243 244 246);
}

.border-gray-200 {
    border-color: rgb(229 231 235);
}

.border-gray-300 {
    border-color: rgb(209 213 219);
}

.border-indigo-200 {
    border-color: rgb(199 210 254);
}

.border-indigo-300 {
    border-color: rgb(165 180 252);
}

.border-indigo-400 {
    border-color: rgb(129 140 248);
}

.border-indigo-600 {
    border-color: rgb(79 70 229);
}

.border-red-200 {
    border-color: rgb(254 202 202);
}

.border-red-300 {
    border-color: rgb(252 165 165);
}

.border-slate-100 {
    border-color: rgb(241 245 249);
}

.border-slate-200 {
    border-color: rgb(226 232 240);
}

.border-slate-300 {
    border-color: rgb(203 213 225);
}

.border-slate-800\/60 {
    border-color: rgba(30, 41, 59, 0.6);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/15 {
    border-color: rgba(255, 255, 255, 0.15);
}

.text-amber-700 {
    color: rgb(180 83 9);
}

.text-emerald-700 {
    color: rgb(4 120 87);
}

.text-gray-200 {
    color: rgb(229 231 235);
}

.text-gray-400 {
    color: rgb(156 163 175);
}

.text-gray-500 {
    color: rgb(107 114 128);
}

.text-gray-600 {
    color: rgb(75 85 99);
}

.text-gray-700 {
    color: rgb(55 65 81);
}

.text-gray-800 {
    color: rgb(31 41 55);
}

.text-gray-900 {
    color: rgb(17 24 39);
}

.text-green-600 {
    color: rgb(22 163 74);
}

.text-green-700 {
    color: rgb(21 128 61);
}

.text-indigo-600 {
    color: rgb(79 70 229);
}

.text-indigo-700 {
    color: rgb(67 56 202);
}

.text-red-500 {
    color: rgb(239 68 68);
}

.text-red-600 {
    color: rgb(220 38 38);
}

.text-slate-200 {
    color: rgb(226 232 240);
}

.text-slate-200\/90 {
    color: rgba(226, 232, 240, 0.9);
}

.text-slate-300 {
    color: rgb(203 213 225);
}

.text-slate-400 {
    color: rgb(148 163 184);
}

.text-slate-500 {
    color: rgb(100 116 139);
}

.text-slate-600 {
    color: rgb(71 85 105);
}

.text-slate-700 {
    color: rgb(51 65 85);
}

.text-slate-800 {
    color: rgb(30 41 59);
}

.text-white {
    color: rgb(255 255 255);
}

/* --- Borders and radius --- */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-r {
    border-right-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-dashed {
    border-style: dashed;
}

.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;
}

/* --- Effects --- */
@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.object-contain {
    -o-object-fit: contain;
    object-fit: contain;
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-90 {
    opacity: 0.9;
}

.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-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-100 {
    box-shadow: 0 10px 24px -14px rgba(224, 231, 255, 0.95);
}

.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: 0.15s;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.duration-200 {
    transition-duration: 0.2s;
}

/* --- Divide helpers --- */
.divide-y > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 1px;
}

.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgb(229 231 235);
}

/* --- Interaction helpers --- */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.hover\:border-indigo-200:hover {
    border-color: rgb(199 210 254);
}

.hover\:bg-amber-600:hover {
    background-color: rgb(217 119 6);
}

.hover\:bg-emerald-700:hover {
    background-color: rgb(4 120 87);
}

.hover\:bg-gray-100:hover {
    background-color: rgb(243 244 246);
}

.hover\:bg-gray-50:hover {
    background-color: rgb(249 250 251);
}

.hover\:bg-green-700:hover {
    background-color: rgb(21 128 61);
}

.hover\:bg-indigo-100:hover {
    background-color: rgb(224 231 255);
}

.hover\:bg-indigo-50:hover {
    background-color: rgb(238 242 255);
}

.hover\:bg-indigo-700:hover {
    background-color: rgb(67 56 202);
}

.hover\:bg-red-50:hover {
    background-color: rgb(254 242 242);
}

.hover\:bg-slate-50:hover {
    background-color: rgb(248 250 252);
}

.hover\:bg-white\/15:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.hover\:bg-white\/70:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.hover\:text-gray-700:hover {
    color: rgb(55 65 81);
}

.hover\:text-indigo-600:hover {
    color: rgb(79 70 229);
}

.hover\:text-indigo-700:hover {
    color: rgb(67 56 202);
}

.hover\:text-red-600:hover {
    color: rgb(220 38 38);
}

.hover\:shadow:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.focus\:bg-indigo-50:focus {
    background-color: rgb(238 242 255);
}

.focus\:border-indigo-500:focus {
    border-color: rgb(99 102 241);
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--utility-ring-color, rgba(99, 102, 241, 0.5));
}

.focus\:ring-indigo-500:focus {
    --utility-ring-color: rgb(99 102 241);
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

/* --- Responsive helpers --- */
@media (min-width: 768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .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\:items-end {
        align-items: flex-end;
    }

    .md\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-\[220px\2c 1fr\] {
        grid-template-columns: 220px 1fr;
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:items-center {
        align-items: center;
    }

    .lg\:items-end {
        align-items: flex-end;
    }

    .lg\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 1280px) {
    .xl\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .xl\:col-span-3 {
        grid-column: span 3 / span 3;
    }

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

    .xl\:grid-cols-\[260px\2c minmax\(0\2c 1fr\)\2c 340px\] {
        grid-template-columns: 260px minmax(0, 1fr) 340px;
    }

    .xl\:grid-cols-\[360px\2c minmax\(0\2c 1fr\)\] {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .xl\:grid-cols-\[380px\2c minmax\(0\2c 1fr\)\] {
        grid-template-columns: 380px minmax(0, 1fr);
    }

    .xl\:flex-row {
        flex-direction: row;
    }

    .xl\:items-end {
        align-items: flex-end;
    }

    .xl\:justify-between {
        justify-content: space-between;
    }
}
