@layer theme, base, components, utilities;

[class^='ri']
/* [class*='ri']  */ {
    line-height: 1em;
}

body {
    background-color: var(--gray-0);
    color: var(--black);
    margin: 0px;
    --text-secondary: var(--gray-9a);
    --text-tertiary: var(--gray-7a);
    --text-quaternary: var(--gray-5a);

    &:where(.dark-mode *) {
        background-color: var(--dark-0);
        color: var(--gray-0);
        --text-secondary: var(--inverted-9a);
        --text-tertiary: var(--inverted-7a);
        --text-quaternary: var(--inverted-6a);
    }
}

:root {
    --dark: ;
}

.dark-mode {
    --dark: initial;
}

#app,
body.design-system {
    font-size: 1rem;
    line-height: calc(1.5 / 1);
}

@layer theme {
    :root {
        --amber-400: oklch(0.828 0.189 84.429);
        --emerald-400: oklch(0.765 0.177 163.223);
        --spacing: 0.25rem;

        --text-xs: 0.75rem;
        --text-xs--line-height: calc(1 / 0.75);
        --text-sm: 0.875rem;
        --text-sm--line-height: calc(1.25 / 0.875);
        --text-base: 1rem;
        --text-base--line-height: calc(1.5 / 1);
        --text-lg: 1.125rem;
        --text-lg--line-height: calc(1.75 / 1.125);
        --text-xl: 1.25rem;
        --text-xl--line-height: calc(1.75 / 1.25);
        --text-2xl: 1.5rem;
        --text-2xl--line-height: calc(2 / 1.5);
        --text-3xl: 1.875rem;
        --text-3xl--line-height: calc(2.25 / 1.875);
        --text-4xl: 2.25rem;
        --text-4xl--line-height: calc(2.5 / 2.25);
        --text-5xl: 3rem;
        --text-5xl--line-height: 1;
        --text-6xl: 3.75rem;
        --text-6xl--line-height: 1;

        --font-weight-semibold: 600;
        --font-weight-bold: 700;
        --font-weight-extrabold: 800;

        --radius-md: 0.375rem;
        --radius-lg: 0.5rem;
        --radius-xl: 0.75rem;
        --radius-2xl: 1rem;

        --blur-sm: 8px;
        --default-transition-duration: 150ms;
        --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

        --black: #000;
        --white: white;

        --dark-0: #0b0c0e;
        --dark-1: #14151a;
        --transparent: rgba(255, 255, 255, 0);

        --gray-0: #ffffff;
        --gray-1: #f7f7f8;
        --gray-2: #e9eaec;
        --gray-3: #dee0e3;
        --gray-4: #c8cad0;
        --gray-5: #babdc5;
        --gray-6: #9ea2ad;
        --gray-7: #7e869a;
        --gray-8: #717684;
        --gray-9: #5e636e;
        --gray-10: #464a53;
        --gray-11: #333333;
        --gray-12: #1f2228;
        --gray-13: #14151a;
        --gray-1a: rgba(13, 17, 38, 0.04);
        --gray-2a: rgba(13, 17, 38, 0.08);
        --gray-3a: rgba(13, 17, 38, 0.14);
        --gray-4a: rgba(13, 17, 38, 0.2);
        --gray-5a: rgba(13, 17, 38, 0.25);
        --gray-6a: rgba(13, 17, 38, 0.3);
        --gray-7a: rgba(13, 17, 38, 0.4);
        --gray-8a: rgba(13, 17, 38, 0.5);
        --gray-9a: rgba(13, 17, 38, 0.6);
        --gray-10a: rgba(13, 17, 38, 0.7);
        --gray-11a: rgba(13, 17, 38, 0.8);
        --gray-12a: rgba(13, 17, 38, 0.9);
        --gray-13a: rgba(13, 17, 38, 0.95);

        --inverted-0: var(--dark-1);
        --inverted-1: var(--gray-13);
        --inverted-2: var(--gray-12);
        --inverted-3: var(--gray-11);
        --inverted-4: var(--gray-10);
        --inverted-5: var(--gray-9);
        --inverted-6: var(--gray-8);
        --inverted-7: var(--gray-7);
        --inverted-8: var(--gray-6);
        --inverted-9: var(--gray-5);
        --inverted-10: var(--gray-4);
        --inverted-11: var(--gray-3);
        --inverted-12: var(--gray-2);
        --inverted-13: var(--gray-1);
        --inverted-1a: rgba(255, 255, 255, 0);
        --inverted-1a: rgba(255, 255, 255, 0.08);
        --inverted-2a: rgba(255, 255, 255, 0.14);
        --inverted-3a: rgba(255, 255, 255, 0.18);
        --inverted-4a: rgba(255, 255, 255, 0.24);
        --inverted-5a: rgba(255, 255, 255, 0.32);
        --inverted-6a: rgba(255, 255, 255, 0.4);
        --inverted-7a: rgba(255, 255, 255, 0.46);
        --inverted-8a: rgba(255, 255, 255, 0.5);
        --inverted-9a: rgba(255, 255, 255, 0.6);
        --inverted-10a: rgba(255, 255, 255, 0.7);
        --inverted-11a: rgba(255, 255, 255, 0.8);
        --inverted-12a: rgba(255, 255, 255, 0.9);
        --inverted-13a: rgba(255, 255, 255, 0.95);

        --spacing-xs: 0.25rem; /* p-1: */
        --spacing-sm: 0.5rem; /* p-2: */
        --spacing-md: 1rem; /* p-4: */
        --spacing-lg: 1.5rem; /* p-6: */
        --spacing-xl: 2rem; /* p-8: */
        --spacing-2xl: 4rem; /* p-16: */
        --spacing-3xl: 6rem; /* p-24: */
        --spacing-4xl: 8rem; /* p-32: */

        /* --media-sm: 640px;
		--media-md: 768px;
		--media-lg: 1024px;
		--media-xl: 1280px;
		--media-2xl: 1536px; */
    }

    @media (max-width: 640px) {
        :root {
            --width-sm: true;
        }
    }

    @media (max-width: 768px) {
        :root {
            --width-md: true;
        }
    }

    @media (max-width: 1024px) {
        :root {
            --width-lg: true;
        }
    }

    @media (max-width: 1280px) {
        :root {
            --width-xl: true;
        }
    }

    @media (max-width: 1536px) {
        :root {
            --width-2xl: true;
        }
    }
}

@layer components {
    .design-system {
        .card-default {
            border-radius: 1rem;
            border-width: 1px;
            border-color: rgb(222 224 227);
        }

        .dark-mode {
            .card-default {
                border-width: 2px;
                border-color: rgba(255, 255, 255, 0.18);
            }
        }

        .card-shadow {
            --tw-shadow:
                0 20px 25px -5px rgb(0 0 0 / 0.1),
                0 8px 10px -6px rgb(0 0 0 / 0.1);
            box-shadow:
                var(--tw-ring-offset-shadow, 0 0 #0000),
                var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
            border-radius: 1rem;
            border-width: 1px;
            border-color: rgb(222 224 227);
        }

        .form-input {
            color: var(--text-secondary);
            /* color: rgba(13, 17, 38, 0.6); */
            flex: 1 1 0%;
            border-radius: 0.5rem;
            border-width: 2px;
            --tw-border-opacity: 1;
            border-color: rgb(222 224 227 / var(--tw-border-opacity, 1));
            --tw-bg-opacity: 1;
            background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
            padding: 0.5rem;

            &:where(.dark-mode *) {
                border-color: var(--gray-10);
                background-color: rgba(255, 255, 255, 0) !important;
                color: var(--gray-3) !important;
            }

            option {
                &:where(.dark-mode *) {
                    border-color: var(--gray-10);
                    background-color: var(--gray-12) !important;
                    color: var(--gray-3) !important;
                }
            }
        }

        .allow-dark-mode-invert {
            &:where(.dark-mode *) {
                --tw-invert: invert(100%);
                filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
                    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)
                    var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
            }
        }

        .tag[href] {
            &:hover {
                background-color: var(--brand-3a);
            }
        }

        .btn-inset {
            display: none;
            display: none;
            border-radius: var(--radius-md);
            border-style: solid;
            border-width: 1px;
            border-color: var(--gray-3);
            padding-inline: calc(var(--spacing) * 2);
            color: var(--text-secondary) !important;
            @media (width >= 48rem) {
                display: inline;
            }

            &:where(.dark-mode *) {
                border-color: var(--gray-8);
                border-width: 2px;
            }
        }

        .faq-label {
            display: flex;
            flex-direction: row;
            cursor: pointer;
            align-items: center;
            gap: var(--spacing-md);
            border-radius: var(--radius-lg);
            background-color: var(--gray-2a);
            padding: var(--spacing-xl);

            -webkit-user-select: none;
            user-select: none;
        }

        .form-input-wrap {
            display: flex;
            flex-direction: row;
            flex: 1;
            border-radius: var(--radius-lg);
            border-style: solid;
            border-width: 2px;
            border-color: var(--gray-3);
            background-color: var(--white);
            padding: var(--spacing-sm);
            color: var(--text-secondary) !important;
            align-items: center;

            &:where(.dark-mode *) {
                border-color: var(--gray-10);
                background-color: inherit !important;
                color: var(--white) !important;
            }

            flex: 1;
            gap: var(--spacing-sm);
            line-height: 1rem;
        }

        .form-input-dropdown {
            position: absolute;
            top: 2rem;
            right: calc(var(--spacing) * 0);
            left: calc(var(--spacing) * 0);
            display: flex;
            flex-direction: column;
            max-height: 10rem;
            flex: 1;
            border-radius: var(--radius-lg);
            border-style: solid;
            border-width: 1px;
            border-color: var(--gray-3);
            background-color: var(--white);
            padding: var(--spacing-sm);
            color: var(--text-secondary) !important;
            &:where(.dark-mode *) {
                background-color: inherit !important;
                color: var(--white) !important;
            }

            gap: var(--spacing-sm);
            overflow: auto;
        }

        .form-input-config-dropdown {
            position: absolute;
            top: 2rem;
            right: calc(var(--spacing) * 0);
            z-index: 20;
            display: flex;
            flex-direction: column;
            width: 13rem;
            border-radius: var(--radius-lg);
            border-style: solid;
            border-width: 2px;
            background-color: var(--white);
            --tw-shadow:
                0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
                0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
            box-shadow:
                var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
                var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
                var(--tw-shadow);
        }

        .form-input-wrap input {
            flex: 1;
            &:focus {
                --tw-outline-style: none;
                outline-style: none;
            }
        }

        .btn,
        .btn-brand,
        .btn-primary,
        .btn-secondary,
        .btn-tertiary,
        .btn-ghost,
        .btn-white,
        .btn-red,
        .btn-red-secondary,
        .btn-red-tertiary,
        .btn-red-ghost {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-xs);
            border-radius: var(--radius-xl);
            padding-inline: calc(var(--spacing) * 4);
            padding-block: calc(var(--spacing) * 3);
            text-align: center;
            user-select: none;

            &:disabled {
                opacity: 50%;
                cursor: auto;
            }

            &.btn-wait {
                cursor: wait;
            }

            :is(&, .form-input):where(.btn-group *) {
                border: 1px solid var(--gray-3);
                &:where(.dark-mode *) {
                    border: 2px solid var(--inverted-3a);
                }
                @media (width >= 640px) {
                    &:first-child {
                        border-radius: var(--radius-xl) 0 0 var(--radius-xl) !important;
                        border-right: none !important;
                    }
                    &:last-child {
                        border-radius: 0 var(--radius-xl) var(--radius-xl) 0 !important;
                    }
                    &:not(:first-child):not(:last-child) {
                        border-radius: 0 !important;
                        border-right: none !important;
                    }
                }
            }
        }

        .btn-primary {
            background-color: var(--gray-13);
            color: var(--white);
            &:hover {
                background-color: var(--gray-12);
            }

            &:where(.dark-mode *) {
                background-color: var(--white);
                color: var(--black);
                &:hover {
                    background-color: var(--gray-2);
                }
            }
        }

        .btn-secondary {
            background-color: var(--gray-10);
            color: var(--white);
            &:hover {
                background-color: var(--gray-11);
            }

            &:where(.dark-mode *) {
                background-color: var(--inverted-2a);
                &:hover {
                    background-color: var(--inverted-3a);
                }
            }
        }

        .btn-tertiary {
            background-color: var(--gray-1a);
            &:hover {
                background-color: var(--gray-2a);
            }

            &:where(.dark-mode *) {
                background-color: var(--inverted-4);
                &:hover {
                    background-color: var(--inverted-3a);
                }
            }
        }

        .btn-brand {
            background-color: var(--brand-9);
            color: var(--white);
            &:hover {
                background-color: var(--brand-10);
            }
        }

        .btn-ghost {
            background-color: transparent;

            &:hover {
                background-color: var(--gray-3);
            }

            &:where(.dark-mode *) {
                &:hover {
                    background-color: var(--inverted-3);
                }
            }
        }

        .btn-white {
            background-color: var(--gray-0);
            color: var(--black) !important;
            &:hover {
                background-color: var(--gray-2);
            }
        }

        .btn-red {
            background-color: rgb(220 52 52);
            color: white;

            &:hover {
                background-color: rgb(195 46 46);
            }
        }

        .btn-red-secondary {
            color: black;
            background-color: rgb(255 255 255);
        }

        .btn-red-tertiary {
            background-color: rgba(230, 72, 61, 0.1);
        }

        .btn-red-ghost {
            background-color: rgba(255, 255, 255, 0);

            &:where(.dark-mode *) {
                color: white;
            }
        }

        .btn-group {
            @media (width < 640px) {
                display: flex;
                flex-direction: column;
                gap: var(--spacing-sm);
            }

            @media (width >= 640px) {
                display: flex;
                justify-content: center;
                gap: 0;
            }
        }

        .badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-xs);
            border-radius: var(--radius-lg);
            text-align: center;
            padding: 0.1rem 0.5rem;
        }

        .badge-pill {
            border-radius: 9999px;
            padding: 0.1rem 0.8rem;
        }

        .tag {
            display: flex;
            align-items: center;
            gap: var(--spacing-xs);
            border-radius: calc(infinity * 1px);
            border-style: solid;
            border-width: 2px;
            border-color: var(--brand-3a);
            background-color: var(--brand-2a);
            padding-inline: calc(var(--spacing) * 3);
            padding-block: calc(var(--spacing) * 1);
            color: var(--brand-8);
            inline-size: fit-content;
        }
    }
}

@layer utilities {
    .design-system {
        details:not([open]) .open-details-show {
            display: none;
        }

        details[open] .closed-details-show {
            display: none;
        }

        .underlined-link {
            text-decoration: underline;
            color: var(--text-primary);
        }

        .w-full {
            width: 100%;
        }

        .show-hover {
            &:not(:hover) {
                display: none;
            }
        }

        [style*='--color'] {
            color: var(--color);
        }

        [style*='--background'] {
            background: var(--background);
        }

        [style*='--border-color'] {
            border-color: var(--border-color);
        }

        [style*='--color-hover']:hover {
            color: var(--color-hover);
        }

        [style*='--background-hover']:hover {
            background: var(--background-hover);
        }

        [style*='--border-color-hover']:hover {
            border-color: var(--border-color-hover);
        }

        [style*='--color-dark'] {
            &:where(.dark-mode *) {
                color: var(--color-dark);
            }
        }

        [style*='--background-dark'] {
            &:where(.dark-mode *) {
                background: var(--background-dark);
            }
        }

        [style*='--border-color-dark'] {
            &:where(.dark-mode *) {
                border-color: var(--border-color-dark);
            }
        }

        [style*='--color-dark-hover']:hover {
            &:where(.dark-mode *) {
                color: var(--color-dark-hover);
            }
        }

        [style*='--background-dark-hover']:hover {
            &:where(.dark-mode *) {
                background: var(--background-dark-hover);
            }
        }

        [style*='--border-color-dark-hover']:hover {
            &:where(.dark-mode *) {
                border-color: var(--border-color-dark-hover);
            }
        }

        .scroll-box {
            padding: var(--spacing-md);
            overflow-y: scroll;

            @media (width < 768px) {
                padding: 0px;
                overflow-y: unset;
            }
        }

        .transition,
        .btn,
        .btn-brand,
        .btn-primary,
        .btn-secondary,
        .btn-tertiary,
        .btn-ghost,
        .btn-white,
        .btn-red,
        .btn-red-secondary,
        .btn-red-tertiary,
        .btn-red-ghost,
        .badge,
        .tag,
        .faq-label {
            transition-property:
                color,
                background-color,
                border-color,
                text-decoration-color,
                fill,
                stroke,
                --tw-gradient-from,
                --tw-gradient-via,
                --tw-gradient-to,
                opacity,
                box-shadow,
                transform,
                translate,
                scale,
                rotate,
                filter,
                -webkit-backdrop-filter,
                backdrop-filter;
            transition-timing-function: var(
                --default-transition-timing-function
            ); /* cubic-bezier(0.4, 0, 0.2, 1) */
            transition-duration: var(--default-transition-duration); /* 150ms */
        }

        .btn-pill {
            border-radius: 9999px;
        }

        .btn-xs {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            padding-top: 0.25rem;
            padding-bottom: 0.25rem;
            font-size: 0.75rem;
            line-height: 1rem;
        }

        .pointer-events-none {
            pointer-events: none;
        }

        .collapse {
            visibility: collapse;
        }

        .visible {
            visibility: visible;
        }

        .absolute {
            position: absolute;
        }

        .fixed {
            position: fixed;
        }

        .relative {
            position: relative;
        }

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

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

        .container {
            width: 100%;
            @media (width >= 40rem) {
                max-width: 40rem;
            }

            @media (width >= 48rem) {
                max-width: 48rem;
            }

            @media (width >= 64rem) {
                max-width: 64rem;
            }

            @media (width >= 80rem) {
                max-width: 80rem;
            }

            @media (width >= 96rem) {
                max-width: 96rem;
            }
        }

        .hz {
            display: flex;
            flex-direction: row;
        }

        .vt {
            display: flex;
            flex-direction: column;
        }

        .block {
            display: block;
        }

        .flex {
            display: flex;
        }

        .grid {
            display: grid;
        }

        .hidden {
            display: none;
        }

        .inline {
            display: inline;
        }

        .table {
            display: table;
        }

        .flex-1 {
            flex: 1;
        }

        .flex-2 {
            flex: 2;
        }

        .grow {
            flex-grow: 1;
        }

        .transform {
            transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z)
                var(--tw-skew-x) var(--tw-skew-y);
        }

        .cursor-pointer {
            cursor: pointer;
        }

        .pointer {
            cursor: pointer;
        }

        .grid-4,
        .grid-3,
        .grid-2,
        .grid-1 {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
        }

        @container (width > 600px) {
            .grid-4,
            .grid-3,
            .grid-2 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @container (width > 800px) {
            .grid-4,
            .grid-3 {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @container (width > 1200px) {
            .grid-4 {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .grid-7 {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
        }

        *:has(> .grid-4, .grid-3, .grid-2, .grid-1) {
            container-type: inline-size;
        }

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

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

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

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

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

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

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

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

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

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

        .gap-xs {
            gap: var(--spacing-xs);
        }

        .gap-sm {
            gap: var(--spacing-sm);
        }

        .gap-md {
            gap: var(--spacing-md);
        }

        .gap-lg {
            gap: var(--spacing-lg);
        }

        .gap-xl {
            gap: var(--spacing-xl);
        }

        .gap-2xl {
            gap: var(--spacing-2xl);
        }

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

        .overflow-hidden {
            overflow: hidden;
        }

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

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

        .overflow-auto {
            overflow: auto;
        }

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

        .card-default,
        .card-shadow {
            border-radius: var(--radius-2xl);
            border-style: solid;
            border-width: 1px;
            border-color: var(--gray-3);
            &:where(.dark-mode *) {
                border-style: solid;
                border-width: 2px;
            }

            &:where(.dark-mode *) {
                border-color: var(--inverted-3a);
            }
        }

        .card-shadow {
            box-shadow: var(
                0 20px 25px -5px rgb(0 0 0 / 0.1),
                0 8px 10px -6px rgb(0 0 0 / 0.1)
            );
        }

        m-auto {
            margin: 0px auto;
        }

        .rounded {
            border-radius: 0.25rem;
        }

        .rounded-md {
            border-radius: var(--radius-md);
        }

        .rounded-lg {
            border-radius: var(--radius-lg);
        }

        .rounded-xl {
            border-radius: var(--radius-xl);
        }

        .rounded-full {
            border-radius: calc(infinity * 1px);
        }

        .border {
            border-width: 1px;
        }

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

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

        .border-l {
            border-left-width: 1px;
        }

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

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

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

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

        .border-l-2 {
            border-left-width: 2px;
        }

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

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

        .surface-default,
        .surface-gray,
        .surface-gray-subtle,
        .surface-red,
        .surface-red-subtle,
        .surface-red-accent,
        .surface-blue,
        .surface-blue-subtle,
        .surface-blue-accent .surface-orange,
        .surface-orange-subtle,
        .surface-orange-accent,
        .surface-green,
        .surface-green-subtle,
        .surface-green-accent {
            &:where(.dark-mode *) {
                color: var(--gray-0);
                --text-primary: var(--gray-0);
                --text-secondary: var(--inverted-9a);
                --text-tertiary: var(--inverted-7a);
                --text-quaternary: var(--inverted-6a);
            }
        }

        .surface-gray-subtle {
            color: var(--black);
            background: var(--gray-2);
            --text-primary: var(--black);
            --text-secondary: var(--gray-9a);
            --text-tertiary: var(--gray-7a);
            --text-quaternary: var(--gray-5a);

            &:where(.dark-mode *) {
                background: var(--gray-12);
            }
        }

        .surface-default {
            background-color: var(--gray-0);
            color: var(--black);
            --text-primary: var(--black);
            --text-secondary: var(--gray-9a);
            --text-tertiary: var(--gray-7a);
            --text-quaternary: var(--gray-5a);

            &:where(.dark-mode *) {
                background-color: var(--dark-0);
            }
        }

        .surface-gray {
            background-color: var(--gray-1);
            color: var(--black);
            --text-primary: var(--black);
            --text-secondary: var(--gray-9a);
            --text-tertiary: var(--gray-7a);
            --text-quaternary: var(--gray-5a);

            &:where(.dark-mode *) {
                background-color: var(--gray-13);
            }
        }

        .surface-inverted {
            background-color: var(--inverted-0);
            color: var(--gray-0);
            --text-primary: var(--gray-0);
            --text-secondary: var(--inverted-9a);
            --text-tertiary: var(--inverted-7a);
            --text-quaternary: var(--inverted-6a);

            &:where(.dark-mode *) {
                background-color: var(--gray-0);
                color: var(--black);
                --text-secondary: var(--gray-13);
                --text-tertiary: var(--gray-9a);
                --text-quaternary: var(--gray-7a);
            }
        }

        .surface-dark {
            background-color: var(--inverted-0);
            color: var(--white);
            --text-primary: var(--white);
            --text-secondary: var(--inverted-9a);
            --text-tertiary: var(--inverted-7a);
            --text-quaternary: var(--inverted-6a);
        }

        .text-surface-orange {
            color: var(--orange-13);
            &:where(.dark-mode *) {
                color: var(--orange-7);
            }
        }

        .p-xs {
            padding: var(--spacing-xs);
        }

        .p-sm {
            padding: var(--spacing-sm);
        }

        .p-lg {
            padding: var(--spacing-lg);
        }

        .p-md {
            padding: var(--spacing-md);
        }

        .p-xl {
            padding: var(--spacing-xl);
        }

        .p-2xl {
            padding: var(--spacing-2xl);
        }

        .btn-sm {
            padding-inline: calc(var(--spacing) * 3);
            padding-block: calc(var(--spacing) * 1.5);
            font-size: var(--text-sm);
            line-height: var(--tw-leading, var(--text-sm--line-height));
        }

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

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

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

        .text-xs {
            font-size: 0.75rem;
            line-height: calc(1 / 0.75);
        }

        .text-sm {
            font-size: 0.875rem;
            line-height: calc(1.25 / 0.875);
        }

        .text-md {
            font-size: 1rem;
            line-height: calc(1.5 / 1);
        }

        .text-base {
            font-size: 1rem;
            line-height: calc(1.5 / 1);
        }

        .text-lg {
            font-size: 1.125rem;
            line-height: calc(1.75 / 1.125);
        }

        .text-xl {
            font-size: 1.25rem;
            line-height: calc(1.75 / 1.25);
        }

        .text-2xl {
            font-size: 1.5rem;
            line-height: calc(2 / 1.5);
        }

        .text-2xl-static {
            font-size: 1.5rem;
            line-height: 2rem;
        }

        .text-3xl {
            font-size: 1.875rem;
            line-height: calc(2.25 / 1.875);
        }

        .text-4xl {
            font-size: 2.25rem;
            line-height: calc(2.5 / 2.25);
        }

        .text-5xl {
            font-size: 3rem;
            line-height: 1;
        }

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

        .no-line-height {
            line-height: 1em;
        }

        .font-bold {
            --tw-font-weight: var(--font-weight-bold);
            font-weight: var(--font-weight-bold);
        }

        .font-extrabold {
            --tw-font-weight: var(--font-weight-extrabold);
            font-weight: var(--font-weight-extrabold);
        }

        .font-semibold {
            --tw-font-weight: var(--font-weight-semibold);
            font-weight: var(--font-weight-semibold);
        }

        .text-ellipsis {
            text-overflow: ellipsis;
        }

        .text-black {
            color: var(--black);
        }

        .text-white {
            color: var(--white);
        }

        .text {
            color: inherit !important;
            font-weight: bolder;
            &:where(.dark-mode *) {
                color: var(--white) !important;
                font-weight: normal;
            }
        }
        strong.text {
            &:where(.dark-mode *) {
                font-weight: normal;
            }
        }

        .text-secondary {
            color: var(--text-secondary) !important;
        }

        .text-tertiary {
            color: var(--text-tertiary) !important;
        }

        .text-quaternary {
            color: var(--text-quaternary) !important;
        }

        .italic {
            font-style: italic;
        }

        .underline {
            text-decoration: underline;
        }

        .shadow {
            --tw-shadow:
                0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
                0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
            box-shadow:
                var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
                var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
                var(--tw-shadow);
        }

        .shadow-2xl {
            --tw-shadow: 0 25px 50px -12px
                var(--tw-shadow-color, rgb(0 0 0 / 0.25));
            box-shadow:
                var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
                var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
                var(--tw-shadow);
        }

        .shadow-xl {
            --tw-shadow:
                0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
                0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
            box-shadow:
                var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
                var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
                var(--tw-shadow);
        }

        .outline {
            outline-style: var(--tw-outline-style);
            outline-width: 1px;
        }

        .blur-sm {
            filter: blur(8px);
        }

        .invert-dark {
            &:where(.dark-mode *) {
                filter: invert(1) hue-rotate(180deg);
            }
        }

        .show-dark {
            display: none;

            &:where(.dark-mode *) {
                display: inherit;
            }
        }

        .show-light {
            &:where(.dark-mode *) {
                display: none;
            }
        }

        .invert {
            filter: invert(100%);
        }

        .filter {
            filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
                var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)
                var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
        }

        .backdrop-blur-\[4px\] {
            --tw-backdrop-blur: blur(4px);
            -webkit-backdrop-filter: var(--tw-backdrop-blur)
                var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
                var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
                var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
                var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
            backdrop-filter: var(--tw-backdrop-blur)
                var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
                var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
                var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
                var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
        }

        .backdrop-blur-sm {
            --tw-backdrop-blur: blur(var(--blur-sm));
            -webkit-backdrop-filter: var(--tw-backdrop-blur)
                var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
                var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
                var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
                var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
            backdrop-filter: var(--tw-backdrop-blur)
                var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
                var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
                var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
                var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
        }

        .select-none {
            -webkit-user-select: none;
            user-select: none;
        }

        .group-hover\:grid {
            &:is(:where(.group):hover *) {
                display: grid;
            }
        }

        .peer-checked\:vt {
            &:is(:where(.peer):checked ~ *) {
                display: flex;
                flex-direction: column;
            }
        }

        @keyframes scroll {
            to {
                transform: translate(calc(-50% - 0.5rem));
            }
        }

        .underline-links a {
            text-decoration: underline;
        }

        .nav-desktop-group:nth-child(n + 5) ul {
            right: 0rem !important;
        }

        .grid-overlap {
            grid-column-start: 1;
            grid-row-start: 1;
        }

        [viewBox='0 0 24 24'],
        .remixicon {
            height: 1em;
            width: 1em;
            display: inline;
        }

        .lazy-load {
            content-visibility: auto;
            contain-intrinsic-size: 1px 5000px;
        }

        .grow-children > * {
            flex: 1 1 0%;
        }

        .children-flex-1 > * {
            flex: 1 1 0%;
        }

        .max-page-width {
            max-width: 1700px;
            margin: 0px auto;
        }

        .max-user-portal-width {
            max-width: 1900px;
            margin: 0px auto;
        }

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

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

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

        .has-tooltip ~ div {
            position: absolute;
            top: 1.5rem;
            z-index: 50;
            display: none;
            display: none;
            border-radius: var(--radius-lg);
            background-color: var(--gray-12a);
            padding: var(--spacing-md);
            line-height: 1rem;
            color: var(--white);
            max-width: 20rem;
        }

        .has-tooltip:hover ~ div {
            display: flex;
        }

        .has-tooltip {
            cursor: pointer;
        }

        @media (max-width: 640px) {
            .p-2xl {
                padding: var(--spacing-xl);
            }

            .text-xl {
                font-size: 1.125rem;
                line-height: 1.75rem;
            }

            .text-2xl {
                font-size: 1.25rem;
                line-height: 1.75rem;
            }

            .text-3xl {
                font-size: 1.5rem;
                line-height: 2rem;
            }

            .text-4xl {
                font-size: 1.875rem;
                line-height: 2.25rem;
            }

            .text-5xl {
                font-size: 1.875rem;
                line-height: 2.25rem;
            }
        }

        @media (max-width: 640px) {
            .vt-sm {
                display: flex;
                flex-direction: column;
            }

            .hide-sm {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .vt-md {
                display: flex;
                flex-direction: column;
            }

            .hide-md {
                display: none !important;
            }
        }

        @media (max-width: 1024px) {
            .vt-lg {
                display: flex;
                flex-direction: column;
            }

            .hide-lg {
                display: none !important;
            }
        }

        @media (max-width: 1280px) {
            .vt-xl {
                display: flex;
                flex-direction: column;
            }

            .hide-xl {
                display: none !important;
            }
        }

        @media (max-width: 1536px) {
            .vt-2xl {
                display: flex;
                flex-direction: column;
            }

            .hide-2xl {
                display: none !important;
            }
        }

        @media (max-width: 1750px) {
            .vt-3xl {
                display: flex;
                flex-direction: column;
            }

            .hide-3xl {
                display: none !important;
            }
        }

        @media (width >= 640px) {
            .show-sm {
                display: none;
            }
        }

        @media (width >= 768px) {
            .show-md {
                display: none;
            }
        }

        @media (width >= 1024px) {
            .show-lg {
                display: none;
            }

            .no-scroll-y-lg {
                overflow-y: scroll;
            }
        }

        @media (width >= 1280px) {
            .show-xl {
                display: none;
            }
        }

        @media (width >= 1536px) {
            .show-2xl {
                display: none;
            }
        }

        @media (width >= 1750px) {
            .show-3xl {
                display: none;
            }
        }
    }
}
